From f3098830361fe03d8b73c7000c7b1f60e442f007 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 28 Mar 2022 17:00:17 +0100 Subject: [PATCH] Unbump zlib to version 1.2.11 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 6de3a11cb..ad0550645 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"}