public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 98b761a5576204b9cd0c8a441f2eeb4d530cadd6
Date: Mon, 02 May 2022 20:27:26 +0000	[thread overview]
Message-ID: <4KsZQQ5FFHz2xf4@people01.haj.ipfire.org> (raw)

[-- 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

                 reply	other threads:[~2022-05-02 20:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4KsZQQ5FFHz2xf4@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox