From 65b2c086070dc62dc2998167839d885e661d6d12 Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Wed, 18 Mar 2009 16:09:30 +0000 Subject: testing/arpwatch Initial commit --- testing/arpwatch/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/arpwatch/APKBUILD (limited to 'testing') diff --git a/testing/arpwatch/APKBUILD b/testing/arpwatch/APKBUILD new file mode 100644 index 0000000000..4b3c79c06e --- /dev/null +++ b/testing/arpwatch/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Michael Mason +# Maintainer: +pkgname=arpwatch +pkgver=2.1a15 +pkgrel=0 +pkgdesc="Ethernet monitoring program" +url="http://www-nrg.ee.lbl.gov/" +license="GPL" +depends="uclibc libpcap" +makedepends="libpcap-dev" +install= +subpackages="" +source="ftp://ftp.ee.lbl.gov/$pkgname.tar.gz + arpwatch.confd + arpwatch.initd" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR="$pkgdir" install + + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + +} + +md5sums="cebfeb99c4a7c2a6cee2564770415fe7 arpwatch.tar.gz +dc8300ce5f02d6be95899a2982397064 arpwatch.confd +404226ad0d10ce9b46b76f058e572426 arpwatch.initd" -- cgit v1.2.3