summaryrefslogtreecommitdiffstats
path: root/net-mgmt/arpwatch-devel/files/patch-ab
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-19 23:34:48 +0000
committerkrion <krion@FreeBSD.org>2004-01-19 23:34:48 +0000
commitf0c1695c149262361ff6b3097929d82da077b807 (patch)
treedd912a14002c94e665abd3cb9d12c1b04f4a57bb /net-mgmt/arpwatch-devel/files/patch-ab
parentede077dd8c6eaa76b4e2d10c1d311e569993d30b (diff)
downloadFreeBSD-ports-f0c1695c149262361ff6b3097929d82da077b807.zip
FreeBSD-ports-f0c1695c149262361ff6b3097929d82da077b807.tar.gz
This is a development fork of arpwatch. This has been
threaded in order to better deal with the requirements of multi-interface routers. Information regarding MAC addresses and interfaces is maintained by the program, and an alert is issued should a device move between interfaces. In addition, event processing has been refactored, and some bugs have been fixed. PR: 59180 Submitted by: Matthew George <mdg@secureworks.net> Approved by: portmgr
Diffstat (limited to 'net-mgmt/arpwatch-devel/files/patch-ab')
-rw-r--r--net-mgmt/arpwatch-devel/files/patch-ab47
1 files changed, 25 insertions, 22 deletions
diff --git a/net-mgmt/arpwatch-devel/files/patch-ab b/net-mgmt/arpwatch-devel/files/patch-ab
index 76cbc81..883cc7d 100644
--- a/net-mgmt/arpwatch-devel/files/patch-ab
+++ b/net-mgmt/arpwatch-devel/files/patch-ab
@@ -1,22 +1,25 @@
---- Makefile.in.orig Wed Jul 29 06:16:45 1998
-+++ Makefile.in Fri Aug 21 10:57:51 1998
-@@ -44,7 +44,7 @@
- CC = @CC@
- CCOPT = @V_CCOPT@
- INCLS = -I. @V_INCLS@
--DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
-+DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
-
- # Standard CFLAGS
- CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
-@@ -109,8 +109,8 @@
- $(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil
-
- install: force
-- $(INSTALL) -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST)
-- $(INSTALL) -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST)
-+ $(INSTALL) -s -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST)
-+ $(INSTALL) -s -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST)
-
- install-man: force
- $(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpwatch.8 \
+--- ../arpwatch.orig/arpsnmp.8 Sun Sep 17 16:34:48 2000
++++ ./arpsnmp.8 Fri Sep 5 14:46:55 2003
+@@ -30,6 +30,9 @@
+ ] [
+ .B -f
+ .I datafile
++] [
++.B -m
++.I email
+ ]
+ .I file
+ [
+@@ -54,6 +57,12 @@
+ flag is used to set the ethernet/ip address database filename.
+ The default is
+ .IR arp.dat .
++.LP
++The
++.B -m
++flag specifies the address that will receive the emails.
++The default is
++.IR root .
+ .LP
+ Note that an empty
+ .I arp.dat
OpenPOWER on IntegriCloud