From a4a8ce53066b6643d846591bc3497fd16d40a215 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 28 Mar 2022 17:07:42 +0100 Subject: [PATCH] Unbump zlib to version 1.2.11 (#1222) The newer 1.2.12 version is breaking the tests. The older version is not available in the main download path, however it is still available in the archive. --- script/setup-musl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/setup-musl b/script/setup-musl index 6de3a11c..ad055064 100755 --- a/script/setup-musl +++ b/script/setup-musl @@ -20,11 +20,12 @@ fi apt-get update -y && apt-get install musl-tools -y ZLIB_VERSION="1.2.11" +ZLIB_SHA256="c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1" -curl -O -sL "https://www.zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz" +# stable archive path +curl -O -sL --fail --show-error "https://zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz" -echo "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 zlib-${ZLIB_VERSION}.tar.gz" | - sha256sum --check +echo "${ZLIB_SHA256} zlib-${ZLIB_VERSION}.tar.gz" | sha256sum --check tar xf "zlib-${ZLIB_VERSION}.tar.gz" arch=${BABASHKA_ARCH:-"x86_64"}