summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVan Waholtz <brvphoenix@gmail.com>2023-03-05 20:31:39 +0800
committerTianling Shen <cnsztl@gmail.com>2023-03-06 13:23:06 +0800
commit5c2bd22cb236f42f58394ae0f796ddd6fc64006f (patch)
treef5b25ee65f7e5848d75f78504ada9fe6b8f40a56
parenta79df49a5fb7fed5a525c72824c966261cbef62e (diff)
sing-box: add necessary dependencies and cleanup Makefile
1. Add `kmod-inet-diag` as a dependency since it is needed for https://sing-box.sagernet.org/configuration/dns/rule/#process_name 2. Remove redundant `default n` (https://github.com/openwrt/openwrt/commit/8bc72ea7be3976711dacc09f0fdab061d6e5152a) Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
-rw-r--r--net/sing-box/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/net/sing-box/Makefile b/net/sing-box/Makefile
index 921f599cc..22b409bb9 100644
--- a/net/sing-box/Makefile
+++ b/net/sing-box/Makefile
@@ -27,7 +27,7 @@ define Package/sing-box
SECTION:=net
CATEGORY:=Network
URL:=https://sing-box.sagernet.org
- DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle +kmod-tun
+ DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle +kmod-inet-diag +kmod-tun
USERID:=sing-box=5566:sing-box=5566
endef
@@ -42,7 +42,6 @@ define Package/sing-box/config
config SINGBOX_WITH_ACME
bool "Build with ACME TLS certificate issuer support"
- default n
config SINGBOX_WITH_CLASH_API
bool "Build with Clash API support"
@@ -50,15 +49,12 @@ define Package/sing-box/config
config SINGBOX_WITH_ECH
bool "Build with TLS ECH extension support for TLS outbound"
- default n
config SINGBOX_WITH_EMBEDDED_TOR
bool "Build with embedded Tor support"
- default n
config SINGBOX_WITH_GRPC
bool "Build with standard gRPC support"
- default n
config SINGBOX_WITH_GVISOR
bool "Build with gVisor support"
@@ -66,7 +62,6 @@ define Package/sing-box/config
config SINGBOX_WITH_LWIP
bool "Build with LWIP Tun stack support"
- default n
config SINGBOX_WITH_QUIC
bool "Build with QUIC support"
@@ -74,7 +69,6 @@ define Package/sing-box/config
config SINGBOX_WITH_SHADOWSOCKSR
bool "Build with ShadowsocksR support"
- default n
config SINGBOX_WITH_UTLS
bool "Build with uTLS support for TLS outbound"
@@ -82,7 +76,6 @@ define Package/sing-box/config
config SINGBOX_WITH_V2RAY_API
bool "Build with V2Ray API support"
- default n
config SINGBOX_WITH_WIREGUARD
bool "Build with WireGuard support"