summaryrefslogtreecommitdiff
path: root/security/swatch
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1997-07-06 18:28:06 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1997-07-06 18:28:06 +0000
commit94ce971a743a17e052e12c0856f806c40b637283 (patch)
tree4d10968b64c2df763287703ddce5702106c30ff1 /security/swatch
parentUpgrade, 1.26 -> 1.28. (diff)
Fix for FreeBSD specific files and binaries
PR: ports/4041 Submitted by: Dirk Froemberg <dirk@activ-consult.de>
Notes
Notes: svn path=/head/; revision=7224
Diffstat (limited to 'security/swatch')
-rw-r--r--security/swatch/files/patch-ab11
-rw-r--r--security/swatch/files/patch-ac13
2 files changed, 20 insertions, 4 deletions
diff --git a/security/swatch/files/patch-ab b/security/swatch/files/patch-ab
index 6ef04e2cd0bb..656daa3bd7f0 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 000000000000..e418fbe31a6c
--- /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.