diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-03-14 17:55:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-19 14:37:36 +0000 |
commit | 7f33f59c7ad2184aa66d0b417853a6b33e9bfbb3 (patch) | |
tree | f66e71591bbb8b50a15dc251d0884a9f671a1cd0 /meta/recipes-extended/logrotate/logrotate_3.7.9.bb | |
parent | a163d2168ffc3cc72adcb711a59b1331215bb91c (diff) | |
download | poky-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.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 | } | ||