This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via 98b761a5576204b9cd0c8a441f2eeb4d530cadd6 (commit) from eac8a6fbb86b8befb00adc318d0675a1c4748ed5 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 98b761a5576204b9cd0c8a441f2eeb4d530cadd6 Author: Peter Müller peter.mueller@ipfire.org Date: Mon May 2 20:26:46 2022 +0000
download-rust-crate: Switch from MD5 to BLAKE2
https://wiki.ipfire.org/devel/telco/2022-05-02
Signed-off-by: Peter Müller peter.mueller@ipfire.org
-----------------------------------------------------------------------
Summary of changes: tools/download-rust-crate | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Difference in files: diff --git a/tools/download-rust-crate b/tools/download-rust-crate index bae6b60be..f6a0fe035 100755 --- a/tools/download-rust-crate +++ b/tools/download-rust-crate @@ -50,8 +50,8 @@ main() { fi
# Hash the downloaded file - local md5sum="$(md5sum "${download}" | awk '{ print $1 }')" - if [ -z "${md5sum}" ]; then + local b2sum="$(b2sum "${download}" | awk '{ print $1 }')" + if [ -z "${b2sum}" ]; then echo "${0}: Could not hash download" >&2 unlink "${download}" return 1 @@ -73,7 +73,7 @@ main() { sed < "${RUST_TEMPLATE}" > "lfs/rust-${name}" \ -e "s/^VER.*/VER = ${version}/" \ -e "s/^THISAPP.*/THISAPP = ${name}-$(VER)/" \ - -e "s/^$(DL_FILE)_MD5.*/$(DL_FILE)_MD5 = ${md5sum}/" + -e "s/^$(DL_FILE)_BLAKE2.*/$(DL_FILE)_BLAKE2 = ${b2sum}/"
echo "Done" return 0
hooks/post-receive -- IPFire 2.x development tree