summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate/logrotate_3.7.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/logrotate/logrotate_3.7.9.bb')
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.7.9.bb31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.7.9.bb b/meta/recipes-extended/logrotate/logrotate_3.7.9.bb
deleted file mode 100644
index 40d1a38eab..0000000000
--- a/meta/recipes-extended/logrotate/logrotate_3.7.9.bb
+++ /dev/null
@@ -1,31 +0,0 @@
1DESCRIPTION = "Rotates, compresses, removes and mails system log files"
2SECTION = "console/utils"
3HOMEPAGE = "https://fedorahosted.org/releases/l/o/logrotate"
4LICENSE = "GPLv2"
5PR = "r2"
6
7DEPENDS="coreutils popt"
8
9LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
10
11SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz \
12 file://allow-across-different-filesystems.patch"
13
14SRC_URI[md5sum] = "eeba9dbca62a9210236f4b83195e4ea5"
15SRC_URI[sha256sum] = "080caf904e70e04da16b8dfa95a5a787ec7d722ee1af18ccea437d3ffdd6fec0"
16
17
18EXTRA_OEMAKE = "CC='${CC}'"
19
20do_install(){
21 oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir}
22}
23
24do_install_append(){
25 mkdir -p ${D}${sysconfdir}/logrotate.d
26 mkdir -p ${D}${sysconfdir}/cron.daily
27 mkdir -p ${D}${localstatedir}/lib
28 install -p -m 644 examples/logrotate-default ${D}${sysconfdir}/logrotate.conf
29 install -p -m 755 examples/logrotate.cron ${D}${sysconfdir}/cron.daily/logrotate
30 touch ${D}${localstatedir}/lib/logrotate.status
31}