# Maintainer : Aurélien DESBRIÈRES # Contributor: Vladimir Kutyavin pkgname=xtables-addons pkgver=2.5 pkgrel=1 pkgdesc="Successor to patch-o-matic(-ng). Additional extensions for iptables, ip6tables, etc. CHAOS, TARPIT, TEE, DELUDE and other targets; condition, geoip, ipp2p and other matches. Includes ipset package." arch=('i686' 'x86_64') license=('GPL2') url="http://xtables-addons.sourceforge.net/" depends=('iptables>=1.4.5' 'glibc' 'linux>=3.7') makedepends=('linux-api-headers' 'linux-headers') conflicts=(ipset) replaces=(ipset) provides=(ipset) source=(http://download.sourceforge.net/project/xtables-addons/Xtables-addons/$pkgver/$pkgname-$pkgver.tar.xz) build() { cd $srcdir/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/iptables \ --sysconfdir=/etc \ --with-xtlibdir=/usr/lib/iptables \ --mandir=/usr/share/man make || return 1 } package () { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install || return 1 chmod a-x $pkgdir/usr/lib/iptables/*.so }