strongswan: do not force to use iptable-legacy
authorFlorian Eckert <redacted>
Tue, 5 Apr 2022 12:30:35 +0000 (14:30 +0200)
committerFlorian Eckert <redacted>
Wed, 6 Apr 2022 15:19:02 +0000 (17:19 +0200)
The default firewall is the fw4, which uses nft. In order to not
install the legacy implementation when installing strongswan, the build
system should decide which firewall backend to use.

While we are at it, I have also added the dependency packages for IPV6.

Signed-off-by: Florian Eckert <redacted>
net/strongswan/Makefile

index d80e2b1b70911c1bb0dd1e51a0b306ae09546d1b..3cb1c94a675f4a2cf01ff0960b1f528651ed561d 100644 (file)
@@ -732,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,+iptables-legacy +iptables-mod-ipsec +kmod-ipt-ipsec))
+$(eval $(call BuildPlugin,updown,updown firewall,+iptables +IPV6:ip6tables +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,))
git clone https://git.99rst.org/PROJECT