diff options
Diffstat (limited to 'meta/recipes-extended/logrotate/logrotate_3.7.9.bb')
-rw-r--r-- | meta/recipes-extended/logrotate/logrotate_3.7.9.bb | 31 |
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 @@ | |||
1 | DESCRIPTION = "Rotates, compresses, removes and mails system log files" | ||
2 | SECTION = "console/utils" | ||
3 | HOMEPAGE = "https://fedorahosted.org/releases/l/o/logrotate" | ||
4 | LICENSE = "GPLv2" | ||
5 | PR = "r2" | ||
6 | |||
7 | DEPENDS="coreutils popt" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" | ||
10 | |||
11 | SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz \ | ||
12 | file://allow-across-different-filesystems.patch" | ||
13 | |||
14 | SRC_URI[md5sum] = "eeba9dbca62a9210236f4b83195e4ea5" | ||
15 | SRC_URI[sha256sum] = "080caf904e70e04da16b8dfa95a5a787ec7d722ee1af18ccea437d3ffdd6fec0" | ||
16 | |||
17 | |||
18 | EXTRA_OEMAKE = "CC='${CC}'" | ||
19 | |||
20 | do_install(){ | ||
21 | oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} | ||
22 | } | ||
23 | |||
24 | do_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 | } | ||