updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / dnsflood / PKGBUILD
blobc2c5ee2317a1ec1cb5a23d483fee00b3dace95e0
1 # Contributor: Dragonlord <archlinux[at]dragonlord[.]cz>
3 pkgname=dnsflood
4 pkgver=1.12
5 pkgrel=1
6 pkgdesc="Detect abusive usage levels on high traffic nameservers and enable quick response."
7 arch=('i686')
8 url="http://www.adotout.com/"
9 license=('GPL')
10 depends=('libpcap')
11 # makedepends=('patch')
12 source=(http://www.adotout.com/$pkgname-$pkgver.tgz \
13         dns_flood_detector.1.gz \
14         $pkgname.patch)
15 noextract=(dns_flood_detector.1.gz)
17 md5sums=('ab893e3278e3569bc3d5beab7fb98d3f'
18          'e8f18181051026f1cfbc582fff918426'
19          'da27d8270835d2785a36da14544866e2')
21 build() {
22   cd "$startdir/src/dns_flood_detector"
23 #  patch -Np0 -i ../$pkgname.patch
25   ./configure.pl Linux
26   make || return 1
28 # init script doesn't work, help with patching would be appreciated :)
29 #  install -D -m755 "$startdir/src/dns_flood_detector/$pkgname" \
30 #                      "$startdir/pkg/etc/rc.d/$pkgname"
32   install -D -m644 "$startdir/src/dns_flood_detector.1.gz" \
33                      "$startdir/pkg/usr/share/man/man1/dns_flood_detector.1.gz"
34   install -D -m755 "$startdir/src/dns_flood_detector/dns_flood_detector" \
35                      "$startdir/pkg/usr/sbin/dns_flood_detector"