1 # $Id: PKGBUILD 20410 2008-12-03 09:44:51Z tom $
2 # Maintainer: Mike Sampson <mike at sambodata dot com>
3 # Contriburor: Steven <steven at stebalien dot com>
4 # Contributor: Aaron Griffin <aaron@archlinux.org>
5 # Contributor: judd <jvinet@zeroflux.org>
10 pkgdesc="A simple port-knocking daemon"
12 url="http://www.zeroflux.org/projects/knock"
14 depends=('libpcap>=1.0.0')
15 backup=('etc/knockd.conf')
16 source=(http://www.zeroflux.org/proj/knock/files/knock-$pkgver.tar.gz
17 knockd knockd.logrotate limits.h.patch)
20 cd "$srcdir/knock-$pkgver"
21 patch -Np0 -i "$srcdir/limits.h.patch"
22 ./configure --prefix=/usr
26 cd "$srcdir/knock-$pkgver"
27 make DESTDIR="$pkgdir" MANDIR=/usr/share/man install
28 install -D -m755 "$srcdir/knockd" "$pkgdir/etc/rc.d/knockd"
29 install -D -m644 "$srcdir/knockd.logrotate" "$pkgdir/etc/logrotate.d/knockd"
31 md5sums=('ca09d61458974cff90a700aba6120891'
32 '72302d899887996694586c3d479de245'
33 '56a4113ec89ba2e96f79ab23c914d52a'
34 'e56dc7359f36c3b07da6710c404d671e')