From 29f10624bd398442ab3530215e0a73b362e0559d Mon Sep 17 00:00:00 2001 From: vucoda Date: Thu, 15 Jul 2021 07:00:32 +0930 Subject: Change url+checksums for libpng to official sourceforge archives (#23767) * Change url and checksums for libpng to official sourceforge archives * Update url scheme from http to https * switch to .xz archives Co-authored-by: Todd Gamblin --- var/spack/repos/builtin/packages/libpng/package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/libpng/package.py b/var/spack/repos/builtin/packages/libpng/package.py index c9b7c60168..584688a3a8 100644 --- a/var/spack/repos/builtin/packages/libpng/package.py +++ b/var/spack/repos/builtin/packages/libpng/package.py @@ -10,10 +10,10 @@ class Libpng(AutotoolsPackage): """libpng is the official PNG reference library.""" homepage = "http://www.libpng.org/pub/png/libpng.html" - url = "https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz" + url = "https://prdownloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz" git = "https://github.com/glennrp/libpng.git" - version('1.6.37', sha256='ca74a0dace179a8422187671aee97dd3892b53e168627145271cad5b5ac81307') + version('1.6.37', sha256='505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca') # From http://www.libpng.org/pub/png/libpng.html (2019-04-15) # libpng versions 1.6.36 and earlier have a use-after-free bug in the # simplified libpng API png_image_free(). It has been assigned ID @@ -21,7 +21,7 @@ class Libpng(AutotoolsPackage): # released on 15 April 2019. # Required for qt@3 - version('1.2.57', sha256='7f415186d38ca71c23058386d7cf5135c8beda821ee1beecdc2a7a26c0356615') + version('1.2.57', sha256='0f4620e11fa283fedafb474427c8e96bf149511a1804bdc47350963ae5cf54d8') depends_on('zlib@1.0.4:') # 1.2.5 or later recommended -- cgit v1.2.3-70-g09d2