updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / tcp_wrappers / PKGBUILD
blobaa7a2c8b1958709159ed5e5ca73e857dd3b98fdc
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>
5 pkgname=tcp_wrappers
6 pkgver=7.6
7 pkgrel=15
8 pkgdesc="Monitors and Controls incoming TCP connections"
9 arch=(i686 x86_64)
10 url="ftp://ftp.porcupine.org/pub/security/index.html"
11 license=('custom')
12 groups=('base')
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
17         hosts.allow
18         hosts.deny)
19 md5sums=('e6fa25f71226d090f34de3f6b122fb5a'
20          '3e786669e16b78ba726f948ddb73c9db'
21          '32cfeeed797161034f62bb45f3167baa'
22          'e4743ca604a1749c7312f9283b4bb0d1')
24 build() {
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