summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2022-03-22 12:46:16 +0800
committerArmin Kuster <akuster808@gmail.com>2022-04-16 09:48:15 -0700
commitc3d85c309be7b8105887ccbb4f30a148dd114756 (patch)
treede21180611cbb42c84c54e4c8796c92ad7fcc481
parenta19d1802b15fe07e9b1e7584ff9af7c33bfe642a (diff)
downloadmeta-openembedded-c3d85c309be7b8105887ccbb4f30a148dd114756.tar.gz
apache2: upgrade 2.4.52 -> 2.4.53
ChangeLog: https://downloads.apache.org/httpd/CHANGES_2.4.53 Security fixes: CVE-2022-23943 CVE-2022-22721 CVE-2022-22720 CVE-2022-22719 Refresh patches. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 81bbe65791459538ab578ac13e612f7dc6f692f0) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0001-configure-use-pkg-config-for-PCRE-detection.patch37
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0002-apache2-bump-up-the-core-size-limit-if-CoreDumpDirec.patch13
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0003-apache2-do-not-export-apr-apr-util-symbols-when-usin.patch11
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0004-apache2-log-the-SELinux-context-at-startup.patch15
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0005-replace-lynx-to-curl-in-apachectl-script.patch4
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0006-apache2-fix-the-race-issue-of-parallel-installation.patch4
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0007-apache2-allow-to-disable-selinux-support.patch8
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch (renamed from meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch)10
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0009-support-apxs.in-force-destdir-to-be-empty-string.patch (renamed from meta-webserver/recipes-httpd/apache2/apache2/0001-support-apxs.in-force-destdir-to-be-empty-string.patch)10
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2/0010-apache2-do-not-use-relative-path-for-gen_test_char.patch (renamed from meta-webserver/recipes-httpd/apache2/apache2/0008-apache2-do-not-use-relative-path-for-gen_test_char.patch)7
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2_2.4.53.bb (renamed from meta-webserver/recipes-httpd/apache2/apache2_2.4.52.bb)8
11 files changed, 62 insertions, 65 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/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 6c0286457c..50775be533 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/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,44 +1,43 @@
1From d2cedfa3394365689a3f7c8cfe8e0dd56b29bed9 Mon Sep 17 00:00:00 2001 1From ba9015386cbc044e111d7c266f13e2be045e4bf1 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 6Upstream-Status: Inappropriate [embedded specific]
7 7
8Signed-off-by: Koen Kooi <koen.kooi@linaro.org> 8Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
9--- 9---
10 configure.in | 27 +++++---------------------- 10 configure.in | 26 +++++---------------------
11 1 file changed, 5 insertions(+), 22 deletions(-) 11 1 file changed, 5 insertions(+), 21 deletions(-)
12 12
13diff --git a/configure.in b/configure.in 13diff --git a/configure.in b/configure.in
14index 9feaceb..dc6ea15 100644 14index 38c1d0a..c799aec 100644
15--- a/configure.in 15--- a/configure.in
16+++ b/configure.in 16+++ b/configure.in
17@@ -215,28 +215,11 @@ fi 17@@ -221,27 +221,11 @@ else if which $with_pcre 2>/dev/null; then :; else
18 AC_ARG_WITH(pcre, 18 fi
19 APACHE_HELP_STRING(--with-pcre=PATH,Use external PCRE library)) 19 fi
20 20
21-AC_PATH_PROG(PCRE_CONFIG, pcre-config, false) 21-AC_CHECK_TARGET_TOOLS(PCRE_CONFIG, [pcre2-config pcre-config],
22-if test -d "$with_pcre" && test -x "$with_pcre/bin/pcre-config"; then 22- [`which $with_pcre 2>/dev/null`], $with_pcre)
23- PCRE_CONFIG=$with_pcre/bin/pcre-config
24-elif test -x "$with_pcre"; then
25- PCRE_CONFIG=$with_pcre
26-fi
27- 23-
28-if test "$PCRE_CONFIG" != "false"; then 24-if test "x$PCRE_CONFIG" != "x"; then
29- if $PCRE_CONFIG --version >/dev/null 2>&1; then :; else 25- if $PCRE_CONFIG --version >/dev/null 2>&1; then :; else
30- AC_MSG_ERROR([Did not find pcre-config script at $PCRE_CONFIG]) 26- AC_MSG_ERROR([Did not find working script at $PCRE_CONFIG])
31- fi 27- fi
32- case `$PCRE_CONFIG --version` in 28- case `$PCRE_CONFIG --version` in
29- [1[0-9].*])
30- AC_DEFINE(HAVE_PCRE2, 1, [Detected PCRE2])
31- ;;
33- [[1-5].*]) 32- [[1-5].*])
34- AC_MSG_ERROR([Need at least pcre version 6.0]) 33- AC_MSG_ERROR([Need at least pcre version 6.0])
35- ;; 34- ;;
36- esac 35- esac
37- AC_MSG_NOTICE([Using external PCRE library from $PCRE_CONFIG]) 36- AC_MSG_NOTICE([Using external PCRE library from $PCRE_CONFIG])
38- APR_ADDTO(PCRE_INCLUDES, [`$PCRE_CONFIG --cflags`]) 37- APR_ADDTO(PCRE_INCLUDES, [`$PCRE_CONFIG --cflags`])
39- APR_ADDTO(PCRE_LIBS, [`$PCRE_CONFIG --libs`]) 38- APR_ADDTO(PCRE_LIBS, [`$PCRE_CONFIG --libs8 2>/dev/null || $PCRE_CONFIG --libs`])
40-else 39-else
41- AC_MSG_ERROR([pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/]) 40- AC_MSG_ERROR([pcre(2)-config for libpcre not found. PCRE is required and available from http://pcre.org/])
42-fi 41-fi
43+PKG_CHECK_MODULES([PCRE], [libpcre], [ 42+PKG_CHECK_MODULES([PCRE], [libpcre], [
44+ AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE library]) 43+ AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE library])
@@ -49,5 +48,5 @@ index 9feaceb..dc6ea15 100644
49 48
50 AC_MSG_NOTICE([]) 49 AC_MSG_NOTICE([])
51-- 50--
522.7.4 512.25.1
53 52
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0002-apache2-bump-up-the-core-size-limit-if-CoreDumpDirec.patch b/meta-webserver/recipes-httpd/apache2/apache2/0002-apache2-bump-up-the-core-size-limit-if-CoreDumpDirec.patch
index 85fe6ae4bd..bbe8b325b5 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0002-apache2-bump-up-the-core-size-limit-if-CoreDumpDirec.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0002-apache2-bump-up-the-core-size-limit-if-CoreDumpDirec.patch
@@ -1,8 +1,8 @@
1From 7df207ad4d0dcda2ad36e5642296e0dec7e13647 Mon Sep 17 00:00:00 2001 1From 5074ab3425e5f1e01fd9cfa2d9b7300ea1b3f38f Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com> 2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 17 Jul 2012 11:27:39 +0100 3Date: Tue, 17 Jul 2012 11:27:39 +0100
4Subject: [PATCH] apache2: bump up the core size limit if CoreDumpDirectory 4Subject: [PATCH] apache2: bump up the core size limit if CoreDumpDirectory is
5 is configured 5 configured
6 6
7Bump up the core size limit if CoreDumpDirectory is 7Bump up the core size limit if CoreDumpDirectory is
8configured. 8configured.
@@ -11,16 +11,15 @@ Upstream-Status: Pending
11 11
12Note: upstreaming was discussed but there are competing desires; 12Note: upstreaming was discussed but there are competing desires;
13 there are portability oddities here too. 13 there are portability oddities here too.
14
15--- 14---
16 server/core.c | 19 +++++++++++++++++++ 15 server/core.c | 19 +++++++++++++++++++
17 1 file changed, 19 insertions(+) 16 1 file changed, 19 insertions(+)
18 17
19diff --git a/server/core.c b/server/core.c 18diff --git a/server/core.c b/server/core.c
20index eacb54f..7aa841f 100644 19index 090e397..3020090 100644
21--- a/server/core.c 20--- a/server/core.c
22+++ b/server/core.c 21+++ b/server/core.c
23@@ -4965,6 +4965,25 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte 22@@ -5107,6 +5107,25 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte
24 } 23 }
25 apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper, 24 apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper,
26 apr_pool_cleanup_null); 25 apr_pool_cleanup_null);
@@ -47,5 +46,5 @@ index eacb54f..7aa841f 100644
47 } 46 }
48 47
49-- 48--
502.7.4 492.25.1
51 50
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0003-apache2-do-not-export-apr-apr-util-symbols-when-usin.patch b/meta-webserver/recipes-httpd/apache2/apache2/0003-apache2-do-not-export-apr-apr-util-symbols-when-usin.patch
index 081a02baa3..adb728ba31 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0003-apache2-do-not-export-apr-apr-util-symbols-when-usin.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0003-apache2-do-not-export-apr-apr-util-symbols-when-usin.patch
@@ -1,8 +1,8 @@
1From ddd560024a6d526187fd126f306b59533ca3f7e2 Mon Sep 17 00:00:00 2001 1From 9c03ed909b8da0e1a288f53fda535a3f15bcf791 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com> 2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 17 Jul 2012 11:27:39 +0100 3Date: Tue, 17 Jul 2012 11:27:39 +0100
4Subject: [PATCH] apache2: do not export apr/apr-util symbols when using 4Subject: [PATCH] apache2: do not export apr/apr-util symbols when using shared
5 shared libapr 5 libapr
6 6
7There is no need to "suck in" the apr/apr-util symbols when using 7There is no need to "suck in" the apr/apr-util symbols when using
8a shared libapr{,util}, it just bloats the symbol table; so don't. 8a shared libapr{,util}, it just bloats the symbol table; so don't.
@@ -10,13 +10,12 @@ a shared libapr{,util}, it just bloats the symbol table; so don't.
10Upstream-Status: Pending 10Upstream-Status: Pending
11 11
12Note: EXPORT_DIRS change is conditional on using shared apr 12Note: EXPORT_DIRS change is conditional on using shared apr
13
14--- 13---
15 server/Makefile.in | 3 --- 14 server/Makefile.in | 3 ---
16 1 file changed, 3 deletions(-) 15 1 file changed, 3 deletions(-)
17 16
18diff --git a/server/Makefile.in b/server/Makefile.in 17diff --git a/server/Makefile.in b/server/Makefile.in
19index 1fa3344..f635d76 100644 18index 8111877..8c0c396 100644
20--- a/server/Makefile.in 19--- a/server/Makefile.in
21+++ b/server/Makefile.in 20+++ b/server/Makefile.in
22@@ -60,9 +60,6 @@ export_files: 21@@ -60,9 +60,6 @@ export_files:
@@ -30,5 +29,5 @@ index 1fa3344..f635d76 100644
30 29
31 exports.c: export_files 30 exports.c: export_files
32-- 31--
332.7.4 322.25.1
34 33
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0004-apache2-log-the-SELinux-context-at-startup.patch b/meta-webserver/recipes-httpd/apache2/apache2/0004-apache2-log-the-SELinux-context-at-startup.patch
index 78a04d9af4..5d82919685 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0004-apache2-log-the-SELinux-context-at-startup.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0004-apache2-log-the-SELinux-context-at-startup.patch
@@ -1,4 +1,4 @@
1From dfa834ebd449df299f54e98f0fb3a7bb4008fb03 Mon Sep 17 00:00:00 2001 1From 37699e9be04d83c5923644e298f400e077f76e85 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com> 2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 17 Jul 2012 11:27:39 +0100 3Date: Tue, 17 Jul 2012 11:27:39 +0100
4Subject: [PATCH] Log the SELinux context at startup. 4Subject: [PATCH] Log the SELinux context at startup.
@@ -8,17 +8,16 @@ Log the SELinux context at startup.
8Upstream-Status: Inappropriate [other] 8Upstream-Status: Inappropriate [other]
9 9
10Note: unlikely to be any interest in this upstream 10Note: unlikely to be any interest in this upstream
11
12--- 11---
13 configure.in | 5 +++++ 12 configure.in | 5 +++++
14 server/core.c | 26 ++++++++++++++++++++++++++ 13 server/core.c | 26 ++++++++++++++++++++++++++
15 2 files changed, 31 insertions(+) 14 2 files changed, 31 insertions(+)
16 15
17diff --git a/configure.in b/configure.in 16diff --git a/configure.in b/configure.in
18index dc6ea15..caa6f54 100644 17index c799aec..76811e7 100644
19--- a/configure.in 18--- a/configure.in
20+++ b/configure.in 19+++ b/configure.in
21@@ -466,6 +466,11 @@ getloadavg 20@@ -491,6 +491,11 @@ getloadavg
22 dnl confirm that a void pointer is large enough to store a long integer 21 dnl confirm that a void pointer is large enough to store a long integer
23 APACHE_CHECK_VOID_PTR_LEN 22 APACHE_CHECK_VOID_PTR_LEN
24 23
@@ -31,10 +30,10 @@ index dc6ea15..caa6f54 100644
31 [AC_TRY_RUN(#define _GNU_SOURCE 30 [AC_TRY_RUN(#define _GNU_SOURCE
32 #include <unistd.h> 31 #include <unistd.h>
33diff --git a/server/core.c b/server/core.c 32diff --git a/server/core.c b/server/core.c
34index 7aa841f..79f34db 100644 33index 3020090..8fef5fd 100644
35--- a/server/core.c 34--- a/server/core.c
36+++ b/server/core.c 35+++ b/server/core.c
37@@ -59,6 +59,10 @@ 36@@ -65,6 +65,10 @@
38 #include <unistd.h> 37 #include <unistd.h>
39 #endif 38 #endif
40 39
@@ -45,7 +44,7 @@ index 7aa841f..79f34db 100644
45 /* LimitRequestBody handling */ 44 /* LimitRequestBody handling */
46 #define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1) 45 #define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1)
47 #define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 0) 46 #define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 0)
48@@ -4984,6 +4988,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte 47@@ -5126,6 +5130,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte
49 } 48 }
50 #endif 49 #endif
51 50
@@ -75,5 +74,5 @@ index 7aa841f..79f34db 100644
75 } 74 }
76 75
77-- 76--
782.7.4 772.25.1
79 78
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0005-replace-lynx-to-curl-in-apachectl-script.patch b/meta-webserver/recipes-httpd/apache2/apache2/0005-replace-lynx-to-curl-in-apachectl-script.patch
index 47320a9ee5..7b4a1b932b 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0005-replace-lynx-to-curl-in-apachectl-script.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0005-replace-lynx-to-curl-in-apachectl-script.patch
@@ -1,4 +1,4 @@
1From 7db1b650bb4b01a5194a34cd7573f915656a595b Mon Sep 17 00:00:00 2001 1From e59aab44a28c654e518080693d573ca472ca5a08 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
@@ -48,5 +48,5 @@ index 3281c2e..6ab4ba5 100644
48 *) 48 *)
49 $HTTPD "$@" 49 $HTTPD "$@"
50-- 50--
512.7.4 512.25.1
52 52
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0006-apache2-fix-the-race-issue-of-parallel-installation.patch b/meta-webserver/recipes-httpd/apache2/apache2/0006-apache2-fix-the-race-issue-of-parallel-installation.patch
index 227d04064b..dbaf01d2c5 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0006-apache2-fix-the-race-issue-of-parallel-installation.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0006-apache2-fix-the-race-issue-of-parallel-installation.patch
@@ -1,4 +1,4 @@
1From 4f4d7d6b88b6e440263ebeb22dfb40c52bb30fd8 Mon Sep 17 00:00:00 2001 1From fb09f1fe4525058b16b3d4edb2e3ae693154026e Mon Sep 17 00:00:00 2001
2From: Zhenhua Luo <zhenhua.luo@freescale.com> 2From: Zhenhua Luo <zhenhua.luo@freescale.com>
3Date: Fri, 25 Jan 2013 18:10:50 +0800 3Date: Fri, 25 Jan 2013 18:10:50 +0800
4Subject: [PATCH] apache2: fix the race issue of parallel installation 4Subject: [PATCH] apache2: fix the race issue of parallel installation
@@ -31,5 +31,5 @@ index e2d5bb6..dde5ae0 100755
31 pathcomp="$pathcomp/" 31 pathcomp="$pathcomp/"
32 done 32 done
33-- 33--
342.7.4 342.25.1
35 35
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0007-apache2-allow-to-disable-selinux-support.patch b/meta-webserver/recipes-httpd/apache2/apache2/0007-apache2-allow-to-disable-selinux-support.patch
index fed6b5010b..3ff6894409 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0007-apache2-allow-to-disable-selinux-support.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0007-apache2-allow-to-disable-selinux-support.patch
@@ -1,4 +1,4 @@
1From 964ef2c1af74984602f46e7db938d3b95b148385 Mon Sep 17 00:00:00 2001 1From 0686564f64130f230870db8b4846973e3edbd646 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
@@ -11,10 +11,10 @@ Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
11 1 file changed, 10 insertions(+), 4 deletions(-) 11 1 file changed, 10 insertions(+), 4 deletions(-)
12 12
13diff --git a/configure.in b/configure.in 13diff --git a/configure.in b/configure.in
14index caa6f54..eab2090 100644 14index 76811e7..4df3ff3 100644
15--- a/configure.in 15--- a/configure.in
16+++ b/configure.in 16+++ b/configure.in
17@@ -466,10 +466,16 @@ getloadavg 17@@ -491,10 +491,16 @@ getloadavg
18 dnl confirm that a void pointer is large enough to store a long integer 18 dnl confirm that a void pointer is large enough to store a long integer
19 APACHE_CHECK_VOID_PTR_LEN 19 APACHE_CHECK_VOID_PTR_LEN
20 20
@@ -36,5 +36,5 @@ index caa6f54..eab2090 100644
36 AC_CACHE_CHECK([for gettid()], ac_cv_gettid, 36 AC_CACHE_CHECK([for gettid()], ac_cv_gettid,
37 [AC_TRY_RUN(#define _GNU_SOURCE 37 [AC_TRY_RUN(#define _GNU_SOURCE
38-- 38--
392.7.4 392.25.1
40 40
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch b/meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch
index 61669e3641..dc5b5c88f2 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/apache-configure_perlbin.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch
@@ -1,4 +1,4 @@
1From 5412077c398dec74321388fe6e593a44c4c80de6 Mon Sep 17 00:00:00 2001 1From 443d15b91d4e4979d92405610303797663f31102 Mon Sep 17 00:00:00 2001
2From: echo <fei.geng@windriver.com> 2From: echo <fei.geng@windriver.com>
3Date: Tue, 28 Apr 2009 03:11:06 +0000 3Date: Tue, 28 Apr 2009 03:11:06 +0000
4Subject: [PATCH] Fix perl install directory to /usr/bin 4Subject: [PATCH] Fix perl install directory to /usr/bin
@@ -11,16 +11,15 @@ error:
11bad interpreter: No such file or directory 11bad interpreter: No such file or directory
12 12
13Signed-off-by: Changqing Li <changqing.li@windriver.com> 13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14
15--- 14---
16 configure.in | 5 +---- 15 configure.in | 5 +----
17 1 file changed, 1 insertion(+), 4 deletions(-) 16 1 file changed, 1 insertion(+), 4 deletions(-)
18 17
19diff --git a/configure.in b/configure.in 18diff --git a/configure.in b/configure.in
20index d828512..be7bd25 100644 19index 4df3ff3..4eeb609 100644
21--- a/configure.in 20--- a/configure.in
22+++ b/configure.in 21+++ b/configure.in
23@@ -855,10 +855,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf", 22@@ -903,10 +903,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf",
24 AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types", 23 AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types",
25 [Location of the MIME types config file, relative to the Apache root directory]) 24 [Location of the MIME types config file, relative to the Apache root directory])
26 25
@@ -32,3 +31,6 @@ index d828512..be7bd25 100644
32 AC_SUBST(perlbin) 31 AC_SUBST(perlbin)
33 32
34 dnl If we are running on BSD/OS, we need to use the BSD .include syntax. 33 dnl If we are running on BSD/OS, we need to use the BSD .include syntax.
34--
352.25.1
36
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0001-support-apxs.in-force-destdir-to-be-empty-string.patch b/meta-webserver/recipes-httpd/apache2/apache2/0009-support-apxs.in-force-destdir-to-be-empty-string.patch
index bdedd146c2..d1f9bb0f43 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0001-support-apxs.in-force-destdir-to-be-empty-string.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0009-support-apxs.in-force-destdir-to-be-empty-string.patch
@@ -1,10 +1,10 @@
1From 705c0a7e9d9c1e64ee09fc0b54f6b5a4e27de1ca Mon Sep 17 00:00:00 2001 1From 43a4ad04e0d8771267a73f98b5918bcd10b167ec Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <trevor.gamblin@windriver.com> 2From: Trevor Gamblin <trevor.gamblin@windriver.com>
3Date: Fri, 17 Apr 2020 06:31:35 -0700 3Date: Fri, 17 Apr 2020 06:31:35 -0700
4Subject: [PATCH] support/apxs.in: force destdir to be empty string 4Subject: [PATCH] support/apxs.in: force destdir to be empty string
5 5
6If destdir is assigned to anything other than the empty string, the 6If destdir is assigned to anything other than the empty string, the
7search path for apache2 config files is appended to itself, and 7search path for apache2 config files is appended to itself, and
8related packages like apache-websocket will be unable to locate them: 8related packages like apache-websocket will be unable to locate them:
9 9
10| cannot open 10| cannot open
@@ -24,7 +24,7 @@ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
24 1 file changed, 6 insertions(+), 4 deletions(-) 24 1 file changed, 6 insertions(+), 4 deletions(-)
25 25
26diff --git a/support/apxs.in b/support/apxs.in 26diff --git a/support/apxs.in b/support/apxs.in
27index 65e1288527..9d96e33728 100644 27index b2705fa..781f2ab 100644
28--- a/support/apxs.in 28--- a/support/apxs.in
29+++ b/support/apxs.in 29+++ b/support/apxs.in
30@@ -28,10 +28,12 @@ package apxs; 30@@ -28,10 +28,12 @@ package apxs;
@@ -45,5 +45,5 @@ index 65e1288527..9d96e33728 100644
45 my %config_vars = (); 45 my %config_vars = ();
46 46
47-- 47--
482.17.1 482.25.1
49 49
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0008-apache2-do-not-use-relative-path-for-gen_test_char.patch b/meta-webserver/recipes-httpd/apache2/apache2/0010-apache2-do-not-use-relative-path-for-gen_test_char.patch
index 82e9e8c35f..ced8469f3a 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2/0008-apache2-do-not-use-relative-path-for-gen_test_char.patch
+++ b/meta-webserver/recipes-httpd/apache2/apache2/0010-apache2-do-not-use-relative-path-for-gen_test_char.patch
@@ -1,16 +1,15 @@
1From b62c4cd2295c98b2ebe12641e5f01590bd96ae94 Mon Sep 17 00:00:00 2001 1From d9993cbc33565c0acd29b0127d651dafa2a16975 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com> 2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 17 Jul 2012 11:27:39 +0100 3Date: Tue, 17 Jul 2012 11:27:39 +0100
4Subject: [PATCH] apache2: do not use relative path for gen_test_char 4Subject: [PATCH] apache2: do not use relative path for gen_test_char
5 5
6Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
7
8--- 7---
9 server/Makefile.in | 2 +- 8 server/Makefile.in | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-) 9 1 file changed, 1 insertion(+), 1 deletion(-)
11 10
12diff --git a/server/Makefile.in b/server/Makefile.in 11diff --git a/server/Makefile.in b/server/Makefile.in
13index f635d76..0d48924 100644 12index 8c0c396..3544f55 100644
14--- a/server/Makefile.in 13--- a/server/Makefile.in
15+++ b/server/Makefile.in 14+++ b/server/Makefile.in
16@@ -29,7 +29,7 @@ gen_test_char: $(gen_test_char_OBJECTS) 15@@ -29,7 +29,7 @@ gen_test_char: $(gen_test_char_OBJECTS)
@@ -23,5 +22,5 @@ index f635d76..0d48924 100644
23 util.lo: test_char.h 22 util.lo: test_char.h
24 23
25-- 24--
262.7.4 252.25.1
27 26
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.52.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.53.bb
index 0bf29a744e..bac012ea56 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.52.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.53.bb
@@ -13,12 +13,12 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \
13 file://0005-replace-lynx-to-curl-in-apachectl-script.patch \ 13 file://0005-replace-lynx-to-curl-in-apachectl-script.patch \
14 file://0006-apache2-fix-the-race-issue-of-parallel-installation.patch \ 14 file://0006-apache2-fix-the-race-issue-of-parallel-installation.patch \
15 file://0007-apache2-allow-to-disable-selinux-support.patch \ 15 file://0007-apache2-allow-to-disable-selinux-support.patch \
16 file://apache-configure_perlbin.patch \ 16 file://0008-Fix-perl-install-directory-to-usr-bin.patch \
17 file://0001-support-apxs.in-force-destdir-to-be-empty-string.patch \ 17 file://0009-support-apxs.in-force-destdir-to-be-empty-string.patch \
18 " 18 "
19 19
20SRC_URI:append:class-target = " \ 20SRC_URI:append:class-target = " \
21 file://0008-apache2-do-not-use-relative-path-for-gen_test_char.patch \ 21 file://0010-apache2-do-not-use-relative-path-for-gen_test_char.patch \
22 file://init \ 22 file://init \
23 file://apache2-volatile.conf \ 23 file://apache2-volatile.conf \
24 file://apache2.service \ 24 file://apache2.service \
@@ -26,7 +26,7 @@ SRC_URI:append:class-target = " \
26 " 26 "
27 27
28LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" 28LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3"
29SRC_URI[sha256sum] = "0127f7dc497e9983e9c51474bed75e45607f2f870a7675a86dc90af6d572f5c9" 29SRC_URI[sha256sum] = "d0bbd1121a57b5f2a6ff92d7b96f8050c5a45d3f14db118f64979d525858db63"
30 30
31S = "${WORKDIR}/httpd-${PV}" 31S = "${WORKDIR}/httpd-${PV}"
32 32