summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2021-02-04 02:02:42 +0900
committerGitHub <noreply@github.com>2021-02-03 11:02:42 -0600
commit6f4b7870f20865132040d2d301ea4d773db45434 (patch)
treed95ad1efd92ce4b7096f432a94898ef1d326d507
parent0a0e0b9b674ccffdb06c7093f07591d76820e70b (diff)
downloadspack-6f4b7870f20865132040d2d301ea4d773db45434.tar.gz
spack-6f4b7870f20865132040d2d301ea4d773db45434.tar.bz2
spack-6f4b7870f20865132040d2d301ea4d773db45434.tar.xz
spack-6f4b7870f20865132040d2d301ea4d773db45434.zip
http-ping: Fix checksum error (#21457)
-rw-r--r--var/spack/repos/builtin/packages/http-ping/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/http-ping/package.py b/var/spack/repos/builtin/packages/http-ping/package.py
index d6bf2718be..c7e21361bb 100644
--- a/var/spack/repos/builtin/packages/http-ping/package.py
+++ b/var/spack/repos/builtin/packages/http-ping/package.py
@@ -11,15 +11,15 @@ class HttpPing(MakefilePackage):
"""http_ping is like the regular ping command, except that it sends
HTTP requests instead of ICMP echo requests."""
- homepage = "http://www.acme.com/software/http_ping/"
- url = "http://www.acme.com/software/http_ping/http_ping_09Mar2016.tar.gz"
+ homepage = "https://www.acme.com/software/http_ping/"
+ url = "https://www.acme.com/software/http_ping/http_ping_09Mar2016.tar.gz"
- version('2016-03-09', sha256='6bdc570c776a760d2c08f7d18e00b0edd74cf603400929c66c512801b6bb5871')
+ version('2016-03-09', sha256='f8b95773aaed09839a44a1927f979a62752d57aace79da3846bfb73e6c9805e9')
def url_for_version(self, version):
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
- return "http://www.acme.com/software/http_ping/http_ping_{0}.tar.gz".format(verstr)
+ return "https://www.acme.com/software/http_ping/http_ping_{0}.tar.gz".format(verstr)
def edit(self, spec, prefix):
makefile = FileFilter("Makefile")