]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - lfs/rust-inventory-impl
Switch checksums from MD5 to BLAKE2
[people/mfischer/ipfire-2.x.git] / lfs / rust-inventory-impl
index d0fa441c311ae97f9fa48430e3346cc99deef641..9e08d3225489732f1ce09e24c70c4de851c99057 100644 (file)
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 5a7f1174b2f5cb1bdc9c21dad7ac3243
+$(DL_FILE)_BLAKE2 = 016e9c8f2834e1a54d5240391252d99a75e47e950c28033d5c437380bd05d1a28c4cdc2c0619e14c16404d772f8785a5f0f2f7b47cefef1edd9664a172af26dd
 
 install : $(TARGET)
 
@@ -48,13 +48,13 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
 dist:
        @$(PAK)
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -63,8 +63,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details