[openwrt/openwrt] iptables: make kmod-ipt-debug part of default ALL build

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 25 23:39:13 PST 2018


yousong pushed a commit to openwrt/openwrt.git, branch lede-17.01:
https://git.lede-project.org/fbeae9d891e7661cfb9f9d5209f9656234466127

commit fbeae9d891e7661cfb9f9d5209f9656234466127
Author: Yousong Zhou <yszhou4tech at gmail.com>
AuthorDate: Fri Jan 26 14:40:25 2018 +0800

    iptables: make kmod-ipt-debug part of default ALL build
    
    The iptables TRACE target is only available in raw table that's why the
    dependency was moved from iptables-mod-trace into kmod-ipt-debug
    
    Fixes FS#1219
    
    Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 package/kernel/linux/modules/netfilter.mk | 3 +--
 package/network/utils/iptables/Makefile   | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 4b3e442..3b26ad1 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -446,10 +446,9 @@ $(eval $(call KernelPackage,ipt-nfqueue))
 define KernelPackage/ipt-debug
   TITLE:=Module for debugging/development
   KCONFIG:=$(KCONFIG_IPT_DEBUG)
-  DEFAULT:=n
   FILES:=$(foreach mod,$(IPT_DEBUG-m),$(LINUX_DIR)/net/$(mod).ko)
   AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_DEBUG-m)))
-  $(call AddDepends/ipt)
+  $(call AddDepends/ipt,+kmod-ipt-raw +IPV6:kmod-ipt-raw6)
 endef
 
 define KernelPackage/ipt-debug/description
diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile
index 89922d1..9761ed1 100644
--- a/package/network/utils/iptables/Makefile
+++ b/package/network/utils/iptables/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=iptables
 PKG_VERSION:=1.4.21
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
@@ -204,7 +204,7 @@ define Package/iptables-mod-nflog/description
 endef
 
 define Package/iptables-mod-trace
-$(call Package/iptables/Module, +kmod-ipt-debug +kmod-ipt-raw)
+$(call Package/iptables/Module, +kmod-ipt-debug)
   TITLE:=Netfilter TRACE target
 endef
 



More information about the lede-commits mailing list