From: Van Waholtz Date: Sun, 5 Mar 2023 12:31:39 +0000 (+0800) Subject: sing-box: add necessary dependencies and cleanup Makefile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c2bd22cb236f42f58394ae0f796ddd6fc64006f;p=feed%2Fpackages.git 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 --- diff --git a/net/sing-box/Makefile b/net/sing-box/Makefile index 921f599cc1..22b409bb92 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"