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

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


Branch: CURRENT, Version: 3.11.0nb1, Package name: logrotate-3.11.0nb1, 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:

SHA1: 6891c1024320d211386cdd400668435db47e4c18
RMD160: 6aec3505fde3b59a1ca95c0f9d66747884417bee
Filesize: 172.352 KB

Version history: (Expand)


CVS history: (Expand)


   2017-03-06 13:59:53 by Filip Hajny | Files touched by this commit (7)
Log message:
* Fix compilation with GCC, based on https://github.com/joyent/pkgsrc/pull/470.
* Use proper Github support, use tagged releases.
* Use upstream install target.
* Cleanup and legibility.
   2017-01-26 21:12:32 by Nils Ratusznik | Files touched by this commit (7) | Package updated
Log message:
Updated to version 3.11.0.

Upstream Changelog :
- Add taboopat configuration directive to exclude configuration
  files based on globing patterns.
- Allow to change default state path at build time
  (via the --with-state-file-path option of the configure script).
- Automatically determine resulting file suffix based on
  the compression program in use.
- Preserve SELinux context with compress and sharedscripts properly.
- Rename already existing output files to avoid collisions.
- Import systemd service and timer for logrotate from openSUSE.
- Introduce the addextension configuration directive.
- Create CONTRIBUTING.md with instructions for logrotate contributors.
- Maintain ChangeLog.md instead of the legacy CHANGES file.
- Make createolddir configuration directive preserve sticky bit.
- Add minage configuration directive to specify minimum file age to rotate.
- Avoid using local implementation of strndup() and asprintf() if
  these functions are available at build time.
- Fix parsing of su directive to accept usernames starting with
  numeric symbols.
- Make sure that 64-bit file offsets are used on 32-bit systems.

Pkgsrc changes :
- due to (not so) new compilation system, and recent changes for the
  manpage, patch-logrotate.8 is now unnecessary and removed ;
- fixed compilation issue in config.c about libgen.h ;
- updated existing patches to work with new version.
   2016-08-03 14:49:36 by Nils Ratusznik | Files touched by this commit (3) | Package updated
Log message:
Updated to version 3.10.0. Changelog :
3.9.2 -> 3.10.0 :
- Legacy Makefile renamed to Makefile.legacy, will be removed eventually.
- Fix 'make dist' and 'make distcheck' to produce a usable release tarball.
- Fix 'olddir' usage with wildcard in the middle of path in the pattern
  definition when the pattern did not match any log file.
- Remove half-rotated files when rotation of particular log file is skipped
  because of an error during copy or compression.

It's not in the official changelog, but compilation errors also have been
fixed for NetBSD, so patches/patch-config.c is not necessary anymore.
   2016-06-09 08:23:41 by Thomas Klausner | Files touched by this commit (38)
Log message:
Fix HOMEPAGE to be copy'n'pastable.
   2016-02-24 22:06:11 by Nils Ratusznik | Files touched by this commit (1)
Log message:
fixed silly typo
   2016-02-24 21:50:29 by Nils Ratusznik | Files touched by this commit (5) | Package updated
Log message:
Updated to version 3.9.2. Changelog :
3.9.1 -> 3.9.2
- Upstream moved to GitHub: https://github.com/logrotate/logrotate.
- Add support for %M, %S and %V in "dateext" directive.
- Fix bad filename in subject of email when "compress" and \ 
"maillast"
  is used.
- Allow rotating files created before 1996.
- Fix compilation errors on NetBSD caused by
  "array subscript has type 'char' in config.c".
- Fix matching subdirectories on BSD systems for patterns like "*/log"
  in situation where logrotate tried to match "foo/log" even when
  "foo" has not been a directory.
- Fix logging dates in debug messages.
- Remove state file entries for logs which do not exist and
  have not been rotated for more than a year.
- Fix poor performance with big state file.
- Support logging to syslog by using '-l syslog'.
- Allow running test-suite using dash.

Pkgsrc changes :
- patch for Makefile.am removed thanks to fixes for compilation errors
- however, some compilation errors with the same cause were still there,
  so a patch for config.c is neccessary
  (patch merged upstream, will be in next release)
   2015-11-04 02:32:42 by Alistair G. Crooks | Files touched by this commit (499)
Log message:
Add SHA512 digests for distfiles for sysutils category

Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-29 14:28:55 by Nils Ratusznik | Files touched by this commit (3) | Package updated
Log message:
Updated to version 3.9.1. Changelog :
3.9.0 -> 3.9.1
	- Fix off-by-one error which can lead to crash when copytruncate is used.
3.8.9 -> 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.

PKgsrc changes :
Switched from old Makefile to new building procedure, using autogen,
configure and (g)make, which was introduced in version 3.8.8.
The new patch file contains a workaround to get the new building procedure
working.