Browse Source

strongswan: collapse menu items

Signed-off-by: Moritz Warning <moritzwarning@web.de>
lilik-openwrt-22.03
Moritz Warning 6 years ago
parent
commit
21e989190e
2 changed files with 19 additions and 15 deletions
  1. +6
    -3
      net/strongswan/Config.in
  2. +13
    -12
      net/strongswan/Makefile

+ 6
- 3
net/strongswan/Config.in View 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

+ 13
- 12
net/strongswan/Makefile View 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


Loading…
Cancel
Save