From 357133b362c5395a503621923e4f2fd6d00c8451 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 25 May 2017 10:07:41 -0700 Subject: [PATCH] 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. --- src/ci/docker/dist-i686-linux/build-openssl.sh | 5 +++-- src/ci/docker/dist-x86_64-linux/build-openssl.sh | 5 +++-- 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 -- 2.44.0