summaryrefslogtreecommitdiff
path: root/package/arpwatch
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/arpwatch
Initial import
Diffstat (limited to 'package/arpwatch')
-rw-r--r--package/arpwatch/Config.in7
-rw-r--r--package/arpwatch/Makefile32
-rw-r--r--package/arpwatch/ipkg/arpwatch.conffiles1
-rw-r--r--package/arpwatch/ipkg/arpwatch.control5
4 files changed, 45 insertions, 0 deletions
diff --git a/package/arpwatch/Config.in b/package/arpwatch/Config.in
new file mode 100644
index 000000000..96cd0b3e4
--- /dev/null
+++ b/package/arpwatch/Config.in
@@ -0,0 +1,7 @@
+config ADK_PACKAGE_ARPWATCH
+ prompt "arpwatch.......................... Ethernet station activity monitor"
+ tristate
+ default n
+ help
+ Ethernet monitor program for keeping track of ethernet/ip address pairings
+
diff --git a/package/arpwatch/Makefile b/package/arpwatch/Makefile
new file mode 100644
index 000000000..a32974cbc
--- /dev/null
+++ b/package/arpwatch/Makefile
@@ -0,0 +1,32 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= arpwatch
+PKG_VERSION:= 2.1a15
+PKG_RELEASE:= 1
+PKG_MD5SUM:= cebfeb99c4a7c2a6cee2564770415fe7
+MASTER_SITES:= ftp://ftp.ee.lbl.gov/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,ARPWATCH,arpwatch,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+MAKE_FLAGS+= ARPDIR=/etc/arpwatch \
+ CCOPT="$(TARGET_CFLAGS)" \
+ INCLS="-I. -I$(STAGING_DIR)/usr/include" \
+ LIBS="-L$(STAGING_DIR)/usr/lib -lpcap"
+
+do-install:
+ $(INSTALL_DIR) $(IDIR_ARPWATCH)/usr/sbin
+ $(INSTALL_DIR) $(IDIR_ARPWATCH)/etc/arpwatch
+ $(INSTALL_BIN) $(WRKBUILD)/arpwatch $(IDIR_ARPWATCH)/usr/sbin/
+ $(INSTALL_BIN) $(WRKBUILD)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/
+ $(INSTALL_DATA) $(WRKBUILD)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/arpwatch/ipkg/arpwatch.conffiles b/package/arpwatch/ipkg/arpwatch.conffiles
new file mode 100644
index 000000000..9b9d8b3f6
--- /dev/null
+++ b/package/arpwatch/ipkg/arpwatch.conffiles
@@ -0,0 +1 @@
+/etc/arpwatch/arp.dat
diff --git a/package/arpwatch/ipkg/arpwatch.control b/package/arpwatch/ipkg/arpwatch.control
new file mode 100644
index 000000000..a72088153
--- /dev/null
+++ b/package/arpwatch/ipkg/arpwatch.control
@@ -0,0 +1,5 @@
+Package: arpwatch
+Priority: optional
+Section: net
+Description: Ethernet monitor program for keeping track of ethernet/ip address pairings
+Depends: libpcap