From d7663ff7ab2e5ef5c913befad5e0adfbd6cc22a2 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 6 Mar 2012 09:03:11 -0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-extended/logrotate/logrotate_3.7.9.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta/recipes-extended/logrotate/logrotate_3.7.9.bb') 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" SECTION = "console/utils" HOMEPAGE = "https://fedorahosted.org/releases/l/o/logrotate" LICENSE = "GPLv2" -PR = "r1" +PR = "r2" DEPENDS="coreutils popt" LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" -SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz" +SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz \ + file://allow-across-different-filesystems.patch" SRC_URI[md5sum] = "eeba9dbca62a9210236f4b83195e4ea5" SRC_URI[sha256sum] = "080caf904e70e04da16b8dfa95a5a787ec7d722ee1af18ccea437d3ffdd6fec0" -- cgit v1.2.3-54-g00ecf