From 12c5ed9a4c971a5cf314831a1a01d851be976120 Mon Sep 17 00:00:00 2001 From: Jianhui Zhao Date: Mon, 27 Sep 2021 11:23:34 +0000 Subject: [PATCH] rtty: update to 8.0.0 Signed-off-by: Jianhui Zhao --- utils/rtty/Makefile | 4 ++-- utils/rtty/files/rtty.config | 2 ++ utils/rtty/files/rtty.init | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/utils/rtty/Makefile b/utils/rtty/Makefile index f1443dca5..c471ff56b 100644 --- a/utils/rtty/Makefile +++ b/utils/rtty/Makefile @@ -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 PKG_LICENSE:=MIT diff --git a/utils/rtty/files/rtty.config b/utils/rtty/files/rtty.config index b9952ce1d..d7b83bd42 100644 --- a/utils/rtty/files/rtty.config +++ b/utils/rtty/files/rtty.config @@ -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 diff --git a/utils/rtty/files/rtty.init b/utils/rtty/files/rtty.init index 94b4c364b..4725cc158 100644 --- a/utils/rtty/files/rtty.init +++ b/utils/rtty/files/rtty.init @@ -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