mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
* Process to fix paths in script and configuration files are simplified. * Now man page of logcheck is generated from DocBook SGML source file by using textproc/docbook-to-man. * Sort pkg-plist. * Add forgotten files/patch-etc_logcheck.logfiles. * Update files/patch-etc_logcheck.conf * Move backup file cleaning up from post-patch to do-build so 'make makepatch' works as expected. PR: 220609 Submitted by: yasu@utahime.org (maintainer)
16 lines
753 B
Makefile
16 lines
753 B
Makefile
--- debian/logcheck.cron.d.orig 2017-01-25 21:08:04 UTC
|
|
+++ debian/logcheck.cron.d
|
|
@@ -1,9 +1,5 @@
|
|
-# /etc/cron.d/logcheck: crontab entries for the logcheck package
|
|
-
|
|
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|
+# crontab entries for the logcheck package
|
|
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/sbin:%%PREFIX%%/bin
|
|
MAILTO=root
|
|
-
|
|
-@reboot logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -R; fi
|
|
-2 * * * * logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi
|
|
-
|
|
-# EOF
|
|
+@reboot if [ -x %%PREFIX%%/sbin/logcheck ]; then nice -n10 %%PREFIX%%/sbin/logcheck -R; fi
|
|
+2 * * * * if [ -x %%PREFIX%%/sbin/logcheck ]; then nice -n10 %%PREFIX%%/sbin/logcheck; fi
|