mirror of
https://github.com/RubyMetric/chsrc
synced 2025-09-08 07:34:42 +08:00
添加了 *BSD
的官方镜像源 (Gitee !13 )
* 添加了 `OpenBSD` 的官方镜像源 * 添加了 `NetBSD` 的官方镜像源 * 添加了 `FreeBSD` 的官方镜像源
This commit is contained in:
parent
7f1832b5fd
commit
4cffe05711
@ -15,7 +15,7 @@ os_freebsd_prelude ()
|
||||
|
||||
chef_set_chef (this, NULL);
|
||||
chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y");
|
||||
chef_set_sauciers (this, 0);
|
||||
chef_set_sauciers (this, 1, "@hezonglun");
|
||||
|
||||
chef_allow_local_mode (this, CanNot, NULL, NULL);
|
||||
chef_forbid_english(this);
|
||||
@ -25,7 +25,7 @@ os_freebsd_prelude ()
|
||||
// 2023-09-24: 以下三个USTC, NJU, Netease 均维护了 freebsd-pkg freebsd-ports
|
||||
// 2023-09-27: 请务必保持Nju前面有至少一个镜像,原因请查看 freebsd 的换源函数
|
||||
def_sources_begin()
|
||||
{&UpstreamProvider, NULL, DelegateToUpstream},
|
||||
{&UpstreamProvider, "pkg.freebsd.org", DelegateToUpstream},
|
||||
{&Ustc, "mirrors.ustc.edu.cn", DelegateToMirror},
|
||||
{&Nju, "mirror.nju.edu.cn", DelegateToMirror},
|
||||
{&Netease, "mirrors.163.com", DelegateToMirror},
|
||||
|
@ -15,7 +15,7 @@ os_netbsd_prelude ()
|
||||
|
||||
chef_set_chef (this, NULL);
|
||||
chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y");
|
||||
chef_set_sauciers (this, 0);
|
||||
chef_set_sauciers (this, 1, "@hezonglun");
|
||||
|
||||
|
||||
chef_allow_local_mode (this, CanNot, NULL, NULL);
|
||||
@ -23,7 +23,7 @@ os_netbsd_prelude ()
|
||||
chef_forbid_user_define(this);
|
||||
|
||||
def_sources_begin()
|
||||
{&UpstreamProvider, NULL, DelegateToUpstream},
|
||||
{&UpstreamProvider, "http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/", DelegateToUpstream},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/pkgsrc/packages/NetBSD/", DelegateToMirror},
|
||||
{&Ali, "https://mirrors.aliyun.com/pkgsrc/packages/NetBSD/", DelegateToMirror},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/pkgsrc/packages/NetBSD/", DelegateToMirror},
|
||||
|
@ -15,14 +15,14 @@ os_openbsd_prelude ()
|
||||
|
||||
chef_set_chef (this, NULL);
|
||||
chef_set_cooks (this, 2, "@G_I_Y", "@ccmywish");
|
||||
chef_set_sauciers (this, 0);
|
||||
chef_set_sauciers (this, 1, "@hezonglun");
|
||||
|
||||
chef_allow_local_mode (this, CanNot, NULL, NULL);
|
||||
chef_forbid_english(this);
|
||||
chef_forbid_user_define(this);
|
||||
|
||||
def_sources_begin()
|
||||
{&UpstreamProvider, NULL, DelegateToUpstream},
|
||||
{&UpstreamProvider, "https://cdn.openbsd.org/pub/OpenBSD/", DelegateToUpstream},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/OpenBSD/", DelegateToMirror},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/OpenBSD/", DelegateToMirror},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/", DelegateToMirror},
|
||||
|
Loading…
x
Reference in New Issue
Block a user