From 14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0 Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Mon, 13 Feb 2017 14:34:48 -0600 Subject: Initial commit of Yocto 2.1 changes --- recipes-extended/lighttpd/lighttpd_%.bbappend | 21 +++++++++++++++++++++ recipes-extended/lighttpd/lighttpd_1.4.33.bbappend | 21 --------------------- recipes-extended/logrotate/logrotate_%.bbappend | 15 +++++++++++++++ recipes-extended/logrotate/logrotate_3.8.7.bbappend | 15 --------------- 4 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 recipes-extended/lighttpd/lighttpd_%.bbappend delete mode 100644 recipes-extended/lighttpd/lighttpd_1.4.33.bbappend create mode 100644 recipes-extended/logrotate/logrotate_%.bbappend delete mode 100644 recipes-extended/logrotate/logrotate_3.8.7.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..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" diff --git a/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend b/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend deleted file mode 100644 index 473a113..0000000 --- a/recipes-extended/lighttpd/lighttpd_1.4.33.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" diff --git a/recipes-extended/logrotate/logrotate_%.bbappend b/recipes-extended/logrotate/logrotate_%.bbappend new file mode 100644 index 0000000..efebecb --- /dev/null +++ b/recipes-extended/logrotate/logrotate_%.bbappend @@ -0,0 +1,15 @@ +PR .= ".mlinux2" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}" + +SRC_URI += "file://logrotate.conf" + +do_install_append() { + # setup cron to run logrotate more often + rm -f ${D}${sysconfdir}/cron.daily/logrotate + install -d ${D}${sysconfdir}/cron.d + echo "*/5 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" > ${D}${sysconfdir}/cron.d/logrotate + + install -m 0644 ${WORKDIR}/logrotate.conf ${D}${sysconfdir}/ +} + diff --git a/recipes-extended/logrotate/logrotate_3.8.7.bbappend b/recipes-extended/logrotate/logrotate_3.8.7.bbappend deleted file mode 100644 index efebecb..0000000 --- a/recipes-extended/logrotate/logrotate_3.8.7.bbappend +++ /dev/null @@ -1,15 +0,0 @@ -PR .= ".mlinux2" - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}" - -SRC_URI += "file://logrotate.conf" - -do_install_append() { - # setup cron to run logrotate more often - rm -f ${D}${sysconfdir}/cron.daily/logrotate - install -d ${D}${sysconfdir}/cron.d - echo "*/5 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" > ${D}${sysconfdir}/cron.d/logrotate - - install -m 0644 ${WORKDIR}/logrotate.conf ${D}${sysconfdir}/ -} - -- cgit v1.2.3