88 * |
99 * Created On : <2023-09-02>
1010 * Major Revision : 3
11- * Last Modified : <2025-06-16 >
11+ * Last Modified : <2025-07-11 >
1212 * ------------------------------------------------------------*/
1313
14+ #define OS_Debian_Speed_URL_Postfix "/dists/bookworm/main/Contents-all.gz"
15+
1416static SourceProvider_t os_debian_upstream =
1517{
1618 def_upstream , "https://ftp.debian.org/debian/" ,
@@ -19,25 +21,39 @@ static SourceProvider_t os_debian_upstream =
1921
2022
2123/**
22- * @update 2024-11-21
24+ * @update 2025-07-11
2325 */
2426static Source_t os_debian_sources [] =
2527{
26- {& os_debian_upstream , "http://deb.debian.org/debian" },
27- {& MirrorZ , "https://mirrors.cernet.edu.cn/debian/" },
28- {& Ali , "https://mirrors.aliyun.com/debian" },
29- {& Volcengine , "https://mirrors.volces.com/debian" },
30- {& Bfsu , "https://mirrors.bfsu.edu.cn/debian" },
31- {& Ustc , "https://mirrors.ustc.edu.cn/debian" },
32- {& Tuna , "https://mirrors.tuna.tsinghua.edu.cn/debian" },
33- {& Tencent , "https://mirrors.tencent.com/debian" },
34- // {&Tencent_Intra, "https://mirrors.tencentyun.com/debian"},
35- // {&Netease, "https://mirrors.163.com/debian"}, /* 不启用原因:过慢 */
36- // {&Sohu, "https://mirrors.sohu.com/debian"} /* 不启用原因:过慢 */
28+ {& os_debian_upstream , "http://deb.debian.org/debian" , DelegateToUpstream },
29+
30+ /* MirrorZ 的速度这么测也是可以的 */
31+ {& MirrorZ , "https://mirrors.cernet.edu.cn/debian/" , FeedBySourcesPrepare },
32+ {& Ali , "https://mirrors.aliyun.com/debian" , FeedBySourcesPrepare },
33+ {& Volcengine , "https://mirrors.volces.com/debian" , FeedBySourcesPrepare },
34+ {& Bfsu , "https://mirrors.bfsu.edu.cn/debian" , FeedBySourcesPrepare },
35+ {& Ustc , "https://mirrors.ustc.edu.cn/debian" , FeedBySourcesPrepare },
36+ {& Tuna , "https://mirrors.tuna.tsinghua.edu.cn/debian" , FeedBySourcesPrepare },
37+ {& Tencent , "https://mirrors.tencent.com/debian" , FeedBySourcesPrepare },
38+
39+ // {&Tencent_Intra, "https://mirrors.tencentyun.com/debian", FeedBySourcesPrepare},
40+
41+ /* 不启用原因:过慢 */
42+ // {&Netease, "https://mirrors.163.com/debian", FeedBySourcesPrepare},
43+
44+ /* 不启用原因:过慢 */
45+ // {&Sohu, "https://mirrors.sohu.com/debian", FeedBySourcesPrepare}
3746};
3847def_sources_n (os_debian );
3948
4049
50+ void
51+ os_debian_sources_prepare ()
52+ {
53+ chsrc_sources_prepare_speedurl_with_postfix (os_debian , OS_Debian_Speed_URL_Postfix );
54+ }
55+
56+
4157void
4258os_debian_getsrc (char * option )
4359{
0 commit comments