From 734d3e2284b6f5b22074676bdb70979ea20907c5 Mon Sep 17 00:00:00 2001 From: Marcin Jurkowski Date: Mon, 13 Apr 2015 02:52:47 +0200 Subject: [PATCH] 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 --- net/strongswan/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile index 946bed761..2a7839a6e 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