diff options
| author | Soumya Sambu <soumya.sambu@windriver.com> | 2024-04-19 13:23:45 +0000 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2024-04-28 13:10:23 -0400 |
| commit | fdc54c502951bde8ad91aeaa9678813b25ff54e7 (patch) | |
| tree | ab8c3be3933077870cc1ef918e51719b36b86301 /meta-webserver | |
| parent | ca4f69e66c30249ca7e0ed9ecf038bbf425cae50 (diff) | |
| download | meta-openembedded-fdc54c502951bde8ad91aeaa9678813b25ff54e7.tar.gz | |
apache2: Upgrade v2.4.58 -> v2.4.59
This upgrade incorporates the fixes for CVE-2024-27316,
CVE-2024-24795,CVE-2023-38709 and other bugfixes.
Adjusted 0004-apache2-log-the-SELinux-context-at-startup.patch
and 0007-apache2-allow-to-disable-selinux-support.patch to
align with upgraded version.
Changelog:
https://downloads.apache.org/httpd/CHANGES_2.4.59
Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-webserver')
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/0004-apache2-log-the-SELinux-context-at-startup.patch | 16 | ||||
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/0007-apache2-allow-to-disable-selinux-support.patch | 10 | ||||
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb (renamed from meta-webserver/recipes-httpd/apache2/apache2_2.4.58.bb) | 2 |
3 files changed, 14 insertions, 14 deletions
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 a652b7969a..9723db1c91 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 | |||
| @@ -14,10 +14,10 @@ Note: unlikely to be any interest in this upstream | |||
| 14 | 2 files changed, 31 insertions(+) | 14 | 2 files changed, 31 insertions(+) |
| 15 | 15 | ||
| 16 | diff --git a/configure.in b/configure.in | 16 | diff --git a/configure.in b/configure.in |
| 17 | index ea6cec3..92b74b7 100644 | 17 | index 352711a..f58620f 100644 |
| 18 | --- a/configure.in | 18 | --- a/configure.in |
| 19 | +++ b/configure.in | 19 | +++ b/configure.in |
| 20 | @@ -491,6 +491,11 @@ getloadavg | 20 | @@ -514,6 +514,11 @@ gettid |
| 21 | 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 |
| 22 | APACHE_CHECK_VOID_PTR_LEN | 22 | APACHE_CHECK_VOID_PTR_LEN |
| 23 | 23 | ||
| @@ -26,11 +26,11 @@ index ea6cec3..92b74b7 100644 | |||
| 26 | + APR_ADDTO(AP_LIBS, [-lselinux]) | 26 | + APR_ADDTO(AP_LIBS, [-lselinux]) |
| 27 | +]) | 27 | +]) |
| 28 | + | 28 | + |
| 29 | AC_CACHE_CHECK([for gettid()], ac_cv_gettid, | 29 | if test $ac_cv_func_gettid = no; then |
| 30 | [AC_TRY_RUN(#define _GNU_SOURCE | 30 | # On Linux before glibc 2.30, gettid() is only usable via syscall() |
| 31 | #include <unistd.h> | 31 | AC_CACHE_CHECK([for gettid() via syscall], ap_cv_gettid, |
| 32 | diff --git a/server/core.c b/server/core.c | 32 | diff --git a/server/core.c b/server/core.c |
| 33 | index 4da7209..d3ca25b 100644 | 33 | index 30b317e..81f145f 100644 |
| 34 | --- a/server/core.c | 34 | --- a/server/core.c |
| 35 | +++ b/server/core.c | 35 | +++ b/server/core.c |
| 36 | @@ -65,6 +65,10 @@ | 36 | @@ -65,6 +65,10 @@ |
| @@ -44,7 +44,7 @@ index 4da7209..d3ca25b 100644 | |||
| 44 | /* LimitRequestBody handling */ | 44 | /* LimitRequestBody handling */ |
| 45 | #define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1) | 45 | #define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1) |
| 46 | #define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 1<<30) /* 1GB */ | 46 | #define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 1<<30) /* 1GB */ |
| 47 | @@ -5126,6 +5130,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte | 47 | @@ -5139,6 +5143,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte |
| 48 | } | 48 | } |
| 49 | #endif | 49 | #endif |
| 50 | 50 | ||
| @@ -74,5 +74,5 @@ index 4da7209..d3ca25b 100644 | |||
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | -- | 76 | -- |
| 77 | 2.25.1 | 77 | 2.40.0 |
| 78 | 78 | ||
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 3ff6894409..7163dc2b80 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 | |||
| @@ -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 76811e7..4df3ff3 100644 | 14 | index f58620f..b5971b7 100644 |
| 15 | --- a/configure.in | 15 | --- a/configure.in |
| 16 | +++ b/configure.in | 16 | +++ b/configure.in |
| 17 | @@ -491,10 +491,16 @@ getloadavg | 17 | @@ -514,10 +514,16 @@ gettid |
| 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 | ||
| @@ -33,8 +33,8 @@ index 76811e7..4df3ff3 100644 | |||
| 33 | + ]) | 33 | + ]) |
| 34 | +fi | 34 | +fi |
| 35 | 35 | ||
| 36 | AC_CACHE_CHECK([for gettid()], ac_cv_gettid, | 36 | if test $ac_cv_func_gettid = no; then |
| 37 | [AC_TRY_RUN(#define _GNU_SOURCE | 37 | # On Linux before glibc 2.30, gettid() is only usable via syscall() |
| 38 | -- | 38 | -- |
| 39 | 2.25.1 | 39 | 2.40.0 |
| 40 | 40 | ||
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.58.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb index 84b19de592..7740b4e33d 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.58.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb | |||
| @@ -27,7 +27,7 @@ SRC_URI:append:class-target = " \ | |||
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" | 29 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" |
| 30 | SRC_URI[sha256sum] = "fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5" | 30 | SRC_URI[sha256sum] = "ec51501ec480284ff52f637258135d333230a7d229c3afa6f6c2f9040e321323" |
| 31 | 31 | ||
| 32 | S = "${WORKDIR}/httpd-${PV}" | 32 | S = "${WORKDIR}/httpd-${PV}" |
| 33 | 33 | ||
