summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2015-10-12 18:23:48 +0000
committeragc <agc@pkgsrc.org>2015-10-12 18:23:48 +0000
commit3152f3c255e34debcfad59f82a90ba4b23d8644f (patch)
tree56b6265497b3c3c10015911a0b8863d465f22261 /mk
parent3d670ebbde0ef1f8f452f87df39a09d2aed7ff7c (diff)
downloadpkgsrc-3152f3c255e34debcfad59f82a90ba4b23d8644f.tar.gz
Now that it looks like SHA1 is getting closer to its end of life, add
the SHA512 digest to the mix of digests we keep for each distfile. All part of providing stronger digests for pkgsrc, as discussed on tech-pkg recently, with unanimous agreement. There will be further changes in this area in the near future, as we transit away from reliance on SHA1 and RMD160. New distinfo files will gain a SHA512 digest entry. Existing verification of distinfo files will just use the SHA1 and RMD160 digests which exist right now.
Diffstat (limited to 'mk')
-rw-r--r--mk/checksum/checksum.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/checksum/checksum.mk b/mk/checksum/checksum.mk
index 0ca0afaeba5..61e42b3fb59 100644
--- a/mk/checksum/checksum.mk
+++ b/mk/checksum/checksum.mk
@@ -1,9 +1,9 @@
-# $NetBSD: checksum.mk,v 1.20 2013/11/16 15:29:39 jakllsch Exp $
+# $NetBSD: checksum.mk,v 1.21 2015/10/12 18:23:48 agc Exp $
#
# See bsd.checksum.mk for helpful comments.
#
-_DIGEST_ALGORITHMS?= SHA1 RMD160
+_DIGEST_ALGORITHMS?= SHA1 RMD160 SHA512
_PATCH_DIGEST_ALGORITHMS?= SHA1
# These variables are set by pkgsrc/mk/fetch/bsd.fetch-vars.mk.