Commit graph

8 commits

Author SHA1 Message Date
nils
dd86e6e3e3 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-08-03 12:49:36 +00:00
nils
3658cb1ecd 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)
2016-02-24 20:50:29 +00:00
nils
6faa5cf2e1 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.
2015-06-29 12:28:55 +00:00
nils
ebba4292db Updated to version 3.8.9.
Changelog is :
3.8.8 -> 3.8.9
- Add new directive "createolddir" and "nocreateolddir". These directives
  can be used to create the directory specified by olddir with particular
  "mode", "owner" and "group".
- Continue with rotation even when first log from logset is removed
  during the rotation.
- Fix crash on BSD systems introduced in 3.8.8 caused by different qsort_r
  function. Function qsort is now used instead.
- Fix potential buffer overflow in usage of strncat function.
- Fix compilation with musl-libc.
- Add experimental 'renamecopy' directive to allow 'olddir' on different
  physical device. See the "man logrotate" for more information.

3.8.7 -> 3.8.8
- Add support for building using autotools/automake. Using "./autogen.sh",
  "./configure" and "make" is now preferred way how to build logrotate.
  Old Makefile remains available, but it is deprecated and will be removed
  in the future. Please report any problem related to new build system.
- Add support for systems which do not support fork (use vfork instead)
  and madvise.
- Fix bug when wrong log file has been removed in case of dateext and
  dateformat %d-%m-%Y.
- Do not expect that the name of root account is 'root'.
- Do not stop rotation with an error when olddir and log file
  are on different devices and copy or copytruncate is used.
- Return an error code when parent directory of log does not exist,
  "su" directive is not used, logrotate is running as root and missingok
  is not specified. [vcizek]
- Prepend error printed by compression program with the log name even when
  the compression program exits with zero exit code.

pkgsrc change : took over maintainership.
2015-03-11 21:34:16 +00:00
obache
0c48e30cd9 Update logrotate to 3.8.5.
Based on PR pkg/48073 by Nils Ratusznik.
(drop FETCH_USING=curl, put distfile on ftp.n.o).

3.8.4 -> 3.8.5
	- 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().
2013-07-28 11:21:23 +00:00
dillo
9aa8cb3d6c Fix path to default status file. 2013-02-20 09:20:28 +00:00
wiz
f1a040bd40 Update to 3.8.2, from Nils Ratusznik via pkgsrc-wip.
Changes:
- show error and ignore config if '{' is not present after log files declaration
- support whitespaces in compressoptions directive
- support for tilde expansion in config files
- fixed mail sending for 'mailfirst', 'dateext' and 'delaycompress' combination
- do not use gzip/gunzip from /usr/local on Solaris
- Do not include alloca.h on NetBSD, since alloca() is declared in stdlib.h there
2013-01-10 18:16:29 +00:00
sbd
8ad869a17b Add logrotate-3.8.1 as sysutils/logrotate
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.
2012-03-06 04:53:24 +00:00