[75589] trunk/dports/security/logwatch
Revision: 75589 http://trac.macports.org/changeset/75589 Author: jmr@macports.org Date: 2011-01-31 13:03:40 -0800 (Mon, 31 Jan 2011) Log Message: ----------- logwatch: don't use zcat on gzip files (#22504) Modified Paths: -------------- trunk/dports/security/logwatch/Portfile Added Paths: ----------- trunk/dports/security/logwatch/files/scripts_logwatch.pl.diff Modified: trunk/dports/security/logwatch/Portfile =================================================================== --- trunk/dports/security/logwatch/Portfile 2011-01-31 20:30:24 UTC (rev 75588) +++ trunk/dports/security/logwatch/Portfile 2011-01-31 21:03:40 UTC (rev 75589) @@ -4,7 +4,7 @@ PortSystem 1.0 name logwatch -revision 1 +revision 2 version 7.3.6 distname logwatch-${version} categories security @@ -23,6 +23,8 @@ platforms darwin checksums md5 937d982006b2a76a83edfcfd2e5a9d7d +patchfiles scripts_logwatch.pl.diff + use_configure no build { reinplace s|/usr/share/${name}|${prefix}/share/${name}|g ${worksrcpath}/scripts/logwatch.pl Added: trunk/dports/security/logwatch/files/scripts_logwatch.pl.diff =================================================================== --- trunk/dports/security/logwatch/files/scripts_logwatch.pl.diff (rev 0) +++ trunk/dports/security/logwatch/files/scripts_logwatch.pl.diff 2011-01-31 21:03:40 UTC (rev 75589) @@ -0,0 +1,11 @@ +--- scripts/logwatch.pl.orig 2007-05-20 10:24:20.000000000 +1000 ++++ scripts/logwatch.pl 2011-02-01 07:57:04.000000000 +1100 +@@ -73,7 +73,7 @@ + $Config{'multiemail'} = 0; + $Config{'numeric'} = 0; + $Config{'pathtocat'} = "cat"; +-$Config{'pathtozcat'} = "zcat"; ++$Config{'pathtozcat'} = "gunzip -c"; + $Config{'pathtobzcat'} = "bzcat"; + $Config{'output'} = "unformatted"; + $Config{'encode'} = 0;
participants (1)
-
jmr@macports.org