opnsense-ports/security/logcheck/files/patch-src_logtail2
Franco Fichtner dcb8c56a29 */*: sync with upstream
Taken from: HardenedBSD
2017-07-31 07:13:49 +02:00

11 lines
464 B
Text

--- src/logtail2.orig 2017-07-11 17:32:13 UTC
+++ src/logtail2
@@ -109,7 +109,7 @@ sub determine_rotated_logfile {
# 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: $!";