support tcp mux and default to turn it on
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
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
}
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