1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/security/swatch/files/patch-ab
James FitzGibbon 94ce971a74 Fix for FreeBSD specific files and binaries
PR:		ports/4041
Submitted by:	Dirk Froemberg <dirk@activ-consult.de>
1997-07-06 18:28:06 +00:00

24 lines
677 B
Plaintext

--- swatch.pl.orig Thu Dec 14 21:01:08 1995
+++ swatch.pl Sun Jul 6 19:22:13 1997
@@ -29,7 +29,7 @@
eval 'PERL_BIN_DIR/perl -S $0 ${1+"$@"}'
if 0;
#
-$ENV{'PATH'} = '/usr/ucb:/usr/bin:/bin:PERL_BIN_DIR';
+$ENV{'PATH'} = '/usr/bin:/bin:PERL_BIN_DIR';
$ENV{'IFS'} = '' if $ENV{'IFS'} ne '';
$0 = rindex($0, "/") > -1 ? substr($0, rindex($0, "/")+1) : $0;
@@ -44,8 +44,8 @@
# Some defaults
$PERL = 'PERL_BIN_DIR/perl';
-$TAIL = '/usr/ucb/tail -f';
-$DEF_INPUT = "$TAIL /var/log/syslog";
+$TAIL = '/usr/bin/tail -f';
+$DEF_INPUT = "$TAIL /var/log/messages";
$Pipe = 1;
$ConfigFile = "$ENV{'HOME'}/.swatchrc";
$PatternSeparator = ',';