diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile index 9a1c07d7b..e96642f09 100644 --- a/net/shadowsocks-libev/Makefile +++ b/net/shadowsocks-libev/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk # PKG_NAME:=shadowsocks-libev PKG_VERSION:=3.1.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION) diff --git a/net/shadowsocks-libev/files/shadowsocks-libev.init b/net/shadowsocks-libev/files/shadowsocks-libev.init index 555cc1855..22d825d0b 100644 --- a/net/shadowsocks-libev/files/shadowsocks-libev.init +++ b/net/shadowsocks-libev/files/shadowsocks-libev.init @@ -264,15 +264,15 @@ validate_common_options_() { } validate_server_section() { - validate_common_server_options_ server "$1" "${2}" + validate_common_server_options_ server "$1" "$2" } validate_ss_local_section() { - validate_common_client_options_ ss_local "$1" "${2}" + validate_common_client_options_ ss_local "$1" "$2" } validate_ss_redir_section() { - validate_common_client_options_ ss_redir "$1" "${2}" + validate_common_client_options_ ss_redir "$1" "$2" } validate_ss_rules_section() { @@ -298,12 +298,12 @@ validate_ss_rules_section() { validate_ss_server_section() { validate_common_server_options_ ss_server "$1" \ validate_common_options_ \ - "${2}" \ + "$2" \ 'bind_address:ipaddr' } validate_ss_tunnel_section() { validate_common_client_options_ ss_tunnel "$1" \ - "${2}" \ + "$2" \ 'tunnel_address:regex(".+\:[0-9]+")' }