From: Stijn Tintel Date: Thu, 17 Mar 2022 10:48:50 +0000 (+0200) Subject: strongswan: move iptables deps to updown plugin X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=93fbbcbfee678f9406e443abe61d5671a929e3b4;p=openwrt-packages.git strongswan: move iptables deps to updown plugin Let's move the iptables IPsec dependencies out of the strongswan package and into the plugin package that actually depends on it, strongswan-mod-updown. As the default updown script calls the iptables binary, also add a dependency on the iptables-legacy package. Signed-off-by: Stijn Tintel --- diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile index bbf1e2793..e03816b4f 100644 --- a/net/strongswan/Makefile +++ b/net/strongswan/Makefile @@ -130,8 +130,7 @@ $(call Package/strongswan/Default) MENU:=1 DEPENDS:= +libpthread +ip \ +kmod-crypto-authenc \ - +kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 \ - +kmod-ipt-ipsec +iptables-mod-ipsec + +kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 endef define Package/strongswan/config @@ -733,7 +732,7 @@ $(eval $(call BuildPlugin,stroke,Stroke,+strongswan-charon +strongswan-ipsec)) $(eval $(call BuildPlugin,test-vectors,crypto test vectors,)) $(eval $(call BuildPlugin,uci,UCI config interface,+PACKAGE_strongswan-mod-uci:libuci)) $(eval $(call BuildPlugin,unity,Cisco Unity extension,)) -$(eval $(call BuildPlugin,updown,updown firewall,)) +$(eval $(call BuildPlugin,updown,updown firewall,+iptables-legacy +iptables-mod-ipsec +kmod-ipt-ipsec)) $(eval $(call BuildPlugin,vici,Versatile IKE Configuration Interface,)) $(eval $(call BuildPlugin,whitelist,peer identity whitelisting,)) $(eval $(call BuildPlugin,x509,x509 certificate,))