[packages/logrotate] 3.12.1 (2017-04-21)

glen glen at pld-linux.org
Fri Apr 21 19:09:24 CEST 2017


commit b51719c9013a0df11d5c3a011499c8f25e09d7f9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Apr 21 19:52:13 2017 +0300

    3.12.1 (2017-04-21)

 logrotate-man.patch | 40 ++++++++++++++++++++--------------------
 logrotate.spec      | 10 +++++-----
 2 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/logrotate.spec b/logrotate.spec
index 344c725..43037b1 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -19,12 +19,12 @@ Summary(ru.UTF-8):	Ротирует, компрессирует, удаляет
 Summary(tr.UTF-8):	Sistem günlüklerini yönlendirir, sıkıştırır ve mektup olarak yollar
 Summary(uk.UTF-8):	Ротує, компресує, видаляє та відправляє поштою лог-файли
 Name:		logrotate
-Version:	3.11.0
-Release:	3
+Version:	3.12.1
+Release:	1
 License:	GPL v2+
 Group:		Applications/System
 Source0:	https://github.com/logrotate/logrotate/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	3a9280e4caeb837427a2d54518fbcdac
+# Source0-md5:	9c3d4c55220497a5530179c1c5e5b6eb
 Source1:	%{name}.conf
 Source2:	%{name}.sysconfig
 Source3:	%{name}.cron
@@ -42,7 +42,7 @@ BuildRequires:	libselinux-devel
 %{?with_tests:BuildRequires:	libselinux-utils}
 %endif
 BuildRequires:	popt-devel >= 1.3
-BuildRequires:  rpmbuild(macros) >= 1.644
+BuildRequires:	rpmbuild(macros) >= 1.644
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires(post):	coreutils
@@ -51,7 +51,7 @@ Requires:	cronjobs
 Requires:	filesystem >= 4.0-4
 Requires:	gzip
 Requires:	setup >= 2.4.6
-Requires:       systemd-units >= 38
+Requires:	systemd-units >= 38
 Suggests:	/bin/mail
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
diff --git a/logrotate-man.patch b/logrotate-man.patch
index 8f7d48a..ca5ae4f 100644
--- a/logrotate-man.patch
+++ b/logrotate-man.patch
@@ -1,15 +1,24 @@
---- logrotate/logrotate.8.in~	2016-12-03 16:23:33.744988966 +0200
-+++ logrotate/logrotate.8.in	2016-12-03 16:34:50.502613948 +0200
-@@ -65,7 +65,7 @@
- \fB\-s\fR, \fB\-\-state <statefile>\fR
- Tells \fBlogrotate\fR to use an alternate state file.  This is useful
- if logrotate is being run as a different user for various sets of
--log files.  The default state file is \fI/var/lib/logrotate.status\fR.
-+log files.  The default state file is \fI at STATE_FILE_PATH@\fR.
+--- logrotate-3.12.1/logrotate.8.in~	2017-04-07 18:15:37.000000000 +0300
++++ logrotate-3.12.1/logrotate.8.in	2017-04-21 19:49:54.334686948 +0300
+@@ -104,7 +104,7 @@
+     rotate 5
+     weekly
+     postrotate
+-        /usr/bin/killall \-HUP syslogd
++        /bin/killall \-HUP syslogd
+     endscript
+ }
  
- .TP
- \fB\-\-usage\fR
-@@ -125,7 +125,7 @@
+@@ -114,7 +114,7 @@
+     size 100k
+     sharedscripts
+     postrotate
+-        /usr/bin/killall \-HUP httpd
++        /bin/killall \-HUP httpd
+     endscript
+ }
+ 
+@@ -146,7 +146,7 @@
  \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
  version of the log has been compressed), the command 
@@ -18,12 +27,3 @@
  
  The next section defines the parameters for both
  \fI/var/log/httpd/access.log\fR and \fI/var/log/httpd/error.log\fR.
-@@ -449,7 +449,7 @@
- Log files are rotated if the current weekday is less than the weekday
- of the last rotation or if more than a week has passed since the last
- rotation. This is normally the same as rotating logs on the first day
--of the week, but it works better if \fIlogrotate\fR is not run every
-+of the week, but it works better if \fBlogrotate\fR is not run every
- night.
- 
- .TP
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/logrotate.git/commitdiff/b51719c9013a0df11d5c3a011499c8f25e09d7f9



More information about the pld-cvs-commit mailing list