From 1a29be8dcd396e602eaa9d8cc26f7b850044831d Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Wed, 11 Oct 2017 22:07:02 +0800 Subject: [PATCH] update luci ssr pro to support auth_chain_f --- package/lean/luci-app-shadowsocksr-pro/Makefile | 2 +- .../luasrc/model/cbi/shadowsocksr.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lean/luci-app-shadowsocksr-pro/Makefile b/package/lean/luci-app-shadowsocksr-pro/Makefile index d7d807984..d5b2b1543 100644 --- a/package/lean/luci-app-shadowsocksr-pro/Makefile +++ b/package/lean/luci-app-shadowsocksr-pro/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for Shadowsocksr LUCI_DEPENDS:=+iptables-mod-tproxy +kmod-ipt-tproxy +ip +ipset-lists +shadowsocksr-libev-alt +pdnsd-alt +coreutils +coreutils-base64 +coreutils-nohup +dnsmasq-full LUCI_PKGARCH:=all PKG_VERSION:=2.0 -PKG_RELEASE:=17 +PKG_RELEASE:=18 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/package/lean/luci-app-shadowsocksr-pro/luasrc/model/cbi/shadowsocksr.lua b/package/lean/luci-app-shadowsocksr-pro/luasrc/model/cbi/shadowsocksr.lua index 6a4395445..bac488c56 100644 --- a/package/lean/luci-app-shadowsocksr-pro/luasrc/model/cbi/shadowsocksr.lua +++ b/package/lean/luci-app-shadowsocksr-pro/luasrc/model/cbi/shadowsocksr.lua @@ -122,6 +122,8 @@ protocol:value("auth_chain_a") protocol:value("auth_chain_b") protocol:value("auth_chain_c") protocol:value("auth_chain_d") +protocol:value("auth_chain_e") +protocol:value("auth_chain_f") obfs = s:taboption("main",ListValue, "obfs", translate("Obfs Param")) obfs:value("plain") @@ -143,8 +145,6 @@ obfs_param.rmempty = true obfs_param.datatype = "host" obfs_param:depends("plugin_param", "1") - - s:tab("list", translate("User-defined GFW-List")) gfwlist = s:taboption("list", TextValue, "conf") gfwlist.description = translate("
(!)Note: When the domain name is entered and will automatically merge with the online GFW-List. Please manually update the GFW-List list after applying.")