libidn2:use http for download (#21001)

This is needed since libidn is used to bootstrap curl
This commit is contained in:
Adam J. Stewart 2021-01-19 02:54:25 -06:00 committed by GitHub
parent 908528f2f1
commit 86e9d93859
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -8,6 +8,7 @@ class BerkeleyDb(AutotoolsPackage):
"""Oracle Berkeley DB""" """Oracle Berkeley DB"""
homepage = "https://www.oracle.com/database/technologies/related/berkeleydb.html" homepage = "https://www.oracle.com/database/technologies/related/berkeleydb.html"
# URL must remain http:// so Spack can bootstrap curl
url = "http://download.oracle.com/berkeley-db/db-18.1.40.tar.gz" url = "http://download.oracle.com/berkeley-db/db-18.1.40.tar.gz"
version("18.1.40", sha256="0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8") version("18.1.40", sha256="0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8")

View file

@ -6,13 +6,14 @@
from spack import * from spack import *
class Libidn2(AutotoolsPackage): class Libidn2(AutotoolsPackage, GNUMirrorPackage):
"""Libidn2 is a free software implementation of IDNA2008, Punycode and """Libidn2 is a free software implementation of IDNA2008, Punycode and
TR46. Its purpose is to encode and decode internationalized domain TR46. Its purpose is to encode and decode internationalized domain
names.""" names."""
homepage = "https://gitlab.com/libidn/libidn2" homepage = "https://gitlab.com/libidn/libidn2"
url = "https://ftp.gnu.org/gnu/libidn/libidn2-2.0.5.tar.gz" # URL must remain http:// so Spack can bootstrap curl
gnu_mirror_path = "libidn/libidn2-2.0.5.tar.gz"
version('2.3.0', sha256='e1cb1db3d2e249a6a3eb6f0946777c2e892d5c5dc7bd91c74394fc3a01cab8b5') version('2.3.0', sha256='e1cb1db3d2e249a6a3eb6f0946777c2e892d5c5dc7bd91c74394fc3a01cab8b5')
version('2.1.1a', sha256='57666bcf6ecf54230d7bac95c392379561954b57a673903aed4d3336b3048b72') version('2.1.1a', sha256='57666bcf6ecf54230d7bac95c392379561954b57a673903aed4d3336b3048b72')

View file

@ -11,6 +11,7 @@ class PkgConfig(AutotoolsPackage):
and libraries""" and libraries"""
homepage = "http://www.freedesktop.org/wiki/Software/pkg-config/" homepage = "http://www.freedesktop.org/wiki/Software/pkg-config/"
# URL must remain http:// so Spack can bootstrap curl
url = "http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz" url = "http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz"
version('0.29.2', sha256='6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591') version('0.29.2', sha256='6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591')