From: Marcin Jurkowski Date: Mon, 13 Apr 2015 00:52:47 +0000 (+0200) Subject: strongswan: make kmod-ipsec6 dependency conditional X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=997c932e629b1d199d566ca4af49324fce5b6c7c;p=feed%2Fpackages.git strongswan: make kmod-ipsec6 dependency conditional 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 --- diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile index 946bed7610..2a7839a6e7 100644 --- a/net/strongswan/Makefile +++ b/net/strongswan/Makefile @@ -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