summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-10-10 20:57:38 +0000
committerKarl Berry <karl@freefriends.org>2024-10-10 20:57:38 +0000
commit2055776a69ad3de7c6e22b6fa948e2fbb8bd1416 (patch)
treedfea218eabf695836face253ca6ef0aee865f8fe
parent22f963210febdb0e461a633b0257a46785301875 (diff)
manual mirror update, back to 36-hour cutoff
git-svn-id: svn://tug.org/texlive/trunk@72523 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto2
-rwxr-xr-xMaster/tlpkg/bin/tl-update-ctan-mirrors3
-rw-r--r--Master/tlpkg/installer/ctan-mirrors.pl38
3 files changed, 39 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto
index 058abcd4738..d847abfdbec 100755
--- a/Master/tlpkg/bin/tl-update-auto
+++ b/Master/tlpkg/bin/tl-update-auto
@@ -265,7 +265,7 @@ if $config_scripts_only; then :; else
ls -lt $mirrors4tl >&2
# && rsync rsync://rsync.dante.ctan.org/MirMon/mirmon.state $ctan_mirmon; then
- elif wget --quiet https://ctan.org/tex-archive/CTAN.sites -O $ctan_mirrors \
+ elif wget -nv https://ctan.org/tex-archive/CTAN.sites -O $ctan_mirrors \
&& scp -pq ctan.org:/serv/ctan/scripts/mirmon-2.11/mirmon.state $ctan_mirmon; then
#echo "got new mirror data"; ls -ltr $TMPDIR
$mydir/tl-update-ctan-mirrors -v $ctan_mirrors $ctan_mirmon \
diff --git a/Master/tlpkg/bin/tl-update-ctan-mirrors b/Master/tlpkg/bin/tl-update-ctan-mirrors
index 402ae5f22f3..d7b53c0c01f 100755
--- a/Master/tlpkg/bin/tl-update-ctan-mirrors
+++ b/Master/tlpkg/bin/tl-update-ctan-mirrors
@@ -17,8 +17,7 @@ use Data::Dumper;
my $prg;
my $verbose = 0;
-my $AGE_HOURS_CUTOFF = 60; # omit a mirror if it's older than this
-# switch back to 36 after CTAN mirmon is back in shape.
+my $AGE_HOURS_CUTOFF = 36; # omit a mirror if it's older than this
exit (&main ());
diff --git a/Master/tlpkg/installer/ctan-mirrors.pl b/Master/tlpkg/installer/ctan-mirrors.pl
index 8c2916b5822..fe4946033a6 100644
--- a/Master/tlpkg/installer/ctan-mirrors.pl
+++ b/Master/tlpkg/installer/ctan-mirrors.pl
@@ -1,5 +1,8 @@
$mirrors = {
'Africa' => {
+ 'Morocco' => {
+ 'https://mirror.marwan.ma/ctan/' => 1,
+ },
'South Africa' => {
'https://mirror.ufs.ac.za/ctan/' => 1,
'https://za.mirrors.cicku.me/ctan/' => 1,
@@ -9,24 +12,37 @@ $mirrors = {
'China' => {
'https://mirror.bjtu.edu.cn/CTAN/' => 1,
'https://mirror.nyist.edu.cn/CTAN/' => 1,
+ 'https://mirrors.aliyun.com/CTAN/' => 1,
'https://mirrors.bfsu.edu.cn/CTAN/' => 1,
+ 'https://mirrors.cloud.tencent.com/CTAN/' => 1,
'https://mirrors.cqu.edu.cn/CTAN/' => 1,
'https://mirrors.hust.edu.cn/CTAN/' => 1,
+ 'https://mirrors.nju.edu.cn/CTAN/' => 1,
+ 'https://mirrors.pku.edu.cn/ctan/' => 1,
'https://mirrors.sjtug.sjtu.edu.cn/ctan/' => 1,
'https://mirrors.sustech.edu.cn/CTAN/' => 1,
'https://mirrors.tuna.tsinghua.edu.cn/CTAN/' => 1,
'https://mirrors.ustc.edu.cn/CTAN/' => 1,
},
+ 'Hong Kong' => {
+ 'https://mirror-hk.koddos.net/CTAN/' => 1,
+ },
'India' => {
+ 'https://2.mirrors.in.sahilister.net/ctan/' => 1,
'https://in.mirrors.cicku.me/ctan/' => 1,
+ 'https://mirror.niser.ac.in/ctan/' => 1,
+ },
+ 'Indonesia' => {
+ 'http://repo.ugm.ac.id/ctan/' => 1,
+ 'https://mirror.unpad.ac.id/ctan/' => 1,
},
'Iran' => {
'http://ctan.asis.ai/' => 1,
- 'https://ctan.yazd.ac.ir/' => 1,
},
'Japan' => {
'https://ftp.jaist.ac.jp/pub/CTAN/' => 1,
'https://ftp.kddilabs.jp/CTAN/' => 1,
+ 'https://ftp.yz.yamagata-u.ac.jp/pub/CTAN/' => 1,
'https://jp.mirrors.cicku.me/ctan/' => 1,
},
'Korea' => {
@@ -52,6 +68,7 @@ $mirrors = {
},
'Europe' => {
'Austria' => {
+ 'https://mirror.easyname.at/ctan/' => 1,
'https://mirror.kumi.systems/ctan/' => 1,
},
'Belarus' => {
@@ -72,6 +89,7 @@ $mirrors = {
'https://ctan.mines-albi.fr/' => 1,
'https://ctan.tetaneutral.net/' => 1,
'https://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/' => 1,
+ 'https://mirror.ibcp.fr/pub/CTAN/' => 1,
'https://mirrors.ircam.fr/pub/CTAN/' => 1,
'https://texlive.mycozy.space/' => 1,
},
@@ -89,6 +107,7 @@ $mirrors = {
'https://ftp.rrze.uni-erlangen.de/ctan/' => 1,
'https://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/' => 1,
'https://ftp.tu-chemnitz.de/pub/tex/' => 1,
+ 'https://markov.htwsaar.de/tex-archive/' => 1,
'https://mirror.clientvps.com/CTAN/' => 1,
'https://mirror.dogado.de/tex-archive/' => 1,
'https://mirror.funkfreundelandshut.de/latex/' => 1,
@@ -96,6 +115,8 @@ $mirrors = {
},
'Greece' => {
'http://ftp.ntua.gr/mirror/ctan/' => 1,
+ 'https://fosszone.csd.auth.gr/CTAN/' => 1,
+ 'https://ftp.cc.uoc.gr/mirrors/CTAN/' => 1,
},
'Hungary' => {
'https://mirror.szerverem.hu/ctan/' => 1,
@@ -104,9 +125,15 @@ $mirrors = {
'https://ctan.mirror.garr.it/mirrors/ctan/' => 1,
},
'Netherlands' => {
+ 'https://ftp.snt.utwente.nl/pub/software/tex/' => 1,
'https://mirror.koddos.net/CTAN/' => 1,
+ 'https://mirror.lyrahosting.com/CTAN/' => 1,
'https://nl.mirrors.cicku.me/ctan/' => 1,
},
+ 'Norway' => {
+ 'https://ctan.uib.no/' => 1,
+ 'https://ftp.fagskolen.gjovik.no/pub/tex-archive/' => 1,
+ },
'Poland' => {
'https://ctan.gust.org.pl/tex-archive/' => 1,
'https://polish-mirror.evolution-host.com/ctan/' => 1,
@@ -129,6 +156,7 @@ $mirrors = {
'https://ctan.javinator9889.com/' => 1,
},
'Sweden' => {
+ 'https://ftpmirror1.infania.net/mirror/CTAN/' => 1,
'https://mirror.accum.se/mirror/CTAN/' => 1,
},
'Switzerland' => {
@@ -139,23 +167,31 @@ $mirrors = {
'United Kingdom' => {
'https://anorien.csc.warwick.ac.uk/mirrors/CTAN/' => 1,
'https://gb.mirrors.cicku.me/ctan/' => 1,
+ 'https://mirror.apps.cam.ac.uk/pub/tex-archive/' => 1,
},
},
'North America' => {
'Canada' => {
'https://ca.mirrors.cicku.me/ctan/' => 1,
'https://ctan.mirror.globo.tech/' => 1,
+ 'https://ctan.mirror.rafal.ca/' => 1,
'https://mirror.csclub.uwaterloo.ca/CTAN/' => 1,
+ 'https://mirror.its.dal.ca/ctan/' => 1,
'https://mirror.quantum5.ca/CTAN/' => 1,
'https://muug.ca/mirror/ctan/' => 1,
},
+ 'Costa Rica' => {
+ 'https://mirrors.ucr.ac.cr/CTAN/' => 1,
+ },
'USA' => {
'http://mirrors.ibiblio.org/pub/mirrors/CTAN/' => 1,
'https://ctan.math.illinois.edu/' => 1,
'https://ctan.math.utah.edu/ctan/tex-archive/' => 1,
'https://ctan.math.washington.edu/tex-archive/' => 1,
'https://ctan.mirrors.hoobly.com/' => 1,
+ 'https://mirror.las.iastate.edu/tex-archive/' => 1,
'https://mirror.math.princeton.edu/pub/CTAN/' => 1,
+ 'https://mirrors.mit.edu/CTAN/' => 1,
'https://mirrors.rit.edu/CTAN/' => 1,
'https://us.mirrors.cicku.me/ctan/' => 1,
},