diff options
author | Valeria Petrov <valeria.petrov@spinetix.com> | 2023-04-19 15:36:08 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-05-07 12:16:20 -0400 |
commit | 963d04aa8a507b56d79d0c643032613ebe7767ed (patch) | |
tree | 856214796b05d3b7ffb8ad9562a21b8cdc1c4acd | |
parent | 5cf03e0274aa76acf35766c2241bceb2c658ad68 (diff) | |
download | meta-openembedded-963d04aa8a507b56d79d0c643032613ebe7767ed.tar.gz |
apache2: upgrade 2.4.56 -> 2.4.57
Changelog:
Changes with Apache 2.4.57
*) mod_proxy: Check before forwarding that a nocanon path has not been
rewritten with spaces during processing. [Yann Ylavic]
*) mod_proxy: In case that AllowEncodedSlashes is set to NoDecode do not
double encode encoded slashes in the URL sent by the reverse proxy to the
backend. [Ruediger Pluem]
*) mod_http2: fixed a crash during connection termination. See PR 66539.
[Stefan Eissing]
*) mod_rewrite: Fix a 2.4.56 regression for substitutions ending
in a question mark. PR66547. [Eric Covener]
*) mod_rewrite: Add "BCTLS" and "BNE" RewriteRule flags. Re-allow encoded
characters on redirections without the "NE" flag.
[Yann Ylavic, Eric Covener]
*) mod_proxy: Fix double encoding of the uri-path of the request forwarded
to the origin server, when using mapping=encoded|servlet. [Yann Ylavic]
*) mod_mime: Do not match the extention against possible query string
parameters in case ProxyPass was used with the nocanon option.
[Ruediger Pluem]
New patch:
0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch
Accepted in upstream, expected to be removed at next apache2 2.4.58 update.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0b9305faa29f6e26871e7662391efbaae4ae92d9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch | 31 | ||||
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2_2.4.57.bb (renamed from meta-webserver/recipes-httpd/apache2/apache2_2.4.56.bb) | 3 |
2 files changed, 33 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch b/meta-webserver/recipes-httpd/apache2/apache2/0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch new file mode 100644 index 0000000000..996eabf586 --- /dev/null +++ b/meta-webserver/recipes-httpd/apache2/apache2/0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 5c9257fa34335ff83f7c01581cf953111072a457 Mon Sep 17 00:00:00 2001 | ||
2 | From: Valeria Petrov <valeria.petrov@spinetix.com> | ||
3 | Date: Tue, 18 Apr 2023 15:38:53 +0200 | ||
4 | Subject: [PATCH] * modules/mappers/config9.m4: Add 'server' directory to | ||
5 | include path if mod_rewrite is enabled. | ||
6 | |||
7 | Upstream-Status: Accepted [https://svn.apache.org/viewvc?view=revision&revision=1909241] | ||
8 | |||
9 | --- | ||
10 | modules/mappers/config9.m4 | 5 +++++ | ||
11 | 1 file changed, 5 insertions(+) | ||
12 | |||
13 | diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4 | ||
14 | index 55a97ab993..7120b729b7 100644 | ||
15 | --- a/modules/mappers/config9.m4 | ||
16 | +++ b/modules/mappers/config9.m4 | ||
17 | @@ -14,6 +14,11 @@ APACHE_MODULE(userdir, mapping of requests to user-specific directories, , , mos | ||
18 | APACHE_MODULE(alias, mapping of requests to different filesystem parts, , , yes) | ||
19 | APACHE_MODULE(rewrite, rule based URL manipulation, , , most) | ||
20 | |||
21 | +if test "x$enable_rewrite" != "xno"; then | ||
22 | + # mod_rewrite needs test_char.h | ||
23 | + APR_ADDTO(INCLUDES, [-I\$(top_builddir)/server]) | ||
24 | +fi | ||
25 | + | ||
26 | APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current]) | ||
27 | |||
28 | APACHE_MODPATH_FINISH | ||
29 | -- | ||
30 | 2.25.1 | ||
31 | |||
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.56.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.57.bb index 1ad222ace4..00f8aaa415 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.56.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.57.bb | |||
@@ -16,6 +16,7 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \ | |||
16 | file://0008-Fix-perl-install-directory-to-usr-bin.patch \ | 16 | file://0008-Fix-perl-install-directory-to-usr-bin.patch \ |
17 | file://0009-support-apxs.in-force-destdir-to-be-empty-string.patch \ | 17 | file://0009-support-apxs.in-force-destdir-to-be-empty-string.patch \ |
18 | file://0001-make_exports.awk-not-expose-the-path.patch \ | 18 | file://0001-make_exports.awk-not-expose-the-path.patch \ |
19 | file://0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch \ | ||
19 | " | 20 | " |
20 | 21 | ||
21 | SRC_URI:append:class-target = " \ | 22 | SRC_URI:append:class-target = " \ |
@@ -27,7 +28,7 @@ SRC_URI:append:class-target = " \ | |||
27 | " | 28 | " |
28 | 29 | ||
29 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" | 30 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" |
30 | SRC_URI[sha256sum] = "d8d45f1398ba84edd05bb33ca7593ac2989b17cb9c7a0cafe5442d41afdb2d7c" | 31 | SRC_URI[sha256sum] = "dbccb84aee95e095edfbb81e5eb926ccd24e6ada55dcd83caecb262e5cf94d2a" |
31 | 32 | ||
32 | S = "${WORKDIR}/httpd-${PV}" | 33 | S = "${WORKDIR}/httpd-${PV}" |
33 | 34 | ||