Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions net/sing-box/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=sing-box
PKG_VERSION:=1.12.17
PKG_VERSION:=1.13.18

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upstream commit bumped 1.12.22 → 1.13.18; on this branch the same change lands as 1.12.17 → 1.13.18, because the intermediate stable updates were never backported — 1.12.18, 1.12.20 and 1.12.22 are all on master only.

So this moves openwrt-25.12 straight onto a new minor series rather than staying inside the 1.12.x series the branch currently ships. Is that the intent for this stable branch, or would backporting the remaining 1.12.x point releases be preferred? The commit body was correctly adjusted to drop the "from 1.12.22" wording, so this looks deliberate — just flagging it as a maintainer call.


Generated by Claude Code

PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/SagerNet/sing-box/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=37188348531f669ead897afc8a2e96806f2f94150e48a78d2b24edacfd4f93f0
PKG_HASH:=e41ed9d7adecd7597c1d5cc91818366a9538d94b41c244225ac40ac948c643f5

PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE
Expand All @@ -19,6 +19,7 @@ PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/sagernet/sing-box
GO_PKG_BUILD_PKG:=$(GO_PKG)/cmd/sing-box

GO_PKG_LDFLAGS:=-checklinkname=0
GO_PKG_LDFLAGS_X:=$(GO_PKG)/constant.Version=$(PKG_VERSION)

include $(INCLUDE_DIR)/package.mk
Expand Down Expand Up @@ -62,6 +63,9 @@ define Package/sing-box/config
config SINGBOX_WITH_ACME
bool "Build with ACME TLS certificate issuer support"

config SINGBOX_WITH_CCM
bool "Build with Claude Code Multiplexer service support"

config SINGBOX_WITH_CLASH_API
bool "Build with Clash API support"
default y
Expand All @@ -79,6 +83,9 @@ define Package/sing-box/config
bool "Build with gVisor support"
default y

config SINGBOX_WITH_OCM
bool "Build with OpenAI Codex Multiplexer service support"

config SINGBOX_WITH_QUIC
bool "Build with QUIC support"
default y
Expand All @@ -102,11 +109,13 @@ endef

PKG_CONFIG_DEPENDS:= \
CONFIG_SINGBOX_WITH_ACME \
CONFIG_SINGBOX_WITH_CCM \
CONFIG_SINGBOX_WITH_CLASH_API \
CONFIG_SINGBOX_WITH_DHCP \
CONFIG_SINGBOX_WITH_EMBEDDED_TOR \
CONFIG_SINGBOX_WITH_GRPC \
CONFIG_SINGBOX_WITH_GVISOR \
CONFIG_SINGBOX_WITH_OCM \
CONFIG_SINGBOX_WITH_QUIC \
CONFIG_SINGBOX_WITH_TAILSCALE \
CONFIG_SINGBOX_WITH_UTLS \
Expand All @@ -117,20 +126,24 @@ ifeq ($(BUILD_VARIANT),tiny)
ifeq ($(CONFIG_SMALL_FLASH),)
GO_PKG_TAGS:=with_gvisor
endif
GO_PKG_TAGS:=$(GO_PKG_TAGS),with_quic,with_utls,with_clash_api
GO_PKG_TAGS:=$(subst $(space),$(comma),$(strip $(GO_PKG_TAGS) with_quic with_utls with_clash_api badlinkname tfogo_checklinkname0))
else
GO_PKG_TAGS:=$(subst $(space),$(comma),$(strip \
$(if $(CONFIG_SINGBOX_WITH_ACME),with_acme) \
$(if $(CONFIG_SINGBOX_WITH_CCM),with_ccm) \
$(if $(CONFIG_SINGBOX_WITH_CLASH_API),with_clash_api) \
$(if $(CONFIG_SINGBOX_WITH_DHCP),with_dhcp) \
$(if $(CONFIG_SINGBOX_WITH_EMBEDDED_TOR),with_embedded_tor) \
$(if $(CONFIG_SINGBOX_WITH_GRPC),with_grpc) \
$(if $(CONFIG_SINGBOX_WITH_GVISOR),with_gvisor) \
$(if $(CONFIG_SINGBOX_WITH_OCM),with_ocm) \
$(if $(CONFIG_SINGBOX_WITH_QUIC),with_quic) \
$(if $(CONFIG_SINGBOX_WITH_TAILSCALE),with_tailscale) \
$(if $(CONFIG_SINGBOX_WITH_UTLS),with_utls) \
$(if $(CONFIG_SINGBOX_WITH_V2RAY_API),with_v2ray_api) \
$(if $(CONFIG_SINGBOX_WITH_WIREGUARD),with_wireguard) \
badlinkname \
tfogo_checklinkname0 \
))
endif

Expand Down
Loading