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-06 09:03:11 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 11:55:35 -0800
commitd7663ff7ab2e5ef5c913befad5e0adfbd6cc22a2 (patch)
treec2826833d18f69146ac6a4e1ae1aaa409a4fb0df /meta/recipes-extended/logrotate/logrotate_3.7.9.bb
parent2129519e346f321abcf32f8107dd6f60a96e69aa (diff)
downloadpoky-d7663ff7ab2e5ef5c913befad5e0adfbd6cc22a2.tar.gz
logrotate 3.7.9: Allow rotate log across filesystems
The logrotate can't save the log across the different filesystems since it used the "rename(const char *oldpath, const char *newpath)" to save the file, fix it to act as the "mv" command(first rename, if failed, read and write) to allow save the log across the different filesystems. * config.c: Remove the check for different filesystems * logrotate.c: Act as the "mv" command when rotate log * logrotate.8: Update the mannual * logrotate.8: Fix a bug in the mannual(\f should be \fR) [YOCTO #718] (From OE-Core rev: fca0a2c597ab40d55da768dac4088234b9b0d773) 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.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.7.9.bb b/meta/recipes-extended/logrotate/logrotate_3.7.9.bb
index 8dc0504cfb..40d1a38eab 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.7.9.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.7.9.bb
@@ -2,13 +2,14 @@ DESCRIPTION = "Rotates, compresses, removes and mails system log files"
2SECTION = "console/utils" 2SECTION = "console/utils"
3HOMEPAGE = "https://fedorahosted.org/releases/l/o/logrotate" 3HOMEPAGE = "https://fedorahosted.org/releases/l/o/logrotate"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5PR = "r1" 5PR = "r2"
6 6
7DEPENDS="coreutils popt" 7DEPENDS="coreutils popt"
8 8
9LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" 9LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
10 10
11SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz" 11SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz \
12 file://allow-across-different-filesystems.patch"
12 13
13SRC_URI[md5sum] = "eeba9dbca62a9210236f4b83195e4ea5" 14SRC_URI[md5sum] = "eeba9dbca62a9210236f4b83195e4ea5"
14SRC_URI[sha256sum] = "080caf904e70e04da16b8dfa95a5a787ec7d722ee1af18ccea437d3ffdd6fec0" 15SRC_URI[sha256sum] = "080caf904e70e04da16b8dfa95a5a787ec7d722ee1af18ccea437d3ffdd6fec0"