pkgsrc/sysutils/logrotate/patches/patch-examples_logrotate-default

32 lines
800 B
Text
Raw Normal View History

$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.