From 73d454be46824b4036a6afefd57a6386e2d5d76d Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 10 May 2021 12:33:10 -0300 Subject: [PATCH] Add sha256sum check to zlib (#830) Just to make sure that we are using the correct source code. --- script/compile | 1 + 1 file changed, 1 insertion(+) diff --git a/script/compile b/script/compile index 74b04621..1b4cdfbd 100755 --- a/script/compile +++ b/script/compile @@ -84,6 +84,7 @@ if [ "$BABASHKA_STATIC" = "true" ]; then ZLIB_VERSION="1.2.11" curl -O -sL "https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz" + echo "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 zlib-${ZLIB_VERSION}.tar.gz" | sha256sum --check tar xf "zlib-${ZLIB_VERSION}.tar.gz" cd "zlib-${ZLIB_VERSION}" CC=musl-gcc ./configure --static --prefix=/usr/lib/x86_64-linux-musl/