停用阿里的 Kali 源

[GitHub #357]
This commit is contained in:
Aoran Zeng committed 2026-05-22 18:00:33 +08:00
1 parent 5e37ee002b
commit f50d0bbbcb
2 files changed
+14 -6

No files matched your search

+12 -4
View File
@@ -10,12 +10,12 @@ os_kali_prelude ()
chef_prep_this (os_kali, gsr);
chef_set_recipe_created_on (this, "2023-09-29");
chef_set_recipe_last_updated (this, "2025-08-10");
chef_set_sources_last_updated (this, "2025-06-20");
chef_set_recipe_last_updated (this, "2026-05-22");
chef_set_sources_last_updated (this, "2026-05-22");
chef_set_chef (this, NULL);
chef_set_cooks (this, 1, "@G_I_Y");
chef_set_sauciers (this, 2, "@Yangmoooo", "@happy-game");
chef_set_sauciers (this, 3, "@Yangmoooo", "@happy-game", "@ccmywish");
chef_set_os_scope (this);
@@ -27,16 +27,24 @@ os_kali_prelude ()
def_sources_begin()
{&UpstreamProvider, "http://http.kali.org/kali", DelegateToUpstream},
{&MirrorZ, "https://mirrors.cernet.edu.cn/kali", DelegateToMirror},
{&Ali, "https://mirrors.aliyun.com/kali", DelegateToMirror},
/* 不启用原因: (2026-05-22) https://github.com/RubyMetric/chsrc/issues/357 */
// {&Ali, "https://mirrors.aliyun.com/kali", DelegateToMirror},
{&Volcengine, "https://mirrors.volces.com/kali", DelegateToMirror},
{&Bfsu, "https://mirrors.bfsu.edu.cn/kali", DelegateToMirror},
{&Ustc, "https://mirrors.ustc.edu.cn/kali", DelegateToMirror},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/kali", DelegateToMirror}
/* 不启用原因: 未与上游同步 */
// {&Huawei, "https://mirrors.huaweicloud.com/kali", DelegateToMirror},
def_sources_end()
}
/**
* @note Kali Linux 的软件源配置文件路径时至今日 (2026-05-22) 仍然是 /etc/apt/sources.list
* 而非 DEB822 格式的 /etc/apt/sources.list.d/kali.sources
*/
void
os_kali_getsrc (char *option)
{
+2 -2
View File
@@ -1,8 +1,8 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : happy game <happygame1024@gmail.com>
* File Authors : @ccmywish
* Contributors : @happy-game
* |
* Created On : <2024-06-14>
* Major Revision : 3