diff --git a/src/recipe/os/APT/Kali-Linux.c b/src/recipe/os/APT/Kali-Linux.c index 775b9c65..ce226be1 100644 --- a/src/recipe/os/APT/Kali-Linux.c +++ b/src/recipe/os/APT/Kali-Linux.c @@ -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) { diff --git a/src/recipe/os/APT/common.h b/src/recipe/os/APT/common.h index 1fc51dea..77fd3303 100644 --- a/src/recipe/os/APT/common.h +++ b/src/recipe/os/APT/common.h @@ -1,8 +1,8 @@ /** ------------------------------------------------------------ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------- - * File Authors : Aoran Zeng - * Contributors : happy game + * File Authors : @ccmywish + * Contributors : @happy-game * | * Created On : <2024-06-14> * Major Revision : 3