diff options
author | jfitz <jfitz@FreeBSD.org> | 1997-07-06 18:28:06 +0000 |
---|---|---|
committer | jfitz <jfitz@FreeBSD.org> | 1997-07-06 18:28:06 +0000 |
commit | 2ee8b1efe23c80d38b51d0901a43bf731e4499d3 (patch) | |
tree | 2d7711ddf26e48cb4b5b429087401456d91272b2 | |
parent | cc72ffc35089a8d427dcfedaff963f8fd9be33c4 (diff) | |
download | FreeBSD-ports-2ee8b1efe23c80d38b51d0901a43bf731e4499d3.zip FreeBSD-ports-2ee8b1efe23c80d38b51d0901a43bf731e4499d3.tar.gz |
Fix for FreeBSD specific files and binaries
PR: ports/4041
Submitted by: Dirk Froemberg <dirk@activ-consult.de>
-rw-r--r-- | security/swatch/files/patch-ab | 11 | ||||
-rw-r--r-- | security/swatch/files/patch-ac | 13 |
2 files changed, 20 insertions, 4 deletions
diff --git a/security/swatch/files/patch-ab b/security/swatch/files/patch-ab index 6ef04e2..656daa3 100644 --- a/security/swatch/files/patch-ab +++ b/security/swatch/files/patch-ab @@ -1,5 +1,5 @@ ---- swatch.pl.orig Fri May 9 12:03:34 1997 -+++ swatch.pl Fri May 9 12:03:47 1997 +--- 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; @@ -9,12 +9,15 @@ $ENV{'IFS'} = '' if $ENV{'IFS'} ne ''; $0 = rindex($0, "/") > -1 ? substr($0, rindex($0, "/")+1) : $0; -@@ -44,7 +44,7 @@ +@@ -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/syslog"; ++$DEF_INPUT = "$TAIL /var/log/messages"; $Pipe = 1; $ConfigFile = "$ENV{'HOME'}/.swatchrc"; + $PatternSeparator = ','; + diff --git a/security/swatch/files/patch-ac b/security/swatch/files/patch-ac new file mode 100644 index 0000000..e418fbe --- /dev/null +++ b/security/swatch/files/patch-ac @@ -0,0 +1,13 @@ +--- sw_actions.pl.orig Thu Dec 14 04:32:19 1995 ++++ sw_actions.pl Sun Jul 6 19:23:20 1997 +@@ -22,8 +22,8 @@ + # + + $BELL = "\007"; +-$MAILER = "/usr/lib/sendmail"; +-$WRITE = "/bin/write"; ++$MAILER = "/usr/sbin/sendmail"; ++$WRITE = "/usr/bin/write"; + + # + # do_bell -- send BELL(s) to the output. |