diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2')
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/0002-apache2-bump-up-the-core-size-limit-if-CoreDumpDirec.patch | 9 | ||||
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/0004-apache2-log-the-SELinux-context-at-startup.patch | 10 | ||||
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch | 9 | ||||
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2_2.4.63.bb (renamed from meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb) | 24 |
4 files changed, 30 insertions, 22 deletions
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 bbe8b325b5..64edeb5936 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,4 +1,4 @@ | |||
1 | From 5074ab3425e5f1e01fd9cfa2d9b7300ea1b3f38f Mon Sep 17 00:00:00 2001 | 1 | From d1f0389e699e64f3e329c0ce509f79d969a76114 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 is | 4 | Subject: [PATCH] apache2: bump up the core size limit if CoreDumpDirectory is |
@@ -16,10 +16,10 @@ Note: upstreaming was discussed but there are competing desires; | |||
16 | 1 file changed, 19 insertions(+) | 16 | 1 file changed, 19 insertions(+) |
17 | 17 | ||
18 | diff --git a/server/core.c b/server/core.c | 18 | diff --git a/server/core.c b/server/core.c |
19 | index 090e397..3020090 100644 | 19 | index 843b973..3b50100 100644 |
20 | --- a/server/core.c | 20 | --- a/server/core.c |
21 | +++ b/server/core.c | 21 | +++ b/server/core.c |
22 | @@ -5107,6 +5107,25 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte | 22 | @@ -5143,6 +5143,25 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte |
23 | } | 23 | } |
24 | apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper, | 24 | apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper, |
25 | apr_pool_cleanup_null); | 25 | apr_pool_cleanup_null); |
@@ -45,6 +45,3 @@ index 090e397..3020090 100644 | |||
45 | return OK; | 45 | return OK; |
46 | } | 46 | } |
47 | 47 | ||
48 | -- | ||
49 | 2.25.1 | ||
50 | |||
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 1abbe0c41f..f8fbc4f3c9 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 e47cc405eadcbe37a579c375e824e20a5c53bfad Mon Sep 17 00:00:00 2001 | 1 | From b31cf12566e806e9e9c3aa01029f6bae3ada0729 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. |
@@ -14,7 +14,7 @@ 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 352711a..f58620f 100644 | 17 | index 6319903..bffd8a1 100644 |
18 | --- a/configure.in | 18 | --- a/configure.in |
19 | +++ b/configure.in | 19 | +++ b/configure.in |
20 | @@ -514,6 +514,11 @@ gettid | 20 | @@ -514,6 +514,11 @@ gettid |
@@ -30,7 +30,7 @@ index 352711a..f58620f 100644 | |||
30 | # On Linux before glibc 2.30, gettid() is only usable via syscall() | 30 | # On Linux before glibc 2.30, gettid() is only usable via syscall() |
31 | AC_CACHE_CHECK([for gettid() via syscall], ap_cv_gettid, | 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 30b317e..81f145f 100644 | 33 | index 3b50100..e0c7c7f 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 30b317e..81f145f 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 | @@ -5139,6 +5143,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte | 47 | @@ -5162,6 +5166,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 | ||
@@ -73,5 +73,3 @@ index 30b317e..81f145f 100644 | |||
73 | return OK; | 73 | return OK; |
74 | } | 74 | } |
75 | 75 | ||
76 | -- | ||
77 | 2.40.0 | ||
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch b/meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch index dc5b5c88f2..4bc2ad6d3e 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch +++ b/meta-webserver/recipes-httpd/apache2/apache2/0008-Fix-perl-install-directory-to-usr-bin.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 443d15b91d4e4979d92405610303797663f31102 Mon Sep 17 00:00:00 2001 | 1 | From 980eadecc128bbbe1233e5d89268be24d14e1873 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 |
@@ -16,10 +16,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
16 | 1 file changed, 1 insertion(+), 4 deletions(-) | 16 | 1 file changed, 1 insertion(+), 4 deletions(-) |
17 | 17 | ||
18 | diff --git a/configure.in b/configure.in | 18 | diff --git a/configure.in b/configure.in |
19 | index 4df3ff3..4eeb609 100644 | 19 | index 4ce0fee..0362f52 100644 |
20 | --- a/configure.in | 20 | --- a/configure.in |
21 | +++ b/configure.in | 21 | +++ b/configure.in |
22 | @@ -903,10 +903,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf", | 22 | @@ -936,10 +936,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf", |
23 | AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types", | 23 | AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types", |
24 | [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]) |
25 | 25 | ||
@@ -31,6 +31,3 @@ index 4df3ff3..4eeb609 100644 | |||
31 | AC_SUBST(perlbin) | 31 | AC_SUBST(perlbin) |
32 | 32 | ||
33 | 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_2.4.59.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.63.bb index 1632c6ccb1..2b4ae41d95 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.63.bb | |||
@@ -27,9 +27,9 @@ 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] = "ec51501ec480284ff52f637258135d333230a7d229c3afa6f6c2f9040e321323" | 30 | SRC_URI[sha256sum] = "88fc236ab99b2864b248de7d49a008ec2afd7551e64dce8b95f58f32f94c46ab" |
31 | 31 | ||
32 | S = "${WORKDIR}/httpd-${PV}" | 32 | S = "${UNPACKDIR}/httpd-${PV}" |
33 | 33 | ||
34 | inherit autotools update-rc.d pkgconfig systemd multilib_script multilib_header | 34 | inherit autotools update-rc.d pkgconfig systemd multilib_script multilib_header |
35 | 35 | ||
@@ -37,12 +37,24 @@ DEPENDS = "openssl expat pcre apr apr-util apache2-native " | |||
37 | 37 | ||
38 | CVE_PRODUCT = "apache:http_server" | 38 | CVE_PRODUCT = "apache:http_server" |
39 | 39 | ||
40 | CVE_STATUS[CVE-1999-0289] = "not-applicable-platform: The current version is not affected. It only applies for Windows" | ||
41 | CVE_STATUS[CVE-1999-0678] = "not-applicable-platform: this CVE is for Debian packaging configuration" | ||
42 | CVE_STATUS[CVE-1999-1237] = "cpe-incorrect: This is vulnerability of Apache AuthenSmb module, fixed in 0.9" | ||
43 | CVE_STATUS[CVE-1999-1412] = "not-applicable-platform: this CVE is for MAC OS X specific problem" | ||
44 | CVE_STATUS[CVE-2007-0086] = "disputed: this CVE is officially disputed by Redhat" | ||
45 | CVE_STATUS[CVE-2007-0450] = "not-applicable-platform: The current version is not affected. It only applies for Windows." | ||
46 | CVE_STATUS[CVE-2007-6421] = "cpe-incorrect: The current version is not affected by the CVE which affects versions from 2.2 (incl.) to 2.2.8 (excl.)" | ||
47 | CVE_STATUS[CVE-2007-6422] = "cpe-incorrect: The current version is not affected by the CVE which affects versions from 2.2 (incl.) to 2.2.8 (excl.)" | ||
48 | CVE_STATUS[CVE-2007-6423] = "cpe-incorrect: The current version is not affected by the CVE which affects versions from 2.2.x to 2.2.7-dev" | ||
49 | CVE_STATUS[CVE-2008-2168] = "cpe-incorrect: The current version is not affected by the CVE which affects versions up to 2.2.6 (excl.)" | ||
50 | CVE_STATUS[CVE-2010-0425] = "not-applicable-platform: The current version is not affected. It only applies for Windows." | ||
51 | |||
40 | SSTATE_SCAN_FILES += "apxs config_vars.mk config.nice" | 52 | SSTATE_SCAN_FILES += "apxs config_vars.mk config.nice" |
41 | 53 | ||
42 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" | 54 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
43 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" | 55 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" |
44 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" | 56 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" |
45 | PACKAGECONFIG[zlib] = "--enable-deflate,,zlib,zlib" | 57 | PACKAGECONFIG[zlib] = "--enable-deflate --with-zlib=${STAGING_LIBDIR}/../,,zlib,zlib" |
46 | 58 | ||
47 | CFLAGS:append = " -DPATH_MAX=4096" | 59 | CFLAGS:append = " -DPATH_MAX=4096" |
48 | 60 | ||
@@ -126,7 +138,7 @@ do_install:append:class-target() { | |||
126 | sed -i -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | 138 | sed -i -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ |
127 | -e 's,${DEBUG_PREFIX_MAP},,g' \ | 139 | -e 's,${DEBUG_PREFIX_MAP},,g' \ |
128 | -e 's,${RECIPE_SYSROOT},,g' \ | 140 | -e 's,${RECIPE_SYSROOT},,g' \ |
129 | -e 's,-fdebug-prefix-map[^ ]*,,g; s,-fmacro-prefix-map[^ ]*,,g; s,-fmacro-prefix-map[^ ]*,,g' \ | 141 | -e 's,-fdebug-prefix-map[^ ]*,,g; s,-fmacro-prefix-map[^ ]*,,g; s,-ffile-prefix-map[^ ]*,,g' \ |
130 | -e 's,APU_INCLUDEDIR = .*,APU_INCLUDEDIR = ,g' \ | 142 | -e 's,APU_INCLUDEDIR = .*,APU_INCLUDEDIR = ,g' \ |
131 | -e 's,${WORKDIR}/recipe-sysroot/,,g' \ | 143 | -e 's,${WORKDIR}/recipe-sysroot/,,g' \ |
132 | -e 's,".*/configure","configure",g' ${D}${libexecdir}/${PN}/build/config.nice | 144 | -e 's,".*/configure","configure",g' ${D}${libexecdir}/${PN}/build/config.nice |
@@ -182,6 +194,10 @@ INITSCRIPT_PARAMS = "defaults 91 20" | |||
182 | SYSTEMD_SERVICE:${PN} = "apache2.service" | 194 | SYSTEMD_SERVICE:${PN} = "apache2.service" |
183 | SYSTEMD_AUTO_ENABLE:${PN} = "enable" | 195 | SYSTEMD_AUTO_ENABLE:${PN} = "enable" |
184 | 196 | ||
197 | ALTERNATIVE:${PN} = "httpd" | ||
198 | ALTERNATIVE_LINK_NAME[httpd] = "${sbindir}/httpd" | ||
199 | ALTERNATIVE_PRIORITY[httpd] = "60" | ||
200 | |||
185 | ALTERNATIVE:${PN}-doc = "htpasswd.1" | 201 | ALTERNATIVE:${PN}-doc = "htpasswd.1" |
186 | ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1" | 202 | ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1" |
187 | 203 | ||