summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-14 20:38:22 +0000
committerKarl Berry <karl@freefriends.org>2021-05-14 20:38:22 +0000
commit298b94f7eefb5398295feb03b664942a4503f9e2 (patch)
tree6884bf4853cf8926071c5b84cfa4f72e398eec62
parentb4583f3261f68cd979a19ad2ed6681e9c6140c64 (diff)
(%FallbackDownloaderArgs): don't pass
--no-check-certificate to wget (option doesn't exist when ssl support isn't included), or --insecure to curl (we don't provide curl binaries except on Windows, distros hopefully keep their cert chains up to date). Sigh. git-svn-id: svn://tug.org/texlive/trunk@59199 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/scripts/texlive/NEWS1
-rw-r--r--Master/tlpkg/TeXLive/TLConfig.pm2
2 files changed, 1 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/NEWS b/Master/texmf-dist/scripts/texlive/NEWS
index 59be96e692d..db74fe49893 100644
--- a/Master/texmf-dist/scripts/texlive/NEWS
+++ b/Master/texmf-dist/scripts/texlive/NEWS
@@ -1,6 +1,7 @@
(This file public domain. Originally written by Norbert Preining and
Karl Berry, 2010.)
+
<p><b>tlmgr 59108 (released 7may21):</b>
<li>support, and prefer, curl for https://mirror.ctan.org resolution.
<li>don't require valid ssl certificates since we can't always support ssl.
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm
index 608213039a1..07487f7cb79 100644
--- a/Master/tlpkg/TeXLive/TLConfig.pm
+++ b/Master/tlpkg/TeXLive/TLConfig.pm
@@ -128,10 +128,8 @@ our %FallbackDownloaderArgs = (
'curl' => ['--user-agent', 'texlive/curl',
'--retry', '4', '--retry-delay', '4',
'--connect-timeout', "$NetworkTimeout",
- '--insecure',
'--fail', '--location', '--silent', '--output'],
'wget' => ['--user-agent=texlive/wget', '--tries=4',
- '--no-check-certificate',
"--timeout=$NetworkTimeout", '-q', '-O'],
);
# the way we package things on the web