aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/arpalert/Makefile23
-rw-r--r--net-mgmt/arpalert/distinfo3
-rw-r--r--net-mgmt/arpalert/files/patch-Makefile.in12
-rw-r--r--net-mgmt/arpalert/pkg-descr5
-rw-r--r--net-mgmt/arpalert/pkg-plist5
6 files changed, 49 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 653f9669a99a..b1479eed9355 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -16,6 +16,7 @@
SUBDIR += apan
SUBDIR += argus
SUBDIR += argus-clients
+ SUBDIR += arpalert
SUBDIR += arpscan
SUBDIR += arpwatch
SUBDIR += arpwatch-devel
diff --git a/net-mgmt/arpalert/Makefile b/net-mgmt/arpalert/Makefile
new file mode 100644
index 000000000000..ba1614452532
--- /dev/null
+++ b/net-mgmt/arpalert/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: arpalert
+# Date created: 11 May 2006
+# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= arpalert
+PORTVERSION= 1.1.0
+CATEGORIES= net-mgmt
+MASTER_SITES= http://www.arpalert.org/src/
+
+MAINTAINER= leeym@FreeBSD.org
+COMMENT= ARP traffic monitoring
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir=/var --mandir=${PREFIX}/man
+ALL_TARGET= ${PORTNAME}
+USE_GETOPT_LONG=yes
+
+MAN8= arpalert.8
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/arpalert/distinfo b/net-mgmt/arpalert/distinfo
new file mode 100644
index 000000000000..28a63287c325
--- /dev/null
+++ b/net-mgmt/arpalert/distinfo
@@ -0,0 +1,3 @@
+MD5 (arpalert-1.1.0.tar.gz) = 407be51e6510f75261d246628c9dbb6d
+SHA256 (arpalert-1.1.0.tar.gz) = b5274eed2cea2d06ea28ccf8b1f1d99e16bf4704278661d50bfbc4315f75d901
+SIZE (arpalert-1.1.0.tar.gz) = 102505
diff --git a/net-mgmt/arpalert/files/patch-Makefile.in b/net-mgmt/arpalert/files/patch-Makefile.in
new file mode 100644
index 000000000000..69a30e8d6ac9
--- /dev/null
+++ b/net-mgmt/arpalert/files/patch-Makefile.in
@@ -0,0 +1,12 @@
+--- Makefile.in.orig Thu May 11 17:38:28 2006
++++ Makefile.in Thu May 11 17:38:51 2006
+@@ -23,7 +23,8 @@
+ src_dir = .
+
+ CC = @CC@
+-CFLAGS = -Wall -O2 \
++CPPFLAGS = @CPPFLAGS@
++CFLAGS = -Wall -O2 $(CPPFLAGS) \
+ -DCONFIG_FILE=\"$(config_dir)/arpalert.conf\" \
+ -DPID_FILE=\"$(lock_dir)/arpalert.pid\"
+ LIBS = @LIBS@
diff --git a/net-mgmt/arpalert/pkg-descr b/net-mgmt/arpalert/pkg-descr
new file mode 100644
index 000000000000..26964b382806
--- /dev/null
+++ b/net-mgmt/arpalert/pkg-descr
@@ -0,0 +1,5 @@
+Arpalert uses ARP protocol monitoring to prevent unauthorized connections
+on the local network. If an illegal connection is detected, a program or
+script is launched, which could be used to send an alert message, for example.
+
+WWW: http://www.arpalert.org/
diff --git a/net-mgmt/arpalert/pkg-plist b/net-mgmt/arpalert/pkg-plist
new file mode 100644
index 000000000000..6c8c96882ef1
--- /dev/null
+++ b/net-mgmt/arpalert/pkg-plist
@@ -0,0 +1,5 @@
+sbin/arpalert
+etc/arpalert/maclist.allow
+etc/arpalert/maclist.deny
+etc/arpalert/arpalert.conf
+@dirrmtry etc/arpalert