summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2015-05-06 13:36:50 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-05-13 14:34:21 +0200
commitc1c6d0869976ccbd0545c8317c015f23f40dd6d6 (patch)
treeca339b27b5d345337100a1900dbaca8187121f68 /meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch
parentd24b01b262a9c5e04e179bb6264cf0284ce25092 (diff)
downloadmeta-openembedded-c1c6d0869976ccbd0545c8317c015f23f40dd6d6.tar.gz
apache2: upgrade to 2.4.12
Remove apache-CVE-2014-0117.patch which apache2 2.4.12 has it Update the apache-ssl-ltmain-rpath.patch Backport the patch to fix CVE-2015-0228 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch')
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch62
1 files changed, 35 insertions, 27 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch b/meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch
index 3a59fb0799..413dc535e4 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch
@@ -1,52 +1,57 @@
1--- httpd-2.2.8.orig/build/ltmain.sh 1 build/ltmain.sh | 32 +++++++++++++++++++++++++++-----
2+++ httpd-2.2.8/build/ltmain.sh 2 1 file changed, 27 insertions(+), 5 deletions(-)
3@@ -1515,7 +1515,7 @@ EOF 3
4 dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` 4diff --git a/build/ltmain.sh b/build/ltmain.sh
5index 5eca4ae..805b461 100644
6--- a/build/ltmain.sh
7+++ b/build/ltmain.sh
8@@ -6944,7 +6944,7 @@ func_mode_link ()
9 dir=$func_resolve_sysroot_result
5 # We need an absolute path. 10 # We need an absolute path.
6 case $dir in 11 case $dir in
7- [\\/]* | [A-Za-z]:[\\/]*) ;; 12- [\\/]* | [A-Za-z]:[\\/]*) ;;
8+ =* | [\\/]* | [A-Za-z]:[\\/]*) ;; 13+ =* | [\\/]* | [A-Za-z]:[\\/]*) ;;
9 *) 14 *)
10 absdir=`cd "$dir" && pwd` 15 absdir=`cd "$dir" && pwd`
11 if test -z "$absdir"; then 16 test -z "$absdir" && \
12@@ -2558,7 +2558,7 @@ EOF 17@@ -8137,7 +8137,7 @@ func_mode_link ()
13 $echo "*** $linklib is not portable!" 18 $ECHO "*** $linklib is not portable!"
14 fi 19 fi
15 if test "$linkmode" = lib && 20 if test lib = "$linkmode" &&
16- test "$hardcode_into_libs" = yes; then 21- test yes = "$hardcode_into_libs"; then
17+ test "x$wrs_use_rpaths" = "xyes" && test "$hardcode_into_libs" = yes; then 22+ test "x$wrs_use_rpaths" = "xyes" && test "$hardcode_into_libs" = yes; then
18 # Hardcode the library path. 23 # Hardcode the library path.
19 # Skip directories that are in the system default run-time 24 # Skip directories that are in the system default run-time
20 # search path. 25 # search path.
21@@ -2832,7 +2832,7 @@ EOF 26@@ -8404,7 +8404,7 @@ func_mode_link ()
22 27
23 if test "$linkmode" = lib; then 28 if test lib = "$linkmode"; then
24 if test -n "$dependency_libs" && 29 if test -n "$dependency_libs" &&
25- { test "$hardcode_into_libs" != yes || 30- { test yes != "$hardcode_into_libs" ||
26+ { test "$hardcode_into_libs" != yes || test "x$wrs_use_rpaths" != "xyes" || 31+ { test yes != "$hardcode_into_libs" || test "x$wrs_use_rpaths" != "xyes" ||
27 test "$build_old_libs" = yes || 32 test yes = "$build_old_libs" ||
28 test "$link_static" = yes; }; then 33 test yes = "$link_static"; }; then
29 # Extract -R from dependency_libs 34 # Extract -R from dependency_libs
30@@ -3426,7 +3426,8 @@ EOF 35@@ -9025,7 +9025,8 @@ func_mode_link ()
31 *) finalize_rpath="$finalize_rpath $libdir" ;; 36 *) func_append finalize_rpath " $libdir" ;;
32 esac 37 esac
33 done 38 done
34- if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then 39- if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
35+ if test "$hardcode_into_libs" != yes || test "x$wrs_use_rpaths" != "xyes" || 40+ if test yes != "$hardcode_into_libs" || test "x$wrs_use_rpaths" != "xyes" ||
36+ test "$build_old_libs" = yes; then 41+ test yes = "$build_old_libs"; then
37 dependency_libs="$temp_xrpath $dependency_libs" 42 dependency_libs="$temp_xrpath $dependency_libs"
38 fi 43 fi
39 fi 44 fi
40@@ -3843,7 +3844,7 @@ EOF 45@@ -9473,7 +9474,7 @@ EOF
41 case $archive_cmds in 46 case $archive_cmds in
42 *\$LD\ *) wl= ;; 47 *\$LD\ *) wl= ;;
43 esac 48 esac
44- if test "$hardcode_into_libs" = yes; then 49- if test yes = "$hardcode_into_libs"; then
45+ if test "$hardcode_into_libs" = yes && test "x$wrs_use_rpaths" = "xyes" ; then 50+ if test yes = "$hardcode_into_libs" && test "x$wrs_use_rpaths" = "xyes"; then
46 # Hardcode the library paths 51 # Hardcode the library paths
47 hardcode_libdirs= 52 hardcode_libdirs=
48 dep_rpath= 53 dep_rpath=
49@@ -4397,6 +4398,27 @@ EOF 54@@ -10211,6 +10212,27 @@ EOF
50 # Now hardcode the library paths 55 # Now hardcode the library paths
51 rpath= 56 rpath=
52 hardcode_libdirs= 57 hardcode_libdirs=
@@ -74,3 +79,6 @@
74 for libdir in $compile_rpath $finalize_rpath; do 79 for libdir in $compile_rpath $finalize_rpath; do
75 if test -n "$hardcode_libdir_flag_spec"; then 80 if test -n "$hardcode_libdir_flag_spec"; then
76 if test -n "$hardcode_libdir_separator"; then 81 if test -n "$hardcode_libdir_separator"; then
82--
831.9.1
84