* 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
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=63
- update to 3.9.1
* 3.9.1
- Fix off-by-one error which can lead to crash when copytruncate
is used.
* 3.9.0
- Fix crash when using long dateformat. [nmerdan]
- Add support for %H dateformat. [czchen]
- Fix regression introduced in 3.8.9 when when rotating multiple
logs when one of them is missing.
- In the debug mode, do not skip the code-path which handles the
case when the last rotation does not exist. [Sergey Vidishev]
- Show more precise description when "log does not need rotating".
- Add new -l option to log verbose output to file. The file is
overwritten on every logrotate execution.
- Allow rotation of sparse files with copytruncate.
* update logrotate-addextension.patch
- use spec-cleaner
- remove unused PreReq tags
OBS-URL: https://build.opensuse.org/request/show/313088
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=45
- update to 3.8.7, fix bnc#849436
- Changelog 3.8.7:
* Fixed --force/-f option handling together with "size" directive
(3.8.5 regression).
* Use "logrotate_tmp_t" context for SELinux tests and if this
context does not exist, skip SELinux related tests.
- Changelog 3.8.6
* Fixed memory corruption caused by rotation directory which
does not exist with "sharedscripts" together with "prerotate"
script.
OBS-URL: https://build.opensuse.org/request/show/206232
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=30
- update to 3.8.5
* dropped logrotate-3.7.9-compressoptions.patch (upstream)
* refreshed other patches
Changelog:
- Improved rotation during daylight saving time and between timezone
changes.
- Fixed ACL setting problem caused by ext3 erroneously reporting ENOSYS
instead of ENOSUP.
- Do not continue with rotation if state file is corrupted.
- Make logrotate.status creation atomic.
- Allow "hourly" rotation. See manpage for more information.
- Use "/bin/echo" in tests. Fixes tests execution in Dash.
- Do no try to parse config files bigger than 16MB.
- Improved manpage consistency and formatting.
- Fix race condition between acl_set_fd() and fchmod().
- Added --version command line option
- Disable ACL tests if logrotate is not compiled WITH_ACL support or if
ACLs are not supported by the system running tests
- Disable SELinux tests if logrotate is not compiled WITH_SELINUX support
or if SELinux is not supported by the system running tests
- Fixed bug which prevented skipping particular log file config
if the config contained errors.
- Fixed skipping of configs containing firstaction/lastaction scripts
with '}' character in case of error before these scripts.
- Support also 'K' unit for *size directives.
- Added preremove option to let admin to do something with the old logs
before they are removed by logrotate.
- Fixed possible loop in tabooext parsing.
- Move code to set SELinux context before compressLogFile calls to create
compressed log files with the proper context.
OBS-URL: https://build.opensuse.org/request/show/184333
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=24
- update to 3.8.1
- dropped CVE patches as they were merged to upstream
- changelog
- fixed 1 memory leak in prerotateSingleLog
- do not redirect logrotate errors to /dev/null in cron script
- fixed "size" directive parsing
- handle situation when acl_get_fd is supported, but acl_set_fd is not
- added "maxsize" directive (see man page)
- added "dateyesterday" option (see man page)
- fixed crash when config file had exactly 4096*N bytes
- added WITH_ACL make option to link against -lacl and preserve ACLs
during rotation
- added "su" option to define user/group for rotation. Logrotate now
skips directories which are world writable or writable by group
which is not "root" unless "su" directive is used.
- fixed CVE-2011-1098: race condition by creation of new files
- fixed possible shell injection when using "shred" directive (CVE-2011-1154)
- fixed escaping of file names within 'write state' action (CVE-2011-1155)
- better 'size' directive description
- fixed possible buffer-overflow when reading config files
OBS-URL: https://build.opensuse.org/request/show/81574
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=18