summaryrefslogtreecommitdiff
path: root/community/arpwatch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/arpwatch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/arpwatch')
-rw-r--r--community/arpwatch/ChangeLog3
-rw-r--r--community/arpwatch/PKGBUILD29
2 files changed, 32 insertions, 0 deletions
diff --git a/community/arpwatch/ChangeLog b/community/arpwatch/ChangeLog
new file mode 100644
index 000000000..d22a5592c
--- /dev/null
+++ b/community/arpwatch/ChangeLog
@@ -0,0 +1,3 @@
+2007-07-02 tardo <tardo@nagi-fanboi.net>
+* Built for x86_64
+
diff --git a/community/arpwatch/PKGBUILD b/community/arpwatch/PKGBUILD
new file mode 100644
index 000000000..eb3859dba
--- /dev/null
+++ b/community/arpwatch/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 7443 2010-01-06 23:33:42Z dgriffiths $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=arpwatch
+pkgver=2.1a15
+pkgrel=6
+pkgdesc="arpwatch and arpsnmp network monitoring tools"
+arch=(i686 x86_64)
+url="ftp://ftp.ee.lbl.gov/"
+license=("GPL")
+depends=(libpcap)
+source=(ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz)
+md5sums=('cebfeb99c4a7c2a6cee2564770415fe7')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+
+ sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
+
+ ./configure --prefix=/usr
+ make || return 1
+ install -d -m 0755 $startdir/pkg/usr/sbin && \
+ make DESTDIR=$startdir/pkg install && \
+ install -D -m 0644 arpwatch.8 $startdir/pkg/usr/share/man/man8/arpwatch.8 && \
+ install -D -m 0644 arpsnmp.8 $startdir/pkg/usr/share/man/man8/arpsnmp.8 && \
+ install -d -m 0755 $startdir/pkg/var/lib/arpwatch && \
+ touch $startdir/pkg/var/lib/arpwatch/arp.dat
+}