mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-03 20:20:32 +08:00
Format code
This commit is contained in:
@@ -13,16 +13,17 @@
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_armbian_sources[] = {
|
||||
{&UpstreamProvider, "http://apt.armbian.com"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/armbian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/armbian"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/armbian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/armbian"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/armbian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/armbian"},
|
||||
{&Nju, "https://mirrors.nju.edu.cn/armbian"},
|
||||
{&Ali, "https://mirrors.aliyun.com/armbian"},
|
||||
os_armbian_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://apt.armbian.com"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/armbian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/armbian"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/armbian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/armbian"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/armbian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/armbian"},
|
||||
{&Nju, "https://mirrors.nju.edu.cn/armbian"},
|
||||
{&Ali, "https://mirrors.aliyun.com/armbian"},
|
||||
};
|
||||
def_sources_n(os_armbian);
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
/**
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_debian_sources[] = {
|
||||
{&UpstreamProvider, "http://deb.debian.org/debian"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/debian/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/debian"},
|
||||
{&Volcengine, "https://mirrors.volces.com/debian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/debian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/debian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/debian"},
|
||||
{&Tencent, "https://mirrors.tencent.com/debian"},
|
||||
static Source_t os_debian_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://deb.debian.org/debian"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/debian/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/debian"},
|
||||
{&Volcengine, "https://mirrors.volces.com/debian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/debian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/debian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/debian"},
|
||||
{&Tencent, "https://mirrors.tencent.com/debian"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/debian"},
|
||||
{&Netease, "https://mirrors.163.com/debian"},
|
||||
{&Sohu, "https://mirrors.sohu.com/debian"}
|
||||
{&Netease, "https://mirrors.163.com/debian"},
|
||||
{&Sohu, "https://mirrors.sohu.com/debian"}
|
||||
};
|
||||
def_sources_n(os_debian);
|
||||
|
||||
|
||||
@@ -12,20 +12,20 @@
|
||||
/**
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_kali_sources[] = {
|
||||
{&UpstreamProvider, "http://http.kali.org/kali"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/kali"},
|
||||
{&Ali, "https://mirrors.aliyun.com/kali"},
|
||||
{&Volcengine, "https://mirrors.volces.com/kali"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/kali"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/kali"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/kali"},
|
||||
{&Tencent, "https://mirrors.tencent.com/kali"},
|
||||
static Source_t os_kali_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://http.kali.org/kali"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/kali"},
|
||||
{&Ali, "https://mirrors.aliyun.com/kali"},
|
||||
{&Volcengine, "https://mirrors.volces.com/kali"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/kali"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/kali"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/kali"},
|
||||
{&Tencent, "https://mirrors.tencent.com/kali"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/kali"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/kali"},
|
||||
{&Netease, "https://mirrors.163.com/kali"},
|
||||
{&Sohu, "https://mirrors.sohu.com/kali"}
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/kali"},
|
||||
{&Netease, "https://mirrors.163.com/kali"},
|
||||
{&Sohu, "https://mirrors.sohu.com/kali"}
|
||||
};
|
||||
def_sources_n(os_kali);
|
||||
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
/**
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_linuxlite_sources[] = {
|
||||
{&UpstreamProvider, "http://repo.linuxliteos.com/linuxlite/"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxliteos/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/linuxliteos/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/linuxliteos/"}
|
||||
static Source_t os_linuxlite_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://repo.linuxliteos.com/linuxlite/"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxliteos/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/linuxliteos/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/linuxliteos/"}
|
||||
};
|
||||
def_sources_n(os_linuxlite);
|
||||
|
||||
|
||||
@@ -11,22 +11,22 @@
|
||||
* @update 2024-11-21 更新
|
||||
* @note 实际上镜像站里的内容和Ubuntu的不太一样
|
||||
*/
|
||||
static Source_t
|
||||
os_linuxmint_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxmint/"},
|
||||
{&Ali, "http://mirrors.aliyun.com/linuxmint-packages/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/linuxmint/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/linuxmint/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/linuxmint/"},
|
||||
{&Jlu, "https://mirrors.jlu.edu.cn/linuxmint/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/linuxmint/"},
|
||||
{&Bjtu, "https://mirror.bjtu.edu.cn/linuxmint/"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/linuxmint/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/linuxmint/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/linuxmint/"},
|
||||
{&Scau, "https://mirrors.scau.edu.cn/linuxmint/"},
|
||||
{&Netease, "https://mirrors.163.com/linuxmint/packages/"},
|
||||
static Source_t os_linuxmint_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxmint/"},
|
||||
{&Ali, "http://mirrors.aliyun.com/linuxmint-packages/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/linuxmint/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/linuxmint/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/linuxmint/"},
|
||||
{&Jlu, "https://mirrors.jlu.edu.cn/linuxmint/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/linuxmint/"},
|
||||
{&Bjtu, "https://mirror.bjtu.edu.cn/linuxmint/"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/linuxmint/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/linuxmint/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/linuxmint/"},
|
||||
{&Scau, "https://mirrors.scau.edu.cn/linuxmint/"},
|
||||
{&Netease, "https://mirrors.163.com/linuxmint/packages/"},
|
||||
};
|
||||
def_sources_n(os_linuxmint);
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
/**
|
||||
* @update 2024-04-18
|
||||
*/
|
||||
static Source_t
|
||||
os_ros_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn"},
|
||||
{&Tencent, "https://mirrors.tencent.com"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com"},
|
||||
{&Netease, "https://mirrors.163.com"},
|
||||
{&Sohu, "https://mirrors.sohu.com"}
|
||||
static Source_t os_ros_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn"},
|
||||
{&Tencent, "https://mirrors.tencent.com"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com"},
|
||||
{&Netease, "https://mirrors.163.com"},
|
||||
{&Sohu, "https://mirrors.sohu.com"}
|
||||
};
|
||||
def_sources_n(os_ros);
|
||||
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
/**
|
||||
* @time 2023-09-29 更新
|
||||
*/
|
||||
static Source_t
|
||||
os_raspberrypi_sources[] = {
|
||||
{&UpstreamProvider, "https://archive.raspberrypi.com/"}, // https://archive.raspberrypi.org/ until Debian "bullseye" release
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/raspberrypi/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/raspberrypi/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/raspberrypi/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/raspberrypi/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/raspberrypi/"}
|
||||
static Source_t os_raspberrypi_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://archive.raspberrypi.com/"}, // https://archive.raspberrypi.org/ until Debian "bullseye" release
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/raspberrypi/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/raspberrypi/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/raspberrypi/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/raspberrypi/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/raspberrypi/"}
|
||||
};
|
||||
def_sources_n(os_raspberrypi);
|
||||
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2024-11-21 更新
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_trisquel_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/trisquel/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/trisquel/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/trisquel/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/trisquel/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/trisquel/"}
|
||||
static Source_t os_trisquel_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/trisquel/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/trisquel/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/trisquel/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/trisquel/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/trisquel/"}
|
||||
};
|
||||
def_sources_n(os_trisquel);
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_deepin_sources[] = {
|
||||
{&UpstreamProvider, "https://community-packages.deepin.com/deepin"},
|
||||
{&Ali, "https://mirrors.aliyun.com/deepin"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/deepin"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/deepin"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/deepin"},
|
||||
{&Tencent, "https://mirrors.tencent.com/deepin"},
|
||||
static Source_t os_deepin_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://community-packages.deepin.com/deepin"},
|
||||
{&Ali, "https://mirrors.aliyun.com/deepin"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/deepin"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/deepin"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/deepin"},
|
||||
{&Tencent, "https://mirrors.tencent.com/deepin"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/deepin"},
|
||||
{&Netease, "https://mirrors.163.com/deepin"},
|
||||
{&Sohu, "https://mirrors.sohu.com/deepin"}
|
||||
{&Netease, "https://mirrors.163.com/deepin"},
|
||||
{&Sohu, "https://mirrors.sohu.com/deepin"}
|
||||
};
|
||||
def_sources_n(os_deepin);
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
/**
|
||||
* @time 2023-09-29 更新
|
||||
*/
|
||||
static Source_t
|
||||
os_openkylin_sources[] = {
|
||||
{&UpstreamProvider, "https://archive.openkylin.top/openkylin/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openkylin/"},
|
||||
{&Netease, "https://mirrors.163.com/openkylin/"},
|
||||
static Source_t os_openkylin_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://archive.openkylin.top/openkylin/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openkylin/"},
|
||||
{&Netease, "https://mirrors.163.com/openkylin/"},
|
||||
};
|
||||
def_sources_n(os_openkylin);
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_alpine_sources[] = {
|
||||
{&UpstreamProvider, "http://dl-cdn.alpinelinux.org/alpine"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/alpine"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/alpine"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/alpine"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/alpine"},
|
||||
{&Lzuoss, "https://mirror.lzu.edu.cn/alpine"},
|
||||
{&Ali, "https://mirrors.aliyun.com/alpine"},
|
||||
{&Tencent, "https://mirrors.cloud.tencent.com/alpine"},
|
||||
// {&Tencent_Intra, "https://mirrors.cloud.tencentyun.com/alpine"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/alpine"}
|
||||
static Source_t os_alpine_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://dl-cdn.alpinelinux.org/alpine"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/alpine"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/alpine"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/alpine"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/alpine"},
|
||||
{&Lzuoss, "https://mirror.lzu.edu.cn/alpine"},
|
||||
{&Ali, "https://mirrors.aliyun.com/alpine"},
|
||||
{&Tencent, "https://mirrors.cloud.tencent.com/alpine"},
|
||||
// {&Tencent_Intra, "https://mirrors.cloud.tencentyun.com/alpine"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/alpine"}
|
||||
};
|
||||
def_sources_n(os_alpine);
|
||||
|
||||
|
||||
@@ -9,19 +9,19 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2023-09-27 更新
|
||||
* @update 2023-09-27
|
||||
*
|
||||
* @note by:ccmywish {
|
||||
* [2023-09-24] 以下三个USTC, NJU, Netease 均维护了 freebsd-pkg freebsd-ports
|
||||
* [2023-09-27] 请务必保持Nju前面有至少一个镜像,原因请查看 freebsd 的换源函数
|
||||
* @note {
|
||||
* 2023-09-24: 以下三个USTC, NJU, Netease 均维护了 freebsd-pkg freebsd-ports
|
||||
* 2023-09-27: 请务必保持Nju前面有至少一个镜像,原因请查看 freebsd 的换源函数
|
||||
* }
|
||||
*/
|
||||
static Source_t
|
||||
os_freebsd_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ustc, "mirrors.ustc.edu.cn"},
|
||||
{&Nju, "mirror.nju.edu.cn"},
|
||||
{&Netease, "mirrors.163.com"},
|
||||
static Source_t os_freebsd_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ustc, "mirrors.ustc.edu.cn"},
|
||||
{&Nju, "mirror.nju.edu.cn"},
|
||||
{&Netease, "mirrors.163.com"},
|
||||
};
|
||||
def_sources_n(os_freebsd);
|
||||
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_netbsd_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/pkgsrc/packages/NetBSD/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/pkgsrc/packages/NetBSD/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/pkgsrc/packages/NetBSD/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/pkgsrc/packages/NetBSD/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/pkgsrc/packages/NetBSD/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/pkgsrc/packages/NetBSD/"},
|
||||
{&Netease, "https://mirrors.163.com/pkgsrc/packages/NetBSD/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/pkgsrc/packages/NetBSD/"}
|
||||
static Source_t os_netbsd_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/pkgsrc/packages/NetBSD/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/pkgsrc/packages/NetBSD/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/pkgsrc/packages/NetBSD/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/pkgsrc/packages/NetBSD/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/pkgsrc/packages/NetBSD/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/pkgsrc/packages/NetBSD/"},
|
||||
{&Netease, "https://mirrors.163.com/pkgsrc/packages/NetBSD/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/pkgsrc/packages/NetBSD/"}
|
||||
};
|
||||
def_sources_n(os_netbsd);
|
||||
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_openbsd_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/OpenBSD/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/OpenBSD/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/OpenBSD/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/OpenBSD/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/OpenBSD/"},
|
||||
{&Netease, "https://mirrors.163.com/OpenBSD/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/OpenBSD/"}
|
||||
static Source_t os_openbsd_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/OpenBSD/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/OpenBSD/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/OpenBSD/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/OpenBSD/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/OpenBSD/"},
|
||||
{&Netease, "https://mirrors.163.com/OpenBSD/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/OpenBSD/"}
|
||||
};
|
||||
def_sources_n(os_openbsd);
|
||||
|
||||
|
||||
@@ -10,17 +10,17 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_gentoo_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "mirrors.aliyun.com"},
|
||||
{&Bfsu, "mirrors.bfsu.edu.cn"},
|
||||
{&Ustc, "mirrors.ustc.edu.cn"},
|
||||
{&Tuna, "mirrors.tuna.tsinghua.edu.cn"},
|
||||
{&Tencent, "mirrors.tencent.com"},
|
||||
static Source_t os_gentoo_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "mirrors.aliyun.com"},
|
||||
{&Bfsu, "mirrors.bfsu.edu.cn"},
|
||||
{&Ustc, "mirrors.ustc.edu.cn"},
|
||||
{&Tuna, "mirrors.tuna.tsinghua.edu.cn"},
|
||||
{&Tencent, "mirrors.tencent.com"},
|
||||
// {&Tencent_Intra, "mirrors.tencentyun.com"},
|
||||
{&Netease, "mirrors.163.com"},
|
||||
{&Sohu, "mirrors.sohu.com"}
|
||||
{&Netease, "mirrors.163.com"},
|
||||
{&Sohu, "mirrors.sohu.com"}
|
||||
};
|
||||
def_sources_n(os_gentoo);
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
/**
|
||||
* @update 2024-08-08
|
||||
*/
|
||||
static Source_t
|
||||
os_openwrt_sources[] = {
|
||||
{&UpstreamProvider, "http://downloads.openwrt.org"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/openwrt"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openwrt"},
|
||||
{&Tencent, "https://mirrors.cloud.tencent.com/openwrt"},
|
||||
// {&Tencent_Intra, "https://mirrors.cloud.tencentyun.com/openwrt"},
|
||||
{&Tuna, "https://mirror.tuna.tsinghua.edu.cn/openwrt"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/openwrt"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/openwrt"},
|
||||
{&Pku, "https://mirrors.pku.edu.cn/openwrt"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/openwrt"},
|
||||
static Source_t os_openwrt_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://downloads.openwrt.org"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/openwrt"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openwrt"},
|
||||
{&Tencent, "https://mirrors.cloud.tencent.com/openwrt"},
|
||||
// {&Tencent_Intra, "https://mirrors.cloud.tencentyun.com/openwrt"},
|
||||
{&Tuna, "https://mirror.tuna.tsinghua.edu.cn/openwrt"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/openwrt"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/openwrt"},
|
||||
{&Pku, "https://mirrors.pku.edu.cn/openwrt"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/openwrt"},
|
||||
};
|
||||
|
||||
def_sources_n(os_openwrt);
|
||||
|
||||
@@ -8,20 +8,20 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2023-09-29 更新
|
||||
* @update 2023-09-29
|
||||
*/
|
||||
static Source_t
|
||||
os_solus_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/solus/packages/shannon/eopkg-index.xml.xz"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/solus/packages/shannon/eopkg-index.xml.xz"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/solus/packages/shannon/eopkg-index.xml.xz"}
|
||||
static Source_t os_solus_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/solus/packages/shannon/eopkg-index.xml.xz"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/solus/packages/shannon/eopkg-index.xml.xz"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/solus/packages/shannon/eopkg-index.xml.xz"}
|
||||
};
|
||||
def_sources_n(os_solus);
|
||||
|
||||
|
||||
/**
|
||||
* 参考: https://help.mirrors.cernet.edu.cn/solus/
|
||||
* @consult https://help.mirrors.cernet.edu.cn/solus/
|
||||
*/
|
||||
void
|
||||
os_solus_setsrc (char *option)
|
||||
|
||||
@@ -8,34 +8,34 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2023-09-24 更新
|
||||
* @update 2023-09-24
|
||||
*/
|
||||
static Source_t
|
||||
os_void_sources[] = {
|
||||
{&UpstreamProvider, "https://repo-default.voidlinux.org"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/voidlinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/voidlinux"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/voidlinux"}
|
||||
static Source_t os_voidlinux_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://repo-default.voidlinux.org"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/voidlinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/voidlinux"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/voidlinux"}
|
||||
};
|
||||
def_sources_n(os_void);
|
||||
def_sources_n(os_voidlinux);
|
||||
|
||||
|
||||
void
|
||||
os_void_getsrc (char *option)
|
||||
os_voidlinux_getsrc (char *option)
|
||||
{
|
||||
char* cmd = "xbps-query -L";
|
||||
chsrc_run (cmd, RunOpt_No_Last_New_Line);
|
||||
}
|
||||
|
||||
/**
|
||||
* 参考: https://help.mirrors.cernet.edu.cn/voidlinux/
|
||||
* @consult https://help.mirrors.cernet.edu.cn/voidlinux/
|
||||
*/
|
||||
void
|
||||
os_void_setsrc (char *option)
|
||||
os_voidlinux_setsrc (char *option)
|
||||
{
|
||||
chsrc_ensure_root (); // HELP: 不确定是否需要root
|
||||
chsrc_ensure_root ();
|
||||
|
||||
chsrc_yield_source_and_confirm (os_void);
|
||||
chsrc_yield_source_and_confirm (os_voidlinux);
|
||||
|
||||
chsrc_ensure_dir ("/etc/xbps.d");
|
||||
char *cmd = "cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/";
|
||||
@@ -56,4 +56,4 @@ os_void_setsrc (char *option)
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
|
||||
def_target(os_void);
|
||||
def_target(os_voidlinux);
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
/**
|
||||
* @time 2024-06-12 更新
|
||||
*/
|
||||
static Source_t
|
||||
os_almalinux_sources[] = {
|
||||
{&UpstreamProvider, "http://repo.almalinux.org/almalinux"},
|
||||
{&Ali, "https://mirrors.aliyun.com/almalinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/almalinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/almalinux"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/almalinux"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/almalinux"},
|
||||
static Source_t os_almalinux_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://repo.almalinux.org/almalinux"},
|
||||
{&Ali, "https://mirrors.aliyun.com/almalinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/almalinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/almalinux"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/almalinux"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/almalinux"},
|
||||
};
|
||||
def_sources_n(os_almalinux);
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2024-06-12 更新
|
||||
* @update 2024-06-12
|
||||
*/
|
||||
static Source_t
|
||||
os_anolis_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/anolis"},
|
||||
{&Hust, "https://mirrors.hust.edu.cn/anolis"}
|
||||
static Source_t os_anolis_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/anolis"},
|
||||
{&Hust, "https://mirrors.hust.edu.cn/anolis"}
|
||||
};
|
||||
def_sources_n(os_anolis);
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
/**
|
||||
* @update 2024-11-04
|
||||
*/
|
||||
static Source_t
|
||||
os_fedora_sources[] = {
|
||||
{&UpstreamProvider, "http://download.example/pub/fedora/linux"},
|
||||
{&Ali, "https://mirrors.aliyun.com/fedora"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/fedora"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/fedora"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/fedora"},
|
||||
{&Tencent, "https://mirrors.tencent.com/fedora"},
|
||||
static Source_t os_fedora_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://download.example/pub/fedora/linux"},
|
||||
{&Ali, "https://mirrors.aliyun.com/fedora"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/fedora"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/fedora"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/fedora"},
|
||||
{&Tencent, "https://mirrors.tencent.com/fedora"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/fedora"},
|
||||
{&Netease, "https://mirrors.163.com/fedora"},
|
||||
{&Sohu, "https://mirrors.sohu.com/fedora"}
|
||||
{&Netease, "https://mirrors.163.com/fedora"},
|
||||
{&Sohu, "https://mirrors.sohu.com/fedora"}
|
||||
};
|
||||
def_sources_n(os_fedora);
|
||||
|
||||
|
||||
@@ -8,20 +8,20 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2024-06-12 更新
|
||||
* @update 2024-06-12
|
||||
*/
|
||||
static Source_t
|
||||
os_rockylinux_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/rocky"},
|
||||
{&Ali, "https://mirrors.aliyun.com/rockylinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/rockylinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rocky"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/rocky-linux"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/rocky"},
|
||||
{&Lzuoss, "https://mirror.lzu.edu.cn/rocky"},
|
||||
{&Sohu, "https://mirrors.sohu.com/Rocky"},
|
||||
{&Netease, "https://mirrors.163.com/rocky"}
|
||||
static Source_t os_rockylinux_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/rocky"},
|
||||
{&Ali, "https://mirrors.aliyun.com/rockylinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/rockylinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rocky"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/rocky-linux"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/rocky"},
|
||||
{&Lzuoss, "https://mirror.lzu.edu.cn/rocky"},
|
||||
{&Sohu, "https://mirrors.sohu.com/Rocky"},
|
||||
{&Netease, "https://mirrors.163.com/rocky"}
|
||||
};
|
||||
def_sources_n(os_rockylinux);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Last Modified : <2024-08-16>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
// #define OS_Yum_SourceList "/etc/yum.repos"
|
||||
#define OS_Yum_SourceList_D "/etc/yum.repos.d/"
|
||||
// #define OS_Yum_SourceList "/etc/yum.repos"
|
||||
#define OS_Yum_SourceList_D "/etc/yum.repos.d/"
|
||||
|
||||
#define OS_openEuler_SourceList "openEuler.repo"
|
||||
#define OS_openEuler_SourceList "openEuler.repo"
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_openeuler_sources[] = {
|
||||
{&UpstreamProvider, "https://repo.openeuler.org/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openeuler/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/openeuler/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/openeuler/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/openeuler/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/openeuler/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/openeuler/"},
|
||||
{&Netease, "https://mirrors.163.com/openeuler/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/openeuler/"}
|
||||
static Source_t os_openeuler_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://repo.openeuler.org/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openeuler/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/openeuler/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/openeuler/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/openeuler/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/openeuler/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/openeuler/"},
|
||||
{&Netease, "https://mirrors.163.com/openeuler/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/openeuler/"}
|
||||
};
|
||||
def_sources_n(os_openeuler);
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
/**
|
||||
* @update 2024-08-16
|
||||
*/
|
||||
static Source_t
|
||||
os_opensuse_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/opensuse"},
|
||||
{&Volcengine, "https://mirrors.volces.com/opensuse"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/opensuse"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/opensuse"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/opensuse"},
|
||||
{&Tencent, "https://mirrors.tencent.com/opensuse"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/opensuse"},
|
||||
{&Netease, "https://mirrors.163.com/opensuse"},
|
||||
{&Sohu, "https://mirrors.sohu.com/opensuse"}
|
||||
static Source_t os_opensuse_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/opensuse"},
|
||||
{&Volcengine, "https://mirrors.volces.com/opensuse"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/opensuse"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/opensuse"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/opensuse"},
|
||||
{&Tencent, "https://mirrors.tencent.com/opensuse"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/opensuse"},
|
||||
{&Netease, "https://mirrors.163.com/opensuse"},
|
||||
{&Sohu, "https://mirrors.sohu.com/opensuse"}
|
||||
};
|
||||
def_sources_n(os_opensuse);
|
||||
|
||||
|
||||
@@ -12,33 +12,34 @@
|
||||
* @update 2024-07-03
|
||||
* @note 不要给后面加 / ,因为ARM情况下,还要额外加一个 arm 后缀
|
||||
*/
|
||||
static Source_t
|
||||
os_arch_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/archlinux"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/archlinux"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/archlinux"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/archlinux"},
|
||||
{&Tencent, "https://mirrors.tencent.com/archlinux"},
|
||||
static Source_t os_arch_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/archlinux"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/archlinux"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/archlinux"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/archlinux"},
|
||||
{&Tencent, "https://mirrors.tencent.com/archlinux"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/archlinux"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/archlinux"}, // 不支持 archlinuxcn
|
||||
{&Netease, "https://mirrors.163.com/archlinux"}, // archlinuxcn 的URL和其他镜像站不同
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/archlinux"}, // 不支持 archlinuxcn
|
||||
{&Netease, "https://mirrors.163.com/archlinux"}, // archlinuxcn 的URL和其他镜像站不同
|
||||
// {&Sohu, "https://mirrors.sohu.com/archlinux"} // 不支持 archlinuxcn
|
||||
},
|
||||
|
||||
/**
|
||||
* @time 2024-07-03 更新
|
||||
* @update 2024-07-03
|
||||
* @note 根据 GitHub:@zheng7fu2 建议,拆分 archlinuxcn 出来
|
||||
*/
|
||||
os_archlinuxcn_sources[] = {
|
||||
{&UpstreamProvider, "https://repo.archlinuxcn.org/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/archlinuxcn/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/archlinuxcn/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/archlinuxcn/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/"},
|
||||
{&Tencent, "https://mirrors.cloud.tencent.com/archlinuxcn/"},
|
||||
os_archlinuxcn_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://repo.archlinuxcn.org/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/archlinuxcn/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/archlinuxcn/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/archlinuxcn/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/"},
|
||||
{&Tencent, "https://mirrors.cloud.tencent.com/archlinuxcn/"},
|
||||
// {&Tencent_Intra, "https://mirrors.cloud.tencentyun.com/archlinuxcn/"},
|
||||
{&Netease, "https://mirrors.163.com/archlinux-cn/"}
|
||||
{&Netease, "https://mirrors.163.com/archlinux-cn/"}
|
||||
};
|
||||
def_sources_n(os_arch);
|
||||
def_sources_n(os_archlinuxcn);
|
||||
|
||||
@@ -10,17 +10,17 @@
|
||||
/**
|
||||
* @time 2024-04-18 更新
|
||||
*/
|
||||
static Source_t
|
||||
os_msys2_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/msys2"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/msys2"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/msys2"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/msys2"},
|
||||
{&Tencent, "https://mirrors.tencent.com/msys2"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/msys2"},
|
||||
{&Netease, "https://mirrors.163.com/msys2"},
|
||||
{&Sohu, "https://mirrors.sohu.com/msys2"}
|
||||
static Source_t os_msys2_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/msys2"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/msys2"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/msys2"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/msys2"},
|
||||
{&Tencent, "https://mirrors.tencent.com/msys2"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/msys2"},
|
||||
{&Netease, "https://mirrors.163.com/msys2"},
|
||||
{&Sohu, "https://mirrors.sohu.com/msys2"}
|
||||
};
|
||||
def_sources_n(os_msys2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user