iptables: refresh patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41479
This commit is contained in:
Felix Fietkau 2014-07-02 19:18:09 +00:00
parent b4059dea7f
commit 3445645d18
2 changed files with 10 additions and 14 deletions

View file

@ -8,7 +8,7 @@
char *buf = NULL; char *buf = NULL;
char *argv[4]; char *argv[4];
int status; int status;
@@ -380,6 +381,7 @@ int xtables_insmod(const char *modname, @@ -380,6 +381,7 @@ int xtables_insmod(const char *modname,
free(buf); free(buf);
if (WIFEXITED(status) && WEXITSTATUS(status) == 0) if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
return 0; return 0;

View file

@ -1,11 +1,9 @@
Index: iptables-1.4.19.1/configure --- a/configure
=================================================================== +++ b/configure
--- iptables-1.4.19.1.orig/configure 2013-05-29 16:37:33.176674855 +0200 @@ -12367,77 +12367,7 @@ fi
+++ iptables-1.4.19.1/configure 2013-05-29 16:37:33.168674855 +0200
@@ -12198,77 +12198,7 @@
fi
fi fi
-pkg_failed=no -pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnfnetlink" >&5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnfnetlink" >&5
-$as_echo_n "checking for libnfnetlink... " >&6; } -$as_echo_n "checking for libnfnetlink... " >&6; }
@ -81,13 +79,11 @@ Index: iptables-1.4.19.1/configure
HAVE_LIBNFNETLINK_TRUE= HAVE_LIBNFNETLINK_TRUE=
HAVE_LIBNFNETLINK_FALSE='#' HAVE_LIBNFNETLINK_FALSE='#'
else else
Index: iptables-1.4.19.1/configure.ac --- a/configure.ac
=================================================================== +++ b/configure.ac
--- iptables-1.4.19.1.orig/configure.ac 2013-05-29 16:37:33.176674855 +0200 @@ -111,9 +111,7 @@ if test "x$enable_bpfc" = "xyes" || test
+++ iptables-1.4.19.1/configure.ac 2013-05-29 16:37:33.168674855 +0200 AC_CHECK_LIB(pcap, pcap_compile,, AC_MSG_ERROR(missing libpcap library required by bpf compiler or nfsynproxy tool))
@@ -93,9 +93,7 @@ fi
AM_CONDITIONAL([ENABLE_LIBIPQ], [test "$enable_libipq" = "yes"])
AM_CONDITIONAL([ENABLE_BPFC], [test "$enable_bpfc" = "yes"])
-PKG_CHECK_MODULES([libnfnetlink], [libnfnetlink >= 1.0], -PKG_CHECK_MODULES([libnfnetlink], [libnfnetlink >= 1.0],
- [nfnetlink=1], [nfnetlink=0]) - [nfnetlink=1], [nfnetlink=0])