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