Browse Source

Merge pull request #5575 from zhaojh329/rtty

rtty: Update to 3.1.2
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
bbc391c0da
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions
  1. +2
    -2
      libs/libuwsc/Makefile
  2. +2
    -2
      utils/rtty/Makefile
  3. +1
    -0
      utils/rtty/files/rtty.config
  4. +3
    -2
      utils/rtty/files/rtty.init

+ 2
- 2
libs/libuwsc/Makefile View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libuwsc
PKG_VERSION:=1.1.0
PKG_VERSION:=1.2.0
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_URL=https://github.com/zhaojh329/libuwsc.git
PKG_MIRROR_HASH:=4aada7e2941fb9f099869c9dc10ef6411f1c355c3b2f570011b91e42feffbfdd
PKG_MIRROR_HASH:=8a78a56914a3823b2ab6fc3138005442c5816d46cf69898dbb7ccfaa62598b7e
CMAKE_INSTALL:=1
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)


+ 2
- 2
utils/rtty/Makefile View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=rtty
PKG_VERSION:=2.2.0
PKG_VERSION:=3.1.2
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_URL=https://github.com/zhaojh329/rtty.git
PKG_MIRROR_HASH:=23a203351fdd47acfd16d3c3b3e3d51dd65a5d9e8ca89d4b1521d40c40616102
PKG_MIRROR_HASH:=aef16014cca633550adf3385149c883a618b6875479d8874887bea41d783bd63
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)


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

@ -10,3 +10,4 @@
# option host 'your-server-host' # Server host
# option port '5912' # Server Port
# option ssl 1 # Whether to use ssl
# option ping 5 # heartbeat interval(second)

+ 3
- 2
utils/rtty/files/rtty.init View File

@ -17,7 +17,8 @@ start_rtty() {
'description:maxlength(126)' \
'host:host' \
'port:port' \
'ssl:bool:0'
'ssl:bool:0' \
'ping:uinteger:5'
[ $? -eq 1 ] && {
echo "validation failed" >&2
@ -42,7 +43,7 @@ start_rtty() {
}
procd_open_instance
procd_set_param command $BIN -h $host -p $port -a
procd_set_param command $BIN -h $host -p $port -a -P $ping
[ -n "$ifname" ] && procd_append_param command -i "$ifname"
[ -n "$id" ] && procd_append_param command -I "$id"
[ -n "$description" ] && procd_append_param command -d "$description"


Loading…
Cancel
Save