From 92d7f6522617c947d635680d045f12a4ef77bcb4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 27 Dec 2014 07:51:34 +0100 Subject: convert checksum check to sha256 Rename the variable name to PKG_HASH and use a 256 Bit SHA checksum to verify the integrity of distfiles. While there do some housekeeping and remove old packages. --- scripts/scan-tools.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts') diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 8654d0d07..b55c08a1f 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -113,6 +113,12 @@ if [[ $X != *@(Native compiler works)* ]]; then fi rm test 2>/dev/null +if ! which shasum >/dev/null 2>&1; then + echo You must install shasum to continue. + echo + out=1 +fi + if ! which gzip >/dev/null 2>&1; then echo You must install gzip to continue. echo -- cgit v1.2.3