[arch-commits] Commit in iptables/trunk (PKGBUILD)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Tue Mar 12 15:31:04 UTC 2013


    Date: Tuesday, March 12, 2013 @ 16:31:04
  Author: foutrelis
Revision: 179928

upgpkg: iptables 1.4.18-1

New upstream release. Drop ipq support (removed in Linux 3.5).

Modified:
  iptables/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-12 12:59:52 UTC (rev 179927)
+++ PKGBUILD	2013-03-12 15:31:04 UTC (rev 179928)
@@ -3,16 +3,16 @@
 # Contributor: Thomas Baechler <thomas at 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')
 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 @@
         ip6tables.service
         iptables-flush)
 backup=(etc/conf.d/iptables)
-sha1sums=('819949fdf4276a04c5061b82898b515f139b0117'
+sha1sums=('34bf627c8755a61caf3635a998d2a5279f664f9e'
           '5bb6fa526665cdd728c26f0f282f5a51f220cf88'
           '2db68906b603e5268736f48c8e251f3a49da1d75'
           '83b3363878e3660ce23b2ad325b53cbd6c796ecf'
@@ -55,9 +55,7 @@
  ./configure --prefix=/usr \
      --libexecdir=/usr/lib/iptables --sysconfdir=/etc \
      --with-xtlibdir=/usr/lib/iptables \
-     --enable-devel --enable-libipq \
-     --enable-shared 
-
+     --enable-devel --enable-shared
   make
 }
 
@@ -66,6 +64,10 @@
 
   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




More information about the arch-commits mailing list