summaryrefslogtreecommitdiff
path: root/sysutils/logrotate
diff options
context:
space:
mode:
authornils <nils>2015-03-11 21:34:16 +0000
committernils <nils>2015-03-11 21:34:16 +0000
commit9f4d5c93d617221800633566ddef22b2b44c19f8 (patch)
treed95da5fa3bede551d0b30702d40ef7bf1f0ff8a6 /sysutils/logrotate
parent9277547a12c355a26ddf40743e2cb6d2be59b941 (diff)
downloadpkgsrc-9f4d5c93d617221800633566ddef22b2b44c19f8.tar.gz
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.
Diffstat (limited to 'sysutils/logrotate')
-rw-r--r--sysutils/logrotate/Makefile6
-rw-r--r--sysutils/logrotate/distinfo10
-rw-r--r--sysutils/logrotate/patches/patch-examples_logrotate-default6
3 files changed, 11 insertions, 11 deletions
diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile
index 15ccefbadc4..568d34a5418 100644
--- a/sysutils/logrotate/Makefile
+++ b/sysutils/logrotate/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.8 2014/01/27 18:41:15 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2015/03/11 21:34:16 nils Exp $
-DISTNAME= logrotate-3.8.7
+DISTNAME= logrotate-3.8.9
CATEGORIES= sysutils
MASTER_SITES= https://fedorahosted.org/releases/l/o/logrotate/
-MAINTAINER= pkgsrc-users@NetBSD.org
+MAINTAINER= nils@NetBSD.org
HOMEPAGE= https://fedorahosted.org/logrotate/
COMMENT= Daemon to rotate, compress, remove and mail system log files
LICENSE= gnu-gpl-v2
diff --git a/sysutils/logrotate/distinfo b/sysutils/logrotate/distinfo
index ebc910054e0..d2af3785018 100644
--- a/sysutils/logrotate/distinfo
+++ b/sysutils/logrotate/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2013/10/30 20:16:25 gls Exp $
+$NetBSD: distinfo,v 1.8 2015/03/11 21:34:16 nils Exp $
-SHA1 (logrotate-3.8.7.tar.gz) = dcf2fd55a8f76c4f7b8a03fc019a8b96f80fe300
-RMD160 (logrotate-3.8.7.tar.gz) = 24e00e1ecccb624f7807f31fba9032553c80a188
-Size (logrotate-3.8.7.tar.gz) = 58898 bytes
-SHA1 (patch-examples_logrotate-default) = df9671836392d99f2b31116aee18e51996dee173
+SHA1 (logrotate-3.8.9.tar.gz) = 60016413ec2133945bd3b71cbd8274b31686ada4
+RMD160 (logrotate-3.8.9.tar.gz) = 885d2a2e9c4dec531c51db5d562c6103854ab9db
+Size (logrotate-3.8.9.tar.gz) = 77408 bytes
+SHA1 (patch-examples_logrotate-default) = 57fc602caa5eeaa830f5d2dc0667e11330bcd1e8
SHA1 (patch-examples_logrotate.cron) = 02981cb2b49e3f3f500fcb3db9b5dcb5fe62bddc
SHA1 (patch-logrotate.8) = 0bf7d9cfbc2f5dfff42a82b523926b9c8d0362a0
diff --git a/sysutils/logrotate/patches/patch-examples_logrotate-default b/sysutils/logrotate/patches/patch-examples_logrotate-default
index 48d5a3a3df7..e94203ce493 100644
--- a/sysutils/logrotate/patches/patch-examples_logrotate-default
+++ b/sysutils/logrotate/patches/patch-examples_logrotate-default
@@ -1,8 +1,8 @@
-$NetBSD: patch-examples_logrotate-default,v 1.2 2013/01/10 18:16:29 wiz Exp $
+$NetBSD: patch-examples_logrotate-default,v 1.3 2015/03/11 21:34:16 nils Exp $
Add pkgsrc paths compatibility.
---- examples/logrotate-default.orig 2011-08-31 12:39:04.000000000 +0000
+--- examples/logrotate-default.orig 2014-10-16 11:12:35.000000000 +0000
+++ examples/logrotate-default
@@ -14,22 +14,7 @@ dateext
# uncomment this if you want your log files compressed
@@ -15,7 +15,7 @@ Add pkgsrc paths compatibility.
-/var/log/wtmp {
- monthly
- create 0664 root utmp
-- minsize 1M
+- minsize 1M
- rotate 1
-}
-