summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate/logrotate_3.8.1.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-01-02 03:29:45 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-06 11:13:57 +0000
commit907c8ce6250752fe06476e037b99a6ac88b8500d (patch)
tree92b99fd0b527fe61444199c982d7a947fc2ee043 /meta/recipes-extended/logrotate/logrotate_3.8.1.bb
parent63281708fab30adc4ca1a506deefbf8a54dcce6d (diff)
downloadpoky-907c8ce6250752fe06476e037b99a6ac88b8500d.tar.gz
logrotate: upgrade to 3.8.7
* Upgrade to 3.8.7 * Rename the patches dir from logrotate-3.8.1 -> logrotate * Remove grotate-CVE-2011-1548.patch since it had been fixed * Update act-as-mv-when-rotate.patch and update-the-manual.patch to make them work with the higher version, and send them to the upstream * Fix the HOMEPAGE (From OE-Core rev: e15d7955a98cfd6923775cdb3aa61756d4f58c2d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/logrotate/logrotate_3.8.1.bb')
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.8.1.bb34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.1.bb b/meta/recipes-extended/logrotate/logrotate_3.8.1.bb
deleted file mode 100644
index b12a32577b..0000000000
--- a/meta/recipes-extended/logrotate/logrotate_3.8.1.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1SUMMARY = "Rotates, compresses, removes and mails system log files"
2SECTION = "console/utils"
3HOMEPAGE = "https://fedorahosted.org/releases/l/o/logrotate"
4LICENSE = "GPLv2"
5
6DEPENDS="coreutils popt"
7
8LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
9
10SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz \
11 file://act-as-mv-when-rotate.patch \
12 file://disable-check-different-filesystems.patch \
13 file://update-the-manual.patch \
14 file://logrotate-CVE-2011-1548.patch \
15 "
16
17SRC_URI[md5sum] = "bd2e20d8dc644291b08f9215397d28a5"
18SRC_URI[sha256sum] = "c12471e70ae8bc923bd5c4f25e8fd6483b68c6301f3cd79f7cfe37bc5b370169"
19
20
21EXTRA_OEMAKE = "CC='${CC}'"
22
23do_install(){
24 oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir}
25}
26
27do_install_append(){
28 mkdir -p ${D}${sysconfdir}/logrotate.d
29 mkdir -p ${D}${sysconfdir}/cron.daily
30 mkdir -p ${D}${localstatedir}/lib
31 install -p -m 644 examples/logrotate-default ${D}${sysconfdir}/logrotate.conf
32 install -p -m 755 examples/logrotate.cron ${D}${sysconfdir}/cron.daily/logrotate
33 touch ${D}${localstatedir}/lib/logrotate.status
34}