Accepting request 895803 from home:dirkmueller:Factory

- update to 3.18.1:
  * fix memory leaks on error-handling paths
  * make `renamecopy` and `copytruncate` override each other
  * improve error handling in the parser of configuration files
  * improve user experience for non-privileged users of logrotate

OBS-URL: https://build.opensuse.org/request/show/895803
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=89
This commit is contained in:
Dirk Mueller 2021-05-28 09:59:07 +00:00 committed by Git OBS Bridge
parent 8f3fd8e083
commit 059257d8e2
6 changed files with 35 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:841f81bf09d0014e4a2e11af166bb33fcd8429cc0c2d4a7d3d9ceb3858cfccc5
size 161888

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEmSqW4HUFbnnNghT5hz2zdXKjezYFAl/4CyoACgkQhz2zdXKj
ezaIHQ/+Kn6gOB6kHkgsem0+l3jDxbpgxSq9P9MiLYE43TPDTavlChVxSLBf2LqM
NAsIoyD57tFpnO9HcnCVYhkP2LLLnGE7io5ILLbmSxR1tHALh/ilhP1CLYJEXgij
tmclWiUqWD4GDwpLCmly0rY666a2Y/lqvmi7kb754ftd3vWQkXTAydvpUNkYutr+
2a5TnEo7Mr/H/Fdz9REvYK9SFH4plspaL+g8C3zXgfxBhiIRQgyEitrwbDytOcUH
aW6wsPpfyZ7sU7q6bnP/UaPeK+GnB5GNNyw5kBNVsn1KTOuzGv1Y4xOiIEAN0Tpc
6Vv4swDGMwV3AF5HRwJ4FR44Avqvhv8w7sWyl/EfdyS/lVGpkAkqNRkNjxpz9Gv7
MK9Qqe6noZJFV/1oBWvqdMymUAvm/En11llgVNQ11VxPWzNXlegTJ8ZcbxwfW3E4
n057iI+mbri69dhx8sLhWbiz5qsFtiGDPebu6cZSox4a8SOeQfAG3uYq/q38lRz8
NGALL8XIsAdDezB6/yKza7uSXAY0KHWcPlwjG6+4XuVxVD4NNK7NvyMebVbWNLe1
TRHJ45PyVsqvceksq3uUhia3lVzM+duMmYb6Qj/jHnHrcs4wtYRg8NCPU3kzXnEY
TpZf0ZtobS7rQiaUWHgNH5RMjGXMGpzKh095XqHbiBv5D74GfDg=
=zSpZ
-----END PGP SIGNATURE-----

3
logrotate-3.18.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14a924e4804b3974e85019a9f9352c2a69726702e6656155c48bcdeace68a5dc
size 162124

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEmSqW4HUFbnnNghT5hz2zdXKjezYFAmCnuBYACgkQhz2zdXKj
ezYHVhAAj1FztazRPopzx0PRrxdJ04+eaDtwbblZcH6N2NUCSnn/jMpx3iKZgogJ
WmA/SzaK9BBh4VQhi9kphTyTRcXQc0c0ApieVeKNfkrIQImfigcrlHzA3aBo7fhb
xLQqgPqBV+9l5hxaqKlShEgRN13FwN59PiYeirbHQfONMTe/OJajCysZExrQQ584
dVfpmmXBXg1HpZlKat0ZNlEzaguapIPMsTaowbkkb7iOl606K6U6dT+SkRX9Peo8
4FlE2OirnF7sXy6fggVOZsA4va/qdSMneA/QosfvugosEL6MUgQ0928VhfD30VAl
wEeIi+LAzs/Dm92f5b9D/KwQhUUVdoLCFj46u19TN4CtR/DM5r4bMKKqzo+V1Nzk
/2amuVwAPb/Lz5mqSdoocgHoG1pHPRCOFDhKmcYKcT9SIyU4lJvbgaazwsXXOCCH
qd6iIqmxvQdKWRPXF9Y6wSBVr6TObyc9G2NmrpqBXefep6zt4qeQyekzWGGS/qNc
MfJv16MZEGcEExRdTo4L5z6B9cbVZix0XLeybwcCchf70lzRFiDAMe4dvQfkYlYC
XvyCR+mWRIja2cgatCFJOJotMnbjqnxg8wgZVGvpcnSc+9vCmquvgnmmWNi1HcjV
WWHHjI8V8l0FGSyXATk/B8iFrIOstZwxqcsgF9Dk8VYsaEri06M=
=uDcC
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 27 16:31:55 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 3.18.1:
* fix memory leaks on error-handling paths
* make `renamecopy` and `copytruncate` override each other
* improve error handling in the parser of configuration files
* improve user experience for non-privileged users of logrotate
-------------------------------------------------------------------
Wed Feb 3 07:45:15 UTC 2021 - Pedro Monreal <pmonreal@suse.com>

View File

@ -17,17 +17,17 @@
Name: logrotate
Version: 3.18.0
Version: 3.18.1
Release: 0
Summary: Cron service for rotating, compressing, mailing and removing system log files
License: GPL-2.0-or-later
Group: System/Base
URL: https://github.com/logrotate/logrotate
Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source10: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
# SUSE specific logrotate configurations
Source1: logrotate.wtmp
Source2: logrotate.default
Source10: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source100: %{name}-rpmlintrc
Patch0: logrotate-3.13.0-systemd_add_home_env.patch
BuildRequires: acl
@ -36,7 +36,7 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(popt)
BuildRequires: pkgconfig(systemd) >= 197
Requires: /usr/bin/xz
Requires: %{_bindir}/xz
%{?systemd_ordering}
%description
@ -56,10 +56,10 @@ It manages plain files only and is not involved in systemd's journal rotation.
--disable-silent-rules \
--with-state-file-path=%{_localstatedir}/lib/misc/logrotate.status \
--disable-werror
make %{?_smp_mflags}
%make_build
%check
make %{?_smp_mflags} check
%make_build check
%install
%make_install
@ -94,8 +94,8 @@ fi
%doc ChangeLog.md README.md
%{_sbindir}/logrotate
%{_sbindir}/rc%{name}
%{_mandir}/man8/logrotate.8*
%{_mandir}/man5/logrotate.conf.5*
%{_mandir}/man8/logrotate.8%{?ext_man}
%{_mandir}/man5/logrotate.conf.5%{?ext_man}
%config %{_sysconfdir}/logrotate.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/wtmp
%{_unitdir}/%{name}.service