@@ -228,12 +228,16 @@ sub cleanup
228
228
} elsif ($mirror =~ / ^\@ OPENWRT$ / ) {
229
229
# use OpenWrt source server directly
230
230
} elsif ($mirror =~ / ^\@ DEBIAN\/ (.+)$ / ) {
231
+ push @mirrors , " https://mirrors.tencent.com/debian/$1 " ;
232
+ push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/debian/$1 " ;
233
+ push @mirrors , " https://mirrors.ustc.edu.cn/debian/$1 " ;
231
234
push @mirrors , " https://ftp.debian.org/debian/$1 " ;
232
235
push @mirrors , " https://mirror.leaseweb.com/debian/$1 " ;
233
236
push @mirrors , " https://mirror.netcologne.de/debian/$1 " ;
234
- push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/debian/$1 " ;
235
- push @mirrors , " https://mirrors.ustc.edu.cn/debian/$1 "
236
237
} elsif ($mirror =~ / ^\@ APACHE\/ (.+)$ / ) {
238
+ push @mirrors , " https://mirrors.cloud.tencent.com/apache/$1 " ;
239
+ push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/apache/$1 " ;
240
+ push @mirrors , " https://mirrors.ustc.edu.cn/apache/$1 " ;
237
241
push @mirrors , " https://mirror.netcologne.de/apache.org/$1 " ;
238
242
push @mirrors , " https://mirror.aarnet.edu.au/pub/apache/$1 " ;
239
243
push @mirrors , " https://mirror.csclub.uwaterloo.ca/apache/$1 " ;
@@ -243,14 +247,14 @@ sub cleanup
243
247
push @mirrors , " http://ftp.jaist.ac.jp/pub/apache/$1 " ;
244
248
push @mirrors , " ftp://apache.cs.utah.edu/apache.org/$1 " ;
245
249
push @mirrors , " ftp://apache.mirrors.ovh.net/ftp.apache.org/dist/$1 " ;
246
- push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/apache/$1 " ;
247
- push @mirrors , " https://mirrors.ustc.edu.cn/apache/$1 " ;
248
250
} elsif ($mirror =~ / ^\@ GITHUB\/ (.+)$ / ) {
249
251
# give github a few more tries (different mirrors)
250
252
for (1 .. 5) {
251
253
push @mirrors , " https://raw.githubusercontent.com/$1 " ;
252
254
}
253
255
} elsif ($mirror =~ / ^\@ GNU\/ (.+)$ / ) {
256
+ push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/gnu/$1 " ;
257
+ push @mirrors , " https://mirrors.ustc.edu.cn/gnu/$1 " ;
254
258
push @mirrors , " https://mirror.csclub.uwaterloo.ca/gnu/$1 " ;
255
259
push @mirrors , " https://mirror.netcologne.de/gnu/$1 " ;
256
260
push @mirrors , " http://ftp.kddilabs.jp/GNU/gnu/$1 " ;
@@ -260,8 +264,6 @@ sub cleanup
260
264
push @mirrors , " ftp://mirrors.rit.edu/gnu/$1 " ;
261
265
push @mirrors , " ftp://download.xs4all.nl/pub/gnu/$1 " ;
262
266
push @mirrors , " https://ftp.gnu.org/gnu/$1 " ;
263
- push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/gnu/$1 " ;
264
- push @mirrors , " https://mirrors.ustc.edu.cn/gnu/$1 " ;
265
267
} elsif ($mirror =~ / ^\@ SAVANNAH\/ (.+)$ / ) {
266
268
push @mirrors , " https://mirror.netcologne.de/savannah/$1 " ;
267
269
push @mirrors , " https://mirror.csclub.uwaterloo.ca/nongnu/$1 " ;
@@ -278,17 +280,18 @@ sub cleanup
278
280
push @extra , " $extra [0]/longterm/v$1 " ;
279
281
}
280
282
foreach my $dir (@extra ) {
283
+ push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/kernel/$dir " ;
284
+ push @mirrors , " https://mirrors.ustc.edu.cn/kernel.org/$dir " ;
281
285
push @mirrors , " https://cdn.kernel.org/pub/$dir " ;
282
286
push @mirrors , " https://download.xs4all.nl/ftp.kernel.org/pub/$dir " ;
283
287
push @mirrors , " https://mirrors.mit.edu/kernel/$dir " ;
284
288
push @mirrors , " http://ftp.nara.wide.ad.jp/pub/kernel.org/$dir " ;
285
289
push @mirrors , " http://www.ring.gr.jp/archives/linux/kernel.org/$dir " ;
286
290
push @mirrors , " ftp://ftp.riken.jp/Linux/kernel.org/$dir " ;
287
291
push @mirrors , " ftp://www.mirrorservice.org/sites/ftp.kernel.org/pub/$dir " ;
288
- push @mirrors , " https://mirrors.tuna.tsinghua.edu.cn/kernel/$dir " ;
289
- push @mirrors , " https://mirrors.ustc.edu.cn/kernel.org/$dir " ;
290
292
}
291
293
} elsif ($mirror =~ / ^\@ GNOME\/ (.+)$ / ) {
294
+ push @mirrors , " https://mirrors.ustc.edu.cn/gnome/sources/$1 " ;
292
295
push @mirrors , " https://download.gnome.org/sources/$1 " ;
293
296
push @mirrors , " https://mirror.csclub.uwaterloo.ca/gnome/sources/$1 " ;
294
297
push @mirrors , " http://ftp.acc.umu.se/pub/GNOME/sources/$1 " ;
@@ -298,7 +301,6 @@ sub cleanup
298
301
push @mirrors , " http://ftp.belnet.be/ftp.gnome.org/sources/$1 " ;
299
302
push @mirrors , " ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/$1 " ;
300
303
push @mirrors , " ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/$1 " ;
301
- push @mirrors , " https://mirrors.ustc.edu.cn/gnome/sources/$1 " ;
302
304
} else {
303
305
push @mirrors , $mirror ;
304
306
}
0 commit comments