From c90c3edcabb91c4946af44b0ba58c016b5484538 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 2 Sep 2009 11:03:45 +0000 Subject: main/arpon: new aport Arp handler inspectiON is a handler daemon with tools to handle all ARP aspects http://arpon.sourceforge.net/ fixes #149 --- main/arpon/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 main/arpon/APKBUILD (limited to 'main/arpon/APKBUILD') diff --git a/main/arpon/APKBUILD b/main/arpon/APKBUILD new file mode 100644 index 000000000..5d1e8da0c --- /dev/null +++ b/main/arpon/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=arpon +pkgver=1.90 +pkgrel=0 +pkgdesc="Arp handler inspectiON is a handler daemon with tools to handle all ARP aspects" +url="http://arpon.sourceforge.net/" +license="GPL" +depends="" +makedepends="libdnet-dev libpcap-dev libnet-dev" +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/ArpON-$pkgver.tar.gz + arpon.initd + arpon.confd + " + +build() { + cd "$srcdir"/ArpON-$pkgver + sed -i -e '/^CFLAGS/s/-Werror//' Makefile + + # seems like it does not like the --as-needed + export LDFLAGS= + make linux || return 1 + install -D -m755 arpon "$pkgdir"/usr/sbin/arpon + install -D man8/arpon.8 "$pkgdir"/usr/share/man/man8/arpon.8 + + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="41671d58190cf829b7c9049ae3fa8cdf ArpON-1.90.tar.gz +92e60e8b86f87b772b8e198db3829c09 arpon.initd +26986bed19b28cec66ed08447d22efaf arpon.confd" -- cgit v1.2.3