diff options
Diffstat (limited to 'recipes-extended/lighttpd/lighttpd_%.bbappend')
-rw-r--r-- | recipes-extended/lighttpd/lighttpd_%.bbappend | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-extended/lighttpd/lighttpd_%.bbappend b/recipes-extended/lighttpd/lighttpd_%.bbappend new file mode 100644 index 0000000..473a113 --- /dev/null +++ b/recipes-extended/lighttpd/lighttpd_%.bbappend @@ -0,0 +1,21 @@ +PR .= ".mlinux1" + +# build with openssl support +DEPENDS += " openssl " +RDEPENDS_${PN} += " openssl logrotate " + +EXTRA_OECONF += "--with-openssl" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}" + +SRC_URI += "file://lighttpd.logrotate.conf \ + file://lighttpd.default" + +do_install_append() { + install -d ${D}${sysconfdir}/logrotate.d + install -d ${D}${sysconfdir}/default + install -m 0644 ${WORKDIR}/lighttpd.logrotate.conf ${D}${sysconfdir}/logrotate.d/lighttpd.conf + install -m 0644 ${WORKDIR}/lighttpd.default ${D}${sysconfdir}/default/lighttpd +} + +CONFFILES_${PN} += "${sysconfdir}/default/lighttpd ${sysconfdir}/logrotate.d/lighttpd.conf" |