sing-box-ref1nd-testing-bin

LOW
maintainer Yukari0201 0 votes scanned 2026-09-17 15:25:49.288233
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Yukari0201 130890393+Yukari0201@users.noreply.github.com
2
3_pkgname=sing-box
4pkgname="$_pkgname"-ref1nd-testing-bin
5_pkgver_testing=1.15.0-alpha.4-reF1nd # renovate: datasource=github-releases depName=reF1nd/sing-box-releases
6pkgver="${_pkgver_testing//-/.}"
7pkgrel=2
8
9pkgdesc='The universal proxy platform.'
10arch=('x86_64' 'aarch64')
11url='https://github.com/reF1nd/sing-box'
12license=('GPL-3.0')
13
14provides=("$_pkgname")
15conflicts=("$_pkgname")
16
17source=(
18 "config.json::https://raw.githubusercontent.com/reF1nd/sing-box/refs/tags/v${_pkgver_testing}/release/config/config.json"
19 "sing-box.rules::https://raw.githubusercontent.com/reF1nd/sing-box/refs/tags/v${_pkgver_testing}/release/config/sing-box.rules"
20 "sing-box.service::https://raw.githubusercontent.com/reF1nd/sing-box/refs/tags/v${_pkgver_testing}/release/config/sing-box.service"
21 "sing-box@.service::https://raw.githubusercontent.com/reF1nd/sing-box/refs/tags/v${_pkgver_testing}/release/config/sing-box@.service"
22 "sing-box-split-dns.xml::https://raw.githubusercontent.com/reF1nd/sing-box/refs/tags/v${_pkgver_testing}/release/config/sing-box-split-dns.xml"
23 "sing-box.sysusers::https://raw.githubusercontent.com/reF1nd/sing-box/refs/tags/v${_pkgver_testing}/release/config/sing-box.sysusers"
24)
25source_x86_64=("sing-box-${_pkgver_testing}-linux-amd64-purego.tar.gz::https://github.com/reF1nd/sing-box-releases/releases/download/v${_pkgver_testing}/sing-box-${_pkgver_testing}-linux-amd64-purego.tar.gz")
26source_aarch64=("sing-box-${_pkgver_testing}-linux-arm64-purego.tar.gz::https://github.com/reF1nd/sing-box-releases/releases/download/v${_pkgver_testing}/sing-box-${_pkgver_testing}-linux-arm64-purego.tar.gz")
27
28sha256sums=('4da8152e6cc1b50b1eaa4ff5606510aeb6d3f6a6a5c91614d4b2c0ea9a2b1bde'
29 '5a1135cd779a948882702e62b349c19cb72ef56c4af6567bc8f1794ca3b9fbcd'
30 '259fa4ee0a29fb863bd1597eba9392bd9767c679c1e28b8b1ee91ce1ea01c84d'
31 '0b8740010bb3b2a5b65f1cc444b00127372d015f70f272ed566606949ed2b91b'
32 'ebdab3b912603c44b4d76640c5db5c4bc0ca04213d7f34ccaa5e789ba40b426f'
33 '0d0631619b6f680b9a80b9a8f65c7a30f2565e80279182f63c77854051c5d473')
34sha256sums_x86_64=('b34b56916d6699c042cd073dc04fd5a2037a58e8819d3978fcab5164ca7ee0cc')
35sha256sums_aarch64=('a3a09aff7dbb89ed337d99d1d57f8f9ea5b0778a66fe1f275450526bf1211dde')
36
37backup=("etc/$_pkgname/config.json")
38
39package() {
40 declare -A ARCH_MAP
41 ARCH_MAP=( [x86_64]="amd64" [aarch64]="arm64" )
42
43 install -Dm644 config.json -t "$pkgdir/etc/$_pkgname"
44 install -Dm644 sing-box.service -t "$pkgdir/usr/lib/systemd/system"
45 install -Dm644 sing-box@.service -t "$pkgdir/usr/lib/systemd/system"
46 install -Dm644 sing-box.sysusers "$pkgdir/usr/lib/sysusers.d/$_pkgname.conf"
47 install -Dm644 sing-box.rules -t "$pkgdir/usr/share/polkit-1/rules.d"
48 install -Dm644 sing-box-split-dns.xml "$pkgdir/usr/share/dbus-1/system.d/sing-box-split-dns.conf"
49
50 cd "sing-box-$_pkgver_testing-linux-${ARCH_MAP[$CARCH]}-purego"
51 install -Dm755 sing-box -t "$pkgdir/usr/bin"
52 install -Dm644 libcronet.so -t "$pkgdir/usr/lib"
53 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname"
54 install -Dm644 <(./sing-box completion bash) "$pkgdir/usr/share/bash-completion/completions/${_pkgname}"
55 install -Dm644 <(./sing-box completion fish) "$pkgdir/usr/share/fish/vendor_completions.d/${_pkgname}.fish"
56 install -Dm644 <(./sing-box completion zsh) "$pkgdir/usr/share/zsh/site-functions/_${_pkgname}"
57}
58

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 15:25:49 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion