PKG_NAME:=openconnect
PKG_VERSION:=8.10
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/openconnect/
#option token_mode 'script'
#option token_script '/lib/custom/getocpass.sh'
- # Juniper vpn support
- #option juniper '1'
+ # For non-anyconnect vpn protocols
+ # Cisco AnyConnect (default)
+ #option vpn_protocol 'anyconnect'
+ # Juniper Network Connect
+ #option vpn_protocol 'nc'
+ # Palo Alto Networks GlobalProtect
+ #option vpn_protocol 'gp'
+ # Pulse Connect Secure
+ #option vpn_protocol 'pulse'
# Authentication form responses
#list form_entry FORM:OPT=VAL
proto_config_add_int "port"
proto_config_add_int "mtu"
proto_config_add_int "juniper"
+ proto_config_add_string "vpn_protocol"
proto_config_add_boolean "no_dtls"
proto_config_add_string "interface"
proto_config_add_string "username"
form_entry \
interface \
juniper \
+ vpn_protocol \
mtu \
no_dtls \
os \
append_args --juniper
fi
+ [ -n "$vpn_protocol" ] && {
+ append_args --protocol "$vpn_protocol"
+ }
+
[ -n "$serverhash" ] && {
append_args "--servercert=$serverhash"
append_args --no-system-trust