diff options
author | bouyer <bouyer@pkgsrc.org> | 1998-04-27 18:06:37 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 1998-04-27 18:06:37 +0000 |
commit | f2f14f7d708ee42ce73841c3ea42601daaeddeb8 (patch) | |
tree | e3fb457727cc60b05ff9132be2fff2a01512ff03 /net/arpwatch/patches | |
parent | 6befea47e83d92eb167ab5a5c4028b2b4983045a (diff) | |
download | pkgsrc-f2f14f7d708ee42ce73841c3ea42601daaeddeb8.tar.gz |
arpwatch 2.0.2, an arp activity monitoring tool. Maintain a database
of MAC <-> IP adresses mapping, and warns about changes.
Diffstat (limited to 'net/arpwatch/patches')
-rw-r--r-- | net/arpwatch/patches/patch-aa | 22 | ||||
-rw-r--r-- | net/arpwatch/patches/patch-ab | 24 | ||||
-rw-r--r-- | net/arpwatch/patches/patch-ac | 12 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net/arpwatch/patches/patch-aa b/net/arpwatch/patches/patch-aa new file mode 100644 index 00000000000..372ab237a18 --- /dev/null +++ b/net/arpwatch/patches/patch-aa @@ -0,0 +1,22 @@ +--- arpwatch.8.orig Mon Apr 27 19:10:59 1998 ++++ arpwatch.8 Mon Apr 27 19:11:47 1998 +@@ -59,7 +59,7 @@ + .na + .nh + .nf +-/usr/operator/arpwatch - default directory ++/var/db/arpwatch - default directory + arp.dat - ethernet/ip address database + ethercodes.dat - vendor ethernet block list + .ad +--- arpsnmp.8.orig Mon Apr 27 19:11:09 1998 ++++ arpsnmp.8 Mon Apr 27 19:12:05 1998 +@@ -55,7 +55,7 @@ + .na + .nh + .nf +-/usr/operator/arpwatch - default directory ++/var/db/arpwatch - default directory + arp.dat - ethernet/ip address database + ethercodes.dat - vendor ethernet block list + .ad diff --git a/net/arpwatch/patches/patch-ab b/net/arpwatch/patches/patch-ab new file mode 100644 index 00000000000..d75e80f4833 --- /dev/null +++ b/net/arpwatch/patches/patch-ab @@ -0,0 +1,24 @@ +--- Makefile.in.orig Mon Apr 27 18:13:13 1998 ++++ Makefile.in Mon Apr 27 19:40:23 1998 +@@ -30,8 +30,10 @@ + BINDEST = @sbindir@ + # Pathname of directory to install the man page + MANDEST = @mandir@ ++# Pathname of directory to install ethernet vendor codes ++ETCDEST = $(prefix)/etc + # Pathname of directory to install database file +-ARPDIR = $(prefix)/arpwatch ++ARPDIR = /var/db/arpwatch + + # VPATH + srcdir = @srcdir@ +@@ -44,7 +46,8 @@ + CC = @CC@ + CCOPT = @V_CCOPT@ + INCLS = -I. @V_INCLS@ +-DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" ++DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" \ ++ -DETHERCODES=\"$(ETCDEST)/ethercodes.dat\" + + # Standard CFLAGS + CFLAGS = $(CCOPT) $(DEFS) $(INCLS) diff --git a/net/arpwatch/patches/patch-ac b/net/arpwatch/patches/patch-ac new file mode 100644 index 00000000000..6ebb0dd4d56 --- /dev/null +++ b/net/arpwatch/patches/patch-ac @@ -0,0 +1,12 @@ +--- arpwatch.h.orig Mon Apr 27 19:41:46 1998 ++++ arpwatch.h Mon Apr 27 19:42:16 1998 +@@ -3,7 +3,9 @@ + #define NEWARPFILE "arp.dat.new" + #define ARPFILE "arp.dat" + #define OLDARPFILE "arp.dat-" ++#ifndef ETHERCODES + #define ETHERCODES "ethercodes.dat" ++#endif + #define CHECKPOINT (15*60) /* Checkpoint time in seconds */ + + #define MEMCMP(a, b, n) memcmp((char *)a, (char *)b, n) |