diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
commit | fcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch) | |
tree | 60bf5147d7608e6217b37e6807c386b3a43a2b36 /pcr/xtables-addons | |
parent | 19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff) | |
parent | b0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff) | |
download | abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2 abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/xtables-addons')
-rw-r--r-- | pcr/xtables-addons/PKGBUILD | 14 | ||||
-rw-r--r-- | pcr/xtables-addons/xtables-addons.install | 6 |
2 files changed, 16 insertions, 4 deletions
diff --git a/pcr/xtables-addons/PKGBUILD b/pcr/xtables-addons/PKGBUILD index 2a26481ba..1db9c2566 100644 --- a/pcr/xtables-addons/PKGBUILD +++ b/pcr/xtables-addons/PKGBUILD @@ -1,9 +1,9 @@ +# Contributor (Arch): Thiago Coutinho <root at thiagoc . net> # Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> -# Contributor: Vladimir Kutyavin <vlkut@bk.ru> 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." +pkgver=2.6 +pkgrel=3 +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/" @@ -12,7 +12,9 @@ makedepends=('linux-api-headers' 'linux-headers') conflicts=(ipset) replaces=(ipset) provides=(ipset) +install='xtables-addons.install' source=(http://download.sourceforge.net/project/xtables-addons/Xtables-addons/$pkgver/$pkgname-$pkgver.tar.xz) +md5sums=('087835ba7e564481b6fd398692268340') build() { cd $srcdir/$pkgname-$pkgver @@ -28,5 +30,9 @@ build() { package () { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install || return 1 + mv $pkgdir/lib/* $pkgdir/usr/lib/ + mv $pkgdir/usr/lib/modules/$(uname -r)/extra $pkgdir/usr/lib/modules/$(uname -r)/$(readlink /usr/lib/modules/$(uname -r)/extramodules) + rmdir $pkgdir/lib + mv $pkgdir/usr/sbin $pkgdir/usr/bin chmod a-x $pkgdir/usr/lib/iptables/*.so } diff --git a/pcr/xtables-addons/xtables-addons.install b/pcr/xtables-addons/xtables-addons.install new file mode 100644 index 000000000..7194d8e71 --- /dev/null +++ b/pcr/xtables-addons/xtables-addons.install @@ -0,0 +1,6 @@ +post_install() { + echo "Please run \`depmod -a\` or reboot before load modules" +} +post_upgrade() { + echo "Please run \`depmod -a\` or reboot before load modules" +} |