diff options
author | Justin Scholz <[email protected]> | 2016-10-15 13:51:47 +0200 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-12-15 12:26:20 -0500 |
commit | 72bf6f7be77fe7f7443a4ef45a808b9131750b6b (patch) | |
tree | 9a47d4e6e439ac48931b04861a12b57564faa870 /make/include | |
parent | 010837e1fb1dd259261eb7f760dd6623c539fea1 (diff) |
contrib: Use SHA256 instead of MD5 for contrib archive checksums.
Closes #356.
Diffstat (limited to 'make/include')
-rw-r--r-- | make/include/contrib.defs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make/include/contrib.defs b/make/include/contrib.defs index face4be2e..b57593297 100644 --- a/make/include/contrib.defs +++ b/make/include/contrib.defs @@ -31,10 +31,10 @@ define import.CONTRIB.defs $(1).FETCH.distfile = $$(CONTRIB.download/)$$($(1).FETCH.basename) $(1).FETCH.target = $$($(1).FETCH.distfile) define $(1).FETCH - $$(DF.FETCH.exe) --config $(BUILD/)distfile.cfg $$(if $$($(1).FETCH.md5),--md5 $$($(1).FETCH.md5)) --output $$@ $$($(1).FETCH.url) + $$(DF.FETCH.exe) --config $(BUILD/)distfile.cfg $$(if $$($(1).FETCH.sha256),--sha256 $$($(1).FETCH.sha256)) --output $$@ $$($(1).FETCH.url) endef define $(1).FETCH.test - $$(DF.FETCH.exe) --config $(BUILD/)distfile.cfg $$(if $$($(1).FETCH.md5),--md5 $$($(1).FETCH.md5)) --exhaust-url $$($(1).FETCH.url) + $$(DF.FETCH.exe) --config $(BUILD/)distfile.cfg $$(if $$($(1).FETCH.sha256),--sha256 $$($(1).FETCH.sha256)) --exhaust-url $$($(1).FETCH.url) endef ## @@ -42,7 +42,7 @@ define import.CONTRIB.defs ## $(1).VERIFY.target = $$($(1).build/).stamp.verify define $(1).VERIFY - $$(DF.VERIFY.exe) --config $(BUILD/)distfile.cfg $$(if $$($(1).FETCH.md5),--md5 $$($(1).FETCH.md5)) $$($(1).FETCH.distfile) + $$(DF.VERIFY.exe) --config $(BUILD/)distfile.cfg $$(if $$($(1).FETCH.sha256),--sha256 $$($(1).FETCH.sha256)) $$($(1).FETCH.distfile) $$(TOUCH.exe) $$@ endef |