mirrorz-org/mirrorz-help

contents: init: MacPorts

Opened this issue · 1 comments

l2dy commented

已有镜像链接(Existing Mirrored Repo URL)

https://mirror.sjtu.edu.cn/macports/

已经存在的帮助页面(Existing help pages)

No response

备注 (Note)

镜像需要先加入 MacPorts 官方镜像,之后用户可以通过在 /opt/local/etc/macports/macports.conf 配置 preferred_hosts 选择优先连接的镜像站,例如 mirror.sjtu.edu.cn*.cn.*.macports.org(支持通配符)。

未加入官方镜像的站点也可以通过配置 /opt/local/etc/macports/archive_sites.conf 指定,但对下载 distfiles 不生效。

现有的官方镜像站列表见 https://trac.macports.org/wiki/Mirrors

可以交个 PR 吗?