From: Oliver <oli...@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

Adjusted the Makefile and refreshed patches.

Signed-off-by: Oliver Smith <oli...@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
---
 package/network/utils/iptables/Makefile            |  4 ++--
 .../iptables/patches/030-no-libnfnetlink.patch     | 22 +++++++++++-----------
 .../patches/200-configurable_builtin.patch         | 12 ++++++------
 3 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/package/network/utils/iptables/Makefile 
b/package/network/utils/iptables/Makefile
index 35dda06..50b1754 100644
--- a/package/network/utils/iptables/Makefile
+++ b/package/network/utils/iptables/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=iptables
-PKG_VERSION:=1.4.20
+PKG_VERSION:=1.4.21
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -17,7 +17,7 @@ 
PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
        ftp://ftp.be.netfilter.org/pub/netfilter/iptables/ \
        ftp://ftp.de.netfilter.org/pub/netfilter/iptables/ \
        ftp://ftp.no.netfilter.org/pub/netfilter/iptables/
-PKG_MD5SUM:=387b92d3efcf4f07fe31c3bf0f1d18f5
+PKG_MD5SUM:=536d048c8e8eeebcd9757d0863ebb0c0
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
diff --git a/package/network/utils/iptables/patches/030-no-libnfnetlink.patch 
b/package/network/utils/iptables/patches/030-no-libnfnetlink.patch
index ac825e9..6d11cd9 100644
--- a/package/network/utils/iptables/patches/030-no-libnfnetlink.patch
+++ b/package/network/utils/iptables/patches/030-no-libnfnetlink.patch
@@ -1,11 +1,11 @@
-Index: iptables-1.4.19.1/configure
+Index: iptables-1.4.21/configure
 ===================================================================
---- iptables-1.4.19.1.orig/configure   2013-05-29 16:37:33.176674855 +0200
-+++ iptables-1.4.19.1/configure        2013-05-29 16:37:33.168674855 +0200
-@@ -12198,77 +12198,7 @@
-       fi
+--- iptables-1.4.21.orig/configure
++++ iptables-1.4.21/configure
+@@ -12367,77 +12367,7 @@ fi
  fi
  
+ 
 -pkg_failed=no
 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnfnetlink" >&5
 -$as_echo_n "checking for libnfnetlink... " >&6; }
@@ -81,13 +81,13 @@ Index: iptables-1.4.19.1/configure
    HAVE_LIBNFNETLINK_TRUE=
    HAVE_LIBNFNETLINK_FALSE='#'
  else
-Index: iptables-1.4.19.1/configure.ac
+Index: iptables-1.4.21/configure.ac
 ===================================================================
---- iptables-1.4.19.1.orig/configure.ac        2013-05-29 16:37:33.176674855 
+0200
-+++ iptables-1.4.19.1/configure.ac     2013-05-29 16:37:33.168674855 +0200
-@@ -93,9 +93,7 @@
- AM_CONDITIONAL([ENABLE_LIBIPQ], [test "$enable_libipq" = "yes"])
- AM_CONDITIONAL([ENABLE_BPFC], [test "$enable_bpfc" = "yes"])
+--- iptables-1.4.21.orig/configure.ac
++++ iptables-1.4.21/configure.ac
+@@ -111,9 +111,7 @@ if test "x$enable_bpfc" = "xyes" || test
+       AC_CHECK_LIB(pcap, pcap_compile,, AC_MSG_ERROR(missing libpcap library 
required by bpf compiler or nfsynproxy tool))
+ fi
  
 -PKG_CHECK_MODULES([libnfnetlink], [libnfnetlink >= 1.0],
 -      [nfnetlink=1], [nfnetlink=0])
diff --git 
a/package/network/utils/iptables/patches/200-configurable_builtin.patch 
b/package/network/utils/iptables/patches/200-configurable_builtin.patch
index ef426e2..4e0f64b 100644
--- a/package/network/utils/iptables/patches/200-configurable_builtin.patch
+++ b/package/network/utils/iptables/patches/200-configurable_builtin.patch
@@ -1,8 +1,8 @@
-Index: iptables-1.4.19.1/extensions/GNUmakefile.in
+Index: iptables-1.4.21/extensions/GNUmakefile.in
 ===================================================================
---- iptables-1.4.19.1.orig/extensions/GNUmakefile.in   2013-05-29 
16:37:41.304675049 +0200
-+++ iptables-1.4.19.1/extensions/GNUmakefile.in        2013-05-29 
16:37:41.296675048 +0200
-@@ -45,9 +45,24 @@
+--- iptables-1.4.21.orig/extensions/GNUmakefile.in
++++ iptables-1.4.21/extensions/GNUmakefile.in
+@@ -45,9 +45,24 @@ pfx_symlinks  := NOTRACK state
  pfx_build_mod := $(filter-out @blacklist_modules@,${pfx_build_mod})
  pf4_build_mod := $(filter-out @blacklist_modules@,${pf4_build_mod})
  pf6_build_mod := $(filter-out @blacklist_modules@,${pf6_build_mod})
@@ -30,7 +30,7 @@ Index: iptables-1.4.19.1/extensions/GNUmakefile.in
  pfx_solibs    := $(patsubst %,libxt_%.so,${pfx_build_mod} ${pfx_symlinks})
  pf4_solibs    := $(patsubst %,libipt_%.so,${pf4_build_mod})
  pf6_solibs    := $(patsubst %,libip6t_%.so,${pf6_build_mod})
-@@ -58,11 +73,11 @@
+@@ -58,11 +73,11 @@ pf6_solibs    := $(patsubst %,libip6t_%.
  #
  targets := libext.a libext4.a libext6.a matches.man targets.man
  targets_install :=
@@ -47,7 +47,7 @@ Index: iptables-1.4.19.1/extensions/GNUmakefile.in
  
  .SECONDARY:
  
-@@ -123,9 +138,9 @@
+@@ -126,9 +141,9 @@ libext4.a: initext4.o ${libext4_objs}
  libext6.a: initext6.o ${libext6_objs}
        ${AM_VERBOSE_AR} ${AR} crs $@ $^;
  
-- 
1.8.3.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to