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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user