- Version update to 3.12.3:

* Fixed accident removal of rotated files with dateext. (#118)
  * Line comments inside globs in config files are now skipped. (#109)
  * logrotate now recovers from a corrupted state file. (#45)
  * createolddir now creates old directory as unprivileged user. (#114)
  * weekly rotations are now predictable and configurable. (#93)
  * Errors in config files are no longer treated as fatal errors. (#81)
  * configure --with-default-mail-command specifies default mail command. (#100)
  * Fixed heap buffer overflow when parsing crafted config file. (#33)
  * build fixes related to -Werror (#119) and -Werror=format= (#108)
  * configure --enable-werror now controls use of the -Werror flag (#123)
  * copy and copytruncate directives now work together again
  * unlink() is no longer preceded by open() unless shred is enabled (#124)
  * compress and uncompress now take commands from $PATH, too (#122)
- By default disable werror while building

OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=63
This commit is contained in:
Tomáš Chvátal 2017-07-07 09:00:26 +00:00 committed by Git OBS Bridge
parent 02f452ffff
commit 23aec47039
4 changed files with 26 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18ae0f2ec1f14d9550c9f6bd9a2b6a18440e6a0fd7d5923a6e3fcb7d45946261
size 132132

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e6a401cac9024db2288297e3be1a8ab60e7401ba8e91225218aaf4a27e82a07
size 148880

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Jul 7 08:43:42 UTC 2017 - tchvatal@suse.com
- Version update to 3.12.3:
* Fixed accident removal of rotated files with dateext. (#118)
* Line comments inside globs in config files are now skipped. (#109)
* logrotate now recovers from a corrupted state file. (#45)
* createolddir now creates old directory as unprivileged user. (#114)
* weekly rotations are now predictable and configurable. (#93)
* Errors in config files are no longer treated as fatal errors. (#81)
* configure --with-default-mail-command specifies default mail command. (#100)
* Fixed heap buffer overflow when parsing crafted config file. (#33)
* build fixes related to -Werror (#119) and -Werror=format= (#108)
* configure --enable-werror now controls use of the -Werror flag (#123)
* copy and copytruncate directives now work together again
* unlink() is no longer preceded by open() unless shred is enabled (#124)
* compress and uncompress now take commands from $PATH, too (#122)
- By default disable werror while building
-------------------------------------------------------------------
Fri Jul 7 08:28:18 UTC 2017 - tchvatal@suse.com

View File

@ -17,7 +17,7 @@
Name: logrotate
Version: 3.11.0
Version: 3.12.3
Release: 0
Summary: Rotate, compress, remove, and mail system log files
License: GPL-2.0+
@ -35,7 +35,6 @@ BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(popt)
BuildRequires: pkgconfig(systemd) >= 197
Requires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
%description
@ -51,7 +50,9 @@ daily cron job.
%build
%configure \
--with-state-file-path=%{_localstatedir}/lib/misc/logrotate.status
--disable-silent-rules \
--with-state-file-path=%{_localstatedir}/lib/misc/logrotate.status \
--disable-werror
make %{?_smp_mflags}
%check
@ -86,7 +87,6 @@ fi
%service_del_postun %{name}.service %{name}.timer
%files
%defattr(-,root,root)
%doc COPYING ChangeLog.md README.md
%{_sbindir}/logrotate
%{_sbindir}/rc%{name}