Accepting request 185585 from home:vitezslav_cizek:branches:Base:System

- mention in the manpage that = is an allowed separator in the
  config file (bnc#831072)
  * added logrotate-manpage_config_clarification.patch

OBS-URL: https://build.opensuse.org/request/show/185585
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=26
This commit is contained in:
Marcus Meissner 2013-08-02 14:50:50 +00:00 committed by Git OBS Bridge
parent 4495f5c112
commit 4a255b0af8
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,15 @@
Index: logrotate-3.8.5/logrotate.8
===================================================================
--- logrotate-3.8.5.orig/logrotate.8 2013-07-25 15:30:36.687434418 +0200
+++ logrotate-3.8.5/logrotate.8 2013-07-31 16:08:57.460078472 +0200
@@ -121,6 +121,10 @@ compressed after they are rotated. Note
anywhere in the config file as long as the first non-whitespace
character on the line is a #.
+Values are separated from directives by whitespace and/or an optional =.
+Numbers must be specified in a format understood by
+.BR strtoul(3).
+
The next section of the config files defined how to handle the log file
\fI/var/log/messages\fR. The log will go through five weekly rotations before
being removed. After the log file has been rotated (but before the old

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 1 12:36:57 UTC 2013 - vcizek@suse.com
- mention in the manpage that = is an allowed separator in the
config file (bnc#831072)
* added logrotate-manpage_config_clarification.patch
-------------------------------------------------------------------
Thu Jul 25 14:19:48 UTC 2013 - vcizek@suse.com

View File

@ -31,6 +31,7 @@ Patch1: logrotate-3.7.8-conf.patch
Patch2: logrotate-3.7.8-autoext.patch
Patch3: logrotate-3.7.8-addextension.patch
Patch4: logrotate-3.7.8-mess_err.patch
Patch5: logrotate-manpage_config_clarification.patch
BuildRequires: libselinux-devel
BuildRequires: popt-devel
PreReq: %fillup_prereq
@ -55,6 +56,7 @@ daily cron job.
%patch2
%patch3
%patch4
%patch5 -p1
%build
make %{?_smp_mflags} CC="%__cc" RPM_OPT_FLAGS="%{optflags}" WITH_SELINUX=yes