From 34654382f4d9f4560111013cf2d9c47c33b444dc Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 9 Jan 2024 22:38:39 +0100 Subject: [PATCH] - updated to 3.21.0 --- logrotate-man.patch | 16 ++++++++-------- logrotate.spec | 4 ++-- tabooext.patch | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/logrotate-man.patch b/logrotate-man.patch index 57e854b..4766899 100644 --- a/logrotate-man.patch +++ b/logrotate-man.patch @@ -1,11 +1,11 @@ ---- logrotate-3.15.1/logrotate.8.in~ 2019-08-30 21:05:18.000000000 +0300 -+++ logrotate-3.15.1/logrotate.8.in 2019-08-30 21:06:23.354577118 +0300 +--- logrotate-3.18.1/logrotate.8.in~ 2021-05-22 12:57:51.000000000 +0300 ++++ logrotate-3.18.1/logrotate.8.in 2021-05-22 12:58:20.837620211 +0300 @@ -104,7 +104,7 @@ rotate 5 weekly postrotate - /usr/bin/killall \-HUP syslogd -+ /bin/killall \-HUP syslogd ++ killall \-HUP syslogd endscript } @@ -14,16 +14,16 @@ sharedscripts postrotate - /usr/bin/killall \-HUP httpd -+ /bin/killall \-HUP httpd ++ killall \-HUP httpd endscript } -@@ -158,7 +158,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 +@@ -178,7 +178,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 -\fI/usr/bin/killall \-HUP syslogd\fR will be executed. -+\fI/bin/killall \-HUP syslogd\fR will be executed. ++\fIkillall \-HUP syslogd\fR will be executed. The next section defines the parameters for both \fI/var/log/httpd/access.log\fR and \fI/var/log/httpd/error.log\fR. diff --git a/logrotate.spec b/logrotate.spec index ec132a9..fec28ec 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.18.0 +Version: 3.21.0 Release: 1 License: GPL v2+ Group: Applications/System Source0: https://github.com/logrotate/logrotate/releases/download/%{version}/%{name}-%{version}.tar.xz -# Source0-md5: c21e586457db80e70606b45a9d84dfe8 +# Source0-md5: 6c15f45efc3475a576c4f7e6cc481b2c Source1: %{name}.conf Source2: %{name}.sysconfig Source3: %{name}.cron diff --git a/tabooext.patch b/tabooext.patch index 39bf869..594da0c 100644 --- a/tabooext.patch +++ b/tabooext.patch @@ -1,8 +1,8 @@ ---- logrotate-3.15.0/config.c~ 2018-10-05 18:01:21.000000000 +0300 -+++ logrotate-3.15.0/config.c 2018-12-04 17:33:40.040702438 +0200 -@@ -134,6 +134,7 @@ - static const char *defTabooExts[] = { +--- logrotate-3.18.1/config.c~ 2021-05-21 13:28:13.000000000 +0300 ++++ logrotate-3.18.1/config.c 2021-05-22 12:57:24.338025775 +0300 +@@ -127,6 +127,7 @@ ",v", + ".bak", ".cfsaved", + ".cvsignore", ".disabled", -- 2.37.3