checksums: use sha256 checksums everywhere

We'd like to use a consistent checksum scheme everywhere so that we can:

    a) incorporate archive checksums into our specs and have a
       consistent hashing algorithm across all specs.

    b) index mirrors with a consistent type of checksum, and not one that
       is dependent on how spack packages are written.

- [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
This commit is contained in:
Todd Gamblin
2019-10-10 22:44:41 -07:00
parent 87fa7c15fc
commit 62927654dd
2344 changed files with 5728 additions and 5754 deletions

View File

@@ -21,11 +21,11 @@ class Flann(CMakePackage):
homepage = "http://www.cs.ubc.ca/research/flann/"
url = "https://github.com/mariusmuja/flann/archive/1.9.1.tar.gz"
version('1.9.1', '73adef1c7bf8e8b978987e7860926ea6')
version('1.8.5', '02a81640b1e9c11796a0413976dc11f5')
version('1.8.4', '774b74580e3cbc5b0d45c6ec345a64ae')
version('1.8.1', '1f51500e172f5e11fbda05f033858eb6')
version('1.8.0', '473150f592c2997e32d5ce31fd3c19a2')
version('1.9.1', sha256='b23b5f4e71139faa3bcb39e6bbcc76967fbaf308c4ee9d4f5bfbeceaa76cc5d3')
version('1.8.5', sha256='59a9925dac0705b281496ae52b5dfd79d6b69316d37015e3d3b38c859bac4f2f')
version('1.8.4', sha256='ed5843113150b3d6bc4c325fecb51337838a9fc09ad64bdb6aea79d6e610ee13')
version('1.8.1', sha256='82ff80709ca25365bca3367e87ffb4e0395fab068487314d02271bc3034591c1')
version('1.8.0', sha256='8a3eef79512870dec20b3a3e481e5e5e6da00d524b810a22ee186f13732f0fa1')
def url_for_version(self, version):
if version > Version('1.8.1'):