summaryrefslogtreecommitdiff
path: root/net-mgmt/arpwatch
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/arpwatch')
-rw-r--r--net-mgmt/arpwatch/Makefile37
-rw-r--r--net-mgmt/arpwatch/distinfo1
-rw-r--r--net-mgmt/arpwatch/files/arpwatch.sh18
-rw-r--r--net-mgmt/arpwatch/files/patch-aa11
-rw-r--r--net-mgmt/arpwatch/files/patch-ab22
-rw-r--r--net-mgmt/arpwatch/files/patch-ad29
-rw-r--r--net-mgmt/arpwatch/files/patch-ae29
-rw-r--r--net-mgmt/arpwatch/files/patch-af8
-rw-r--r--net-mgmt/arpwatch/pkg-comment1
-rw-r--r--net-mgmt/arpwatch/pkg-descr33
-rw-r--r--net-mgmt/arpwatch/pkg-plist10
11 files changed, 0 insertions, 199 deletions
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile
deleted file mode 100644
index c1f97ba715e3..000000000000
--- a/net-mgmt/arpwatch/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# New ports collection makefile for: arpwatch
-# Date created: March 24 1997
-# Whom: Brian Somers <brian@Awfulhak.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= arpwatch
-PORTVERSION= 2.1.a6
-CATEGORIES= net
-MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \
- ftp://ftp.ee.lbl.gov/ \
- ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
-DISTNAME= arpwatch-2.1a6
-
-MAINTAINER= brian@Awfulhak.org
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --quiet
-INSTALL_TARGET= install install-man
-MAN8= arpwatch.8 arpsnmp.8
-
-post-install:
- if [ ! -d ${PREFIX}/arpwatch ]; then \
- ${MKDIR} ${PREFIX}/arpwatch; \
- ${CHMOD} 775 ${PREFIX}/arpwatch; \
- ${CHOWN} root.operator ${PREFIX}/arpwatch; \
- fi
- ${TOUCH} ${PREFIX}/arpwatch/arp.dat
- ${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat
- for file in ethercodes.dat d.awk e.awk p.awk; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/arpwatch/.; \
- done
- ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch/.
- ${INSTALL_SCRIPT} ${FILESDIR}/arpwatch.sh ${PREFIX}/etc/rc.d/.
-
-.include <bsd.port.mk>
diff --git a/net-mgmt/arpwatch/distinfo b/net-mgmt/arpwatch/distinfo
deleted file mode 100644
index 800463b2e05d..000000000000
--- a/net-mgmt/arpwatch/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (arpwatch-2.1a6.tar.gz) = fe729b12e8e54133cf24695e4a382952
diff --git a/net-mgmt/arpwatch/files/arpwatch.sh b/net-mgmt/arpwatch/files/arpwatch.sh
deleted file mode 100644
index f0c8a797cb54..000000000000
--- a/net-mgmt/arpwatch/files/arpwatch.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-case $1 in
-start)
- if [ -x /usr/local/sbin/arpwatch -a -d /usr/local/arpwatch ]; then
- /usr/local/sbin/arpwatch && echo -n ' arpwatch'
- fi
- ;;
-stop)
- killall arpwatch && echo -n ' arpwatch'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0
diff --git a/net-mgmt/arpwatch/files/patch-aa b/net-mgmt/arpwatch/files/patch-aa
deleted file mode 100644
index c3d51dd3fa46..000000000000
--- a/net-mgmt/arpwatch/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- arp2ethers.orig Tue Mar 29 11:44:52 1994
-+++ arp2ethers Fri Aug 21 10:56:26 1998
-@@ -14,7 +14,7 @@
- #
-
- sort +2rn arp.dat | \
-- awk -e 'NF == 4 { print }' | \
-+ awk 'NF == 4 { print }' | \
- awk -f p.awk | \
- egrep -v '\.[0-9][0-9]*$' | \
- sed -e 's/ .* / /' | \
diff --git a/net-mgmt/arpwatch/files/patch-ab b/net-mgmt/arpwatch/files/patch-ab
deleted file mode 100644
index 76cbc814dfaf..000000000000
--- a/net-mgmt/arpwatch/files/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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 \
diff --git a/net-mgmt/arpwatch/files/patch-ad b/net-mgmt/arpwatch/files/patch-ad
deleted file mode 100644
index 02096d9d63bf..000000000000
--- a/net-mgmt/arpwatch/files/patch-ad
+++ /dev/null
@@ -1,29 +0,0 @@
---- report.c.orig Fri Jun 9 09:54:48 2000
-+++ report.c Fri Jun 9 10:05:58 2000
-@@ -249,6 +249,9 @@
- char *unknown = "<unknown>";
- char buf[132];
- static int init = 0;
-+#ifdef HAVE_MKSTEMP
-+ int fd;
-+#endif
-
- /* No report until we're initialized */
- if (initializing)
-@@ -286,8 +289,16 @@
- /* Child */
- closelog();
- (void)strcpy(tempfile, "/tmp/arpwatch.XXXXXX");
-+#ifndef HAVE_MKSTEMP
- (void)mktemp(tempfile);
- if ((f = fopen(tempfile, "w+")) == NULL) {
-+#else
-+ if ((fd = mkstemp(tempfile)) == -1) {
-+ syslog(LOG_ERR, "child mkstemp(%s): %m", tempfile);
-+ exit(1);
-+ }
-+ if ((f = fdopen(fd, "w+")) == NULL) {
-+#endif /* HAVE_MKSTEMP */
- syslog(LOG_ERR, "child open(%s): %m", tempfile);
- exit(1);
- }
diff --git a/net-mgmt/arpwatch/files/patch-ae b/net-mgmt/arpwatch/files/patch-ae
deleted file mode 100644
index c02ef28aded2..000000000000
--- a/net-mgmt/arpwatch/files/patch-ae
+++ /dev/null
@@ -1,29 +0,0 @@
---- configure.orig Thu Jun 15 01:37:53 2000
-+++ configure Tue Sep 5 02:57:33 2000
-@@ -649,7 +649,7 @@
- :
- fi
-
-- V_CCOPT="-O"
-+# V_CCOPT="-O"
- V_INCLS=""
- if test "${srcdir}" != "." ; then
- V_INCLS="-I\$\(srcdir\)"
-@@ -1207,7 +1207,7 @@
- fi
-
-
--for ac_func in dn_skipname
-+for ac_func in dn_skipname mkstemp
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- echo "configure:1214: checking for $ac_func" >&5
-@@ -2599,7 +2599,7 @@
- fi
- V_CCOPT="$V_CCOPT -Wall"
- if test $ac_cv_lbl_gcc_vers -gt 1 ; then
-- V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes"
-+# V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes"
- fi
- fi
- else
diff --git a/net-mgmt/arpwatch/files/patch-af b/net-mgmt/arpwatch/files/patch-af
deleted file mode 100644
index 0beb9378c27a..000000000000
--- a/net-mgmt/arpwatch/files/patch-af
+++ /dev/null
@@ -1,8 +0,0 @@
---- ethercodes.dat.orig Tue Mar 21 02:37:05 2000
-+++ ethercodes.dat Thu Sep 14 11:18:09 2000
-@@ -897,3 +897,5 @@
- c0:0:0 Western Digital (may be reversed 00 00 C0?)
- e2:c:f Kingston Technologies
- ec:10:0 Enance Source Co., Ltd. PC clones(?)
-+0:bd:11 VMWare Inc
-+0:bd:fb VMWare Inc
diff --git a/net-mgmt/arpwatch/pkg-comment b/net-mgmt/arpwatch/pkg-comment
deleted file mode 100644
index 73ccdb9c117c..000000000000
--- a/net-mgmt/arpwatch/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Monitor arp & rarp requests
diff --git a/net-mgmt/arpwatch/pkg-descr b/net-mgmt/arpwatch/pkg-descr
deleted file mode 100644
index 602ba152b2db..000000000000
--- a/net-mgmt/arpwatch/pkg-descr
+++ /dev/null
@@ -1,33 +0,0 @@
-Maintained under FreeBSD by: brian@awfulhak.org
-
-ARPWATCH 2.0
-Lawrence Berkeley National Laboratory
-Network Research Group
-arpwatch@ee.lbl.gov
-ftp://ftp.ee.lbl.gov/arpwatch.tar.Z
-
-This directory contains source code for arpwatch and arpsnmp, tools
-that monitors ethernet activity and maintain a database of ethernet/ip
-address pairings. It also reports certain changes via email.
-
-Arpwatch uses libpcap, a system-independent interface for user-level
-packet capture. Before building arpwatch, you must first retrieve and
-build libpcap, also from LBL, in:
-
- ftp://ftp.ee.lbl.gov/libpcap.tar.Z.
-
-Once libpcap is built (either install it or make sure arpwatch and
-libpcap share the same parent directory), you can build arpwatch using
-the procedure in the INSTALL file.
-
-Arpsnmp has the same database features of arpwatch but relies on an
-external agent to collect the arp data. This distribution contains a
-script, arpfetch, that uses snmpwalk from the CMU SNMP package. This
-package is available from:
-
- ftp://ftp.net.cmu.edu/pub/snmp-dist/cmu-snmp*.tar.Z
-
-It should be trivial to adaptive the output of any snmp query program
-for use with arpsnmp.
-
-Please send bugs and comments to arpwatch@ee.lbl.gov.
diff --git a/net-mgmt/arpwatch/pkg-plist b/net-mgmt/arpwatch/pkg-plist
deleted file mode 100644
index 2d3d476f15f1..000000000000
--- a/net-mgmt/arpwatch/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-sbin/arpwatch
-sbin/arpsnmp
-@unexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat
-arpwatch/arp2ethers
-arpwatch/ethercodes.dat
-arpwatch/d.awk
-arpwatch/e.awk
-arpwatch/p.awk
-etc/rc.d/arpwatch.sh
-@dirrm arpwatch