From 9cb55142e51b82085d6c3136448c1f441454e351 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Wed, 20 Jan 2016 13:44:20 +0100 Subject: [PATCH] new upstream version 3.9.2 - log to syslog --- .gitignore | 1 + logrotate-3.9.1-statusfile.patch | 2 +- logrotate.spec | 10 +++++++--- sources | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c9a2e28..4fdeef3 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ logrotate-3.7.9.tar.gz /logrotate-3.8.8.tar.gz /logrotate-3.8.9.tar.gz /logrotate-3.9.1.tar.gz +/logrotate-3.9.2.tar.gz diff --git a/logrotate-3.9.1-statusfile.patch b/logrotate-3.9.1-statusfile.patch index 1610173..03701ea 100644 --- a/logrotate-3.9.1-statusfile.patch +++ b/logrotate-3.9.1-statusfile.patch @@ -6,7 +6,7 @@ index c6d50d4..967932e 100644 #!/bin/sh -/usr/sbin/logrotate /etc/logrotate.conf -+/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf ++/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status -l syslog /etc/logrotate.conf EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]" diff --git a/logrotate.spec b/logrotate.spec index 6a51978..0862bbe 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -1,11 +1,11 @@ Summary: Rotates, compresses, removes and mails system log files Name: logrotate -Version: 3.9.1 -Release: 2%{?dist} +Version: 3.9.2 +Release: 1%{?dist} License: GPL+ Group: System Environment/Base Url: https://fedorahosted.org/logrotate/ -Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz +Source: https://github.com/logrotate/logrotate/archive/logrotate-%{version}.tar.gz Source1: rwtab # Change the location of status file Patch0: logrotate-3.9.1-statusfile.patch @@ -83,6 +83,10 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/rwtab.d/logrotate %changelog +* Wed Jan 20 2016 Jan Kaluza - 3.9.2-1 +- new upstream version 3.9.2 +- log to syslog + * Wed Jun 17 2015 Jan Kaluza - 3.9.1-2 - move logrotate.status to /var/lib/logrotate and add it to rwtab.d (#1127415) diff --git a/sources b/sources index fb09881..7010a71 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4492b145b6d542e4a2f41e77fa199ab0 logrotate-3.9.1.tar.gz +584bca013dcceeb23b06b27d6d0342fb logrotate-3.9.2.tar.gz