SRC_URI = "http://ftp.epix.net/apache/httpd/httpd-${PV}.tar.gz \
file://configure.patch;patch=1 \
file://pcre-configure.patch;patch=1 \
- file://init"
+ file://init \
+ file://httpd.conf"
S = "${WORKDIR}/httpd-${PV}"
basesysconfdir := "${sysconfdir}"
s,/etc/,${basesysconfdir}/,g; \
s,/usr/,${prefix}/,g;' > ${D}/${basesysconfdir}/init.d/httpd
chmod 755 ${D}/${basesysconfdir}/init.d/httpd
- if test -e ${FILESDIR}/httpd.conf.${MACHINE}; then
- install -m 0644 ${FILESDIR}/httpd.conf.${MACHINE} ${D}/${sysconfdir}/httpd.conf
- fi
+ install -m 0644 ${WORKDIR}/httpd.conf ${D}/${sysconfdir}/httpd.conf
}
pkg_postinst () {