./sysutils/logrotate, Daemon to rotate, compress, remove and mail system log files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.18.0, Package name: logrotate-3.18.0, Maintainer: nils

The logrotate utility is designed to simplify the administration of
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,
logrotate runs as a daily cron job.


Required to run:
[devel/popt]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 219.603 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2021-01-08 09:58:30 by Havard Eidnes | Files touched by this commit (3)
Log message:
Update logrotate to version 3.18.0.

Pkgsrc changes:
 * Remove patch integrated upstream.
 * Update checksums.

Upstream changes:

[3.18.0] - 2021-01-08
=====================
  - allow UIDs and GIDs to be specified numerically (#217)
  - add support for Zstandard compressed files (#355)
  - make `delaycompress` not to fail with `rotate 0` (#341)
   2020-10-08 09:50:51 by Thomas Klausner | Files touched by this commit (2)
Log message:
logrotate: fix build on NetBSD

(no secure_getenv function)
   2020-10-01 22:14:56 by Nils Ratusznik | Files touched by this commit (3)
Log message:
Updated sysutils/logrotate to 3.17.0.
Upstream changes :
* lock state file to prevent parallel execution of logrotate
* add .bak extension to default taboo list
* allow to pass a home-relative path to include
* switch_user_permanently: skip switchback check if switched to root
* logrotate.service: enable ProtectClock to restrict setting of clock
* delete old logs hit by maxage regardless of dateext

Pkgsrc changes :
* included a patch made after release in order to get logrotate compiled on *BSD :
  https://github.com/logrotate/logrotate/pull/344
   2020-04-21 19:01:43 by Nils Ratusznik | Files touched by this commit (3)
Log message:
Update sysutils/logroate to 3.16.0.

Upstream changelog:
* fix compilation with gcc-10, which defaults to -fno-common (#288)
* reduce number of open() operations on state file (#282)
* validate user/group given to the su directive early (#276)
* add hardening options to systemd unit file in examples (#274, #291)
* fix crash of logrotate on invalid configuration with include (#271)
* fix heap buffer overflow on too long logfile extension (#270)

Pkgsrc changes:
* a systemd example service file is added to the examples;
* a btmp and wtmp example configurations files are also added, but only
btmp is copied alongside logrotate.conf: while the 2 config files were at first
present in logrotate.conf, only btmp is present on NetBSD ;
* the GITHUB_RELEASE variable is moved for pkglint compliance.
   2019-03-20 13:29:37 by Havard Eidnes | Files touched by this commit (3)
Log message:
Back out suggested fix to ship args to scripts.
It was not accepted upstream; use "$@" in the script section to ship args.
We'll see if a documentation improvement can be suggested instead.
Bump PKGREVISION.
   2019-03-20 11:34:11 by Havard Eidnes | Files touched by this commit (6)
Log message:
Update logrotate to version 3.15.0.

Pkgsrc changes:
 * Track rename of logrotate-default to logrotate.conf
 * Add a fix so that the log file name is actually passed
   to the various script hooks(!)
   https://github.com/logrotate/logrotate/pull/245

Upstream changes:

3.15.0
======
 * timer unit: change trigger fuzz from 12h to 1h (#230)
 * service unit: only run if /var/log is mounted (#230)
 * preserve fractional part of timestamps when compressing (#226)
 * re-indent source code using spaces only (#188)
 * minage: avoid rounding issue while comparing the amount of seconds (#36)
 * never remove old log files if rotate -1 is specified (#202)
 * return non-zero exit status if a config file contains an error (#199)
 * make copytruncate work with rotate 0 (#191)
 * warn user if both size and the time interval options are used (#192)
 * pass rotated log file name as the 2nd argument of the postrotate
   script when sharedscript is not enabled (#193)
 * rename logrotate-default to logrotate.conf (#187)

3.14.0
======
 * make configure show support status for SELinux and ACL at the end (#179)
 * make logrotate build again on FreeBSD (#178)
 * move wtmp and btmp definitions from logrotate.conf to
 * separate configuration files in logrotate.d (#168)
 * print a warning about logrotate doing nothing when -d is used (#165)
 * do not reject executable config files (#166)
 * add hardening options to logrotate.service in examples (#143)
 * fix spurious compressor failure when using su and compress (#169)
 * keep logrotate version in .tarball-version in release tarballs (#156)
 * introduce the hourago configuration directive (#159)
 * ignore empty patterns in tabooext to avoid exclusion of everything (#160)
 * properly report skipped test cases instead of pretending success

3.13.0
======
 * make distribution tarballs report logrotate version properly (RHBZ#1500264)
 * make (un)compress work even if stdin and/or stdout are closed (#154)
 * remove -s from DEFAULT_MAIL_COMMAND and improve its documenation (#152)
 * uncompress logs before mailing them even if delaycompress is enabled (#151)
 * handle unlink of a non-existing log file as a warning only (#144)
 * include compile-time options in the output of logrotate --version (#145)
 * make logrotate --version print to stdout instead of stderr (#145)
 * flush write buffers before syncing state file (#148)
 * specify (un)compress utility explicitly in tests (#137)
 * enable running tests in parallel (#132)
 * explicitly map root UID/GID to 0 on Cygwin (#133)
 * add .dpkg-bak and .dpkg-del to default tabooext list (#134)

3.12.3
======
 * 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)

3.12.2
======
 * build fixes related to -Werror (#119) and -Werror=format= (#108)
 * configure --enable-werror now controls use of the -Werror flag (#123)

3.12.1
======
 * Included forgotten build-aux directory in release tarballs.

3.12.0
======
 * 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)
 * Makefile.legacy has been removed. (#103)
 * config.h is now generated by autotools. (#102 and #103)
 * 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)