strongswan: make kmod-ipsec6 dependency conditional 1749/head
authorMarcin Jurkowski <marcin1j@gmail.com>
Mon, 13 Apr 2015 00:52:47 +0000 (02:52 +0200)
committerMarcin Jurkowski <marcin1j@gmail.com>
Tue, 1 Sep 2015 13:06:52 +0000 (15:06 +0200)
Makes kmod-ipsec6 requirement dependent on IPv6 support for packages.
This allows to disable unnecessary IPv6 kernel modules, saving
considerable amount of space.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
net/strongswan/Makefile

index 946bed761076bc448d226c0821ac9aa84e5c6eb2..2a7839a6e7dc261ad7e9d98ddad3f78e38233bcd 100644 (file)
@@ -115,7 +115,7 @@ define Package/strongswan
 $(call Package/strongswan/Default)
   DEPENDS:= +libpthread +ip \
        +kmod-crypto-authenc \
-       +kmod-ipsec +kmod-ipsec4 +kmod-ipsec6 \
+       +kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 \
        +kmod-ipt-ipsec +iptables-mod-ipsec
 endef