summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb')
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb
index 15c4d024fe..0eb53275c8 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb
@@ -6,7 +6,7 @@ DEPENDS = "libtool-native apache2-native openssl expat pcre apr apr-util"
6RDEPENDS_${PN} += "openssl libgcc" 6RDEPENDS_${PN} += "openssl libgcc"
7SECTION = "net" 7SECTION = "net"
8LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
9PR = "r0" 9PR = "r1"
10 10
11SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2 \ 11SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2 \
12 file://server-makefile.patch \ 12 file://server-makefile.patch \
@@ -68,8 +68,12 @@ do_install_append() {
68 # Expat should be found in the staging area via DEPENDS... 68 # Expat should be found in the staging area via DEPENDS...
69 rm -f ${D}/${libdir}/libexpat.* 69 rm -f ${D}/${libdir}/libexpat.*
70 70
71 # Ensure configuration file pulls in modules.d 71 install -d ${D}${sysconfdir}/${PN}/conf.d
72 printf "\nInclude ${sysconfdir}/${PN}/modules.d/*\n\n" >> ${D}/${sysconfdir}/${PN}/httpd.conf 72 install -d ${D}${sysconfdir}/${PN}/modules.d
73
74 # Ensure configuration file pulls in conf.d and modules.d
75 printf "\nIncludeOptional ${sysconfdir}/${PN}/conf.d/*.conf" >> ${D}/${sysconfdir}/${PN}/httpd.conf
76 printf "\nIncludeOptional ${sysconfdir}/${PN}/modules.d/*.conf\n\n" >> ${D}/${sysconfdir}/${PN}/httpd.conf
73} 77}
74 78
75SYSROOT_PREPROCESS_FUNCS += "apache_sysroot_preprocess" 79SYSROOT_PREPROCESS_FUNCS += "apache_sysroot_preprocess"