summaryrefslogtreecommitdiff
path: root/core/iptables/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/iptables/PKGBUILD')
-rw-r--r--core/iptables/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/iptables/PKGBUILD b/core/iptables/PKGBUILD
index f3345c08e..e852b87fa 100644
--- a/core/iptables/PKGBUILD
+++ b/core/iptables/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 174851 2013-01-07 21:57:24Z ronald $
+# $Id: PKGBUILD 180028 2013-03-14 20:45:48Z foutrelis $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgname=iptables
-pkgver=1.4.16.3
+pkgver=1.4.18
pkgrel=1
pkgdesc='Linux kernel packet control tool'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url='http://www.netfilter.org/projects/iptables/index.html'
depends=('glibc' 'bash')
-makedepends=('linux-api-headers')
+makedepends=('linux-api-headers' 'chrpath')
options=('!libtool')
-source=("http://www.iptables.org/projects/iptables/files/${pkgname}-${pkgver}.tar.bz2"
+source=("http://www.netfilter.org/projects/iptables/files/${pkgname}-${pkgver}.tar.bz2"
iptables
ip6tables
empty.rules
@@ -28,7 +28,7 @@ source=("http://www.iptables.org/projects/iptables/files/${pkgname}-${pkgver}.ta
ip6tables.service
iptables-flush)
backup=(etc/conf.d/iptables)
-sha1sums=('819949fdf4276a04c5061b82898b515f139b0117'
+sha1sums=('34bf627c8755a61caf3635a998d2a5279f664f9e'
'5bb6fa526665cdd728c26f0f282f5a51f220cf88'
'2db68906b603e5268736f48c8e251f3a49da1d75'
'83b3363878e3660ce23b2ad325b53cbd6c796ecf'
@@ -52,14 +52,10 @@ build() {
patch -Np1 -i ${srcdir}/0503-extension_cppflags.patch
- [ "$CARCH" = "mips64el" ] || extra="--enable-libipq"
-
./configure --prefix=/usr \
--libexecdir=/usr/lib/iptables --sysconfdir=/etc \
--with-xtlibdir=/usr/lib/iptables \
- --enable-devel $extra \
- --enable-shared
-
+ --enable-devel --enable-shared
make
}
@@ -68,6 +64,10 @@ package() {
make DESTDIR="${pkgdir}" install
+ # Remove RPATH from iptables libraries
+ # http://www.spinics.net/lists/netfilter-devel/msg24969.html
+ chrpath --delete "${pkgdir}"/usr/lib/iptables/*.so
+
cd "${srcdir}"
install -D -m755 iptables "${pkgdir}"/etc/rc.d/iptables
install -D -m755 ip6tables "${pkgdir}"/etc/rc.d/ip6tables