public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 98b761a5576204b9cd0c8a441f2eeb4d530cadd6
@ 2022-05-02 20:27 Peter Müller
  0 siblings, 0 replies; only message in thread
From: Peter Müller @ 2022-05-02 20:27 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 1954 bytes --]

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(a)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(a)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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-02 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 20:27 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 98b761a5576204b9cd0c8a441f2eeb4d530cadd6 Peter Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox