diff options
| author | Roy Li <rongqing.li@windriver.com> | 2015-05-06 13:36:50 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-13 14:34:21 +0200 |
| commit | c1c6d0869976ccbd0545c8317c015f23f40dd6d6 (patch) | |
| tree | ca339b27b5d345337100a1900dbaca8187121f68 /meta-webserver/recipes-httpd/apache2/apache2-native_2.4.12.bb | |
| parent | d24b01b262a9c5e04e179bb6264cf0284ce25092 (diff) | |
| download | meta-openembedded-c1c6d0869976ccbd0545c8317c015f23f40dd6d6.tar.gz | |
apache2: upgrade to 2.4.12
Remove apache-CVE-2014-0117.patch which apache2 2.4.12 has it
Update the apache-ssl-ltmain-rpath.patch
Backport the patch to fix CVE-2015-0228
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2-native_2.4.12.bb')
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2-native_2.4.12.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.12.bb b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.12.bb new file mode 100644 index 0000000000..1704bd927f --- /dev/null +++ b/meta-webserver/recipes-httpd/apache2/apache2-native_2.4.12.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | DESCRIPTION = "The Apache HTTP Server is a powerful, efficient, and \ | ||
| 2 | extensible web server." | ||
| 3 | SUMMARY = "Apache HTTP Server" | ||
| 4 | HOMEPAGE = "http://httpd.apache.org/" | ||
| 5 | DEPENDS = "expat-native pcre-native apr-native apr-util-native" | ||
| 6 | SECTION = "net" | ||
| 7 | LICENSE = "Apache-2.0" | ||
| 8 | |||
| 9 | inherit autotools pkgconfig native | ||
| 10 | |||
| 11 | SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2 \ | ||
| 12 | file://0001-configure-use-pkg-config-for-PCRE-detection.patch \ | ||
| 13 | " | ||
| 14 | |||
| 15 | S = "${WORKDIR}/httpd-${PV}" | ||
| 16 | |||
| 17 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dbff5a2b542fa58854455bf1a0b94b83" | ||
| 18 | SRC_URI[md5sum] = "b8dc8367a57a8d548a9b4ce16d264a13" | ||
| 19 | SRC_URI[sha256sum] = "ad6d39edfe4621d8cc9a2791f6f8d6876943a9da41ac8533d77407a2e630eae4" | ||
| 20 | |||
| 21 | EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ | ||
| 22 | --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \ | ||
| 23 | --prefix=${prefix} --datadir=${datadir}/apache2 \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install () { | ||
| 27 | install -d ${D}${bindir} ${D}${libdir} | ||
| 28 | cp server/gen_test_char ${D}${bindir} | ||
| 29 | install -m 755 support/apxs ${D}${bindir}/ | ||
| 30 | install -m 755 httpd ${D}${bindir}/ | ||
| 31 | install -d ${D}${datadir}/apache2/build | ||
| 32 | cp ${S}/build/*.mk ${D}${datadir}/apache2/build | ||
| 33 | cp build/*.mk ${D}${datadir}/apache2/build | ||
| 34 | cp ${S}/build/instdso.sh ${D}${datadir}/apache2/build | ||
| 35 | |||
| 36 | install -d ${D}${includedir}/apache2 | ||
| 37 | cp ${S}/include/* ${D}${includedir}/apache2 | ||
| 38 | cp include/* ${D}${includedir}/apache2 | ||
| 39 | cp ${S}/os/unix/os.h ${D}${includedir}/apache2 | ||
| 40 | cp ${S}/os/unix/unixd.h ${D}${includedir}/apache2 | ||
| 41 | |||
| 42 | cp support/envvars-std ${D}${bindir}/envvars | ||
| 43 | chmod 755 ${D}${bindir}/envvars | ||
| 44 | } | ||
| 45 | |||
