commit d60d0ccff97699724c6c9cff6bd202272df9225f Author: Arturo Filastò art@fuffa.org Date: Wed Apr 23 15:50:39 2014 +0200
Verify the sha 256 sum of the zlib package. --- scripts/build_tor2web_tor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/build_tor2web_tor.sh b/scripts/build_tor2web_tor.sh index 80880bc..b510c51 100755 --- a/scripts/build_tor2web_tor.sh +++ b/scripts/build_tor2web_tor.sh @@ -5,7 +5,7 @@ OPENSSL_VERSION=1.0.1e LIBEVENT_VERSION=2.0.21-stable ZLIB_VERSION=1.2.8 TOR_VERSION=0.2.4.20 -ZLIB_MD5=44d667c142d7cda120332623eab69f40 +ZLIB_SHA256=36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
SCRIPT_ROOT=`pwd`
@@ -70,7 +70,7 @@ cd libevent-$LIBEVENT_VERSION
# set up zlib cd $SCRIPT_ROOT -echo "$ZLIB_MD5 zlib-$ZLIB_VERSION.tar.gz" | md5sum -c +echo "$ZLIB_SHA256 zlib-$ZLIB_VERSION.tar.gz" | shasum -a 256 -c if [ $? -ne 0 ]; then exit ;fi
tar xfz zlib-$ZLIB_VERSION.tar.gz