File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python
7
7
# to the ftp mirror:
8
8
OPENSSL_DOWNLOAD_URL=ftp://ftp.openssl.org/source
9
9
# Ditto the curl sources
10
- CURL_DOWNLOAD_URL=http ://curl.askapache. com/download
10
+ CURL_DOWNLOAD_URL=https ://github. com/curl/curl/releases/ download/curl-7_57_0
11
11
12
12
GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
13
13
@@ -153,7 +153,11 @@ function build_curl {
153
153
local curl_sha256=$2
154
154
check_var ${curl_sha256}
155
155
check_var ${CURL_DOWNLOAD_URL}
156
- curl -sSLO ${CURL_DOWNLOAD_URL} /${curl_fname} .tar.bz2
156
+ # FIXME: Unfortunately, this old version of curl fails on the official curl
157
+ # site as well as its mirrors due to random SSL / TLS verification errors.
158
+ # Therefore, we skips these checks for now. In any case, we do check the
159
+ # hash of the updated curl out-of-band anyway.
160
+ curl -kLO ${CURL_DOWNLOAD_URL} /${curl_fname} .tar.bz2
157
161
check_sha256sum ${curl_fname} .tar.bz2 ${curl_sha256}
158
162
tar -jxf ${curl_fname} .tar.bz2
159
163
(cd ${curl_fname} && do_curl_build)
You can’t perform that action at this time.
0 commit comments