mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-20 03:36:29 +00:00
netfilter: correct some dependencies
nf-nathelper-extra and nf-conntrack-netlink had iptables related dependencies, yet, when looking for the respective kernel symbols and checking it's dependencies it was confirmed that iptables wasn't required and that these were either it's own moodule or tool independent (nftables or iptables). Correct these and make sure no unneeded extras are pulled in. Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
This commit is contained in:
parent
2b583ab8a7
commit
ef4c97576b
@ -542,7 +542,7 @@ define KernelPackage/nf-nathelper-extra
|
||||
KCONFIG:=$(KCONFIG_NF_NATHELPER_EXTRA)
|
||||
FILES:=$(foreach mod,$(NF_NATHELPER_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
|
||||
AUTOLOAD:=$(call AutoProbe,$(notdir $(NF_NATHELPER_EXTRA-m)))
|
||||
DEPENDS:=+kmod-nf-nat +kmod-lib-textsearch +kmod-ipt-raw +kmod-asn1-decoder
|
||||
DEPENDS:=+kmod-nf-nat +kmod-lib-textsearch +kmod-asn1-decoder
|
||||
endef
|
||||
|
||||
define KernelPackage/nf-nathelper-extra/description
|
||||
@ -1004,7 +1004,7 @@ define KernelPackage/nf-conntrack-netlink
|
||||
FILES:=$(LINUX_DIR)/net/netfilter/nf_conntrack_netlink.ko
|
||||
KCONFIG:=CONFIG_NF_CT_NETLINK CONFIG_NF_CONNTRACK_EVENTS=y CONFIG_NETFILTER_NETLINK_GLUE_CT=y
|
||||
AUTOLOAD:=$(call AutoProbe,nf_conntrack_netlink)
|
||||
$(call AddDepends/nfnetlink,+kmod-ipt-conntrack)
|
||||
$(call AddDepends/nfnetlink,+kmod-nf-conntrack)
|
||||
endef
|
||||
|
||||
define KernelPackage/nf-conntrack-netlink/description
|
||||
|
Loading…
Reference in New Issue
Block a user