strongswan: collapse menu items 8512/head
authorMoritz Warning <moritzwarning@web.de>
Wed, 27 Mar 2019 15:19:04 +0000 (16:19 +0100)
committerMoritz Warning <moritzwarning@web.de>
Wed, 27 Mar 2019 17:21:54 +0000 (18:21 +0100)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
net/strongswan/Config.in
net/strongswan/Makefile

index 5bb78aeb82313b81860761cb42c7daf3e1d5eada..567e4aec5bb2947813f5dac2fceb36bc6613ca4f 100644 (file)
@@ -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
index 396b3a5f0ae7df6abd151abe8961a95adc860d66..13d351b361d5d2c554158bcde4b7779746cdb915 100644 (file)
@@ -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