Browse Source

rtty: update to 8.0.0

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
lilik-openwrt-22.03
Jianhui Zhao 3 years ago
committed by Rosen Penev
parent
commit
12c5ed9a4c
3 changed files with 8 additions and 2 deletions
  1. +2
    -2
      utils/rtty/Makefile
  2. +2
    -0
      utils/rtty/files/rtty.config
  3. +4
    -0
      utils/rtty/files/rtty.init

+ 2
- 2
utils/rtty/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=rtty PKG_NAME:=rtty
PKG_VERSION:=7.4.1
PKG_VERSION:=8.0.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL=https://github.com/zhaojh329/rtty/releases/download/v$(PKG_VERSION) 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_MAINTAINER:=Jianhui Zhao <zhaojh329@gmail.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT


+ 2
- 0
utils/rtty/files/rtty.config View File

@ -10,5 +10,7 @@
# option host 'your-server-host' # Server host # option host 'your-server-host' # Server host
# option port '5912' # Server Port # option port '5912' # Server Port
# option ssl 1 # Whether to use ssl # 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 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 # option verbose '1' # verbose log

+ 4
- 0
utils/rtty/files/rtty.init View File

@ -13,7 +13,9 @@ validate_rtty_section() {
'host:host' \ 'host:host' \
'port:port' \ 'port:port' \
'ssl:bool:0' \ 'ssl:bool:0' \
'insecure:bool:0' \
'token:maxlength(32)' \ 'token:maxlength(32)' \
'username:string' \
'verbose:bool:0' 'verbose:bool:0'
} }
@ -48,7 +50,9 @@ start_rtty() {
[ -n "$port" ] && procd_append_param command -p "$port" [ -n "$port" ] && procd_append_param command -p "$port"
[ -n "$description" ] && procd_append_param command -d "$description" [ -n "$description" ] && procd_append_param command -d "$description"
[ "$ssl" = "1" ] && procd_append_param command -s [ "$ssl" = "1" ] && procd_append_param command -s
[ "$insecure" = "1" ] && procd_append_param command -x
[ -n "$token" ] && procd_append_param command -t "$token" [ -n "$token" ] && procd_append_param command -t "$token"
[ -n "$username" ] && procd_append_param command -f "$username"
[ "$verbose" = "1" ] && procd_append_param command -v [ "$verbose" = "1" ] && procd_append_param command -v
procd_set_param respawn procd_set_param respawn
procd_close_instance procd_close_instance


Loading…
Cancel
Save