From c001cbf9dd5ce9bec05940f7c4658c57d7a10b95 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 21 Jul 2020 16:01:44 -0500 Subject: Make bbappend version indepenedent of lighttpd version --- recipes-extended/lighttpd/lighttpd_%.bbappend | 21 +++++++++++++++++++++ recipes-extended/lighttpd/lighttpd_1.4.51.bbappend | 21 --------------------- 2 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 recipes-extended/lighttpd/lighttpd_%.bbappend delete mode 100644 recipes-extended/lighttpd/lighttpd_1.4.51.bbappend (limited to 'recipes-extended') diff --git a/recipes-extended/lighttpd/lighttpd_%.bbappend b/recipes-extended/lighttpd/lighttpd_%.bbappend new file mode 100644 index 0000000..d6d4f02 --- /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 ${sysconfdir}/init.d/lighttpd" diff --git a/recipes-extended/lighttpd/lighttpd_1.4.51.bbappend b/recipes-extended/lighttpd/lighttpd_1.4.51.bbappend deleted file mode 100644 index d6d4f02..0000000 --- a/recipes-extended/lighttpd/lighttpd_1.4.51.bbappend +++ /dev/null @@ -1,21 +0,0 @@ -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" -- cgit v1.2.3