Skip to content

[25.12] sing-box: bump to 1.13.18 without Naive outbound support - #30268

Open
Ser9ei wants to merge 1 commit into
openwrt:openwrt-25.12from
Ser9ei:backport/sing-box-1.13.18
Open

[25.12] sing-box: bump to 1.13.18 without Naive outbound support#30268
Ser9ei wants to merge 1 commit into
openwrt:openwrt-25.12from
Ser9ei:backport/sing-box-1.13.18

Conversation

@Ser9ei

@Ser9ei Ser9ei commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This patch updates sing-box to 1.13.18.

Upstream release information:
https://github.com/SagerNet/sing-box/releases/tag/v1.13.0 https://github.com/SagerNet/sing-box/releases/tag/v1.13.18

Scope note:

The upstream Naive outbound feature is intentionally not enabled in this update. Naive outbound requires additional build system integration because it depends on Chromium Network Stack (Cronet). Depending on target and build mode, it requires either the Cronet runtime library or a Chromium-based toolchain. Upstream documentation:
https://sing-box.sagernet.org/configuration/outbound/naive/#structure

Changes:

  1. Add upstream linker flags and compatibility build tags

Add linker flags required by the sing-box upstream release build:

  • -checklinkname=0

Documentation:
https://sing-box.sagernet.org/installation/build-from-source/#linker-flags

-checklinkname=0 is required by the sing-box 1.13.x build configuration due to its use of low-level go:linkname functionality and the stricter linkname validation in newer Go toolchains.

Add upstream compatibility build tags required by sing-box 1.13.x:

  • badlinkname
  • tfogo_checklinkname0

These tags are part of the upstream sing-box release build configuration: https://sing-box.sagernet.org/installation/build-from-source/#build-tags

  1. Add optional CCM and OCM build options

Add new optional OpenWrt configuration options:

  • CONFIG_SINGBOX_WITH_CCM Build with Claude Code Multiplexer service support
  • CONFIG_SINGBOX_WITH_OCM Build with OpenAI Codex Multiplexer service support

Both options are disabled by default and are only enabled when explicitly selected by the user.

The corresponding upstream build tags are:

  • with_ccm
  • with_ocm

Documentation: https://sing-box.sagernet.org/installation/build-from-source/#build-tags

(cherry picked from commit e99adbc)

📦 Package Details

Maintainer: @brvphoenix

🧪 Run Testing Details

  • OpenWrt Version: 25.12.5
  • OpenWrt Target/Subtarget: mediatek/filogic
  • OpenWrt Device: Xiaomi Mi Router AX3000T

@openwrt openwrt Bot added not following guidelines release/25.12 Issues/PR on branch 25.12 labels Aug 12, 2026
@Ser9ei
Ser9ei force-pushed the backport/sing-box-1.13.18 branch from 12452f1 to 05d90f8 Compare August 12, 2026 19:50
@Ser9ei
Ser9ei force-pushed the backport/sing-box-1.13.18 branch from 05d90f8 to 5e776a5 Compare August 13, 2026 03:19

@openwrt-ai openwrt-ai left a comment

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.

Reviewed 1 new commit as a backport of the master change.

The Makefile hunks themselves are a faithful cherry-pick: comparing the resulting net/sing-box/Makefile against the post-commit file on master, the only difference is the missing PKG_CPE_ID:=cpe:/a:sagernet:sing-box line, which is pre-existing divergence of openwrt-25.12 (added to master in a75fc52) and not something this PR introduced. PKG_RELEASE is correctly left at 1 for the version bump.

Commit checks

  • 5e776a5 "sing-box: bump to 1.13.18 without Naive outbound support" — the (cherry picked from commit da594ae04b39cdc9f524962a03156c27bc3e6c83) trailer references a commit that is not reachable from master. da594ae0 is the pre-merge commit from the contributor branch; the commit actually merged into master is e99adbc49f7a11d0377c8135fe706c7757b9e68c (same author and author-date, committed by Hannu Nyman on 2026-08-12). A backport trailer should point at the merged master SHA so the commit can be located later — please re-run the cherry-pick with git cherry-pick -x e99adbc49f7a11d0377c8135fe706c7757b9e68c, or amend the trailer to that SHA.

Generated by Claude Code

Comment thread net/sing-box/Makefile

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

@Ser9ei
Ser9ei force-pushed the backport/sing-box-1.13.18 branch from 5e776a5 to 235498b Compare August 13, 2026 06:34
@Ser9ei

Ser9ei commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

The CI failure appears to be unrelated to this PR. One of the CI tests fails while downloading a package index from the OpenWrt download server.
The same failure is reproducible on other PRs, while the other CI jobs pass.
No changes to this PR are required.

@Ser9ei
Ser9ei requested a review from openwrt-ai August 13, 2026 06:58
This patch updates sing-box to 1.13.18.

Upstream release information:
https://github.com/SagerNet/sing-box/releases/tag/v1.13.0
https://github.com/SagerNet/sing-box/releases/tag/v1.13.18

Scope note:

The upstream Naive outbound feature is intentionally not enabled in this update.
Naive outbound requires additional build system integration because it depends on
Chromium Network Stack (Cronet). Depending on target and build mode, it requires
either the Cronet runtime library or a Chromium-based toolchain.
Upstream documentation:
https://sing-box.sagernet.org/configuration/outbound/naive/#structure

Changes:

1. Add upstream linker flags and compatibility build tags

Add linker flags required by the sing-box upstream release build:
- -checklinkname=0

Documentation:
https://sing-box.sagernet.org/installation/build-from-source/#linker-flags

-checklinkname=0 is required by the sing-box 1.13.x build configuration due to its use of
low-level go:linkname functionality and the stricter linkname validation in newer Go toolchains.

Add upstream compatibility build tags required by sing-box 1.13.x:
- badlinkname
- tfogo_checklinkname0

These tags are part of the upstream sing-box release build configuration:
https://sing-box.sagernet.org/installation/build-from-source/#build-tags

2. Add optional CCM and OCM build options

Add new optional OpenWrt configuration options:
- CONFIG_SINGBOX_WITH_CCM
  Build with Claude Code Multiplexer service support
- CONFIG_SINGBOX_WITH_OCM
  Build with OpenAI Codex Multiplexer service support

Both options are disabled by default and are only enabled when explicitly
selected by the user.

The corresponding upstream build tags are:
- with_ccm
- with_ocm

Documentation: https://sing-box.sagernet.org/installation/build-from-source/#build-tags
Signed-off-by: Sergei S. <it4notice@proton.me>
(cherry picked from commit e99adbc)
@Ser9ei
Ser9ei force-pushed the backport/sing-box-1.13.18 branch from 235498b to a188b70 Compare August 13, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/25.12 Issues/PR on branch 25.12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants