From ee9e2b46c0510ff542883720707b687598b9fc9f Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 18 Dec 2024 21:11:39 +0800 Subject: [PATCH] Update `Kali` upstream --- src/recipe/os/APT/Kali-Linux.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/recipe/os/APT/Kali-Linux.c b/src/recipe/os/APT/Kali-Linux.c index bd3d97e..e3c1128 100644 --- a/src/recipe/os/APT/Kali-Linux.c +++ b/src/recipe/os/APT/Kali-Linux.c @@ -3,18 +3,26 @@ * ------------------------------------------------------------- * File Authors : Heng Guo <2085471348@qq.com> * Contributors : Yangmoooo + * | * Created On : <2023-09-29> - * Last Modified : <2024-11-21> + * Last Modified : <2024-12-18> * * Kali Linux 基于 Debian Testing branch * ------------------------------------------------------------*/ +static SourceProvider_t os_kali_upstream = +{ + def_upstream, "http://http.kali.org/kali", + // https://github.com/RubyMetric/chsrc/issues/121 + {NotSkip, NA, NA, "https://http.kali.org/kali/dists/kali-dev/Contents-amd64.gz"} // 47MB +}; + /** * @update 2024-11-21 */ static Source_t os_kali_sources[] = { - {&UpstreamProvider, "http://http.kali.org/kali"}, + {&os_kali_upstream, "http://http.kali.org/kali"}, {&MirrorZ, "https://mirrors.cernet.edu.cn/kali"}, {&Ali, "https://mirrors.aliyun.com/kali"}, {&Volcengine, "https://mirrors.volces.com/kali"},