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

@@ -33,7 +33,7 @@ class Cdd(Package):
a general convex polyhedron given by a system of linear
inequalities"""
homepage = "https://www.inf.ethz.ch/personal/fukudak/cdd_home/cdd.html"
url = "ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/cdd-061a.tar.gz"
url = "http://www.cs.mcgill.ca/~fukuda/download/cdd/cdd-061a.tar.gz"
version('0.61a', '22c24a7a9349dd7ec0e24531925a02d9')
@@ -42,7 +42,7 @@ class Cdd(Package):
patch("Makefile.spack.patch")
def url_for_version(self, version):
url = "ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/cdd-{0}.tar.gz"
url = "http://www.cs.mcgill.ca/~fukuda/download/cdd/cdd-{0}.tar.gz"
return url.format(version.joined)
def install(self, spec, prefix):