iptables: split physdev match out as a separate package

Split physdev match out of ipt-extra to allow installing ipt-extra without
pulling in br-netfilter.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
Matthias Schiffer
2018-04-09 19:41:26 +02:00
parent ff9a2ab830
commit 177fa14340
3 changed files with 30 additions and 4 deletions

View File

@@ -686,7 +686,7 @@ define KernelPackage/ipt-extra
KCONFIG:=$(KCONFIG_IPT_EXTRA)
FILES:=$(foreach mod,$(IPT_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_EXTRA-m)))
$(call AddDepends/ipt,+kmod-br-netfilter)
$(call AddDepends/ipt)
endef
define KernelPackage/ipt-extra/description
@@ -694,7 +694,6 @@ define KernelPackage/ipt-extra/description
Includes:
- addrtype
- owner
- physdev (if bridge support was enabled in kernel)
- pkttype
- quota
endef
@@ -702,6 +701,21 @@ endef
$(eval $(call KernelPackage,ipt-extra))
define KernelPackage/ipt-physdev
TITLE:=physdev module
KCONFIG:=$(KCONFIG_IPT_PHYSDEV)
FILES:=$(foreach mod,$(IPT_PHYSDEV-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_PHYSDEV-m)))
$(call AddDepends/ipt,+kmod-br-netfilter)
endef
define KernelPackage/ipt-physdev/description
The iptables physdev kernel module
endef
$(eval $(call KernelPackage,ipt-physdev))
define KernelPackage/ip6tables
SUBMENU:=$(NF_MENU)
TITLE:=IPv6 modules