From a21aaa87396a793cd85433af4589f724981da860 Mon Sep 17 00:00:00 2001 From: Yangmoooo Date: Fri, 8 Nov 2024 19:50:32 +0800 Subject: [PATCH] Add upstream for `rustup`, `Anaconda` and some OS repositories [GitHub #111] --- src/recipe/lang/Rust/rustup.c | 2 +- src/recipe/os/APT/Armbian.c | 2 +- src/recipe/os/APT/Debian.c | 2 +- src/recipe/os/APT/Kali-Linux.c | 2 +- src/recipe/os/APT/Linux-Lite.c | 2 +- src/recipe/os/APT/Raspberry-Pi-OS.c | 2 +- src/recipe/os/APT/deepin.c | 2 +- src/recipe/os/Alpine-Linux.c | 2 +- src/recipe/os/OpenWrt.c | 2 +- src/recipe/os/Void-Linux.c | 2 +- src/recipe/os/YUM/AlmaLinux.c | 2 +- src/recipe/os/YUM/openEuler.c | 2 +- src/recipe/ware/Anaconda.c | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/recipe/lang/Rust/rustup.c b/src/recipe/lang/Rust/rustup.c index f87b5073..a1b2bfb7 100644 --- a/src/recipe/lang/Rust/rustup.c +++ b/src/recipe/lang/Rust/rustup.c @@ -12,7 +12,7 @@ */ static SourceInfo pl_rust_rustup_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://static.rust-lang.org"}, {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup"}, {&Ustc, "https://mirrors.ustc.edu.cn/rust-static"}, {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static"}, diff --git a/src/recipe/os/APT/Armbian.c b/src/recipe/os/APT/Armbian.c index 702c8f39..0b8effa3 100644 --- a/src/recipe/os/APT/Armbian.c +++ b/src/recipe/os/APT/Armbian.c @@ -12,7 +12,7 @@ */ static SourceInfo os_armbian_sources[] = { - {&Upstream, NULL}, + {&Upstream, "http://apt.armbian.com"}, {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/armbian"}, {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/armbian"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/armbian"}, diff --git a/src/recipe/os/APT/Debian.c b/src/recipe/os/APT/Debian.c index f7e48794..196750e1 100644 --- a/src/recipe/os/APT/Debian.c +++ b/src/recipe/os/APT/Debian.c @@ -13,7 +13,7 @@ */ static SourceInfo os_debian_sources[] = { - {&Upstream, NULL}, + {&Upstream, "http://deb.debian.org/debian"}, {&Ali, "https://mirrors.aliyun.com/debian"}, {&Volcengine, "https://mirrors.volces.com/debian"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/debian"}, diff --git a/src/recipe/os/APT/Kali-Linux.c b/src/recipe/os/APT/Kali-Linux.c index 17fa41d7..59dfa0f8 100644 --- a/src/recipe/os/APT/Kali-Linux.c +++ b/src/recipe/os/APT/Kali-Linux.c @@ -14,7 +14,7 @@ */ static SourceInfo os_kali_sources[] = { - {&Upstream, NULL}, + {&Upstream, "http://http.kali.org/kali"}, {&Ali, "https://mirrors.aliyun.com/kali"}, {&Volcengine, "https://mirrors.volces.com/kali"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/kali"}, diff --git a/src/recipe/os/APT/Linux-Lite.c b/src/recipe/os/APT/Linux-Lite.c index 33d316e1..2639b5af 100644 --- a/src/recipe/os/APT/Linux-Lite.c +++ b/src/recipe/os/APT/Linux-Lite.c @@ -12,7 +12,7 @@ */ static SourceInfo os_linuxlite_sources[] = { - {&Upstream, NULL}, + {&Upstream, "http://repo.linuxliteos.com/linuxlite/"}, {&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/linuxliteos/"} }; def_sources_n(os_linuxlite); diff --git a/src/recipe/os/APT/Raspberry-Pi-OS.c b/src/recipe/os/APT/Raspberry-Pi-OS.c index d9b5248b..6ab5160e 100644 --- a/src/recipe/os/APT/Raspberry-Pi-OS.c +++ b/src/recipe/os/APT/Raspberry-Pi-OS.c @@ -14,7 +14,7 @@ */ static SourceInfo os_raspberrypi_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://archive.raspberrypi.com/"}, // https://archive.raspberrypi.org/ until Debian "bullseye" release {&MirrorZ, "https://mirrors.cernet.edu.cn/raspberrypi/"}, {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/raspberrypi/"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/raspberrypi/"}, diff --git a/src/recipe/os/APT/deepin.c b/src/recipe/os/APT/deepin.c index 5d646e9b..8a74b7e5 100644 --- a/src/recipe/os/APT/deepin.c +++ b/src/recipe/os/APT/deepin.c @@ -14,7 +14,7 @@ */ static SourceInfo os_deepin_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://community-packages.deepin.com/deepin"}, {&Ali, "https://mirrors.aliyun.com/deepin"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/deepin"}, {&Ustc, "https://mirrors.ustc.edu.cn/deepin"}, diff --git a/src/recipe/os/Alpine-Linux.c b/src/recipe/os/Alpine-Linux.c index 7ada182a..1ca33051 100644 --- a/src/recipe/os/Alpine-Linux.c +++ b/src/recipe/os/Alpine-Linux.c @@ -12,7 +12,7 @@ */ static SourceInfo os_alpine_sources[] = { - {&Upstream, NULL}, + {&Upstream, "http://dl-cdn.alpinelinux.org/alpine"}, {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/alpine"}, {&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/alpine"}, {&Sustech, "https://mirrors.sustech.edu.cn/alpine"}, diff --git a/src/recipe/os/OpenWrt.c b/src/recipe/os/OpenWrt.c index 58d968ae..1b54e16f 100644 --- a/src/recipe/os/OpenWrt.c +++ b/src/recipe/os/OpenWrt.c @@ -12,7 +12,7 @@ */ static SourceInfo os_openwrt_sources[] = { - {&Upstream, NULL}, + {&Upstream, "http://downloads.openwrt.org"}, {&MirrorZ, "https://mirrors.cernet.edu.cn/openwrt"}, {&Ali, "https://mirrors.aliyun.com/openwrt"}, {&Tencent, "https://mirrors.cloud.tencent.com/openwrt"}, diff --git a/src/recipe/os/Void-Linux.c b/src/recipe/os/Void-Linux.c index e3573673..4069a7ce 100644 --- a/src/recipe/os/Void-Linux.c +++ b/src/recipe/os/Void-Linux.c @@ -12,7 +12,7 @@ */ static SourceInfo os_void_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://repo-default.voidlinux.org"}, {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/voidlinux"}, {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/voidlinux"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/voidlinux"} diff --git a/src/recipe/os/YUM/AlmaLinux.c b/src/recipe/os/YUM/AlmaLinux.c index 3c6f80cc..c5502333 100644 --- a/src/recipe/os/YUM/AlmaLinux.c +++ b/src/recipe/os/YUM/AlmaLinux.c @@ -12,7 +12,7 @@ */ static SourceInfo os_almalinux_sources[] = { - {&Upstream, NULL}, + {&Upstream, "http://repo.almalinux.org/almalinux"}, {&Ali, "https://mirrors.aliyun.com/almalinux"}, {&Volcengine, "https://mirrors.volces.com/almalinux"}, {&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/almalinux"}, diff --git a/src/recipe/os/YUM/openEuler.c b/src/recipe/os/YUM/openEuler.c index 89927ef1..cda39094 100644 --- a/src/recipe/os/YUM/openEuler.c +++ b/src/recipe/os/YUM/openEuler.c @@ -12,7 +12,7 @@ */ static SourceInfo os_openeuler_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://repo.openeuler.org/"}, {&Ali, "https://mirrors.aliyun.com/openeuler/"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/openeuler/"}, {&Ustc, "https://mirrors.ustc.edu.cn/openeuler/"}, diff --git a/src/recipe/ware/Anaconda.c b/src/recipe/ware/Anaconda.c index 921fb62c..9a259d23 100644 --- a/src/recipe/ware/Anaconda.c +++ b/src/recipe/ware/Anaconda.c @@ -13,7 +13,7 @@ */ static SourceInfo wr_anaconda_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://repo.anaconda.com/"}, {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/anaconda/"}, {&Bfsu, "https://mirrors.bfsu.edu.cn/anaconda/"}, {&Zju, "https://mirrors.zju.edu.cn/anaconda/"},