summaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-07-06 08:19:38 +0800
committerKhem Raj <raj.khem@gmail.com>2018-07-05 17:51:15 -0700
commita04f595adb3f06a3dec3ae8402341d40869e51ac (patch)
tree69d7c8be01548493a82861ccb965b556ea0bc72d /meta-webserver
parent7040a7528060b981c7f4c354781813bf5ec63695 (diff)
downloadmeta-openembedded-a04f595adb3f06a3dec3ae8402341d40869e51ac.tar.gz
apache2: upgrade 2.4.29 -> 2.4.33
* License-Update: Correctly identify origin of util_pcre.c/ap_regex.h as pcreposix[.ch] and correct LICENSE/NOTICE to match. * Refresh patches with devtool * Drop useless patch apache-ssl-ltmain-rpath.patch * Move all patches to one directory Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2-native_2.4.33.bb (renamed from meta-webserver/recipes-httpd/apache2/apache2-native_2.4.29.bb)6
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0001-configure-use-pkg-config-for-PCRE-detection.patch (renamed from meta-webserver/recipes-httpd/apache2/files/0001-configure-use-pkg-config-for-PCRE-detection.patch)11
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch25
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch81
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/configure-allow-to-disable-selinux-support.patch (renamed from meta-webserver/recipes-httpd/apache2/files/configure-allow-to-disable-selinux-support.patch)10
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-corelimit.patch18
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-selinux.patch27
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.3-fix-race-issue-of-dir-install.patch (renamed from meta-webserver/recipes-httpd/apache2/files/httpd-2.4.3-fix-race-issue-of-dir-install.patch)20
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.4-export.patch20
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/replace-lynx-to-curl-in-apachectl-script.patch15
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/server-makefile.patch18
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2_2.4.33.bb (renamed from meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb)7
12 files changed, 117 insertions, 141 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.29.bb b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.33.bb
index 36f073c85..a471036e7 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.29.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.33.bb
@@ -14,9 +14,9 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \
14 14
15S = "${WORKDIR}/httpd-${PV}" 15S = "${WORKDIR}/httpd-${PV}"
16 16
17LIC_FILES_CHKSUM = "file://LICENSE;md5=a62b0c7623826ff99766ff13fb9007f8" 17LIC_FILES_CHKSUM = "file://LICENSE;md5=d52d0fd0bc788f068e647116c01ddfcd"
18SRC_URI[md5sum] = "0c599404ef6b69eee95bcd9fcd094407" 18SRC_URI[md5sum] = "6ef469d3f16fffeb688bc6e0346823e5"
19SRC_URI[sha256sum] = "777753a5a25568a2a27428b2214980564bc1c38c1abf9ccc7630b639991f7f00" 19SRC_URI[sha256sum] = "de02511859b00d17845b9abdd1f975d5ccb5d0b280c567da5bf2ad4b70846f05"
20 20
21EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ 21EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
22 --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \ 22 --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \
diff --git a/meta-webserver/recipes-httpd/apache2/files/0001-configure-use-pkg-config-for-PCRE-detection.patch b/meta-webserver/recipes-httpd/apache2/apache2/0001-configure-use-pkg-config-for-PCRE-detection.patch
index 63096db0a..da38a8cfd 100644
--- a/meta-webserver/recipes-httpd/apache2/files/0001-configure-use-pkg-config-for-PCRE-detection.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0001-configure-use-pkg-config-for-PCRE-detection.patch
@@ -1,16 +1,18 @@
1From d8837756f2a48adcfe5d645c39cf163d96eac76c Mon Sep 17 00:00:00 2001 1From 419181e242892ded050f5a375a709b9588fb581d Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen.kooi@linaro.org> 2From: Koen Kooi <koen.kooi@linaro.org>
3Date: Tue, 17 Jun 2014 09:10:57 +0200 3Date: Tue, 17 Jun 2014 09:10:57 +0200
4Subject: [PATCH] configure: use pkg-config for PCRE detection 4Subject: [PATCH] configure: use pkg-config for PCRE detection
5 5
6Upstream-Status: Pending
7
6Signed-off-by: Koen Kooi <koen.kooi@linaro.org> 8Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
7Upstream-Status: pending 9
8--- 10---
9 configure.in | 27 +++++---------------------- 11 configure.in | 27 +++++----------------------
10 1 file changed, 5 insertions(+), 22 deletions(-) 12 1 file changed, 5 insertions(+), 22 deletions(-)
11 13
12diff --git a/configure.in b/configure.in 14diff --git a/configure.in b/configure.in
13index 864d7c7..da4138e 100644 15index be7bd25..54dfd0d 100644
14--- a/configure.in 16--- a/configure.in
15+++ b/configure.in 17+++ b/configure.in
16@@ -215,28 +215,11 @@ fi 18@@ -215,28 +215,11 @@ fi
@@ -47,6 +49,3 @@ index 864d7c7..da4138e 100644
47 APACHE_SUBST(PCRE_LIBS) 49 APACHE_SUBST(PCRE_LIBS)
48 50
49 AC_MSG_NOTICE([]) 51 AC_MSG_NOTICE([])
50--
511.9.3
52
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch b/meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch
index 92c53f31d..a2bc6e02c 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch
@@ -1,14 +1,19 @@
1# Author: echo <fei.geng@windriver.com> 1From 5412077c398dec74321388fe6e593a44c4c80de6 Mon Sep 17 00:00:00 2001
2# Date: April 28 2009 2From: echo <fei.geng@windriver.com>
3# Summary:Fix perl install directory to /usr/bin 3Date: Tue, 28 Apr 2009 03:11:06 +0000
4# 4Subject: [PATCH] Fix perl install directory to /usr/bin
5# Upstream-Status: Inappropriate [configuration]
6 5
7Index: httpd-2.4.29/configure.in 6Upstream-Status: Inappropriate [configuration]
8=================================================================== 7
9--- httpd-2.4.29.orig/configure.in 8---
10+++ httpd-2.4.29/configure.in 9 configure.in | 5 +----
11@@ -855,10 +855,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, " 10 1 file changed, 1 insertion(+), 4 deletions(-)
11
12diff --git a/configure.in b/configure.in
13index d828512..be7bd25 100644
14--- a/configure.in
15+++ b/configure.in
16@@ -855,10 +855,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf",
12 AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types", 17 AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types",
13 [Location of the MIME types config file, relative to the Apache root directory]) 18 [Location of the MIME types config file, relative to the Apache root directory])
14 19
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
deleted file mode 100644
index f13da91f3..000000000
--- a/meta-webserver/recipes-httpd/apache2/apache2/apache-ssl-ltmain-rpath.patch
+++ /dev/null
@@ -1,81 +0,0 @@
1 build/ltmain.sh | 32 +++++++++++++++++++++++++++-----
2 1 file changed, 27 insertions(+), 5 deletions(-)
3
4Index: httpd-2.4.29/build/ltmain.sh
5===================================================================
6--- httpd-2.4.29.orig/build/ltmain.sh
7+++ httpd-2.4.29/build/ltmain.sh
8@@ -6969,7 +6969,7 @@ func_mode_link ()
9 dir=$func_resolve_sysroot_result
10 # We need an absolute path.
11 case $dir in
12- [\\/]* | [A-Za-z]:[\\/]*) ;;
13+ =* | [\\/]* | [A-Za-z]:[\\/]*) ;;
14 *)
15 absdir=`cd "$dir" && pwd`
16 test -z "$absdir" && \
17@@ -8167,7 +8167,7 @@ func_mode_link ()
18 $ECHO "*** $linklib is not portable!"
19 fi
20 if test lib = "$linkmode" &&
21- test yes = "$hardcode_into_libs"; then
22+ test "x$wrs_use_rpaths" = "xyes" && test "$hardcode_into_libs" = yes; then
23 # Hardcode the library path.
24 # Skip directories that are in the system default run-time
25 # search path.
26@@ -8434,7 +8434,7 @@ func_mode_link ()
27
28 if test lib = "$linkmode"; then
29 if test -n "$dependency_libs" &&
30- { test yes != "$hardcode_into_libs" ||
31+ { test yes != "$hardcode_into_libs" || test "x$wrs_use_rpaths" != "xyes" ||
32 test yes = "$build_old_libs" ||
33 test yes = "$link_static"; }; then
34 # Extract -R from dependency_libs
35@@ -9086,7 +9086,8 @@ func_mode_link ()
36 *) func_append finalize_rpath " $libdir" ;;
37 esac
38 done
39- if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
40+ if test yes != "$hardcode_into_libs" || test "x$wrs_use_rpaths" != "xyes" ||
41+ test yes = "$build_old_libs"; then
42 dependency_libs="$temp_xrpath $dependency_libs"
43 fi
44 fi
45@@ -9534,7 +9535,7 @@ EOF
46 case $archive_cmds in
47 *\$LD\ *) wl= ;;
48 esac
49- if test yes = "$hardcode_into_libs"; then
50+ if test yes = "$hardcode_into_libs" && test "x$wrs_use_rpaths" = "xyes"; then
51 # Hardcode the library paths
52 hardcode_libdirs=
53 dep_rpath=
54@@ -10272,6 +10273,27 @@ EOF
55 # Now hardcode the library paths
56 rpath=
57 hardcode_libdirs=
58+
59+ # short circuit putting rpaths in executables
60+ #
61+ if test "x$wrs_use_rpaths" != "xyes" ; then
62+ flag=
63+ for libdir in $compile_rpath; do
64+ case $(echo $libdir | ${SED} 's,/[/]*,/,g') in
65+ /usr/lib/* | /usr/lib32/* | /usr/lib64/* ) flag="$flag $libdir" ;;
66+ esac
67+ done
68+ compile_rpath="$flag"
69+
70+ flag=
71+ for libdir in $finalize_rpath; do
72+ case $(echo $libdir | ${SED} 's,/[/]*,/,g') in
73+ /usr/lib/* | /usr/lib32/* | /usr/lib64/* ) flag="$flag $libdir" ;;
74+ esac
75+ done
76+ finalize_rpath="$flag"
77+ fi
78+
79 for libdir in $compile_rpath $finalize_rpath; do
80 if test -n "$hardcode_libdir_flag_spec"; then
81 if test -n "$hardcode_libdir_separator"; then
diff --git a/meta-webserver/recipes-httpd/apache2/files/configure-allow-to-disable-selinux-support.patch b/meta-webserver/recipes-httpd/apache2/apache2/configure-allow-to-disable-selinux-support.patch
index 5b5c29707..a6ccfb6a8 100644
--- a/meta-webserver/recipes-httpd/apache2/files/configure-allow-to-disable-selinux-support.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/configure-allow-to-disable-selinux-support.patch
@@ -1,4 +1,4 @@
1From d23dd33e373340f6fddf11904839d1a118824401 Mon Sep 17 00:00:00 2001 1From 166cbc02f72d13d5e7bf08ac2351c0f07e1ff4b9 Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com> 2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Mon, 1 Dec 2014 02:08:27 -0500 3Date: Mon, 1 Dec 2014 02:08:27 -0500
4Subject: [PATCH] apache2: allow to disable selinux support 4Subject: [PATCH] apache2: allow to disable selinux support
@@ -6,12 +6,13 @@ Subject: [PATCH] apache2: allow to disable selinux support
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
8Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 8Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
9
9--- 10---
10 configure.in | 14 ++++++++++---- 11 configure.in | 14 ++++++++++----
11 1 file changed, 10 insertions(+), 4 deletions(-) 12 1 file changed, 10 insertions(+), 4 deletions(-)
12 13
13diff --git a/configure.in b/configure.in 14diff --git a/configure.in b/configure.in
14index df94ee5..8c3ab21 100644 15index 54dfd0d..377e062 100644
15--- a/configure.in 16--- a/configure.in
16+++ b/configure.in 17+++ b/configure.in
17@@ -466,10 +466,16 @@ getloadavg 18@@ -466,10 +466,16 @@ getloadavg
@@ -35,6 +36,3 @@ index df94ee5..8c3ab21 100644
35 36
36 AC_CACHE_CHECK([for gettid()], ac_cv_gettid, 37 AC_CACHE_CHECK([for gettid()], ac_cv_gettid,
37 [AC_TRY_RUN(#define _GNU_SOURCE 38 [AC_TRY_RUN(#define _GNU_SOURCE
38--
391.7.9.5
40
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-corelimit.patch b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-corelimit.patch
index 18e4107ec..ae4ff0c5e 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-corelimit.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-corelimit.patch
@@ -1,15 +1,25 @@
1From 55ebb07cc57854cbfb372c3a688365039b809bc8 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 17 Jul 2012 11:27:39 +0100
4Subject: [PATCH] apache2: add from OE-Classic, update to version 2.4.2 and fix
1 5
2Bump up the core size limit if CoreDumpDirectory is 6Bump up the core size limit if CoreDumpDirectory is
3configured. 7configured.
4 8
5Upstream-Status: Pending 9Upstream-Status: Pending
6 10
7Note: upstreaming was discussed but there are competing desires; 11Note: upstreaming was discussed but there are competing desires;
8 there are portability oddities here too. 12 there are portability oddities here too.
9 13
10--- httpd-2.4.1/server/core.c.corelimit 14---
11+++ httpd-2.4.1/server/core.c 15 server/core.c | 19 +++++++++++++++++++
12@@ -4433,6 +4433,25 @@ static int core_post_config(apr_pool_t * 16 1 file changed, 19 insertions(+)
17
18diff --git a/server/core.c b/server/core.c
19index 4af0816..4fd2b9f 100644
20--- a/server/core.c
21+++ b/server/core.c
22@@ -4940,6 +4940,25 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte
13 } 23 }
14 apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper, 24 apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper,
15 apr_pool_cleanup_null); 25 apr_pool_cleanup_null);
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-selinux.patch b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-selinux.patch
index 873328d9b..015034c75 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-selinux.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.1-selinux.patch
@@ -1,3 +1,7 @@
1From 33c0f2d88ccfe02777f183eb785bb2b891aff168 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 17 Jul 2012 11:27:39 +0100
4Subject: [PATCH] Log the SELinux context at startup.
1 5
2Log the SELinux context at startup. 6Log the SELinux context at startup.
3 7
@@ -5,9 +9,16 @@ Upstream-Status: Inappropriate [other]
5 9
6Note: unlikely to be any interest in this upstream 10Note: unlikely to be any interest in this upstream
7 11
8--- httpd-2.4.1/configure.in.selinux 12---
9+++ httpd-2.4.1/configure.in 13 configure.in | 5 +++++
10@@ -458,6 +458,11 @@ fopen64 14 server/core.c | 26 ++++++++++++++++++++++++++
15 2 files changed, 31 insertions(+)
16
17diff --git a/configure.in b/configure.in
18index 761e836..d828512 100644
19--- a/configure.in
20+++ b/configure.in
21@@ -483,6 +483,11 @@ getloadavg
11 dnl confirm that a void pointer is large enough to store a long integer 22 dnl confirm that a void pointer is large enough to store a long integer
12 APACHE_CHECK_VOID_PTR_LEN 23 APACHE_CHECK_VOID_PTR_LEN
13 24
@@ -19,9 +30,11 @@ Note: unlikely to be any interest in this upstream
19 AC_CACHE_CHECK([for gettid()], ac_cv_gettid, 30 AC_CACHE_CHECK([for gettid()], ac_cv_gettid,
20 [AC_TRY_RUN(#define _GNU_SOURCE 31 [AC_TRY_RUN(#define _GNU_SOURCE
21 #include <unistd.h> 32 #include <unistd.h>
22--- httpd-2.4.1/server/core.c.selinux 33diff --git a/server/core.c b/server/core.c
23+++ httpd-2.4.1/server/core.c 34index 4fd2b9f..c61304a 100644
24@@ -58,6 +58,10 @@ 35--- a/server/core.c
36+++ b/server/core.c
37@@ -59,6 +59,10 @@
25 #include <unistd.h> 38 #include <unistd.h>
26 #endif 39 #endif
27 40
@@ -32,7 +45,7 @@ Note: unlikely to be any interest in this upstream
32 /* LimitRequestBody handling */ 45 /* LimitRequestBody handling */
33 #define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1) 46 #define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1)
34 #define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 0) 47 #define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 0)
35@@ -4452,6 +4456,28 @@ static int core_post_config(apr_pool_t * 48@@ -4959,6 +4963,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte
36 } 49 }
37 #endif 50 #endif
38 51
diff --git a/meta-webserver/recipes-httpd/apache2/files/httpd-2.4.3-fix-race-issue-of-dir-install.patch b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.3-fix-race-issue-of-dir-install.patch
index b948753b4..2262e9f87 100644
--- a/meta-webserver/recipes-httpd/apache2/files/httpd-2.4.3-fix-race-issue-of-dir-install.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.3-fix-race-issue-of-dir-install.patch
@@ -1,3 +1,8 @@
1From 3b079a9df7582e305246fd805837d87a2c4ef534 Mon Sep 17 00:00:00 2001
2From: Zhenhua Luo <zhenhua.luo@freescale.com>
3Date: Fri, 25 Jan 2013 18:10:50 +0800
4Subject: [PATCH] apache2: fix the race issue of parallel installation
5
1Upstream-Status: Pending 6Upstream-Status: Pending
2 7
3fix following race issue when do parallel install 8fix following race issue when do parallel install
@@ -7,10 +12,17 @@ fix following race issue when do parallel install
7| make[1]: *** [install-man] Error 1 12| make[1]: *** [install-man] Error 1
8| make[1]: *** Waiting for unfinished jobs.... 13| make[1]: *** Waiting for unfinished jobs....
9 14
10-Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> 15Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
11--- httpd-2.4.3/build/mkdir.sh.orig 2013-01-25 03:47:21.565255420 -0600 16
12+++ httpd-2.4.3/build/mkdir.sh 2013-01-25 03:46:17.833051230 -0600 17---
13@@ -39,7 +39,7 @@ 18 build/mkdir.sh | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/build/mkdir.sh b/build/mkdir.sh
22index e2d5bb6..dde5ae0 100755
23--- a/build/mkdir.sh
24+++ b/build/mkdir.sh
25@@ -39,7 +39,7 @@ for file in ${1+"$@"} ; do
14 esac 26 esac
15 if test ! -d "$pathcomp"; then 27 if test ! -d "$pathcomp"; then
16 echo "mkdir $pathcomp" 1>&2 28 echo "mkdir $pathcomp" 1>&2
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.4-export.patch b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.4-export.patch
index afbed8e55..843226c0c 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.4-export.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/httpd-2.4.4-export.patch
@@ -1,19 +1,27 @@
1From a5627edbcc88cd50caaa42ca051ac7ed3d870172 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 17 Jul 2012 11:27:39 +0100
4Subject: [PATCH] apache2: add from OE-Classic, update to version 2.4.2 and fix
1 5
2There is no need to "suck in" the apr/apr-util symbols when using 6There is no need to "suck in" the apr/apr-util symbols when using
3a shared libapr{,util}, it just bloats the symbol table; so don't. 7a shared libapr{,util}, it just bloats the symbol table; so don't.
4 8
5Upstream-HEAD: needed
6Upstream-2.0: omit
7Upstream-Status: Pending 9Upstream-Status: Pending
8 10
9Note: EXPORT_DIRS change is conditional on using shared apr 11Note: EXPORT_DIRS change is conditional on using shared apr
10 12
11--- httpd-2.4.4/server/Makefile.in.export 13---
12+++ httpd-2.4.4/server/Makefile.in 14 server/Makefile.in | 3 ---
13@@ -57,9 +57,6 @@ export_files: 15 1 file changed, 3 deletions(-)
14 ( for dir in $(EXPORT_DIRS); do \ 16
17diff --git a/server/Makefile.in b/server/Makefile.in
18index cb11684..0d48924 100644
19--- a/server/Makefile.in
20+++ b/server/Makefile.in
21@@ -60,9 +60,6 @@ export_files:
15 ls $$dir/*.h ; \ 22 ls $$dir/*.h ; \
16 done; \ 23 done; \
24 echo "$(top_srcdir)/server/mpm_fdqueue.h"; \
17- for dir in $(EXPORT_DIRS_APR); do \ 25- for dir in $(EXPORT_DIRS_APR); do \
18- ls $$dir/ap[ru].h $$dir/ap[ru]_*.h 2>/dev/null; \ 26- ls $$dir/ap[ru].h $$dir/ap[ru]_*.h 2>/dev/null; \
19- done; \ 27- done; \
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/replace-lynx-to-curl-in-apachectl-script.patch b/meta-webserver/recipes-httpd/apache2/apache2/replace-lynx-to-curl-in-apachectl-script.patch
index e4e01b2af..020f1d797 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/replace-lynx-to-curl-in-apachectl-script.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/replace-lynx-to-curl-in-apachectl-script.patch
@@ -1,4 +1,4 @@
1From 760ccbb2fb046621a2aeaecabb2b1ef9aa280cf1 Mon Sep 17 00:00:00 2001 1From 94a9e2241ea27e75babbfdeb38043b13049e23b0 Mon Sep 17 00:00:00 2001
2From: Yulong Pei <Yulong.pei@windriver.com> 2From: Yulong Pei <Yulong.pei@windriver.com>
3Date: Thu, 1 Sep 2011 01:03:14 +0800 3Date: Thu, 1 Sep 2011 01:03:14 +0800
4Subject: [PATCH] replace lynx to curl in apachectl script 4Subject: [PATCH] replace lynx to curl in apachectl script
@@ -6,14 +6,15 @@ Subject: [PATCH] replace lynx to curl in apachectl script
6Upstream-Status: Inappropriate [configuration] 6Upstream-Status: Inappropriate [configuration]
7 7
8Signed-off-by: Yulong Pei <Yulong.pei@windriver.com> 8Signed-off-by: Yulong Pei <Yulong.pei@windriver.com>
9
9--- 10---
10 support/apachectl.in | 14 ++++++++++---- 11 support/apachectl.in | 14 ++++++++++----
11 1 files changed, 10 insertions(+), 4 deletions(-) 12 1 file changed, 10 insertions(+), 4 deletions(-)
12 13
13Index: httpd-2.4.29/support/apachectl.in 14diff --git a/support/apachectl.in b/support/apachectl.in
14=================================================================== 15index 3281c2e..6ab4ba5 100644
15--- httpd-2.4.29.orig/support/apachectl.in 16--- a/support/apachectl.in
16+++ httpd-2.4.29/support/apachectl.in 17+++ b/support/apachectl.in
17@@ -52,11 +52,11 @@ fi 18@@ -52,11 +52,11 @@ fi
18 # a command that outputs a formatted text version of the HTML at the 19 # a command that outputs a formatted text version of the HTML at the
19 # url given on the command line. Designed for lynx, however other 20 # url given on the command line. Designed for lynx, however other
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/server-makefile.patch b/meta-webserver/recipes-httpd/apache2/apache2/server-makefile.patch
index f1349cb6a..5476d4f32 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/server-makefile.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/server-makefile.patch
@@ -1,6 +1,18 @@
1--- http-2.0.54/server/Makefile.in-old 2005-12-20 13:26:56.000000000 -0500 1From aa02bbfd8f16871db5563a95fa94dd170964949f Mon Sep 17 00:00:00 2001
2+++ http-2.0.54/server/Makefile.in 2005-12-20 13:27:22.000000000 -0500 2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3@@ -27,7 +27,7 @@ 3Date: Tue, 17 Jul 2012 11:27:39 +0100
4
5Upstream-Status: Inappropriate [embedded specific]
6
7---
8 server/Makefile.in | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/server/Makefile.in b/server/Makefile.in
12index 1fa3344..cb11684 100644
13--- a/server/Makefile.in
14+++ b/server/Makefile.in
15@@ -29,7 +29,7 @@ gen_test_char: $(gen_test_char_OBJECTS)
4 $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS) 16 $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
5 17
6 test_char.h: gen_test_char 18 test_char.h: gen_test_char
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.33.bb
index b08e0377f..696378e22 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.33.bb
@@ -13,7 +13,6 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \
13 file://httpd-2.4.1-selinux.patch \ 13 file://httpd-2.4.1-selinux.patch \
14 file://apache-configure_perlbin.patch \ 14 file://apache-configure_perlbin.patch \
15 file://replace-lynx-to-curl-in-apachectl-script.patch \ 15 file://replace-lynx-to-curl-in-apachectl-script.patch \
16 file://apache-ssl-ltmain-rpath.patch \
17 file://httpd-2.4.3-fix-race-issue-of-dir-install.patch \ 16 file://httpd-2.4.3-fix-race-issue-of-dir-install.patch \
18 file://0001-configure-use-pkg-config-for-PCRE-detection.patch \ 17 file://0001-configure-use-pkg-config-for-PCRE-detection.patch \
19 file://configure-allow-to-disable-selinux-support.patch \ 18 file://configure-allow-to-disable-selinux-support.patch \
@@ -23,9 +22,9 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \
23 file://volatiles.04_apache2 \ 22 file://volatiles.04_apache2 \
24 " 23 "
25 24
26LIC_FILES_CHKSUM = "file://LICENSE;md5=a62b0c7623826ff99766ff13fb9007f8" 25LIC_FILES_CHKSUM = "file://LICENSE;md5=d52d0fd0bc788f068e647116c01ddfcd"
27SRC_URI[md5sum] = "0c599404ef6b69eee95bcd9fcd094407" 26SRC_URI[md5sum] = "6ef469d3f16fffeb688bc6e0346823e5"
28SRC_URI[sha256sum] = "777753a5a25568a2a27428b2214980564bc1c38c1abf9ccc7630b639991f7f00" 27SRC_URI[sha256sum] = "de02511859b00d17845b9abdd1f975d5ccb5d0b280c567da5bf2ad4b70846f05"
29 28
30S = "${WORKDIR}/httpd-${PV}" 29S = "${WORKDIR}/httpd-${PV}"
31 30