diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-01-26 13:57:18 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-01-26 13:57:18 +0200 |
commit | 0ff2cf73f5070d5dd4f9df11d8d87b594cc0be7b (patch) | |
tree | de065f41513d76f1818702b9e5c6eb397a0dd0c1 | |
parent | ac5dbfca7f72144e1030c8c52200345ba8b50239 (diff) | |
download | abuild-0ff2cf73f5070d5dd4f9df11d8d87b594cc0be7b.tar.gz abuild-0ff2cf73f5070d5dd4f9df11d8d87b594cc0be7b.tar.bz2 abuild-0ff2cf73f5070d5dd4f9df11d8d87b594cc0be7b.tar.xz abuild-0ff2cf73f5070d5dd4f9df11d8d87b594cc0be7b.zip |
abuild: use only sha512sum
use only the strongest hash. this simplifies apkbuilds a bit.
-rw-r--r-- | abuild.in | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1907,16 +1907,6 @@ checksum() { files="$files $(filename_from_uri $s)" done - # for compatibility/backporting reasons we still add md5sum - msg "Updating the md5sums in APKBUILD..." - md5sums="$(cd "$srcdir" && md5sum $files)" || die "md5sum failed" - echo "md5sums=\"$md5sums\"" >>"$APKBUILD" - - msg "Updating the sha256sums in APKBUILD..." - sha256sums="$(cd "$srcdir" && sha256sum $files)" \ - || die "sha256sum failed" - echo "sha256sums=\"$sha256sums\"" >>"$APKBUILD" - msg "Updating the sha512sums in APKBUILD..." sha512sums="$(cd "$srcdir" && sha512sum $files)" \ || die "sha512sum failed" |