include $(TOPDIR)/rules.mk
PKG_NAME:=rtty
-PKG_VERSION:=7.4.1
+PKG_VERSION:=8.0.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL=https://github.com/zhaojh329/rtty/releases/download/v$(PKG_VERSION)
-PKG_HASH:=997e5a3f0b1ce5e06d8505691ea0a9a3fd8af972f6d1b4b04f42dd03f392649f
+PKG_HASH:=b9c555005b76c1ad0f5af891964375bbdf50ee22b9a9f53ddd48d2cdb4e53b49
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
# option host 'your-server-host' # Server host
# option port '5912' # Server Port
# option ssl 1 # Whether to use ssl
+# option insecure '1' # Allow insecure server connections when using SSL
# option token 'your-token' # generated by rttys
+# option username 'root' # Skip a second login authentication. See man login(1) about the details
# option verbose '1' # verbose log
'host:host' \
'port:port' \
'ssl:bool:0' \
+ 'insecure:bool:0' \
'token:maxlength(32)' \
+ 'username:string' \
'verbose:bool:0'
}
[ -n "$port" ] && procd_append_param command -p "$port"
[ -n "$description" ] && procd_append_param command -d "$description"
[ "$ssl" = "1" ] && procd_append_param command -s
+ [ "$insecure" = "1" ] && procd_append_param command -x
[ -n "$token" ] && procd_append_param command -t "$token"
+ [ -n "$username" ] && procd_append_param command -f "$username"
[ "$verbose" = "1" ] && procd_append_param command -v
procd_set_param respawn
procd_close_instance