summaryrefslogtreecommitdiff
path: root/recipes-extended/lighttpd/lighttpd_1.4.51.bbappend
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-07-25 11:19:01 -0500
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-05-20 13:44:06 +0300
commit1e7f8ce4ab7dbfe8160f2ef54fe830334e79c6b7 (patch)
tree9285726acea6b714cc1ac938181d6e3555003d69 /recipes-extended/lighttpd/lighttpd_1.4.51.bbappend
parent09deeb2471d2c46f34353dc4ecc3398a7dadf83f (diff)
downloadmeta-mlinux-1e7f8ce4ab7dbfe8160f2ef54fe830334e79c6b7.tar.gz
meta-mlinux-1e7f8ce4ab7dbfe8160f2ef54fe830334e79c6b7.tar.bz2
meta-mlinux-1e7f8ce4ab7dbfe8160f2ef54fe830334e79c6b7.zip
Fix openembedded busybox RPC issue
Diffstat (limited to 'recipes-extended/lighttpd/lighttpd_1.4.51.bbappend')
-rw-r--r--recipes-extended/lighttpd/lighttpd_1.4.51.bbappend21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-extended/lighttpd/lighttpd_1.4.51.bbappend b/recipes-extended/lighttpd/lighttpd_1.4.51.bbappend
new file mode 100644
index 0000000..d6d4f02
--- /dev/null
+++ b/recipes-extended/lighttpd/lighttpd_1.4.51.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 ${sysconfdir}/init.d/lighttpd"