@leisureyu/dsh-aria2-darwin-arm64 0.0.0-stage → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -2
- package/bin/aria2c +0 -0
- package/package.json +27 -4
package/README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @leisureyu/dsh-aria2-darwin-arm64
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
为 **macOS arm64(Apple Silicon)** 平台预打包的 [aria2](https://aria2.github.io/) `aria2c` 二进制文件,作为 `dsh-smart-dl` 插件的随包依赖分发,使用户无需自行安装 aria2。
|
|
4
|
+
|
|
5
|
+
- 版本:aria2 **1.37.0**
|
|
6
|
+
- 平台:`darwin` / `arm64`
|
|
7
|
+
- 二进制路径:`bin/aria2c`
|
|
8
|
+
|
|
9
|
+
## 二进制来源
|
|
10
|
+
|
|
11
|
+
与 win32 / linux 子包不同,aria2 官方**不发布** macOS 二进制,第三方候选又过不了可信门槛(逐个来源的核对结论见主仓库 `docs/COMPATIBILITY.md` 与 `docs/PLAN-P2-PLATFORM.md`)。本子包的二进制由**本仓库自己的 CI** 从官方源码构建:
|
|
12
|
+
|
|
13
|
+
- 源码:`https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.bz2`
|
|
14
|
+
- 源码 SHA256:`a75c8534902ff1a64a23d7a47c033032329002553634251a89d53a9cb8b20efa`(构建前核对,任何不匹配立即失败)
|
|
15
|
+
- 构建脚本:`scripts/build-aria2-darwin.sh`(跑在 `macos-15` runner 上,Apple Silicon 原生构建,非 Rosetta)
|
|
16
|
+
- 构建配置:openssl 静态归档链入(TLS 后端与 win/linux 平台一致);metalink / SFTP / SQLite / libz 等本插件用不到的组件全部关闭;`otool -L` 断言动态依赖**只有系统库**(链接进 brew 路径的二进制在用户机器上无法运行)
|
|
17
|
+
- 签名:ad-hoc(本机可运行;npm 安装路径不经过 Gatekeeper,无公证需求)
|
|
18
|
+
- 每次发布的工作流与提交一一对应,可复现:同一段脚本、同一份 pin 过的源码
|
|
19
|
+
|
|
20
|
+
## CI 实测(2026-10-31,spike-darwin.yml run #6)
|
|
21
|
+
|
|
22
|
+
- 动态依赖(`otool -L`):`Security.framework` + `/usr/lib/libc++.1.dylib` +
|
|
23
|
+
`/usr/lib/libSystem.B.dylib`,共三条,全部为系统库
|
|
24
|
+
- 构建耗时:约 5.5–6.5 分钟(GitHub macOS 标准 runner,含 brew 依赖检查)
|
|
25
|
+
- HTTPS 冒烟:从 `registry.npmjs.org` 真实下载成功;集成冒烟经插件自身
|
|
26
|
+
`buildAria2Invocation`(头走 stdin)下载 1MiB 逐字节核对通过
|
|
27
|
+
|
|
28
|
+
由 CI(`.github/workflows/publish.yml` 的 `binaries-darwin` job)构建并复制到 `bin/aria2c`,**不提交到 Git 仓库**。本地开发时请按主仓库 README 的说明手动放置该文件。
|
|
29
|
+
|
|
30
|
+
## 许可证
|
|
31
|
+
|
|
32
|
+
aria2 基于 **GPL-2.0-or-later** 许可,本子包同样声明为 `GPL-2.0-or-later`。详见 <https://github.com/aria2/aria2/blob/master/COPYING>。
|
package/bin/aria2c
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leisureyu/dsh-aria2-darwin-arm64",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.37.0",
|
|
4
|
+
"description": "Bundled aria2c binary for macOS arm64 (built from official source in this repo's CI)",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/LeiSureYu/dsh-smart-download.git",
|
|
8
|
+
"directory": "packages/aria2-darwin-arm64"
|
|
9
|
+
},
|
|
10
|
+
"type": "commonjs",
|
|
11
|
+
"os": [
|
|
12
|
+
"darwin"
|
|
13
|
+
],
|
|
14
|
+
"cpu": [
|
|
15
|
+
"arm64"
|
|
16
|
+
],
|
|
17
|
+
"files": [
|
|
18
|
+
"bin/aria2c",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"keywords": [
|
|
22
|
+
"aria2",
|
|
23
|
+
"aria2c",
|
|
24
|
+
"darwin",
|
|
25
|
+
"arm64",
|
|
26
|
+
"binary"
|
|
27
|
+
],
|
|
28
|
+
"license": "GPL-2.0-or-later"
|
|
29
|
+
}
|