diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-01-02 03:29:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-06 11:13:57 +0000 |
commit | 907c8ce6250752fe06476e037b99a6ac88b8500d (patch) | |
tree | 92b99fd0b527fe61444199c982d7a947fc2ee043 /meta/recipes-extended/logrotate/logrotate_3.8.1.bb | |
parent | 63281708fab30adc4ca1a506deefbf8a54dcce6d (diff) | |
download | poky-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.bb | 34 |
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 @@ | |||
1 | SUMMARY = "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 | |||
6 | DEPENDS="coreutils popt" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" | ||
9 | |||
10 | SRC_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 | |||
17 | SRC_URI[md5sum] = "bd2e20d8dc644291b08f9215397d28a5" | ||
18 | SRC_URI[sha256sum] = "c12471e70ae8bc923bd5c4f25e8fd6483b68c6301f3cd79f7cfe37bc5b370169" | ||
19 | |||
20 | |||
21 | EXTRA_OEMAKE = "CC='${CC}'" | ||
22 | |||
23 | do_install(){ | ||
24 | oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} | ||
25 | } | ||
26 | |||
27 | do_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 | } | ||