From: Arne Schwabe Date: Wed, 1 Apr 2020 12:40:19 +0000 (+0200) Subject: Fetch OpenSSL versions via source/old links X-Git-Tag: v2.4.9~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22df79bb3ba3a5ecce964df223288e99f39e5a12;p=thirdparty%2Fopenvpn.git Fetch OpenSSL versions via source/old links New versions are already available as source/old but old version at some point disappear from the normal download path. Use the source/old path for all OpenSSL versions to avoid this problem. Signed-off-by: Arne Schwabe Acked-by: Lev Stipakov Message-Id: <20200401124019.10529-1-arne@rfc2549.org> URL: https://www.mail-archive.com/search?l=mid&q=20200401124019.10529-1-arne@rfc2549.org Signed-off-by: Gert Doering (cherry picked from commit 3e0e169254427c4fdcd667e23b110fb939f9fbde) --- diff --git a/.travis/build-deps.sh b/.travis/build-deps.sh index 391b35ef7..b3f3995c8 100755 --- a/.travis/build-deps.sh +++ b/.travis/build-deps.sh @@ -78,8 +78,9 @@ build_mbedtls () { download_openssl () { if [ ! -f "download-cache/openssl-${OPENSSL_VERSION}.tar.gz" ]; then + MAJOR=`echo $OPENSSL_VERSION | sed -e 's/\([0-9.]*\).*/\1/'` wget -P download-cache/ \ - "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz" + "https://www.openssl.org/source/old/${MAJOR}/openssl-${OPENSSL_VERSION}.tar.gz" fi }