summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-10-30 18:09:10 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-10 23:53:48 (GMT)
commitb835171cf9db23095c669b872dbaa15fc1e99898 (patch)
treecfa1571cb7f745e67ee98e0873d54eacfb442487
parent26baab06ad46ec51aa6e965fc6a0af5d2ddaabe1 (diff)
downloadbuildroot-b835171cf9db23095c669b872dbaa15fc1e99898.tar.gz
buildroot-b835171cf9db23095c669b872dbaa15fc1e99898.tar.bz2
iptables: add support for connlabel match and nfnl_osf
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/iptables/iptables.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index 13ad0ca..6547069 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -16,6 +16,16 @@ IPTABLES_CONF_OPT = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr
# Because of iptables-01-fix-static-link.patch
IPTABLES_AUTORECONF = YES
+# For connlabel match
+ifeq ($(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),y)
+IPTABLES_DEPENDENCIES += libnetfilter_conntrack
+endif
+
+# For nfnl_osf
+ifeq ($(BR2_PACKAGE_LIBNFNETLINK),y)
+IPTABLES_DEPENDENCIES += libnfnetlink
+endif
+
define IPTABLES_TARGET_SYMLINK_CREATE
ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/iptables
ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/iptables-save