about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-05-25 10:07:41 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-05-25 10:08:35 -0700
commit357133b362c5395a503621923e4f2fd6d00c8451 (patch)
tree55d1dd6980ea620438f6cd3ea0b5379c7eda408d
parentdeb90c33ccee849821de5f3a8e26d8d9a2e774e5 (diff)
downloadrust-357133b362c5395a503621923e4f2fd6d00c8451.tar.gz
rust-357133b362c5395a503621923e4f2fd6d00c8451.zip
Update OpenSSL download location
In rustbuild itself we download from our mirror but in the containers we don't
do this yet. The OpenSSL download url changes from time to time (it breaks when
they release a new version) so let's download from our mirror instead.
-rwxr-xr-xsrc/ci/docker/dist-i686-linux/build-openssl.sh5
-rwxr-xr-xsrc/ci/docker/dist-x86_64-linux/build-openssl.sh5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/ci/docker/dist-i686-linux/build-openssl.sh b/src/ci/docker/dist-i686-linux/build-openssl.sh
index 64b1abf82a8..27cd064f901 100755
--- a/src/ci/docker/dist-i686-linux/build-openssl.sh
+++ b/src/ci/docker/dist-i686-linux/build-openssl.sh
@@ -12,9 +12,10 @@
 set -ex
 source shared.sh
 
-VERSION=1.0.2j
+VERSION=1.0.2k
+URL=https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/openssl-$VERSION.tar.gz
 
-curl https://www.openssl.org/source/openssl-$VERSION.tar.gz | tar xzf -
+curl $URL | tar xzf -
 
 cd openssl-$VERSION
 hide_output ./config --prefix=/rustroot shared -fPIC
diff --git a/src/ci/docker/dist-x86_64-linux/build-openssl.sh b/src/ci/docker/dist-x86_64-linux/build-openssl.sh
index 64b1abf82a8..27cd064f901 100755
--- a/src/ci/docker/dist-x86_64-linux/build-openssl.sh
+++ b/src/ci/docker/dist-x86_64-linux/build-openssl.sh
@@ -12,9 +12,10 @@
 set -ex
 source shared.sh
 
-VERSION=1.0.2j
+VERSION=1.0.2k
+URL=https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/openssl-$VERSION.tar.gz
 
-curl https://www.openssl.org/source/openssl-$VERSION.tar.gz | tar xzf -
+curl $URL | tar xzf -
 
 cd openssl-$VERSION
 hide_output ./config --prefix=/rustroot shared -fPIC