1 # $Id: PKGBUILD 55054 2011-09-01 14:43:06Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Maintainer: judd <jvinet@zeroflux.org>
8 pkgdesc="Monitors and Controls incoming TCP connections"
10 url="ftp://ftp.porcupine.org/pub/security/index.html"
13 backup=(etc/hosts.allow etc/hosts.deny)
14 depends=('bash' 'glibc')
15 source=(ftp://ftp.porcupine.org/pub/security/tcp_wrappers_${pkgver}.tar.gz
16 http://archlinux-stuff.googlecode.com/files/tcp-wrappers-${pkgver}%2B.patch.gz
19 md5sums=('e6fa25f71226d090f34de3f6b122fb5a'
20 '3e786669e16b78ba726f948ddb73c9db'
21 '32cfeeed797161034f62bb45f3167baa'
22 'e4743ca604a1749c7312f9283b4bb0d1')
25 cd $srcdir/${pkgname}_${pkgver}
27 patch -p1 <$srcdir/tcp-wrappers-${pkgver}%2B.patch
29 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
30 make DESTDIR=$pkgdir install
32 install -D -m644 ../hosts.allow $pkgdir/etc/hosts.allow
33 install -D -m644 ../hosts.deny $pkgdir/etc/hosts.deny
34 install -D -m644 DISCLAIMER $pkgdir/usr/share/licenses/$pkgname/license.txt