~ubuntu-branches/ubuntu/quantal/logrotate/quantal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
3.7.7 -> 3.7.8
	- do not exit on status file errors
	- limit config file inclusion nesting
	- use hashes for status file handling (patch by Petr Tesarik
	  <ptesarik@suse.cz> and Leonardo Chiquitto)
	- dateformat to allow unixtime (patch by Sami Kerola
	  <kerolasa@iki.fi>)
	- manual page corrections (taken from the Debian patches by
	  Paul Martin <pm@debian.org>)

3.7.6 -> 3.7.7
	- dateformat
	- fix possible buffer overflows in strings handling
	- various minor bugfixes
	- change logInfo handling (patches by Leonardo Chiquitto)

3.7.5 -> 3.7.6
	- patches from Leonardo Chiquitto that fix compile warnings
	- examples/logrotate-default: add btmp rotation, dateext
	- update man page
	- tabooext honor wildcards
	- fix selinux support with dateext

3.7.1 -> 3.7.5
	- import Fedora patches
	- add option to use shred for deleting files, patch by
	  Peter Eckersley <pde@eff.org>
	- ignore .cfsaved files
	- bugfixes

3.7 -> 3.7.1:
	- Fix sending mails and running scripts after the 
	  system() -> execve() changes
	- Preserve file attributes when compressing files (original patch
	  by Daniel Himler)

3.6.8 -> 3.7:
	- 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

3.5.4 -> 3.6:
        - See .spec file for changes

3.5.3 -> 3.5.4:
	- %defattr(-,root,root) in specfile

3.5.2 -> 3.5.3:
        - patch /tmp file race condition problem, use mkstemp;	
	  Thanks go to Solar Designer <solar@openwall.com>

3.5 -> 3.5.2:
	- added .swp and .rpmnew to default taboo list

3.5 -> 3.5.1:
	- handle state dates in the future a bit more sanely

3.4 -> 3.5:
	- multiple file names/patterns may be given for a single entry
	- fixed mistake in when logs were uncompressed before mailing

3.3.2 -> 3.4:
	- added sharedscripts/nosharedscripts
	- added simple testbed
	- quote filenames in state file to allow proper rotation of files
	  with spaces in the name -- this changes the version number of
	  the state file!
	- ignore white space at end of line

3.3.1 -> 3.3.2:
	- don't rotate lastlog

3.3 -> 3.3.1:
	- support gzipped man pages

3.2 -> 3.3:
	- added "mailfirst" and "maillast" flags (based on Tim Wall's patch)
	- documented "extension" flag
	- "rotate 0" gives proper script and mail behavior

3.1 -> 3.2:
	- create wtmp with correct perms

3.0 -> 3.1:
	- fixed small alloca()
	- added missingok flag
	- use popt to display usage message
	- handle /some/file { } in config file

2.9 -> 3.0
	- updates for glibc 2.1

2.8 -> 2.9:
	- fixed a bug parsing lines where { immediately follows the filename
	- allow log file patterns to be placed in double quotes, which	
	  allows spaces in names
	- complain about missing log files (John Van Essen)
	
2.7 -> 2.8:
	- changes for glibc 2.1 (Cristian Gafton)

2.6 -> 2.7:
	- updated man page to include --force (Simon Mudd)
	- invoke scripts via /bin/sh rather then relying on /tmp execute
	  semantics (Philip Guenther)
	- added "extension" option for forcing a file extension after rotation
	  (Rob Hagopian)

2.5 -> 2.6:
	- added nodelaycompress flag (from Jos Vos)
	- added copytruncate, nocopytruncate flag (from Jos Vos)
	- removed umask handling; explicitly use fchmod() insteadmoved umask
	- added --force option (Simon Mudd)
	- moved /bin/mail to MAIL_COMMAND define (Simon Mudd)
	- fixed segv caused by overly long filenames
	- switched from getopt_long to popt

2.4 -> 2.5:
	- set the umask of the process to 0, letting open() create processes
	  with the proper permissions
	- added delaycompress flag (from Jos Vos)
	- fixed how old logs are finally removed when an olddir is specified
	  (Jos Vos)
	- added nomail option
	- added mail, nomail documentation to man page
	- added the tabooext directive
	- fixed problem in globbing

2.3 -> 2.4:
	- glob log names in config file
	- added ,v to taboo list
	- fixed bug w/ create parsing
	- use an int rather then a mode_t when parsing create entries as
	  sscanf requires it

2.2 -> 2.3:
	- fill in all of last rotated structure (this probable isn't
	  really necessary but it's a bit cleaner and will avoid future
	  problems);
	- fixed .spec file

2.1 -> 2.2:
	- If a file is rotated and we have no state information for it,
	  right out the current time.
	- Weekly rotation happens when the current weekday is less then
	  the weekday of the last rotation or more then a week has
	  elapsed between the last rotation and now
	- Monthly rotation happens when the current month is different
	  from the last month or the current year is different from the
	  last year
	- (these were contributed and suggested by Ronald Wahl)
	- added olddir/noolddir options
	- added ifempty/notifempty options
	- ignore nonnormal files when reading config files from a directory
	- (these were suggested and originally implemented by 
	  Henning Schmiedehausen)
	- updated the man page to reflect these changes
	- made "make install" accept PREFIX argument
	- added .spec file to tarball

2.0.2 -> 2.1:
	- Don't output state information for logs that have never been
	  rotated (better then 1900-1-0)
	- Accept 1900-1-0 as time 0
	
2.0.1 -> 2.0.2:
	- I have no idea :-(

2.0 -> 2.0.1:
	- ignore files in included directories which end with ~, .rpmorig, or
	  .rpmsave