From eabca62005cf71d2a850502fce9f7f35997fa256 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 17 Mar 2022 12:48:50 +0200 Subject: [PATCH] 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 (cherry picked from commit 93fbbcbfee678f9406e443abe61d5671a929e3b4) --- net/strongswan/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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,))