summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate/logrotate_3.7.9.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-03-14 17:55:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 14:37:36 +0000
commit7f33f59c7ad2184aa66d0b417853a6b33e9bfbb3 (patch)
treef66e71591bbb8b50a15dc251d0884a9f671a1cd0 /meta/recipes-extended/logrotate/logrotate_3.7.9.bb
parenta163d2168ffc3cc72adcb711a59b1331215bb91c (diff)
downloadpoky-7f33f59c7ad2184aa66d0b417853a6b33e9bfbb3.tar.gz
upgrade logrotate: update the recipe
update the recipe: ogrotate_3.7.9.bb -> logrotate_3.8.1.bb (From OE-Core rev: 9dc1a8c793e1908032be0f0ea3b3f0832b1bf5aa) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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}