Replace FTP retrieval URLs with HTTP/HTTPS serving packages with identical checksum. (#2958)

This commit is contained in:
健美猫
2017-01-31 22:56:35 +08:00
committed by Todd Gamblin
parent 0c0a1fdedc
commit d46a1eadcd
30 changed files with 32 additions and 32 deletions

View File

@@ -30,7 +30,7 @@ class Mpc(AutotoolsPackage):
with arbitrarily high precision and correct rounding of the
result."""
homepage = "http://www.multiprecision.org"
url = "ftp://ftp.gnu.org/gnu/mpc/mpc-1.0.2.tar.gz"
url = "https://ftp.gnu.org/gnu/mpc/mpc-1.0.2.tar.gz"
version('1.0.3', 'd6a1d5f8ddea3abd2cc3e98f58352d26')
version('1.0.2', '68fadff3358fb3e7976c7a398a0af4c3')
@@ -42,4 +42,4 @@ def url_for_version(self, version):
if version < Version("1.0.1"):
return "http://www.multiprecision.org/mpc/download/mpc-%s.tar.gz" % version
else:
return "ftp://ftp.gnu.org/gnu/mpc/mpc-%s.tar.gz" % version
return "https://ftp.gnu.org/gnu/mpc/mpc-%s.tar.gz" % version