pkgsrc/sysutils/logrotate/patches/patch-examples_logrotate-default
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

31 lines
800 B
Text

$NetBSD: patch-examples_logrotate-default,v 1.2 2013/01/10 18:16:29 wiz Exp $
Add pkgsrc paths compatibility.
--- examples/logrotate-default.orig 2011-08-31 12:39:04.000000000 +0000
+++ examples/logrotate-default
@@ -14,22 +14,7 @@ dateext
# uncomment this if you want your log files compressed
#compress
-# RPM packages drop log rotation information into this directory
-include /etc/logrotate.d
-
-# no packages own wtmp and btmp -- we'll rotate them here
-/var/log/wtmp {
- monthly
- create 0664 root utmp
- minsize 1M
- rotate 1
-}
-
-/var/log/btmp {
- missingok
- monthly
- create 0600 root utmp
- rotate 1
-}
+# Packages drop log rotation information into this directory
+include @PKG_SYSCONFDIR@/logrotate.d
# system-specific logs may be also be configured here.