DeepChirp pushed to branch main at Arch Linux / Packaging / Packages / sing-box


Commits:
11d173a4 by DeepChirp at 2026-09-17T15:10:28+08:00
Add more optional dependencies

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -19,8 +19,12 @@ pkgbase = sing-box
        depends = brotli
        depends = zstd
        depends = zlib
-       optdepends = sing-geosite-rule-set: GeoSite rule sets
-       optdepends = sing-geoip-rule-set: GeoIP rule sets
+       optdepends = sing-geosite-rule-set: GeoSite rule sets for domain 
matching
+       optdepends = sing-geoip-rule-set: GeoIP rule sets for IP matching
+       optdepends = networkmanager: Wi-Fi SSID/BSSID routing rule support via 
NetworkManager
+       optdepends = iwd: Wi-Fi SSID/BSSID routing rule support via iwd
+       optdepends = wpa_supplicant: Wi-Fi SSID/BSSID routing rule support via 
wpa_supplicant
+       optdepends = connman: Wi-Fi SSID/BSSID routing rule support via ConnMan
        backup = etc/sing-box/config.json
        source = 
sing-box-1.14.1.tar.gz::https://github.com/SagerNet/sing-box/archive/v1.14.1.tar.gz
        source = 
git+https://github.com/SagerNet/cronet-go.git#commit=049f2909701ca088c9569f6b303bba5376a2b2ff


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=sing-box
 pkgver=1.14.1
-# Check the hash for `cronet-go` in `go.sum`, and visit the `go` branch of 
`SagerNet/cronet-go` to obtain the commit hash
+# Check the hash in `.github/CRONET_GO_VERSION`, then visit the `go` branch of 
`SagerNet/cronet-go` to get the commit hash
 _cronet_commit_hash=049f2909701ca088c9569f6b303bba5376a2b2ff
 pkgrel=2
 pkgdesc='The universal proxy platform'
@@ -23,10 +23,29 @@ 
sha256sums=('1ea41f7d06b0017fe3d3ba7ee30959048aa0ddde31cb0165dab9257edf673321'
             '58c83e0ab0587a8bb020d98ee5cd787e32f692041824b2ae6b78812ec912c5a0'
             'b941918a0af49840bd929d16be947cc473b0c8b27a4ceab16da34e9b288a57dd'
             'b64f3bc06e74955d1027e3720a2ef14b6203722a5e7fe4c777a6b1051b9744dd')
-depends=('glibc' 'libgcc')
-makedepends=('clang' 'git' 'gn' 'go>=1.25' 'lld' 'llvm' 'ninja' 'python')
-optdepends=('sing-geosite-rule-set: GeoSite rule sets'
-            'sing-geoip-rule-set: GeoIP rule sets')
+depends=(
+    'glibc'
+    'libgcc'
+)
+makedepends=(
+    'clang'
+    'git'
+    'gn'
+    'go>=1.25'
+    'lld'
+    'llvm'
+    'ninja'
+    'python'
+)
+optdepends=(
+    'sing-geosite-rule-set: GeoSite rule sets for domain matching'
+    'sing-geoip-rule-set: GeoIP rule sets for IP matching'
+    # https://sing-box.sagernet.org/configuration/shared/wifi-state/
+    'networkmanager: Wi-Fi SSID/BSSID routing rule support via NetworkManager'
+    'iwd: Wi-Fi SSID/BSSID routing rule support via iwd'
+    'wpa_supplicant: Wi-Fi SSID/BSSID routing rule support via wpa_supplicant'
+    'connman: Wi-Fi SSID/BSSID routing rule support via ConnMan'
+)
 backup=("etc/${pkgname}/config.json")
 
 declare -gA _system_libs=(



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sing-box/-/commit/11d173a4a519828d199c40823b7ed73e2def5a28

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sing-box/-/commit/11d173a4a519828d199c40823b7ed73e2def5a28
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to