summaryrefslogtreecommitdiff
path: root/core/iptables/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/iptables/PKGBUILD')
-rw-r--r--core/iptables/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/core/iptables/PKGBUILD b/core/iptables/PKGBUILD
index 604065120..bc9f41093 100644
--- a/core/iptables/PKGBUILD
+++ b/core/iptables/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 148436 2012-01-31 20:35:00Z ronald $
+# $Id: PKGBUILD 156635 2012-04-21 23:34:43Z allan $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgname=iptables
-pkgver=1.4.12.2
+pkgver=1.4.13
pkgrel=1
pkgdesc='Linux kernel packet control tool'
arch=('i686' 'x86_64' 'mips64el')
@@ -24,7 +24,7 @@ source=("http://www.iptables.org/projects/iptables/files/${pkgname}-${pkgver}.ta
empty-raw.rules
empty-security.rules)
backup=(etc/conf.d/iptables)
-sha1sums=('4dc8cdf1b711b23ed88eaaaa0e0e157d2bf2d81c'
+sha1sums=('bf1f1896e052d1813a7c96fa70f88be8dab3ff86'
'5bb6fa526665cdd728c26f0f282f5a51f220cf88'
'2db68906b603e5268736f48c8e251f3a49da1d75'
'83b3363878e3660ce23b2ad325b53cbd6c796ecf'
@@ -43,15 +43,16 @@ build() {
sed -i '87 i libxt_RATEEST.so: libxt_RATEEST.oo' extensions/GNUmakefile.in
sed -i '88 i \\t${AM_VERBOSE_CCLD} ${CCLD} ${AM_LDFLAGS} -lm -shared ${LDFLAGS} -o $@ $<;\n' extensions/GNUmakefile.in
- # FS#25358: libxt_statistic.so undefined symbol: lround
- export LDFLAGS='-lm'
+ # use system one
+ rm include/linux/types.h
./configure --prefix=/usr \
--libexecdir=/usr/lib/iptables --sysconfdir=/etc \
--with-xtlibdir=/usr/lib/iptables \
--enable-devel --enable-libipq \
--enable-shared --enable-static
-# build fails when not enabling static, see if we can remove it on next build
+# build fails when not enabling static, see if we can remove it on next build
+# 1.4.13 still fails
make
}
@@ -59,9 +60,6 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- unset CFLAGS
- unset LDFLAGS
-
make DESTDIR="${pkgdir}" install
cd "${srcdir}"