mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-08 11:17:36 +08:00
rtty: update to 8.0.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
parent
67d51b22d2
commit
7a36273578
@ -8,12 +8,12 @@
|
||||
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_MAINTAINER:=Jianhui Zhao <zhaojh329@gmail.com>
|
||||
PKG_LICENSE:=MIT
|
||||
|
@ -10,5 +10,7 @@
|
||||
# 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
|
||||
|
@ -13,7 +13,9 @@ validate_rtty_section() {
|
||||
'host:host' \
|
||||
'port:port' \
|
||||
'ssl:bool:0' \
|
||||
'insecure:bool:0' \
|
||||
'token:maxlength(32)' \
|
||||
'username:string' \
|
||||
'verbose:bool:0'
|
||||
}
|
||||
|
||||
@ -48,7 +50,9 @@ start_rtty() {
|
||||
[ -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
|
||||
|
Loading…
Reference in New Issue
Block a user