http-load: Fix checksum error (#21459)
This commit is contained in:
parent
1a6fe52486
commit
2b7547c03c
@ -10,15 +10,15 @@
|
|||||||
class HttpLoad(MakefilePackage):
|
class HttpLoad(MakefilePackage):
|
||||||
"""http_load - multiprocessing http test client"""
|
"""http_load - multiprocessing http test client"""
|
||||||
|
|
||||||
homepage = "http://www.acme.com/software/http_load/"
|
homepage = "https://www.acme.com/software/http_load/"
|
||||||
url = "http://www.acme.com/software/http_load/http_load-09Mar2016.tar.gz"
|
url = "https://www.acme.com/software/http_load/http_load-09Mar2016.tar.gz"
|
||||||
|
|
||||||
version('2016-03-09', sha256='a2bf118d88f6acd2a082cbf275d141538149caaa0a4ce1bcc66680668e781306')
|
version('2016-03-09', sha256='5a7b00688680e3fca8726dc836fd3f94f403fde831c71d73d9a1537f215b4587')
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
|
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
|
||||||
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
|
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
|
||||||
return "http://www.acme.com/software/http_load/http_load-{0}.tar.gz".format(verstr)
|
return "https://www.acme.com/software/http_load/http_load-{0}.tar.gz".format(verstr)
|
||||||
|
|
||||||
def edit(self, spec, prefix):
|
def edit(self, spec, prefix):
|
||||||
makefile = FileFilter("Makefile")
|
makefile = FileFilter("Makefile")
|
||||||
|
Loading…
Reference in New Issue
Block a user