new upstream version 3.16.0

This commit is contained in:
Kamil Dudka 2020-02-28 13:17:31 +01:00
parent 100da8629b
commit eb7da708a8
5 changed files with 22 additions and 69 deletions

View File

@ -1,47 +0,0 @@
From d515f9a31fb656d31bdbcf8f6700d464e5af9645 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Wed, 8 Jan 2020 10:54:53 +0100
Subject: [PATCH] split declaration and definition of queue variable
Support compilation with -fno-common flag, which is the default for GCC 10.
Fixes: #288
Closes #289
Upstream-commit: 908e86191bf062711ea44c922e66d27203e90214
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
---
config.c | 2 ++
logrotate.h | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/config.c b/config.c
index 0e9a828..f027c7e 100644
--- a/config.c
+++ b/config.c
@@ -28,6 +28,8 @@
#include "log.h"
#include "logrotate.h"
+struct logInfoHead logs;
+
#if !defined(GLOB_ABORTED) && defined(GLOB_ABEND)
#define GLOB_ABORTED GLOB_ABEND
#endif
diff --git a/logrotate.h b/logrotate.h
index 1c178da..6c1c2e7 100644
--- a/logrotate.h
+++ b/logrotate.h
@@ -89,7 +89,8 @@ struct logInfo {
TAILQ_ENTRY(logInfo) list;
};
-TAILQ_HEAD(logInfoHead, logInfo) logs;
+TAILQ_HEAD(logInfoHead, logInfo);
+extern struct logInfoHead logs;
extern int numLogs;
extern int debug;
--
2.21.1

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEmSqW4HUFbnnNghT5hz2zdXKjezYFAl1pJWIACgkQhz2zdXKj
eza1MhAApfWV+kGtm87Jxp66tZJhPzSu4vMnGzHg5ZIVd44WyFziHd6YjJRrPjKU
HfKLK1aLLpKLw6QSMvPB4o0q/aOstuvLRZhOjAeATCZkMKhVXZwQJ41oKMPDFE9i
l+lzwWV+8x9D4xxJSa98XSPDhW+vyzPSANsKTk5yRit9eD2p+8St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5CU8ng9Os0BAfgSu97+9BgKLg4+yLh8b80OYS3j
pW9svt9wS57ruI/kSy3b8SkfnPVUWnJpG4ZIR2zmUJvj17Ox44pHTb4Hwx9kqCDX
n1cQqujqX8rXZZ9L4N1JX9sHY3o8r1AtSHTkHoT+mBgFnocxM95Cc5gsVnZ4F+vg
zUInw3unM/gdwaa86XfdnlgIOsfLqXP6aRBWeEc/cgEZmSObPRIq8kwrRp3S23dC
XyEyn68QKGY5ce0dQRoJHsw4kvsdni3llC7MC+0cahAj6cPtp9E=
=51u0
-----END PGP SIGNATURE-----

View File

@ -1,7 +1,7 @@
Summary: Rotates, compresses, removes and mails system log files Summary: Rotates, compresses, removes and mails system log files
Name: logrotate Name: logrotate
Version: 3.15.1 Version: 3.16.0
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Url: https://github.com/logrotate/logrotate Url: https://github.com/logrotate/logrotate
Source: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz Source: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
@ -20,9 +20,6 @@ Requires: coreutils
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
# make the code compile with gcc-10
Patch1: 0001-logrotate-3.15.1-gcc-10-build-fix.patch
%description %description
The logrotate utility is designed to simplify the administration of The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files. Logrotate log files on a system which generates a lot of log files. Logrotate
@ -119,6 +116,9 @@ fi
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate %config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
%changelog %changelog
* Fri Feb 28 2020 Kamil Dudka <kdudka@redhat.com> - 3.16.0-1
- new upstream version 3.16.0
* Thu Jan 30 2020 Kamil Dudka <kdudka@redhat.com> - 3.15.1-3 * Thu Jan 30 2020 Kamil Dudka <kdudka@redhat.com> - 3.15.1-3
- make the code compile with gcc-10 - make the code compile with gcc-10

View File

@ -1 +1 @@
SHA512 (logrotate-3.15.1.tar.xz) = 51b1fc86098e864218061824877694c37753b02508881285343d2a5f8ea1585608e28296fab4346f3d7967c7bcc5d2d66d2f22a5c8f9dbd1f046fcfd47f1c204 SHA512 (logrotate-3.16.0.tar.xz) = 2f6afbd6f14a693e3571aa813ed94b85a041a00e31bb274ee0f3055d0eeeb7e79a202eed0d63c0bd5818e96d70855f252b15f70f4320372c9814809153739070