Makefile: Switch from md5sums to sha256sums
authorCarl Worth <cworth@cworth.org>
Thu, 21 Aug 2014 16:03:02 +0000 (09:03 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 21 Aug 2014 16:05:01 +0000 (09:05 -0700)
We switched to these several stable releases ago, (since the MD5 algorithm has
been broken for some time), but only now did I get around to fixing this in
the Makefile rather than just performing this step manually.

CC: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
Makefile.am

index 4780510adeaaad1db297aefc1462e2f2b8d974b3..d2916da43bce3f8448ba58f987d67933857971f6 100644 (file)
@@ -71,7 +71,7 @@ ARCHIVES = $(PACKAGE_NAME).tar.gz \
        $(PACKAGE_NAME).tar.bz2 \
        $(PACKAGE_NAME).zip
 
-tarballs: md5
+tarballs: checksums
        rm -f ../$(PACKAGE_DIR) $(PACKAGE_NAME).tar
 
 manifest.txt: .git
@@ -98,9 +98,9 @@ $(PACKAGE_NAME).zip: parsers ../$(PACKAGE_DIR) manifest.txt
        zip -q -@ $(PACKAGE_NAME).zip < $(PACKAGE_DIR)/manifest.txt ; \
        mv $(PACKAGE_NAME).zip $(PACKAGE_DIR)
 
-md5: $(ARCHIVES)
-       @-md5sum $(PACKAGE_NAME).tar.gz
-       @-md5sum $(PACKAGE_NAME).tar.bz2
-       @-md5sum $(PACKAGE_NAME).zip
+checksums: $(ARCHIVES)
+       @-sha256sum $(PACKAGE_NAME).tar.gz
+       @-sha256sum $(PACKAGE_NAME).tar.bz2
+       @-sha256sum $(PACKAGE_NAME).zip
 
 .PHONY: tarballs md5