forked from pool/logrotate
This commit is contained in:
parent
6f31d348ec
commit
2507ecb4d6
@ -1,16 +1,9 @@
|
|||||||
--- ./examples/logrotate-default.orig 2007-08-29 09:19:36.000000000 +0200
|
--- examples/logrotate-default
|
||||||
+++ ./examples/logrotate-default 2008-08-22 16:10:24.000000000 +0200
|
+++ examples/logrotate-default
|
||||||
@@ -17,19 +17,27 @@
|
@@ -14,22 +14,30 @@ dateext
|
||||||
# RPM packages drop log rotation information into this directory
|
# uncomment this if you want your log files compressed
|
||||||
include /etc/logrotate.d
|
#compress
|
||||||
|
|
||||||
-# no packages own wtmp and btmp -- we'll rotate them here
|
|
||||||
-/var/log/wtmp {
|
|
||||||
- monthly
|
|
||||||
- create 0664 root utmp
|
|
||||||
- minsize 1M
|
|
||||||
- rotate 1
|
|
||||||
-}
|
|
||||||
+# comment these to switch compression to use gzip or another
|
+# comment these to switch compression to use gzip or another
|
||||||
+# compression scheme
|
+# compression scheme
|
||||||
+compresscmd /usr/bin/bzip2
|
+compresscmd /usr/bin/bzip2
|
||||||
@ -18,14 +11,24 @@
|
|||||||
+
|
+
|
||||||
+# former versions had to have the compressext set accordingly
|
+# former versions had to have the compressext set accordingly
|
||||||
+#compressext .bz2
|
+#compressext .bz2
|
||||||
|
+
|
||||||
|
# RPM packages drop log rotation information into this directory
|
||||||
|
include /etc/logrotate.d
|
||||||
|
|
||||||
|
# no packages own wtmp and btmp -- we'll rotate them here
|
||||||
|
-/var/log/wtmp {
|
||||||
|
- monthly
|
||||||
|
- create 0664 root utmp
|
||||||
|
- minsize 1M
|
||||||
|
- rotate 1
|
||||||
|
-}
|
||||||
|
-
|
||||||
-/var/log/btmp {
|
-/var/log/btmp {
|
||||||
- missingok
|
- missingok
|
||||||
- monthly
|
- monthly
|
||||||
- create 0600 root utmp
|
- create 0600 root utmp
|
||||||
- rotate 1
|
- rotate 1
|
||||||
-}
|
-}
|
||||||
+# no packages own wtmp and btmp -- we'll rotate them here
|
|
||||||
+#/var/log/wtmp {
|
+#/var/log/wtmp {
|
||||||
+# monthly
|
+# monthly
|
||||||
+# create 0664 root utmp
|
+# create 0664 root utmp
|
||||||
@ -41,8 +44,8 @@
|
|||||||
+#}
|
+#}
|
||||||
|
|
||||||
# system-specific logs may be also be configured here.
|
# system-specific logs may be also be configured here.
|
||||||
--- ./examples/logrotate.wtmp.orig 2008-08-22 16:15:57.000000000 +0200
|
--- examples/logrotate.wtmp
|
||||||
+++ ./examples/logrotate.wtmp 2008-08-22 16:01:12.000000000 +0200
|
+++ examples/logrotate.wtmp
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
+/var/log/wtmp {
|
+/var/log/wtmp {
|
||||||
+ compress
|
+ compress
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 10 19:48:49 CET 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix compresscmd default.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 21 15:16:03 CEST 2008 - puzel@suse.cz
|
Tue Oct 21 15:16:03 CEST 2008 - puzel@suse.cz
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ BuildRequires: popt-devel
|
|||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
Summary: Rotate, Compress, Remove, and Mail System Log Files
|
Summary: Rotate, Compress, Remove, and Mail System Log Files
|
||||||
Version: 3.7.7
|
Version: 3.7.7
|
||||||
Release: 9
|
Release: 10
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
@ -99,6 +99,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace)/etc/logrotate.d/wtmp
|
%config(noreplace)/etc/logrotate.d/wtmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 10 2008 schwab@suse.de
|
||||||
|
- Fix compresscmd default.
|
||||||
* Tue Oct 21 2008 puzel@suse.cz
|
* Tue Oct 21 2008 puzel@suse.cz
|
||||||
- logrotate-3.7.7-hashes.patch (bnc#415072)
|
- logrotate-3.7.7-hashes.patch (bnc#415072)
|
||||||
* Tue Sep 30 2008 puzel@suse.cz
|
* Tue Sep 30 2008 puzel@suse.cz
|
||||||
@ -161,7 +163,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- fix else case in maxage patch (thanks to pvrabec)
|
- fix else case in maxage patch (thanks to pvrabec)
|
||||||
* Tue Jul 26 2005 ro@suse.de
|
* Tue Jul 26 2005 ro@suse.de
|
||||||
- added noTMPDIR and selinux patches
|
- added noTMPDIR and selinux patches
|
||||||
* Fri May 20 2005 ro@suse.de
|
* Thu May 19 2005 ro@suse.de
|
||||||
- update to 3.7.1
|
- update to 3.7.1
|
||||||
* Wed Apr 20 2005 ro@suse.de
|
* Wed Apr 20 2005 ro@suse.de
|
||||||
- cron-script: give some more details when things fail
|
- cron-script: give some more details when things fail
|
||||||
@ -210,7 +212,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- dropped insserv from prereq (not used)
|
- dropped insserv from prereq (not used)
|
||||||
* Mon Aug 05 2002 kukuk@suse.de
|
* Mon Aug 05 2002 kukuk@suse.de
|
||||||
- Add rm and mv to PreRequires
|
- Add rm and mv to PreRequires
|
||||||
* Wed Jul 31 2002 ro@suse.de
|
* Tue Jul 30 2002 ro@suse.de
|
||||||
- fixed typo in specfile
|
- fixed typo in specfile
|
||||||
- added comment in config-file about bzip2 usage
|
- added comment in config-file about bzip2 usage
|
||||||
* Mon Jul 29 2002 ro@suse.de
|
* Mon Jul 29 2002 ro@suse.de
|
||||||
@ -226,9 +228,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Fix post-install script for the case that there is no rc.config
|
- Fix post-install script for the case that there is no rc.config
|
||||||
* Mon Jun 24 2002 ro@suse.de
|
* Mon Jun 24 2002 ro@suse.de
|
||||||
- fixed squid log paths (#16557)
|
- fixed squid log paths (#16557)
|
||||||
* Thu May 09 2002 ro@suse.de
|
* Wed May 08 2002 ro@suse.de
|
||||||
- uucp-logfiles are handled by own config
|
- uucp-logfiles are handled by own config
|
||||||
* Tue Mar 19 2002 ro@suse.de
|
* Mon Mar 18 2002 ro@suse.de
|
||||||
- don't rotate any file for /var/log/news.*
|
- don't rotate any file for /var/log/news.*
|
||||||
* Fri Mar 01 2002 ro@suse.de
|
* Fri Mar 01 2002 ro@suse.de
|
||||||
- don't overwrite logfiles with dateext if run more than once
|
- don't overwrite logfiles with dateext if run more than once
|
||||||
|
Loading…
x
Reference in New Issue
Block a user