From a163d2168ffc3cc72adcb711a59b1331215bb91c Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 14 Mar 2012 17:51:25 +0800 Subject: upgrade logrotate: split the old patch into 3 Split the old patch into 3 during upgrading, this makes it easier for the future's upgrade. (From OE-Core rev: 2ec5f1eab1f3d2eeff9f3984654a3fb4d87679e7) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- .../logrotate-3.8.1/update-the-manual.patch | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta/recipes-extended/logrotate/logrotate-3.8.1/update-the-manual.patch (limited to 'meta/recipes-extended/logrotate/logrotate-3.8.1/update-the-manual.patch') diff --git a/meta/recipes-extended/logrotate/logrotate-3.8.1/update-the-manual.patch b/meta/recipes-extended/logrotate/logrotate-3.8.1/update-the-manual.patch new file mode 100644 index 0000000000..5cab64947b --- /dev/null +++ b/meta/recipes-extended/logrotate/logrotate-3.8.1/update-the-manual.patch @@ -0,0 +1,42 @@ +Update the manual + +* Update the mannual +* Fix a bug in the mannual(\f should be \fR) + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + logrotate.8 | 9 ++++----- + 1 files changed, 4 insertions(+), 5 deletions(-) + +diff --git a/logrotate.8 b/logrotate.8 +index 8b34167..5f15432 100644 +--- a/logrotate.8 ++++ b/logrotate.8 +@@ -374,10 +374,9 @@ Do not rotate the log if it is empty (this overrides the \fBifempty\fR option). + .TP + \fBolddir \fIdirectory\fR + Logs are moved into \fIdirectory\fR for rotation. The \fIdirectory\fR +-must be on the same physical device as the log file being rotated, +-and is assumed to be relative to the directory holding the log file +-unless an absolute path name is specified. When this option is used all +-old versions of the log end up in \fIdirectory\fR. This option may be ++is assumed to be relative to the directory holding the log file unless ++an absolute path name is specified. When this option is used all old ++versions of the log end up in \fIdirectory\fR. This option may be + overridden by the \fBnoolddir\fR option. + + .TP +@@ -435,7 +434,7 @@ Log files are rotated only if they grow bigger then \fIsize\fR bytes. If + \fIsize\fR is followed by \fIk\fR, the size is assumed to be in kilobytes. + If the \fIM\fR is used, the size is in megabytes, and if \fIG\fR is used, the + size is in gigabytes. So \fBsize 100\fR, \fIsize 100k\fR, \fIsize 100M\fR and +-\fIsize 100G\f are all valid. ++\fIsize 100G\fR are all valid. + + .TP + \fBsharedscripts\fR +-- +1.7.4.1 + -- cgit v1.2.3-54-g00ecf