summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-10-09 18:59:44 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-10-09 18:59:44 +0200
commitc63ffa37067054fd3c27b05a57c2148c020a29b9 (patch)
tree24baea3ae3f2f3a4d2135a0829dc19b761b47795
parent943ea8dbd32cb69957544580ecfccc9b79ac6d47 (diff)
downloadabslibre-c63ffa37067054fd3c27b05a57c2148c020a29b9.tar.gz
abslibre-c63ffa37067054fd3c27b05a57c2148c020a29b9.tar.bz2
abslibre-c63ffa37067054fd3c27b05a57c2148c020a29b9.zip
Successor to patch-o-matic(-ng)
-rw-r--r--pcr/xtables-addons/PKGBUILD41
1 files changed, 19 insertions, 22 deletions
diff --git a/pcr/xtables-addons/PKGBUILD b/pcr/xtables-addons/PKGBUILD
index 61ee87ca7..2a26481ba 100644
--- a/pcr/xtables-addons/PKGBUILD
+++ b/pcr/xtables-addons/PKGBUILD
@@ -1,14 +1,13 @@
-# Contributor (Arch): Vladimir Kutyavin <vlkut@bk.ru>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
-
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor: Vladimir Kutyavin <vlkut@bk.ru>
pkgname=xtables-addons
-pkgver=1.46
+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' 'mips64el')
+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.3' 'glibc')
+depends=('iptables>=1.4.5' 'glibc' 'linux>=3.7')
makedepends=('linux-api-headers' 'linux-headers')
conflicts=(ipset)
replaces=(ipset)
@@ -17,19 +16,17 @@ source=(http://download.sourceforge.net/project/xtables-addons/Xtables-addons/$p
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
- make DESTDIR=$pkgdir install || return 1
- chmod a-x $pkgdir/usr/lib/iptables/*.so
- #remove ipset there is a ipset package
-# rm \
-# $pkgdir/usr/lib/iptables/libipset_* \
-# $pkgdir/usr/sbin/ipset
-# $pkgdir/usr/share/man/man8/ipset.8
-# rmdir $pkgdir/usr/sbin
+ ./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
}