summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/http-post/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/http-post/package.py b/var/spack/repos/builtin/packages/http-post/package.py
index 240e4c878e..8f03a1db96 100644
--- a/var/spack/repos/builtin/packages/http-post/package.py
+++ b/var/spack/repos/builtin/packages/http-post/package.py
@@ -12,15 +12,15 @@ class HttpPost(MakefilePackage):
to stdout. It does not do gopher, ftp, file, news, or any other type of
URL, only HTTP. It can be configured to do HTTPS POSTs as well."""
- homepage = "http://www.acme.com/software/http_post/"
- url = "http://www.acme.com/software/http_post/http_post_18May2018.tar.gz"
+ homepage = "https://www.acme.com/software/http_post/"
+ url = "https://www.acme.com/software/http_post/http_post_18May2018.tar.gz"
- version('2018-05-18', sha256='981c62bcc5cd12b8531f887b3e3779a63a7b7f370062575cded412865a20ea2c')
+ version('2018-05-18', sha256='6607faa91aea410efb9b86ae0b1b64541b55318831cf6bb3fdee5d68f8adab31')
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_post/http_post_{0}.tar.gz".format(verstr)
+ return "https://www.acme.com/software/http_post/http_post_{0}.tar.gz".format(verstr)
def edit(self, spec, prefix):
makefile = FileFilter("Makefile")