forked from pool/logrotate
Accepting request 508717 from Base:System
- 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 - Remove aaa_base compat setting that is from 2003, we do not support such migration anymore OBS-URL: https://build.opensuse.org/request/show/508717 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=56
This commit is contained in:
commit
7e2a9d6699
@ -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
3
logrotate-3.12.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2e6a401cac9024db2288297e3be1a8ab60e7401ba8e91225218aaf4a27e82a07
|
||||||
|
size 148880
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Remove aaa_base compat setting that is from 2003, we do not
|
||||||
|
support such migration anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 28 11:19:13 UTC 2016 - tchvatal@suse.com
|
Wed Dec 28 11:19:13 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: logrotate
|
Name: logrotate
|
||||||
Version: 3.11.0
|
Version: 3.12.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Rotate, compress, remove, and mail system log files
|
Summary: Rotate, compress, remove, and mail system log files
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -35,7 +35,6 @@ BuildRequires: pkgconfig(libselinux)
|
|||||||
BuildRequires: pkgconfig(popt)
|
BuildRequires: pkgconfig(popt)
|
||||||
BuildRequires: pkgconfig(systemd) >= 197
|
BuildRequires: pkgconfig(systemd) >= 197
|
||||||
Requires: xz
|
Requires: xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -51,7 +50,9 @@ daily cron job.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -72,10 +73,6 @@ ln -s service %{buildroot}%{_sbindir}/rc%{name}
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%{remove_and_set MAX_DAYS_FOR_LOG_FILES}
|
%{remove_and_set MAX_DAYS_FOR_LOG_FILES}
|
||||||
if [ -f %{_sysconfdir}/logrotate.d/aaa_base ] ; then
|
|
||||||
echo "Saving old logrotate system configuration"
|
|
||||||
mv -v %{_sysconfdir}/logrotate.d/aaa_base %{_sysconfdir}/logrotate.d.aaa_base.save
|
|
||||||
fi
|
|
||||||
# Move /var/lib/logrotate.status
|
# Move /var/lib/logrotate.status
|
||||||
if [ -f %{_localstatedir}/lib/logrotate.status -a ! -f %{_localstatedir}/lib/misc/logrotate.status ]; then
|
if [ -f %{_localstatedir}/lib/logrotate.status -a ! -f %{_localstatedir}/lib/misc/logrotate.status ]; then
|
||||||
mv %{_localstatedir}/lib/logrotate.status %{_localstatedir}/lib/misc/logrotate.status ||:
|
mv %{_localstatedir}/lib/logrotate.status %{_localstatedir}/lib/misc/logrotate.status ||:
|
||||||
@ -90,7 +87,6 @@ fi
|
|||||||
%service_del_postun %{name}.service %{name}.timer
|
%service_del_postun %{name}.service %{name}.timer
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING ChangeLog.md README.md
|
%doc COPYING ChangeLog.md README.md
|
||||||
%{_sbindir}/logrotate
|
%{_sbindir}/logrotate
|
||||||
%{_sbindir}/rc%{name}
|
%{_sbindir}/rc%{name}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user