aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/iptables/APKBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index 12e2fa3c1f..66b5fbc2c0 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iptables
-pkgver=1.4.16.3
+pkgver=1.4.18
pkgrel=0
pkgdesc="Linux kernel firewall, NAT and packet mangling tools"
-url="http://www.iptables.org/"
+url="http://www.netfilter.org/projects/iptables/index.html"
arch="all"
license=GPL-2
-source="http://iptables.org/projects/iptables/files/$pkgname-$pkgver.tar.bz2
+source="http://ftp.netfilter.org/pub/iptables/iptables-$pkgver.tar.bz2
iptables.initd
iptables.confd
ip6tables.confd
@@ -38,6 +38,9 @@ build() {
--enable-libipq \
--enable-shared \
|| return 1
+ # do not use rpath
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make || return 1
}
@@ -77,7 +80,15 @@ ip6tables() {
install -m644 "$startdir"/ip6tables.confd "$subpkgdir"/etc/conf.d/ip6tables
}
-md5sums="6dd40c12fb8f4c4312a0f8434369fbcd iptables-1.4.16.3.tar.bz2
+md5sums="a819199d5ec013b82da13a8ffbba857e iptables-1.4.18.tar.bz2
f73fb9a0b9fe42a19d1109b415d86c9c iptables.initd
c91286c54f8fe0de6ed8950f375cb7a5 iptables.confd
d3f37ebc2cd3fbfc326c3a8df5a79e11 ip6tables.confd"
+sha256sums="14a99fb8b0ca22027a9ac6eb72fa32c834ceb3073820e0ba79bf251c6a7bcf3c iptables-1.4.18.tar.bz2
+b6a4a5bf1b8fdb3f7d29f016042ff0adc99deca5d50f66fc915f840c61e9969a iptables.initd
+421acbcd310f9c51e20e22e59af9452b1ba5d0db33e8960eba0095271060c3db iptables.confd
+31ef5d759c64afd0ecbcb56b3982ed2bdb5ed9c8553c628c13d4a3b5687118a3 ip6tables.confd"
+sha512sums="fc62916bd90863c0868f70d711fd6716cbcb54402c32bdeebfd0cee05137fa3ff1a137f0a4b5b31ee0bb6492e23e60e7025d51914b26c0e0b233181cbb1cb1b5 iptables-1.4.18.tar.bz2
+d0e6ed38bf6fd74a280d8b219667cda9b1287692a4776e33a47d6f7bba10cd537a3462c23245baee150c6126a5fb7a81b7299f3087bcfddc22a45fef8d5d1fad iptables.initd
+cb7fecd5cab2c78bd3f215a41f39ec11c37eb360efbe83982378a0e647e0aa9dc0b7ec915a5b5081aa2f7747464787e69404aa15ba15a063c32cb8fb7dd13d1e iptables.confd
+0897a7a22f8b700f7f1f5c355ad6cbf39740e44d6c962af99e479978d8a2d556ca7fe4e31f238829046b4a871ce0b5fd52e2544f1361d15dd1ea3e33992646c4 ip6tables.confd"