From 1a6fe5248642600eb370a464ffb8390df09761d5 Mon Sep 17 00:00:00 2001 From: Tomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com> Date: Thu, 4 Feb 2021 02:03:28 +0900 Subject: http-post: Fix checksum error (#21460) --- var/spack/repos/builtin/packages/http-post/package.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'var') 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") -- cgit v1.2.3-70-g09d2