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