55 * | Aoran Zeng <[email protected] > 66 * Contributors : Nil Null <[email protected] > 77 * Created On : <2023-09-03>
8- * Last Modified : <2024-09-14 >
8+ * Last Modified : <2025-07-31 >
99 * ------------------------------------------------------------*/
1010
1111/**
12- * @update 2024-09-14
12+ * @update 2025-07-31
1313 */
1414static Source_t os_openbsd_sources [] =
1515{
16- {& UpstreamProvider , NULL },
17- {& Ali , "https://mirrors.aliyun.com/OpenBSD/" },
18- {& Bfsu , "https://mirrors.bfsu.edu.cn/OpenBSD/" },
19- {& Ustc , "https://mirrors.ustc.edu.cn/OpenBSD/" },
20- {& Tuna , "https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/" },
21- {& Tencent , "https://mirrors.tencent.com/OpenBSD/" },
22- // {&Tencent_Intra, "https://mirrors.tencentyun.com/OpenBSD/"},
23- {& Netease , "https://mirrors.163.com/OpenBSD/" },
24- {& Sohu , "https://mirrors.sohu.com/OpenBSD/" }
16+ {& UpstreamProvider , NULL , NULL },
17+ {& MirrorZ , "https://mirrors.cernet.edu.cn/OpenBSD/" , DelegateToMirror },
18+ {& Bfsu , "https://mirrors.bfsu.edu.cn/OpenBSD/" , DelegateToMirror },
19+ {& Tuna , "https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/" , DelegateToMirror },
20+ {& Nju , "https://mirror.nju.edu.cn/OpenBSD/" , DelegateToMirror },
21+ {& Nyist , "https://mirror.nyist.edu.cn/OpenBSD/" , DelegateToMirror },
22+ {& Sjtug_Siyuan , "https://mirror.sjtu.edu.cn/OpenBSD/" , DelegateToMirror },
23+ {& Iscas , "https://mirror.iscas.ac.cn/OpenBSD/" , DelegateToMirror },
24+ {& Cqupt , "https://mirrors.cqupt.edu.cn/openbsd/" , DelegateToMirror },
25+ {& Ali , "https://mirrors.aliyun.com/OpenBSD/" , DelegateToMirror },
26+ {& Tencent , "https://mirrors.tencent.com/OpenBSD/" , DelegateToMirror },
27+ // {&Tencent_Intra, "https://mirrors.tencentyun.com/OpenBSD/", DelegateToMirror},
28+ {& Netease , "https://mirrors.163.com/OpenBSD/" , DelegateToMirror },
29+ {& Sohu , "https://mirrors.sohu.com/OpenBSD/" , DelegateToMirror }
2530};
2631def_sources_n (os_openbsd );
2732
@@ -33,7 +38,7 @@ os_openbsd_getsrc (char *option)
3338}
3439
3540/**
36- * 参考:
41+ * @consult
3742 * 1. https://mirrors.tuna.tsinghua.edu.cn/help/openbsd/
3843 * 2. https://book.bsdcn.org/di-26-zhang-openbsd/di-26.2-jie-pei-zhi.html
3944 */
@@ -47,7 +52,7 @@ os_openbsd_setsrc (char *option)
4752 chsrc_backup ("/etc/installurl" );
4853 chsrc_overwrite_file (source .url , "/etc/installurl" );
4954
50- chsrc_determine_chgtype (ChgType_Untested );
55+ chsrc_determine_chgtype (ChgType_Auto );
5156 chsrc_conclude (& source );
5257}
5358
0 commit comments