Package Details: sing-box 1.10.3-1

Git Clone URL: https://aur.archlinux.org/sing-box.git (read-only, click to copy)
Package Base: sing-box
Description: The universal proxy platform.
Upstream URL: https://sing-box.sagernet.org/
Licenses: custom:GPL-3.0-or-later WITH name use or association addition
Conflicts: sing-box-beta, sing-box-git
Submitter: everyx
Maintainer: everyx (lilac)
Last Packager: lilac
Votes: 10
Popularity: 0.93
First Submitted: 2022-09-15 09:44 (UTC)
Last Updated: 2024-11-27 12:40 (UTC)

Dependencies (3)

Required by (8)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

everyx commented on 2023-09-27 06:24 (UTC)

sing-box 有 completion 命令用于生成自动补全,可以用一下

参考 Termux 的 sing-box(但是考虑交叉编译的话得 go run 而不是拿 binary 跑?不是很懂 go)

@Henry-ZHR 已加入 completions

Henry-ZHR commented on 2023-09-27 04:49 (UTC)

sing-box 有 completion 命令用于生成自动补全,可以用一下

参考 Termux 的 sing-box(但是考虑交叉编译的话得 go run 而不是拿 binary 跑?不是很懂 go)

everyx commented on 2023-06-30 03:14 (UTC)

One or more files did not pass the validity check 我这边下载到的 *.tar.gz 的 sha256 是 e89ffdadf11d4b34d12b2c0659efea0f0786b2396ea4638c61a06e7772783ca5,不知道是不是上游换了

@Henry-ZHR 我刚看了一下,的确是变了,已更新

Henry-ZHR commented on 2023-06-29 15:52 (UTC) (edited on 2023-06-29 15:52 (UTC) by Henry-ZHR)

One or more files did not pass the validity check

我这边下载到的 *.tar.gz 的 sha256 是 e89ffdadf11d4b34d12b2c0659efea0f0786b2396ea4638c61a06e7772783ca5,不知道是不是上游换了

everyx commented on 2023-05-21 05:02 (UTC)

@rrenn 用 StateDirectory 设置了目录,应该没问题了,见 [commit](https://aur.archlinux.org/cgit/aur.git/commit/?h=sing-box&id=b6a69ce2e823d00d1b2632d8af3214ed00760c7b(

everyx commented on 2023-05-18 01:44 (UTC) (edited on 2023-05-18 01:45 (UTC) by everyx)

@rrenn 之前是看到 sing-box 现在会自动创建工作目录了,见 此 commit,所以就移除了自动创建工作目录的配置,见 此commit,目前看来是默认的 sing-box 用户权限不够,我晚上看看 systemd 有没有提供相关的配置方式,再提交修改

bgme commented on 2023-05-17 08:18 (UTC) (edited on 2023-05-17 08:25 (UTC) by bgme)

@everyx This package must create manually the directory /var/lib/sing-box or /var/lib/sing-box-%i, otherwise the service cannot run.

I made a patch to fix this problems. https://github.com/yingziwu/sing-box-AUR/commit/baeef3571643e3419c84c02812f9a200f1520a3f

AvianaCruz commented on 2022-12-18 07:52 (UTC) (edited on 2022-12-18 07:53 (UTC) by AvianaCruz)

@everyx "XDG Base Directory Specification" is for user units. When it works as a system unit, it should follow Filesystem Hierarchy Standard. And $XDG_CONFIG_HOME is default to $HOME/.config. WorkingDirectory and ConfigurationDirectory are indeed not the same concept, but their values can be the same.

everyx commented on 2022-12-17 03:12 (UTC)

@AvianaCruz ConfigurationDirectory is the base directory for all apps, something like $HOME/.config or /etc, if sing-box follow the XDG Base Directory Specification, it should create or lookup it's specific config directory (not the global ConfigurationDirectory), something like ${XDG_CONFIG_HOME}/sing-box, and use config.json or other user specific config files.

WorkingDirectory and ConfigurationDirectory are not the same.

AvianaCruz commented on 2022-12-16 06:21 (UTC) (edited on 2022-12-16 06:21 (UTC) by AvianaCruz)

@everyx I don't think that it could be used as user unit without modification, so ConfigurationDirectory is the correct way to create directory automatically.

Or should it be added in the upstream?