aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-02 19:18:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-02 19:18:09 +0000
commitd0668e0a9452dee361c8b97b766e82c4abdad0f5 (patch)
tree6b3ab14a781f94c437e6be11ac388f08ef1adb2f /package/network/utils
parent0df29b88311f5d5aa9a5404ef6bbe7450097540f (diff)
downloadmaster-187ad058-d0668e0a9452dee361c8b97b766e82c4abdad0f5.tar.gz
master-187ad058-d0668e0a9452dee361c8b97b766e82c4abdad0f5.tar.bz2
master-187ad058-d0668e0a9452dee361c8b97b766e82c4abdad0f5.zip
iptables: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41479 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils')
-rw-r--r--package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch2
-rw-r--r--package/network/utils/iptables/patches/030-no-libnfnetlink.patch22
2 files changed, 10 insertions, 14 deletions
diff --git a/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch b/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
index ad4889b706..2b6c57ec9e 100644
--- a/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
+++ b/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
@@ -8,7 +8,7 @@
char *buf = NULL;
char *argv[4];
int status;
-@@ -380,6 +381,7 @@ int xtables_insmod(const char *modname,
+@@ -380,6 +381,7 @@ int xtables_insmod(const char *modname,
free(buf);
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
return 0;
diff --git a/package/network/utils/iptables/patches/030-no-libnfnetlink.patch b/package/network/utils/iptables/patches/030-no-libnfnetlink.patch
index ac825e9b21..50542ac0b5 100644
--- a/package/network/utils/iptables/patches/030-no-libnfnetlink.patch
+++ b/package/network/utils/iptables/patches/030-no-libnfnetlink.patch
@@ -1,11 +1,9 @@
-Index: iptables-1.4.19.1/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
+--- a/configure
++++ b/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 +79,11 @@ Index: iptables-1.4.19.1/configure
HAVE_LIBNFNETLINK_TRUE=
HAVE_LIBNFNETLINK_FALSE='#'
else
-Index: iptables-1.4.19.1/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"])
+--- a/configure.ac
++++ b/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])