Wed Mar 11 21:34:16 2015 UTC ()
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.


(nils)
diff -r1.8 -r1.9 pkgsrc/sysutils/logrotate/Makefile
diff -r1.7 -r1.8 pkgsrc/sysutils/logrotate/distinfo
diff -r1.2 -r1.3 pkgsrc/sysutils/logrotate/patches/patch-examples_logrotate-default

cvs diff -r1.8 -r1.9 pkgsrc/sysutils/logrotate/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/logrotate/Makefile 2014/01/27 18:41:15 1.8
+++ pkgsrc/sysutils/logrotate/Makefile 2015/03/11 21:34:16 1.9
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1# $NetBSD: Makefile,v 1.8 2014/01/27 18:41:15 wiz Exp $ 1# $NetBSD: Makefile,v 1.9 2015/03/11 21:34:16 nils Exp $
2 2
3DISTNAME= logrotate-3.8.7 3DISTNAME= logrotate-3.8.9
4CATEGORIES= sysutils 4CATEGORIES= sysutils
5MASTER_SITES= https://fedorahosted.org/releases/l/o/logrotate/ 5MASTER_SITES= https://fedorahosted.org/releases/l/o/logrotate/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= nils@NetBSD.org
8HOMEPAGE= https://fedorahosted.org/logrotate/ 8HOMEPAGE= https://fedorahosted.org/logrotate/
9COMMENT= Daemon to rotate, compress, remove and mail system log files 9COMMENT= Daemon to rotate, compress, remove and mail system log files
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12USE_TOOLS+= gmake gzip:run gunzip:run mail:run 12USE_TOOLS+= gmake gzip:run gunzip:run mail:run
13NO_EXPORT_CPP= yes 13NO_EXPORT_CPP= yes
14 14
15CFLAGS+= -DSTATEFILE=\"${VARBASE}/db/logrotate.status\" 15CFLAGS+= -DSTATEFILE=\"${VARBASE}/db/logrotate.status\"
16CFLAGS+= -DDEFAULT_MAIL_COMMAND=\"${MAIL_CMD:Q}\" 16CFLAGS+= -DDEFAULT_MAIL_COMMAND=\"${MAIL_CMD:Q}\"
17CFLAGS+= -DCOMPRESS_COMMAND=\"${GZIP_CMD:[1]:Q}\" 17CFLAGS+= -DCOMPRESS_COMMAND=\"${GZIP_CMD:[1]:Q}\"
18CFLAGS+= -DUNCOMPRESS_COMMAND=\"${GUNZIP_CMD:[1]:Q}\" 18CFLAGS+= -DUNCOMPRESS_COMMAND=\"${GUNZIP_CMD:[1]:Q}\"
19 19
20MAKE_ENV+= RPM_OPT_FLAGS=${CFLAGS:Q} 20MAKE_ENV+= RPM_OPT_FLAGS=${CFLAGS:Q}

cvs diff -r1.7 -r1.8 pkgsrc/sysutils/logrotate/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/logrotate/distinfo 2013/10/30 20:16:25 1.7
+++ pkgsrc/sysutils/logrotate/distinfo 2015/03/11 21:34:16 1.8
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.7 2013/10/30 20:16:25 gls Exp $ 1$NetBSD: distinfo,v 1.8 2015/03/11 21:34:16 nils Exp $
2 2
3SHA1 (logrotate-3.8.7.tar.gz) = dcf2fd55a8f76c4f7b8a03fc019a8b96f80fe300 3SHA1 (logrotate-3.8.9.tar.gz) = 60016413ec2133945bd3b71cbd8274b31686ada4
4RMD160 (logrotate-3.8.7.tar.gz) = 24e00e1ecccb624f7807f31fba9032553c80a188 4RMD160 (logrotate-3.8.9.tar.gz) = 885d2a2e9c4dec531c51db5d562c6103854ab9db
5Size (logrotate-3.8.7.tar.gz) = 58898 bytes 5Size (logrotate-3.8.9.tar.gz) = 77408 bytes
6SHA1 (patch-examples_logrotate-default) = df9671836392d99f2b31116aee18e51996dee173 6SHA1 (patch-examples_logrotate-default) = 57fc602caa5eeaa830f5d2dc0667e11330bcd1e8
7SHA1 (patch-examples_logrotate.cron) = 02981cb2b49e3f3f500fcb3db9b5dcb5fe62bddc 7SHA1 (patch-examples_logrotate.cron) = 02981cb2b49e3f3f500fcb3db9b5dcb5fe62bddc
8SHA1 (patch-logrotate.8) = 0bf7d9cfbc2f5dfff42a82b523926b9c8d0362a0 8SHA1 (patch-logrotate.8) = 0bf7d9cfbc2f5dfff42a82b523926b9c8d0362a0

cvs diff -r1.2 -r1.3 pkgsrc/sysutils/logrotate/patches/Attic/patch-examples_logrotate-default (expand / switch to unified diff)

--- pkgsrc/sysutils/logrotate/patches/Attic/patch-examples_logrotate-default 2013/01/10 18:16:29 1.2
+++ pkgsrc/sysutils/logrotate/patches/Attic/patch-examples_logrotate-default 2015/03/11 21:34:16 1.3
@@ -1,31 +1,31 @@ @@ -1,31 +1,31 @@
1$NetBSD: patch-examples_logrotate-default,v 1.2 2013/01/10 18:16:29 wiz Exp $ 1$NetBSD: patch-examples_logrotate-default,v 1.3 2015/03/11 21:34:16 nils Exp $
2 2
3Add pkgsrc paths compatibility. 3Add pkgsrc paths compatibility.
4 4
5--- examples/logrotate-default.orig 2011-08-31 12:39:04.000000000 +0000 5--- examples/logrotate-default.orig 2014-10-16 11:12:35.000000000 +0000
6+++ examples/logrotate-default 6+++ examples/logrotate-default
7@@ -14,22 +14,7 @@ dateext 7@@ -14,22 +14,7 @@ dateext
8 # uncomment this if you want your log files compressed 8 # uncomment this if you want your log files compressed
9 #compress 9 #compress
10  10
11-# RPM packages drop log rotation information into this directory 11-# RPM packages drop log rotation information into this directory
12-include /etc/logrotate.d 12-include /etc/logrotate.d
13- 13-
14-# no packages own wtmp and btmp -- we'll rotate them here 14-# no packages own wtmp and btmp -- we'll rotate them here
15-/var/log/wtmp { 15-/var/log/wtmp {
16- monthly 16- monthly
17- create 0664 root utmp 17- create 0664 root utmp
18- minsize 1M 18- minsize 1M
19- rotate 1 19- rotate 1
20-} 20-}
21- 21-
22-/var/log/btmp { 22-/var/log/btmp {
23- missingok 23- missingok
24- monthly 24- monthly
25- create 0600 root utmp 25- create 0600 root utmp
26- rotate 1 26- rotate 1
27-} 27-}
28+# Packages drop log rotation information into this directory 28+# Packages drop log rotation information into this directory
29+include @PKG_SYSCONFDIR@/logrotate.d 29+include @PKG_SYSCONFDIR@/logrotate.d
30  30
31 # system-specific logs may be also be configured here. 31 # system-specific logs may be also be configured here.