diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2022-03-22 12:46:16 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-04-16 09:48:15 -0700 |
commit | c3d85c309be7b8105887ccbb4f30a148dd114756 (patch) | |
tree | de21180611cbb42c84c54e4c8796c92ad7fcc481 | |
parent | a19d1802b15fe07e9b1e7584ff9af7c33bfe642a (diff) | |
download | meta-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>
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 @@ | |||
1 | From d2cedfa3394365689a3f7c8cfe8e0dd56b29bed9 Mon Sep 17 00:00:00 2001 | 1 | From ba9015386cbc044e111d7c266f13e2be045e4bf1 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen.kooi@linaro.org> | 2 | From: Koen Kooi <koen.kooi@linaro.org> |
3 | Date: Tue, 17 Jun 2014 09:10:57 +0200 | 3 | Date: Tue, 17 Jun 2014 09:10:57 +0200 |
4 | Subject: [PATCH] configure: use pkg-config for PCRE detection | 4 | Subject: [PATCH] configure: use pkg-config for PCRE detection |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Inappropriate [embedded specific] |
7 | 7 | ||
8 | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> | 8 | Signed-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 | ||
13 | diff --git a/configure.in b/configure.in | 13 | diff --git a/configure.in b/configure.in |
14 | index 9feaceb..dc6ea15 100644 | 14 | index 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 | -- |
52 | 2.7.4 | 51 | 2.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 @@ | |||
1 | From 7df207ad4d0dcda2ad36e5642296e0dec7e13647 Mon Sep 17 00:00:00 2001 | 1 | From 5074ab3425e5f1e01fd9cfa2d9b7300ea1b3f38f Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 | 3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 |
4 | Subject: [PATCH] apache2: bump up the core size limit if CoreDumpDirectory | 4 | Subject: [PATCH] apache2: bump up the core size limit if CoreDumpDirectory is |
5 | is configured | 5 | configured |
6 | 6 | ||
7 | Bump up the core size limit if CoreDumpDirectory is | 7 | Bump up the core size limit if CoreDumpDirectory is |
8 | configured. | 8 | configured. |
@@ -11,16 +11,15 @@ Upstream-Status: Pending | |||
11 | 11 | ||
12 | Note: upstreaming was discussed but there are competing desires; | 12 | Note: 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 | ||
19 | diff --git a/server/core.c b/server/core.c | 18 | diff --git a/server/core.c b/server/core.c |
20 | index eacb54f..7aa841f 100644 | 19 | index 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 | -- |
50 | 2.7.4 | 49 | 2.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 @@ | |||
1 | From ddd560024a6d526187fd126f306b59533ca3f7e2 Mon Sep 17 00:00:00 2001 | 1 | From 9c03ed909b8da0e1a288f53fda535a3f15bcf791 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 | 3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 |
4 | Subject: [PATCH] apache2: do not export apr/apr-util symbols when using | 4 | Subject: [PATCH] apache2: do not export apr/apr-util symbols when using shared |
5 | shared libapr | 5 | libapr |
6 | 6 | ||
7 | There is no need to "suck in" the apr/apr-util symbols when using | 7 | There is no need to "suck in" the apr/apr-util symbols when using |
8 | a shared libapr{,util}, it just bloats the symbol table; so don't. | 8 | a 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. | |||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
11 | 11 | ||
12 | Note: EXPORT_DIRS change is conditional on using shared apr | 12 | Note: 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 | ||
18 | diff --git a/server/Makefile.in b/server/Makefile.in | 17 | diff --git a/server/Makefile.in b/server/Makefile.in |
19 | index 1fa3344..f635d76 100644 | 18 | index 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 | -- |
33 | 2.7.4 | 32 | 2.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 @@ | |||
1 | From dfa834ebd449df299f54e98f0fb3a7bb4008fb03 Mon Sep 17 00:00:00 2001 | 1 | From 37699e9be04d83c5923644e298f400e077f76e85 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 | 3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 |
4 | Subject: [PATCH] Log the SELinux context at startup. | 4 | Subject: [PATCH] Log the SELinux context at startup. |
@@ -8,17 +8,16 @@ Log the SELinux context at startup. | |||
8 | Upstream-Status: Inappropriate [other] | 8 | Upstream-Status: Inappropriate [other] |
9 | 9 | ||
10 | Note: unlikely to be any interest in this upstream | 10 | Note: 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 | ||
17 | diff --git a/configure.in b/configure.in | 16 | diff --git a/configure.in b/configure.in |
18 | index dc6ea15..caa6f54 100644 | 17 | index 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> |
33 | diff --git a/server/core.c b/server/core.c | 32 | diff --git a/server/core.c b/server/core.c |
34 | index 7aa841f..79f34db 100644 | 33 | index 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 | -- |
78 | 2.7.4 | 77 | 2.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 @@ | |||
1 | From 7db1b650bb4b01a5194a34cd7573f915656a595b Mon Sep 17 00:00:00 2001 | 1 | From e59aab44a28c654e518080693d573ca472ca5a08 Mon Sep 17 00:00:00 2001 |
2 | From: Yulong Pei <Yulong.pei@windriver.com> | 2 | From: Yulong Pei <Yulong.pei@windriver.com> |
3 | Date: Thu, 1 Sep 2011 01:03:14 +0800 | 3 | Date: Thu, 1 Sep 2011 01:03:14 +0800 |
4 | Subject: [PATCH] replace lynx to curl in apachectl script | 4 | Subject: [PATCH] replace lynx to curl in apachectl script |
@@ -48,5 +48,5 @@ index 3281c2e..6ab4ba5 100644 | |||
48 | *) | 48 | *) |
49 | $HTTPD "$@" | 49 | $HTTPD "$@" |
50 | -- | 50 | -- |
51 | 2.7.4 | 51 | 2.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 @@ | |||
1 | From 4f4d7d6b88b6e440263ebeb22dfb40c52bb30fd8 Mon Sep 17 00:00:00 2001 | 1 | From fb09f1fe4525058b16b3d4edb2e3ae693154026e Mon Sep 17 00:00:00 2001 |
2 | From: Zhenhua Luo <zhenhua.luo@freescale.com> | 2 | From: Zhenhua Luo <zhenhua.luo@freescale.com> |
3 | Date: Fri, 25 Jan 2013 18:10:50 +0800 | 3 | Date: Fri, 25 Jan 2013 18:10:50 +0800 |
4 | Subject: [PATCH] apache2: fix the race issue of parallel installation | 4 | Subject: [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 | -- |
34 | 2.7.4 | 34 | 2.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 @@ | |||
1 | From 964ef2c1af74984602f46e7db938d3b95b148385 Mon Sep 17 00:00:00 2001 | 1 | From 0686564f64130f230870db8b4846973e3edbd646 Mon Sep 17 00:00:00 2001 |
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | 2 | From: Wenzong Fan <wenzong.fan@windriver.com> |
3 | Date: Mon, 1 Dec 2014 02:08:27 -0500 | 3 | Date: Mon, 1 Dec 2014 02:08:27 -0500 |
4 | Subject: [PATCH] apache2: allow to disable selinux support | 4 | Subject: [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 | ||
13 | diff --git a/configure.in b/configure.in | 13 | diff --git a/configure.in b/configure.in |
14 | index caa6f54..eab2090 100644 | 14 | index 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 | -- |
39 | 2.7.4 | 39 | 2.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 @@ | |||
1 | From 5412077c398dec74321388fe6e593a44c4c80de6 Mon Sep 17 00:00:00 2001 | 1 | From 443d15b91d4e4979d92405610303797663f31102 Mon Sep 17 00:00:00 2001 |
2 | From: echo <fei.geng@windriver.com> | 2 | From: echo <fei.geng@windriver.com> |
3 | Date: Tue, 28 Apr 2009 03:11:06 +0000 | 3 | Date: Tue, 28 Apr 2009 03:11:06 +0000 |
4 | Subject: [PATCH] Fix perl install directory to /usr/bin | 4 | Subject: [PATCH] Fix perl install directory to /usr/bin |
@@ -11,16 +11,15 @@ error: | |||
11 | bad interpreter: No such file or directory | 11 | bad interpreter: No such file or directory |
12 | 12 | ||
13 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | 13 | Signed-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 | ||
19 | diff --git a/configure.in b/configure.in | 18 | diff --git a/configure.in b/configure.in |
20 | index d828512..be7bd25 100644 | 19 | index 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 | -- | ||
35 | 2.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 @@ | |||
1 | From 705c0a7e9d9c1e64ee09fc0b54f6b5a4e27de1ca Mon Sep 17 00:00:00 2001 | 1 | From 43a4ad04e0d8771267a73f98b5918bcd10b167ec Mon Sep 17 00:00:00 2001 |
2 | From: Trevor Gamblin <trevor.gamblin@windriver.com> | 2 | From: Trevor Gamblin <trevor.gamblin@windriver.com> |
3 | Date: Fri, 17 Apr 2020 06:31:35 -0700 | 3 | Date: Fri, 17 Apr 2020 06:31:35 -0700 |
4 | Subject: [PATCH] support/apxs.in: force destdir to be empty string | 4 | Subject: [PATCH] support/apxs.in: force destdir to be empty string |
5 | 5 | ||
6 | If destdir is assigned to anything other than the empty string, the | 6 | If destdir is assigned to anything other than the empty string, the |
7 | search path for apache2 config files is appended to itself, and | 7 | search path for apache2 config files is appended to itself, and |
8 | related packages like apache-websocket will be unable to locate them: | 8 | related 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 | ||
26 | diff --git a/support/apxs.in b/support/apxs.in | 26 | diff --git a/support/apxs.in b/support/apxs.in |
27 | index 65e1288527..9d96e33728 100644 | 27 | index 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 | -- |
48 | 2.17.1 | 48 | 2.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 @@ | |||
1 | From b62c4cd2295c98b2ebe12641e5f01590bd96ae94 Mon Sep 17 00:00:00 2001 | 1 | From d9993cbc33565c0acd29b0127d651dafa2a16975 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 | 3 | Date: Tue, 17 Jul 2012 11:27:39 +0100 |
4 | Subject: [PATCH] apache2: do not use relative path for gen_test_char | 4 | Subject: [PATCH] apache2: do not use relative path for gen_test_char |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [embedded specific] | 6 | Upstream-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 | ||
12 | diff --git a/server/Makefile.in b/server/Makefile.in | 11 | diff --git a/server/Makefile.in b/server/Makefile.in |
13 | index f635d76..0d48924 100644 | 12 | index 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 | -- |
26 | 2.7.4 | 25 | 2.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 | ||
20 | SRC_URI:append:class-target = " \ | 20 | SRC_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 | ||
28 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" | 28 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" |
29 | SRC_URI[sha256sum] = "0127f7dc497e9983e9c51474bed75e45607f2f870a7675a86dc90af6d572f5c9" | 29 | SRC_URI[sha256sum] = "d0bbd1121a57b5f2a6ff92d7b96f8050c5a45d3f14db118f64979d525858db63" |
30 | 30 | ||
31 | S = "${WORKDIR}/httpd-${PV}" | 31 | S = "${WORKDIR}/httpd-${PV}" |
32 | 32 | ||