]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/tar
Switch checksums from MD5 to BLAKE2
[people/pmueller/ipfire-2.x.git] / lfs / tar
diff --git a/lfs/tar b/lfs/tar
index 9ba5e5c88c10f56bc54c09b0d3e85ab4a4cf1056..2c798a4dd14a7de2c1e533ef256ca24f0d8e1ef0 100644 (file)
--- a/lfs/tar
+++ b/lfs/tar
@@ -50,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 9a08d29a9ac4727130b5708347c0f5cf
+$(DL_FILE)_BLAKE2 = 741a662457509a6775338ffe5d2d84872fcf38b93ace70c8b748a81055b9b62f65a48c4e541955d08ae99e6f528509e89eacd7c799a65bcc3d017a259110c115
 
 install : $(TARGET)
 
@@ -58,10 +58,10 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -70,8 +70,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details