xfrpc: update to 1.05.561
authorDengfeng Liu <liudf0716@gmail.com>
Sat, 4 Jun 2022 04:28:55 +0000 (12:28 +0800)
committerTianling Shen <cnsztl@gmail.com>
Mon, 27 Feb 2023 02:47:11 +0000 (10:47 +0800)
support tcp mux and default to turn it on

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
(cherry picked from commit d4430d2e89cd289807b4a9e21583cae245c1e81c)

net/xfrpc/Makefile
net/xfrpc/files/xfrpc.init

index a5108239e9cfe2cba91a4736e286638ae3a8a069..d1a9731a3319fe8c90c0aa0b1731ef2f4475625c 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xfrpc
-PKG_VERSION:=1.05.548
+PKG_VERSION:=1.05.561
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/liudf0716/xfrpc.git
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
-PKG_MIRROR_HASH:=67e0db1ea3986fdde6073db269a50fdf660cd97f4c21bfd8f2d4923a519e630e
+PKG_MIRROR_HASH:=21506e519212ff58230f2c88678a5d88676eb5d3657b6888492925188528258f
 
 PKG_MAINTAINER:=Dengfeng Liu <liudf0716@gmail.com>
 PKG_LICENSE:=GPL-3.0-or-later
index b9dec12a41a4509cd9cbc91823aac23406d00b5f..a3f76156eef50fe682d3fc5fdd179bb1bc204430 100755 (executable)
@@ -40,12 +40,14 @@ handle_xfrpc() {
        }
 
        if [ "$name" = "common" ]; then
-               uci_validate_section xfrpc xfrpc "$name" \
+               uci_validate_section xfrpc xfrp "$name" \
                                'server_addr:ipaddr' \
-                               'server_port:uinteger' 
+                               'server_port:uinteger' \
+                               'token:string:' 
 
                echo "server_addr = $server_addr" >> "$config"
                echo "server_port = $server_port" >> "$config"
+               [ -z "$token" ] || echo "token = $token" >> "$config"
        else
                handle_type
        fi