aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.vm
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-10-14 22:33:11 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-10-14 22:33:11 +0000
commit34187a086a66ef1edd98444361aaea274eda9277 (patch)
tree8e5033834a7fb392d0ccd3749f8b94df39b69722 /release/Makefile.vm
parent42d17d369b576a0b9fed9b639d5578995e6ff4ed (diff)
downloadsrc-34187a086a66ef1edd98444361aaea274eda9277.tar.gz
src-34187a086a66ef1edd98444361aaea274eda9277.zip
Deprecate MD5 checksum generation in favor of SHA512.
This was discussed during the 10.2-RELEASE cycle, however since we were nearing the end of the cycle, we decided to defer this change until after 10.2-RELEASE. Reminded by: so (delphij), jmg MFC after: 5 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=289337
Diffstat (limited to 'release/Makefile.vm')
-rw-r--r--release/Makefile.vm8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/Makefile.vm b/release/Makefile.vm
index b39d05520768..902442fdfdd8 100644
--- a/release/Makefile.vm
+++ b/release/Makefile.vm
@@ -68,10 +68,10 @@ cw${_CW:tl}-install:
mkdir -p ${DESTDIR}/${_CW:tl}
cp -p ${${_CW}IMAGE} \
${DESTDIR}/${_CW:tl}/${${_CW}_DISK}
+ cd ${DESTDIR}/${_CW:tl} && sha512 ${${_CW}_DISK}* > \
+ ${DESTDIR}/${_CW:tl}/CHECKSUM.SHA512
cd ${DESTDIR}/${_CW:tl} && sha256 ${${_CW}_DISK}* > \
${DESTDIR}/${_CW:tl}/CHECKSUM.SHA256
- cd ${DESTDIR}/${_CW:tl} && md5 ${${_CW}_DISK}* > \
- ${DESTDIR}/${_CW:tl}/CHECKSUM.MD5
cw${_CW:tl}-package:
@# Special target to handle packaging cloud images in the formats
@@ -140,10 +140,10 @@ vm-install:
${XZ_CMD} ${DESTDIR}/vmimages/${OSRELEASE}.${FORMAT}
. endfor
. endif
+ cd ${DESTDIR}/vmimages && sha512 ${OSRELEASE}* > \
+ ${DESTDIR}/vmimages/CHECKSUM.SHA512
cd ${DESTDIR}/vmimages && sha256 ${OSRELEASE}* > \
${DESTDIR}/vmimages/CHECKSUM.SHA256
- cd ${DESTDIR}/vmimages && md5 ${OSRELEASE}* > \
- ${DESTDIR}/vmimages/CHECKSUM.MD5
.endif
vm-release: