1 # Contributor: danitool
2 pkgname=netdiscover-debian
5 pkgdesc="netdiscover from debian sources, updated version with extra options (like trunk flavour), new MAC database, and without several bugs"
7 url="http://nixgeneration.com/~jaime/netdiscover/"
9 depends=('libnet' 'libpcap')
10 makedepends=('gcc' 'make')
11 provides=('netdiscover')
12 conflicts=('netdiscover' 'netdiscover-svn' 'netdiscover-patched')
17 source=("http://ftp.debian.org/debian/pool/main/n/netdiscover/netdiscover_0.3beta6+20080409.orig.tar.gz"
18 'update-oui-database.sh')
19 #source=(http://nixgeneration.com/~jaime/netdiscover/releases/$pkgname-$pkgver-beta6.tar.gz)
20 md5sums=('cbbe3ae11d7f2e277a592e0a246f0731'
21 '0769fc9825bdb07fe3dc0197d9339c0b')
24 cd ${srcdir}/netdiscover
25 ./autogen.sh --prefix=/usr --sysconfdir=/etc/
26 ./configure --prefix=/usr --sysconfdir=/etc/
27 # the old update-oui-database.sh is slow, so I provided this updated one:
28 cp ${startdir}/update-oui-database.sh .
29 chmod +x update-oui-database.sh
30 # let's fetch an updated MAC table:
31 ./update-oui-database.sh
33 make DESTDIR=${pkgdir} install || return 1
34 rm -rf ${pkgdir}/usr/doc