|
|
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|
|
|
|
|
PKG_NAME:=luci-app-ssr-plus
|
|
|
PKG_VERSION:=186
|
|
|
-PKG_RELEASE:=3
|
|
|
+PKG_RELEASE:=5
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:= \
|
|
|
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun \
|
|
|
@@ -35,6 +35,8 @@ LUCI_DEPENDS:= \
|
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Redsocks2:redsocks2 \
|
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_SagerNet_Core:curl \
|
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_SagerNet_Core:sagernet-core \
|
|
|
+ +PACKAGE_$(PKG_NAME)_INCLUDE_Xray:curl \
|
|
|
+ +PACKAGE_$(PKG_NAME)_INCLUDE_Xray:xray-core \
|
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks_Libev_Client:shadowsocks-libev-ss-local \
|
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks_Libev_Client:shadowsocks-libev-ss-redir \
|
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks_Libev_Server:shadowsocks-libev-ss-server \
|
|
|
@@ -50,6 +52,18 @@ LUCI_DEPENDS:= \
|
|
|
define Package/$(PKG_NAME)/config
|
|
|
select PACKAGE_luci-lib-ipkg if PACKAGE_$(PKG_NAME)
|
|
|
|
|
|
+choice
|
|
|
+ prompt "V2Ray Edition Selection"
|
|
|
+ default PACKAGE_$(PKG_NAME)_INCLUDE_Xray
|
|
|
+
|
|
|
+ config PACKAGE_$(PKG_NAME)_INCLUDE_Xray
|
|
|
+ bool "Include Xray Core"
|
|
|
+
|
|
|
+ config PACKAGE_$(PKG_NAME)_INCLUDE_SagerNet_Core
|
|
|
+ bool "Include sagernet-core (An enhanced edition of v2ray-core)"
|
|
|
+
|
|
|
+endchoice
|
|
|
+
|
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun
|
|
|
bool "Include Kcptun"
|
|
|
default n
|
|
|
@@ -59,7 +73,7 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_Hysteria
|
|
|
default n
|
|
|
|
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_IPT2Socks
|
|
|
- bool "Include ipt2socks"
|
|
|
+ bool "Include Ipt2socks"
|
|
|
default n
|
|
|
|
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_NaiveProxy
|
|
|
@@ -71,10 +85,6 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_Redsocks2
|
|
|
bool "Include Redsocks2"
|
|
|
default n
|
|
|
|
|
|
-config PACKAGE_$(PKG_NAME)_INCLUDE_SagerNet_Core
|
|
|
- bool "Include sagernet-core (An enhanced edition of v2ray-core)"
|
|
|
- default y if aarch64||arm||i386||x86_64
|
|
|
-
|
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks_Libev_Client
|
|
|
bool "Include Shadowsocks Libev Client"
|
|
|
default y if arm
|