freebsd-ports/security/logcheck/files/patch-debian__logcheck.cron.d
Greg Larkin 6dd443c9f7 - Updated to 1.2.54
- Replaced hard-coded paths in pkg-plist with variables
- Cleaned up installation commands
- Moved crontab file to EXAMPLESDIR and updated pkg-install.in
  to handle port knob NOPORTEXAMPLES
- Regenerated patch files with "make makepatch"

PR:		ports/122842
Submitted by:	Cezary Morga <cm at therek dot net>
Approved by:	beech (mentor, implicit)
2008-09-07 01:31:56 +00:00

16 lines
805 B
Makefile

--- ./debian/logcheck.cron.d.orig 2006-08-06 19:10:49.000000000 -0400
+++ ./debian/logcheck.cron.d 2008-09-06 19:11:28.000000000 -0400
@@ -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:/usr/local/sbin:/usr/local/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 /usr/local/sbin/logcheck ]; then nice -n10 /usr/local/sbin/logcheck -R; fi
+2 * * * * if [ -x /usr/local/sbin/logcheck ]; then nice -n10 /usr/local/sbin/logcheck; fi