2007-01-10 14:07:27 +00:00
|
|
|
Summary: Rotates, compresses, removes and mails system log files
|
2004-09-09 07:59:26 +00:00
|
|
|
Name: logrotate
|
2016-12-02 14:10:06 +00:00
|
|
|
Version: 3.11.0
|
|
|
|
Release: 1%{?dist}
|
2007-08-23 06:20:23 +00:00
|
|
|
License: GPL+
|
2016-08-03 11:11:39 +00:00
|
|
|
Url: https://github.com/logrotate/logrotate
|
|
|
|
Source: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
|
2015-06-17 13:54:43 +00:00
|
|
|
Source1: rwtab
|
2016-08-03 11:11:39 +00:00
|
|
|
|
2016-08-03 12:22:37 +00:00
|
|
|
BuildRequires: acl
|
2016-11-24 14:51:30 +00:00
|
|
|
BuildRequires: automake
|
2016-08-03 12:22:37 +00:00
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: popt-devel
|
|
|
|
Requires: coreutils
|
2004-09-09 07:59:26 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The logrotate utility is designed to simplify the administration of
|
2004-09-09 08:01:11 +00:00
|
|
|
log files on a system which generates a lot of log files. Logrotate
|
|
|
|
allows for the automatic rotation compression, removal and mailing of
|
|
|
|
log files. Logrotate can be set to handle a log file daily, weekly,
|
|
|
|
monthly or when the log file gets to a certain size. Normally,
|
2004-09-09 07:59:26 +00:00
|
|
|
logrotate runs as a daily cron job.
|
|
|
|
|
2004-09-09 08:01:11 +00:00
|
|
|
Install the logrotate package if you need a utility to deal with the
|
|
|
|
log files on your system.
|
|
|
|
|
2004-09-09 07:59:26 +00:00
|
|
|
%prep
|
2016-08-03 12:22:37 +00:00
|
|
|
%autosetup -S git
|
2004-09-09 07:59:26 +00:00
|
|
|
|
2016-12-02 14:42:31 +00:00
|
|
|
printf "/autom4te.cache\n/build\n" >> .gitignore
|
2016-11-24 14:51:30 +00:00
|
|
|
git add .gitignore
|
|
|
|
git commit -m "update .gitignore"
|
|
|
|
|
|
|
|
autoreconf -fiv
|
|
|
|
git add configure
|
2016-12-02 14:10:06 +00:00
|
|
|
git commit -m "force autoreconf" --allow-empty
|
2016-11-24 14:51:30 +00:00
|
|
|
|
2004-09-09 07:59:26 +00:00
|
|
|
%build
|
2016-12-02 14:42:31 +00:00
|
|
|
mkdir build && cd build && ln -s ../configure
|
|
|
|
%configure srcdir=.. \
|
|
|
|
--with-state-file-path=%{_localstatedir}/lib/logrotate/logrotate.status
|
2014-10-16 11:35:51 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 07:59:26 +00:00
|
|
|
|
2012-08-01 11:27:04 +00:00
|
|
|
%check
|
2016-12-02 14:42:31 +00:00
|
|
|
make check -C build
|
2012-08-01 11:27:04 +00:00
|
|
|
|
2004-09-09 07:59:26 +00:00
|
|
|
%install
|
2016-12-02 14:42:31 +00:00
|
|
|
%make_install -C build
|
2016-08-03 12:22:37 +00:00
|
|
|
|
2007-02-09 10:20:36 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily
|
2015-06-17 13:54:43 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/logrotate
|
2004-09-09 07:59:26 +00:00
|
|
|
|
2007-02-09 10:20:36 +00:00
|
|
|
install -p -m 644 examples/logrotate-default $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.conf
|
|
|
|
install -p -m 755 examples/logrotate.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/logrotate
|
2015-06-17 13:54:43 +00:00
|
|
|
|
|
|
|
# Make sure logrotate is able to run on read-only root
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rwtab.d
|
|
|
|
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/logrotate
|
|
|
|
|
|
|
|
%pre
|
|
|
|
# If /var/lib/logrotate/logrotate.status does not exist, create it and copy
|
|
|
|
# the /var/lib/logrotate.status in it (if it exists). We have to do that in pre
|
|
|
|
# script, otherwise the /var/lib/logrotate/logrotate.status would not be there,
|
|
|
|
# because during the update, it is removed/renamed.
|
|
|
|
if [ ! -d %{_localstatedir}/lib/logrotate/ -a -f %{_localstatedir}/lib/logrotate.status ]; then
|
|
|
|
mkdir -p %{_localstatedir}/lib/logrotate
|
|
|
|
cp -a %{_localstatedir}/lib/logrotate.status %{_localstatedir}/lib/logrotate
|
|
|
|
fi
|
2004-09-09 07:59:26 +00:00
|
|
|
|
|
|
|
%files
|
2014-07-18 19:52:45 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
2016-12-02 14:10:06 +00:00
|
|
|
%doc ChangeLog.md
|
2016-08-23 13:14:28 +00:00
|
|
|
%{_sbindir}/logrotate
|
|
|
|
%{_mandir}/man8/logrotate.8*
|
|
|
|
%{_mandir}/man5/logrotate.conf.5*
|
2016-08-23 13:20:28 +00:00
|
|
|
%{_sysconfdir}/cron.daily
|
2016-08-23 13:14:28 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.conf
|
|
|
|
%dir %{_sysconfdir}/logrotate.d
|
|
|
|
%dir %{_localstatedir}/lib/logrotate
|
2016-11-11 15:35:36 +00:00
|
|
|
%ghost %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/logrotate/logrotate.status
|
2015-06-17 13:54:43 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
|
2004-09-09 07:59:26 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-12-02 14:10:06 +00:00
|
|
|
* Fri Dec 02 2016 Kamil Dudka <kdudka@redhat.com> - 3.11.0-1
|
2016-12-02 14:42:31 +00:00
|
|
|
- build out of source tree
|
2016-12-02 14:10:06 +00:00
|
|
|
- new upstream version 3.11.0
|
|
|
|
|
2016-11-24 14:51:30 +00:00
|
|
|
* Thu Nov 24 2016 Kamil Dudka <kdudka@redhat.com> - 3.10.0-4
|
|
|
|
- make /var/lib/logrotate/logrotate.status the default state file (#1381719)
|
|
|
|
|
2016-11-11 15:35:36 +00:00
|
|
|
* Fri Nov 11 2016 Kamil Dudka <kdudka@redhat.com> - 3.10.0-3
|
|
|
|
- fix migration of state file from its previous location (#1393247)
|
|
|
|
|
2016-08-23 13:14:28 +00:00
|
|
|
* Tue Aug 23 2016 Kamil Dudka <kdudka@redhat.com> - 3.10.0-2
|
2016-08-23 13:20:28 +00:00
|
|
|
- own /etc/cron.daily because no dependency of logrotate installs it
|
2016-08-23 13:14:28 +00:00
|
|
|
- do not explicitly declare mode for each single installed file
|
|
|
|
|
2016-08-03 11:11:39 +00:00
|
|
|
* Wed Aug 03 2016 Kamil Dudka <kdudka@redhat.com> - 3.10.0-1
|
2016-08-03 12:47:17 +00:00
|
|
|
- document default state file used by logrotate cron job (#1357215)
|
2016-08-03 12:22:37 +00:00
|
|
|
- modernize spec file
|
2016-08-03 11:11:39 +00:00
|
|
|
- new upstream version 3.10.0
|
|
|
|
|
2016-07-20 12:34:01 +00:00
|
|
|
* Wed Jul 20 2016 Kamil Dudka <kdudka@redhat.com> - 3.9.2-5
|
|
|
|
- do not log to syslog by default (#1304828)
|
|
|
|
|
2016-07-14 08:18:44 +00:00
|
|
|
* Thu Jul 14 2016 Kamil Dudka <kdudka@redhat.com> - 3.9.2-4
|
|
|
|
- make the /var/lib/logrotate directory owned by logrotate
|
|
|
|
|
2016-02-16 09:02:45 +00:00
|
|
|
* Tue Feb 16 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 3.9.2-3
|
|
|
|
- Fix code indentation to get it build with gcc6.
|
|
|
|
- Fixed dates in changelog.
|
|
|
|
|
2016-02-04 04:24:35 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-20 12:44:20 +00:00
|
|
|
* Wed Jan 20 2016 Jan Kaluza <jkaluza@redhat.com> - 3.9.2-1
|
|
|
|
- new upstream version 3.9.2
|
|
|
|
- log to syslog
|
|
|
|
|
2015-06-17 13:54:43 +00:00
|
|
|
* Wed Jun 17 2015 Jan Kaluza <jkaluza@redhat.com> - 3.9.1-2
|
|
|
|
- move logrotate.status to /var/lib/logrotate and add it to rwtab.d (#1127415)
|
|
|
|
|
2015-04-03 07:50:06 +00:00
|
|
|
* Fri Apr 03 2015 Jan Kaluza <jkaluza@redhat.com> - 3.9.1-1
|
|
|
|
- new upstream version 3.9.1
|
|
|
|
|
|
|
|
* Fri Apr 03 2015 Jan Kaluza <jkaluza@redhat.com> - 3.9.0-1
|
|
|
|
- new upstream version 3.9.0
|
|
|
|
|
2015-02-13 06:30:05 +00:00
|
|
|
* Fri Feb 13 2015 Jan Kaluza <jkaluza@redhat.com> - 3.8.9-1
|
|
|
|
- new upstream version 3.8.9
|
|
|
|
|
2014-10-16 11:35:51 +00:00
|
|
|
* Thu Oct 16 2014 Jan Kaluza <jkaluza@redhat.com> - 3.8.8-1
|
|
|
|
- new upstream version 3.8.8
|
|
|
|
|
2014-08-17 07:35:21 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-18 19:52:45 +00:00
|
|
|
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 3.8.7-3
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-07 06:46:11 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-10-10 08:58:01 +00:00
|
|
|
* Thu Oct 10 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.7-1
|
|
|
|
- new usptream version 3.8.7
|
|
|
|
|
2013-07-31 11:49:45 +00:00
|
|
|
* Wed Jul 31 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-1
|
|
|
|
- new upstream version 3.8.6
|
|
|
|
|
2013-07-10 07:02:12 +00:00
|
|
|
* Wed Jul 10 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.5-2
|
|
|
|
- fix #982409 - do not crash when no logs are rotated and "sharedscripts" and
|
|
|
|
"prerotate" is used
|
|
|
|
|
2013-06-10 12:26:25 +00:00
|
|
|
* Mon Jun 10 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.5-1
|
|
|
|
- new upstream version 3.8.5
|
|
|
|
|
2013-05-14 06:56:42 +00:00
|
|
|
* Tue May 14 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.4-2
|
|
|
|
- do not try to parse config files bigger than 16MB
|
|
|
|
- remove unused patches
|
|
|
|
|
2013-04-30 08:37:38 +00:00
|
|
|
* Tue Apr 30 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.4-1
|
|
|
|
- new upstream version 3.8.4
|
|
|
|
|
2013-02-14 05:48:40 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-04 08:19:15 +00:00
|
|
|
* Thu Oct 04 2012 Jan Kaluza <jkaluza@redhat.com> 3.8.3-1
|
|
|
|
- new upstream version 3.8.3
|
|
|
|
|
2012-08-01 11:27:04 +00:00
|
|
|
* Thu Jul 19 2012 Jan Kaluza <jkaluza@redhat.com> 3.8.2-1
|
|
|
|
- new upstream version 3.8.2
|
|
|
|
- tests are enabled during build
|
|
|
|
|
2012-07-19 22:06:51 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-04 10:11:29 +00:00
|
|
|
* Wed Jan 04 2012 Jan Kaluza <jkaluza@redhat.com> 3.8.1-3
|
|
|
|
- fix #736054 - check for missing '{' in config file
|
|
|
|
|
2011-10-03 09:02:26 +00:00
|
|
|
* Mon Oct 03 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.1-2
|
|
|
|
- fix #742731 - man page syntax, formatting, and spelling fixes
|
|
|
|
|
2011-09-06 07:12:41 +00:00
|
|
|
* Tue Sep 06 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.1-1
|
|
|
|
- new upstream version 3.8.1
|
|
|
|
|
2011-08-08 10:41:05 +00:00
|
|
|
* Mon Aug 08 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-5
|
|
|
|
- fix #723797 - added maxsize option
|
|
|
|
|
2016-02-16 09:02:45 +00:00
|
|
|
* Mon Aug 01 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-4
|
2011-08-01 06:54:26 +00:00
|
|
|
- fix #726980 - work properly when acl_get_fd is supported,
|
|
|
|
but acl_set_fd is not
|
|
|
|
|
2011-07-22 08:24:18 +00:00
|
|
|
* Fri Jul 22 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-3
|
|
|
|
- fix #723547 - fixed size directive parsing
|
|
|
|
|
2011-07-20 11:03:56 +00:00
|
|
|
* Wed Jul 20 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-2
|
|
|
|
- fix #722825 - do not redirect logrotate output in cron script
|
|
|
|
|
2011-06-21 08:38:42 +00:00
|
|
|
* Tue Jun 21 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-1
|
|
|
|
- new upstream version 3.8.0
|
|
|
|
- removed unused patches
|
|
|
|
|
2011-05-31 05:12:11 +00:00
|
|
|
* Tue May 31 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-11
|
|
|
|
- fix #709034 - work properly when ACLs are not supported
|
|
|
|
|
2011-05-30 13:52:24 +00:00
|
|
|
* Mon May 30 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-10
|
|
|
|
- fix #708367 - fixed mail directive parsing
|
|
|
|
|
2011-03-28 10:19:13 +00:00
|
|
|
* Mon Mar 28 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-9
|
|
|
|
- fix #689061 - added Url
|
|
|
|
|
2011-03-21 12:42:31 +00:00
|
|
|
* Mon Mar 21 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-8
|
|
|
|
- fix #688520 - fixed CVE-2011-1154, CVE-2011-1155 and CVE-2011-1098
|
|
|
|
|
2011-02-08 13:35:52 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.9-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-02 10:10:13 +00:00
|
|
|
* Wed Feb 02 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-6
|
|
|
|
- fix #671926 - fixed crash when tabooext is used in config file
|
|
|
|
|
2011-01-05 10:47:45 +00:00
|
|
|
* Wed Dec 15 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-5
|
|
|
|
- fix #661181 - fixed SIGBUS when config file is empty or 4096 bytes
|
|
|
|
- fix #666677 - preserve ACLs when rotating files
|
|
|
|
|
2010-10-19 12:15:01 +00:00
|
|
|
* Tue Oct 19 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-4
|
|
|
|
- fix #644309 - mention all logrotate params in man page
|
|
|
|
|
2010-09-29 14:54:49 +00:00
|
|
|
* Wed Sep 29 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-3
|
|
|
|
- fix #638629 - better size directive description
|
|
|
|
|
2010-08-09 12:53:27 +00:00
|
|
|
* Mon Aug 09 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-2
|
|
|
|
- fixed AUTHORS in man page
|
2010-06-28 11:02:08 +00:00
|
|
|
|
|
|
|
* Mon Jun 28 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-1
|
|
|
|
- new upstream version 3.7.9
|
|
|
|
|
2010-06-22 08:46:22 +00:00
|
|
|
* Tue Jun 22 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.8-12
|
|
|
|
- fix #602643 - update manpage to reflect scripts changes
|
|
|
|
- fix #606675 - pass currently rotated file as argument to
|
|
|
|
postrotate/prerotate script in nosharedscripts mode
|
|
|
|
|
2010-06-15 14:06:54 +00:00
|
|
|
* Tue Jun 15 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.8-11
|
|
|
|
- fix #603040 - do not remove log if there is an error in
|
|
|
|
rotate process
|
|
|
|
|
2010-06-10 12:05:12 +00:00
|
|
|
* Tue Apr 20 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.8-10
|
|
|
|
- fix #602643 - logrotate "size" directive cannot exceed
|
|
|
|
1895825408 bytes
|
|
|
|
|
2010-04-20 13:41:26 +00:00
|
|
|
* Tue Apr 20 2010 Daniel Novotny <dnovotny@redhat.com> 3.7.8-9
|
|
|
|
- revert the "create 0640 root adm" permission change (#489038)
|
|
|
|
|
2010-04-06 10:01:15 +00:00
|
|
|
* Tue Apr 06 2010 Daniel Novotny <dnovotny@redhat.com> 3.7.8-8
|
|
|
|
- fix #578115 - missingok problem with globs
|
|
|
|
|
2010-01-11 12:54:32 +00:00
|
|
|
* Mon Jan 11 2010 Daniel Novotny <dnovotny@redhat.com> 3.7.8-7
|
|
|
|
- fix #489038 - RFE: useful permissions on log files
|
|
|
|
|
2009-12-17 14:26:55 +00:00
|
|
|
* Wed Dec 09 2009 Henrique Martins <bugzilla-redhat-2009@martins.cc> 3.7.8-6
|
|
|
|
- fix #545919 (rotate non-writable files when copy is set)
|
|
|
|
|
2009-09-29 13:34:11 +00:00
|
|
|
* Tue Sep 29 2009 Daniel Novotny <dnovotny@redhat.com> 3.7.8-5
|
|
|
|
- fix #525659 (man page for logrotate.conf)
|
|
|
|
|
2009-09-17 09:37:46 +00:00
|
|
|
* Thu Sep 17 2009 Daniel Novotny <dnovotny@redhat.com> 3.7.8-4
|
|
|
|
- fix #517321 (logrotate blocking anacron)
|
|
|
|
|
2009-07-25 11:15:06 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 20:53:35 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-02 13:27:22 +00:00
|
|
|
* Mon Feb 02 2009 Daniel Novotny <dnovotny@redhat.com> 3.7.8-1
|
|
|
|
- new upstream version 3.7.8
|
|
|
|
|
2008-11-21 12:06:33 +00:00
|
|
|
* Fri Nov 21 2008 Daniel Novotny <dnovotny@redhat.com> 3.7.7-4
|
|
|
|
- fix #468926 (segfault with very large /var/log/messages)
|
|
|
|
|
2008-11-20 14:39:06 +00:00
|
|
|
* Thu Nov 20 2008 Daniel Novotny <dnovotny@redhat.com> 3.7.7-3
|
|
|
|
- less aggressive approach to the fix
|
|
|
|
|
2008-11-20 13:55:53 +00:00
|
|
|
* Thu Nov 20 2008 Daniel Novotny <dnovotny@redhat.com> 3.7.7-2
|
|
|
|
- fix #471463 (selinux problems with logrotate)
|
|
|
|
|
2008-05-19 10:30:05 +00:00
|
|
|
* Mon May 19 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.7-1
|
|
|
|
- new upstream version
|
|
|
|
|
2008-04-23 12:45:56 +00:00
|
|
|
* Wed Apr 23 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-4
|
|
|
|
- improve patch for #432330
|
2008-04-23 12:51:14 +00:00
|
|
|
- fix #437748 - don't forget to close log files
|
2008-04-23 12:45:56 +00:00
|
|
|
|
2008-02-11 10:41:13 +00:00
|
|
|
* Mon Feb 11 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-3
|
|
|
|
- fix #432330 segfault on corrupted status file
|
|
|
|
|
2008-01-21 13:25:25 +00:00
|
|
|
* Mon Jan 21 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-2.2
|
|
|
|
- fix #429454 - logrotate fails due to invalid pointer
|
|
|
|
|
2008-01-09 09:41:16 +00:00
|
|
|
* Wed Jan 09 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-2.1
|
|
|
|
- fix the selinux patch
|
|
|
|
|
2008-01-09 09:00:21 +00:00
|
|
|
* Wed Jan 09 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-2
|
|
|
|
- fix #427274 - logrotate fails to preserve SELinux file contexts
|
|
|
|
- fix #427661 - SELinux stops vsftpd from working correctly
|
|
|
|
|
2007-09-27 06:54:13 +00:00
|
|
|
* Thu Sep 27 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1.3
|
|
|
|
- popt-devel dependency was still missing
|
|
|
|
|
2007-09-27 06:26:01 +00:00
|
|
|
* Thu Sep 27 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1.2
|
|
|
|
- add missing dependencies to spec file
|
|
|
|
|
2007-08-23 06:20:23 +00:00
|
|
|
* Thu Aug 23 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2007-08-07 11:35:18 +00:00
|
|
|
* Tue Aug 07 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1
|
|
|
|
- new upstream version
|
|
|
|
- fix #248565 logrotate never rotates /var/log/btmp
|
|
|
|
- fix compile warnings
|
|
|
|
- tabooext accepts wildcards (related #247816)
|
|
|
|
- fix minor errors and update man page (related #250059)
|
|
|
|
- fix handling of size directive (related #247410)
|
|
|
|
|
2007-05-31 10:20:33 +00:00
|
|
|
* Thu May 31 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.5-5
|
|
|
|
- fix ignoring pre/postrotate arguments (related #241766)
|
|
|
|
|
2007-05-23 12:05:19 +00:00
|
|
|
* Wed May 23 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.5-4
|
|
|
|
- use dateext in the default config file (#240292)
|
|
|
|
- add options to use shred for deleting files -- adapt patch sent by
|
|
|
|
Peter Eckersley <pde@eff.org> (#239934)
|
|
|
|
- ignore .cfsaved files by default (#223476)
|
|
|
|
|
2007-03-31 10:56:49 +00:00
|
|
|
* Sat Mar 31 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.5-3
|
|
|
|
- add error checking before running prerotate and postrotate scripts
|
|
|
|
|
2007-03-29 14:07:49 +00:00
|
|
|
* Thu Mar 29 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.5-2
|
|
|
|
- fix error hadnling after prerotate, postrotate, firstaction
|
|
|
|
script failure. (http://qa.mandriva.com/show_bug.cgi?id=29979)
|
|
|
|
|
2007-03-01 11:11:38 +00:00
|
|
|
* Thu Mar 01 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.5-1
|
|
|
|
- new upstream release.
|
|
|
|
|
2007-02-09 10:20:36 +00:00
|
|
|
* Fri Feb 09 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-13
|
|
|
|
- another spec file fixes (#226104)
|
|
|
|
|
2007-02-08 16:05:58 +00:00
|
|
|
* Thu Feb 08 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-12
|
|
|
|
- fix problem with compress_options_list (#227706)
|
|
|
|
- fix spec file to meet Fedora standards (#226104)
|
|
|
|
|
2007-01-23 12:09:11 +00:00
|
|
|
* Tue Jan 23 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-11
|
|
|
|
- logrotate won't stop if there are some errors in configuration
|
|
|
|
or glob failures (#166510, #182062)
|
|
|
|
|
2007-01-10 14:07:27 +00:00
|
|
|
* Wed Jan 10 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-10
|
|
|
|
- fix some rpmlint issues
|
|
|
|
|
2007-01-09 09:47:04 +00:00
|
|
|
* Tue Jan 09 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-9
|
|
|
|
- allow multibyte characters in readPath() (#122145)
|
|
|
|
|
2007-01-05 11:47:36 +00:00
|
|
|
* Fri Jan 05 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-8
|
|
|
|
- "size" option was ignored in config files (#221341)
|
|
|
|
|
2006-10-01 20:20:23 +00:00
|
|
|
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3.7.4-7
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-26 13:44:07 +00:00
|
|
|
* Tue Sep 26 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-6
|
|
|
|
- fix leaking file descriptor (#205072)
|
|
|
|
|
|
|
|
* Wed Aug 09 2006 Dan Walsh <dwalsh@redhat.com> 3.7.4-5
|
2006-08-10 00:50:09 +00:00
|
|
|
- Use selinux raw functions
|
|
|
|
|
2006-07-24 12:18:42 +00:00
|
|
|
* Mon Jul 24 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-4
|
|
|
|
- make error message, about ignoring certain config files,
|
|
|
|
a debug message instead (#196052)
|
|
|
|
|
2006-07-12 07:14:36 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.7.4-3.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-13 12:56:30 +00:00
|
|
|
* Tue Jun 13 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-3
|
|
|
|
- rename ENOSUP to ENOTSUP
|
|
|
|
|
|
|
|
* Tue Jun 13 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-2
|
|
|
|
- clean up a couple of SELinux problems. Patch from Daniel J. Walsh.
|
|
|
|
|
2006-05-17 15:08:08 +00:00
|
|
|
* Wed May 17 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-1
|
|
|
|
- add new "minsize" option (#173088)
|
|
|
|
|
2006-03-29 09:41:37 +00:00
|
|
|
* Tue Mar 28 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.3-3
|
|
|
|
- correct man page "extension" option description (#185318)
|
|
|
|
|
2006-02-11 04:25:09 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.7.3-2.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:52:55 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.7.3-2.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:49 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-13 13:36:38 +00:00
|
|
|
* Sun Nov 13 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.3-2
|
|
|
|
- fix_free_segfaults (#172918)
|
|
|
|
|
2005-11-12 19:19:16 +00:00
|
|
|
* Sat Nov 12 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.3-1
|
|
|
|
- new upstream release
|
|
|
|
- indent sources
|
|
|
|
|
2005-11-11 15:18:21 +00:00
|
|
|
* Fri Nov 11 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-12
|
|
|
|
- fix_free_segfaults (#172918)
|
|
|
|
|
2005-11-12 19:19:16 +00:00
|
|
|
* Mon Nov 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-11
|
|
|
|
- man description for "nodateext" option (#171577)
|
|
|
|
- remove not working "pattern" option (#171577)
|
|
|
|
|
2005-10-25 12:07:16 +00:00
|
|
|
* Tue Oct 25 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-10
|
|
|
|
- some more clean up (#171587)
|
|
|
|
|
2005-10-21 08:18:24 +00:00
|
|
|
* Thu Oct 20 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-9
|
|
|
|
- fix_free_segfaults (#171093)
|
|
|
|
|
2005-10-18 14:14:51 +00:00
|
|
|
* Tue Oct 18 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-8
|
|
|
|
- fix leaks of tabooExts
|
|
|
|
|
2005-10-15 12:27:04 +00:00
|
|
|
* Sat Oct 15 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-7
|
|
|
|
- fix_free_segfaults (#170904)
|
|
|
|
|
2005-10-12 12:23:34 +00:00
|
|
|
* Wed Oct 12 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-6
|
|
|
|
- code clean up (#169885)
|
|
|
|
|
2005-10-10 12:18:18 +00:00
|
|
|
* Mon Oct 10 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-5
|
|
|
|
- fix bug introduced in logrotate 3.7.2-3(#169858)
|
|
|
|
- fix some memory leaks (#169888)
|
|
|
|
|
2005-09-28 11:47:36 +00:00
|
|
|
* Fri Sep 23 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-4
|
|
|
|
- do not run compression program in debug mode (#166912)
|
|
|
|
|
2005-09-07 15:30:53 +00:00
|
|
|
* Wed Sep 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-3
|
|
|
|
- even when sharedscript option used, do postrotate
|
|
|
|
script before compress (#167575)
|
|
|
|
|
2005-08-17 14:23:45 +00:00
|
|
|
* Wed Aug 17 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-2
|
|
|
|
- allow yearly rotations(#134612)
|
|
|
|
|
2005-08-01 12:22:18 +00:00
|
|
|
* Mon Aug 01 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-1
|
|
|
|
- new upstream release
|
|
|
|
|
2005-07-26 14:42:07 +00:00
|
|
|
* Tue Jul 26 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-14
|
|
|
|
- fix some "error running script" messages
|
|
|
|
|
2005-07-26 13:47:08 +00:00
|
|
|
* Tue Jul 26 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-13
|
|
|
|
- fix man page (#163458,#163366)
|
|
|
|
|
|
|
|
* Wed Jun 22 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-12
|
2005-06-22 13:31:33 +00:00
|
|
|
- enhance logrotate with "dateext", "maxage"
|
|
|
|
|
2005-03-31 19:53:25 +00:00
|
|
|
* Thu Mar 31 2005 Dan Walsh <dwalsh@redhat.com> 3.7.1-10
|
|
|
|
- use security_getenforce() instead of selinux_getenforcemode
|
|
|
|
|
2005-03-17 22:39:50 +00:00
|
|
|
* Thu Mar 17 2005 Dan Walsh <dwalsh@redhat.com> 3.7.1-9
|
|
|
|
- Add selinux_getenforce() calls to work when not in enforcing mode
|
|
|
|
|
2005-03-17 13:54:02 +00:00
|
|
|
* Thu Mar 17 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-8
|
|
|
|
- rebuild
|
|
|
|
|
2005-02-22 13:08:44 +00:00
|
|
|
* Tue Feb 22 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
- do not use tmpfile to run script anymore (#149270)
|
|
|
|
|
2005-02-18 09:30:11 +00:00
|
|
|
* Fri Feb 18 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
- remove logrotate-3.7.1-share.patch, it doesn't solve (#140353)
|
|
|
|
|
2004-12-13 12:30:28 +00:00
|
|
|
* Mon Dec 13 2004 Peter Vrabec <pvrabec@redhat.com> - 3.7.1-5
|
|
|
|
- Add section to logrotate.conf for "/var/log/btmp" (#117844)
|
|
|
|
|
|
|
|
* Mon Dec 13 2004 Peter Vrabec <pvrabec@redhat.com> - 3.7.1-4
|
|
|
|
- Typo and missing information in man page (#139346)
|
|
|
|
|
|
|
|
* Mon Dec 06 2004 Peter Vrabec <pvrabec@redhat.com> - 3.7.1-3
|
2004-12-09 08:29:16 +00:00
|
|
|
- compressed logfiles and logrotate (#140353)
|
|
|
|
|
2004-10-19 21:55:48 +00:00
|
|
|
* Tue Oct 19 2004 Miloslav Trmac <mitr@redhat.com> - 3.7.1-2
|
|
|
|
- Fix sending mails (#131583)
|
|
|
|
- Preserve file attributes when compressing files (#121523, original patch by
|
|
|
|
Daniel Himler)
|
|
|
|
|
|
|
|
* Fri Jul 16 2004 Elliot Lee <sopwith@redhat.com> 3.7.1-1
|
|
|
|
- Fix #126490 typo
|
|
|
|
|
2004-09-09 08:04:16 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:04:09 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:03:28 +00:00
|
|
|
* Mon Jan 26 2004 Dan Walsh <dwalsh@redhat.com> 3.6.10-4
|
|
|
|
- fix is_selinux_enabled call
|
|
|
|
|
|
|
|
* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 3.6.10-3
|
|
|
|
- Turn off selinux
|
|
|
|
|
2004-09-09 08:03:22 +00:00
|
|
|
* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 3.6.10-2.sel
|
|
|
|
- Turn on selinux
|
|
|
|
|
|
|
|
* Wed Aug 06 2003 Erik Troan <ewt@redhat.com>
|
|
|
|
- always use compressext for the extension for compressed
|
|
|
|
files; before compresscmd and compressext had to agree
|
|
|
|
- moved all compression to one code block
|
|
|
|
- compression, scripts don't use system() anymore
|
|
|
|
- compress and maillast didn't work together properly
|
|
|
|
- delaycompress and mailfirst didn't work properly
|
|
|
|
- don't use system() for mailing (or uncompressing) logs anymore
|
|
|
|
- use "-s" for speciying the subjected of mailed logs
|
|
|
|
|
2004-09-09 08:03:16 +00:00
|
|
|
* Thu Jul 24 2003 Elliot Lee <sopwith@redhat.com> 3.6.10-1
|
|
|
|
- Fix #100546, change selinux port.
|
|
|
|
|
2016-02-16 09:02:45 +00:00
|
|
|
* Fri Jul 18 2003 Dan Walsh <dwalsh@redhat.com> 3.6.9-2
|
2004-09-09 08:03:16 +00:00
|
|
|
- Port to SELinux 2.5
|
|
|
|
|
|
|
|
* Wed Jul 09 2003 Elliot Lee <sopwith@redhat.com> 3.6.9-1
|
|
|
|
- Fix #90229, #90274, #89458, #91408
|
|
|
|
|
2004-09-09 08:01:54 +00:00
|
|
|
* Mon Jan 20 2003 Elliot Lee <sopwith@redhat.com> 3.6.8-1
|
|
|
|
- Old patch from pm@debian.org
|
|
|
|
|
|
|
|
* Tue Jan 14 2003 Elliot Lee <sopwith@redhat.com> 3.6.7-1
|
|
|
|
- Fixes from bugzilla
|
|
|
|
|
|
|
|
* Fri Nov 15 2002 Elliot Lee <sopwith@redhat.com> 3.6.6-1
|
|
|
|
- Commit patch from Fidelis Assis <fidelis@embratel.net.br>
|
2004-09-09 08:01:38 +00:00
|
|
|
|
2004-09-09 08:01:18 +00:00
|
|
|
* Thu Jun 20 2002 Elliot Lee <sopwith@redhat.com> 3.6.5-1
|
|
|
|
- Commit fix for #65299
|
|
|
|
|
2004-09-09 08:01:11 +00:00
|
|
|
* Mon Apr 15 2002 Elliot Lee <sopwith@redhat.com> 3.6.4-1
|
|
|
|
- Commit fix for #62560
|
|
|
|
|
2004-09-09 08:01:02 +00:00
|
|
|
* Wed Mar 13 2002 Elliot Lee <sopwith@redhat.com> 3.6.3-1
|
|
|
|
- Apply various bugfix patches from the openwall people
|
|
|
|
|
|
|
|
* Tue Jan 29 2002 Elliot Lee <sopwith@redhat.com> 3.6.2-1
|
2007-01-10 14:07:27 +00:00
|
|
|
- Fix bug #55809 (include logrotate.status in "files")
|
2004-09-09 08:01:02 +00:00
|
|
|
- Fix bug #58328 (incorrect error detection when reading state file)
|
|
|
|
- Allow 'G' size specifier from bug #57242
|
|
|
|
|
|
|
|
* Mon Dec 10 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- noreplace config file
|
|
|
|
|
|
|
|
* Wed Nov 28 2001 Preston Brown <pbrown@redhat.com> 3.6-1
|
|
|
|
- patch from Alexander Kourakos <awk@awks.org> to stop the shared
|
|
|
|
postrotate/prerotate scripts from running if none of the log(s) need
|
|
|
|
rotating. All log files are now checked for rotation in one batch,
|
|
|
|
rather than sequentially.
|
|
|
|
- more fixes from Paul Martin <pm@debian.org>
|
|
|
|
|
|
|
|
* Thu Nov 8 2001 Preston Brown <pbrown@redhat.com> 3.5.10-1
|
|
|
|
- fix from paul martin <pm@debian.org> for zero-length state files
|
|
|
|
|
2004-09-09 08:00:41 +00:00
|
|
|
* Tue Sep 4 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- fix segfault when logfile is in current directory.
|
|
|
|
|
|
|
|
* Tue Aug 21 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- fix URL for source location
|
|
|
|
|
2004-09-09 08:00:38 +00:00
|
|
|
* Thu Aug 2 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- man page cleanups, check for negative rotation counts
|
|
|
|
|
2004-09-09 07:59:50 +00:00
|
|
|
* Mon Jul 2 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- more minor manpage updates (#45625)
|
|
|
|
|
|
|
|
* Thu Jun 21 2001 Preston Brown <pbrown@redhat.com> 3.5.6-1
|
|
|
|
- enable LFS support (debian bug #100810)
|
|
|
|
- quote filenames for running compress commands or pre/postrotate cmds (#21348)
|
|
|
|
- deprecate "errors" directive (see bug #16544 for explanation)
|
|
|
|
- update man page
|
|
|
|
- configurable compression command by Colm Buckley <colm@tuatha.org>
|
|
|
|
|
|
|
|
* Fri Jun 1 2001 Preston Brown <pbrown@redhat.com> 3.5.5-1
|
|
|
|
- be less strict about whitespace near filenames. Patch from Paul Martin <pm@debian.org>.
|
|
|
|
|
2004-09-09 07:59:32 +00:00
|
|
|
* Thu Jan 4 2001 Bill Nottingham <notting@redhat.com>
|
2004-09-09 07:59:50 +00:00
|
|
|
- %%defattr
|
2004-09-09 07:59:32 +00:00
|
|
|
|
|
|
|
* Wed Jan 03 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- see CHANGES
|
|
|
|
|
2004-09-09 07:59:26 +00:00
|
|
|
* Tue Aug 15 2000 Erik Troan <ewt@redhat.com>
|
|
|
|
- see CHANGES
|
|
|
|
|
|
|
|
* Sun Jul 23 2000 Erik Troan <ewt@redhat.com>
|
|
|
|
- see CHANGES
|
|
|
|
|
|
|
|
* Tue Jul 11 2000 Erik Troan <ewt@redhat.com>
|
|
|
|
- support spaces in filenames
|
|
|
|
- added sharedscripts
|
|
|
|
|
|
|
|
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
- use %%{_mandir} for man pages
|
|
|
|
|
|
|
|
* Thu Feb 24 2000 Erik Troan <ewt@redhat.com>
|
|
|
|
- don't rotate lastlog
|
|
|
|
|
|
|
|
* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
|
|
|
|
- gzipped manpages
|