From: Moritz Warning Date: Wed, 27 Mar 2019 15:19:04 +0000 (+0100) Subject: strongswan: collapse menu items X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=21e989190e45d793d3d321539b5642a88637c498;p=feed%2Fpackages.git strongswan: collapse menu items Signed-off-by: Moritz Warning --- diff --git a/net/strongswan/Config.in b/net/strongswan/Config.in index 5bb78aeb82..567e4aec5b 100644 --- a/net/strongswan/Config.in +++ b/net/strongswan/Config.in @@ -1,5 +1,6 @@ -menu "Configuration" - depends on PACKAGE_strongswan + +if PACKAGE_strongswan +comment Configuration # --with-routing-table config STRONGSWAN_ROUTING_TABLE @@ -13,4 +14,6 @@ config STRONGSWAN_ROUTING_TABLE_PRIO prompt "Set the IPsec routing table priority" default "220" -endmenu +comment Packages + +endif diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile index 396b3a5f0a..13d351b361 100644 --- a/net/strongswan/Makefile +++ b/net/strongswan/Makefile @@ -120,6 +120,7 @@ endef define Package/strongswan $(call Package/strongswan/Default) + MENU:=1 DEPENDS:= +libpthread +ip \ +kmod-crypto-authenc \ +kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 \ @@ -138,7 +139,7 @@ endef define Package/strongswan-full $(call Package/strongswan/Default) TITLE+= (full) - DEPENDS:= +strongswan \ + DEPENDS:= strongswan \ +strongswan-charon \ +strongswan-charon-cmd \ +strongswan-ipsec \ @@ -231,7 +232,7 @@ endef define Package/strongswan-default $(call Package/strongswan/Default) TITLE+= (default) - DEPENDS:= +strongswan \ + DEPENDS:= strongswan \ +strongswan-charon \ +strongswan-ipsec \ +strongswan-mod-aes \ @@ -274,7 +275,7 @@ endef define Package/strongswan-isakmp $(call Package/strongswan/Default) TITLE+= (isakmp) - DEPENDS:= +strongswan \ + DEPENDS:= strongswan \ +strongswan-charon \ +strongswan-ipsec \ +strongswan-mod-aes \ @@ -304,7 +305,7 @@ endef define Package/strongswan-minimal $(call Package/strongswan/Default) TITLE+= (minimal) - DEPENDS:= +strongswan \ + DEPENDS:= strongswan \ +strongswan-charon \ +strongswan-mod-aes \ +strongswan-mod-gmp \ @@ -329,7 +330,7 @@ endef define Package/strongswan-charon $(call Package/strongswan/Default) TITLE+= IKEv1/IKEv2 keying daemon - DEPENDS:= +strongswan + DEPENDS:= strongswan endef define Package/strongswan-charon/description @@ -340,7 +341,7 @@ endef define Package/strongswan-charon-cmd $(call Package/strongswan/Default) TITLE+= charon-cmd utility - DEPENDS:= +strongswan +strongswan-charon + DEPENDS:= strongswan +strongswan-charon endef define Package/strongswan-charon-cmd/description @@ -351,7 +352,7 @@ endef define Package/strongswan-ipsec $(call Package/strongswan/Default) TITLE+= utilities - DEPENDS:= +strongswan + DEPENDS:= strongswan endef define Package/strongswan-ipsec/description @@ -362,7 +363,7 @@ endef define Package/strongswan-pki $(call Package/strongswan/Default) TITLE+= PKI tool - DEPENDS:= +strongswan + DEPENDS:= strongswan endef define Package/strongswan-pki/description @@ -373,7 +374,7 @@ endef define Package/strongswan-scepclient $(call Package/strongswan/Default) TITLE+= SCEP client - DEPENDS:= +strongswan + DEPENDS:= strongswan endef define Package/strongswan-scepclient/description @@ -384,7 +385,7 @@ endef define Package/strongswan-swanctl $(call Package/strongswan/Default) TITLE+= swanctl utility - DEPENDS:= +strongswan +strongswan-mod-vici + DEPENDS:= strongswan +strongswan-mod-vici endef define Package/strongswan-swanctl/description @@ -395,7 +396,7 @@ endef define Package/strongswan-libtls $(call Package/strongswan/Default) TITLE+= libtls - DEPENDS:= +strongswan + DEPENDS:= strongswan endef define Package/strongswan-libtls/description @@ -408,7 +409,7 @@ define BuildPlugin define Package/strongswan-mod-$(1) $$(call Package/strongswan/Default) TITLE:= StrongSwan $(2) plugin - DEPENDS:= +strongswan $(3) + DEPENDS:= strongswan $(3) endef define Package/strongswan-mod-$(1)/install