1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/security/logcheck/files/extra-patch-src__logtail2.in
Greg Larkin b50576c888 - Updated to 1.2.69 [1]
- Added PORTSCOUT variable
- Added patches to clean up some paths that violate hier(7)
- Switched from using logtail to logtail2 (supports rotated log files)

PR:		ports/142017
Submitted by:	bsam [1]
2010-01-18 22:38:04 +00:00

12 lines
484 B
Plaintext

--- src/logtail2.orig 2010-01-18 17:24:26.000000000 -0500
+++ src/logtail2 2010-01-18 17:24:40.000000000 -0500
@@ -108,7 +108,7 @@
# function with dateext magic added.
#print "determine_rotated_logfile $filename $inode\n";
- for my $codefile (glob("/usr/share/logtail/detectrotate/*.dtr")) {
+ for my $codefile (glob("%%DATADIR%%/detectrotate/*.dtr")) {
my $func = do $codefile;
if (!$func) {
print STDERR "cannot compile $codefile: $!";