Fetch OpenSSL versions via source/old links
PATCH 1/1 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 <[email protected]...>
--- .travis/build-deps.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
.travis/build-deps.sh +3 -1
@@ -90,9 +90,11 @@ 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 }
Signature · 1 line
2.26.0
Patch applies, travis builds are fixed now.
There is a line with 4 whitespaces under "download_openssl" line, but that can be fixed by committer.
Acked-by Lev Stipakov <[email protected]...>
Your patch has been applied to the master branch.
(Removing the spurious extra new line, as requested by Lev)
commit 3e0e169254427c4fdcd667e23b110fb939f9fbde (master) commit 22df79bb3ba3a5ecce964df223288e99f39e5a12 (release/2.4)
Author: Arne Schwabe Date: Wed Apr 1 14:40:19 2020 +0200
Fetch OpenSSL versions via source/old links
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Lev Stipakov <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/search?l=mid&[email protected]...
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering