serenity
serenity copied to clipboard
Ports: zlib downloads HTML instead of an archive
[zlib/fetch] SHA256 checksum of downloaded file 'zlib-1.3.1.tar.gz' does not match!
[zlib/fetch] Expected: db596507a0c7af737de0a096f0d43e025d3546d7c918e9bbfc860745d31c710b
[zlib/fetch] Actual: 06baf57eb57bc30318923a86a746a873d3b2c50fddeb487df89ebd24d6d867e0
[zlib/fetch] Removed erroneous download.
[zlib/fetch] Please run script again.
$ wget -O - https://www.zlib.net/fossils/zlib-1.3.1.tar.gz
--2024-03-03 22:33:43-- https://www.zlib.net/fossils/zlib-1.3.1.tar.gz
Resolving www.zlib.net (www.zlib.net)... 85.187.148.2
Connecting to www.zlib.net (www.zlib.net)|85.187.148.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘STDOUT’
- [<=> ] 0 --.-KB/s <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
<title>One moment, please...</title>
<style>
body {
background: #F6F7F8;
color: #303131;
font-family: sans-serif;
margin-top: 45vh;
text-align: center;
}
</style>
</head>
<body>
<h1>Please wait while your request is being verified...</h1>
<form id="wsidchk-form" style="display:none;" action="/z0f76a1d14fd21a8fb5fd0d03e0fdc3d3cedae52f" method="get">
<input type="hidden" id="wsidchk" name="wsidchk"/>
</form>
<script>
(function(){
var west=+((+!+[])+(+!+[]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+[])+(+![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+[])),
east=+((+!+[]+!![]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![])+(+!+[]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![])+(+![]+[])+(+!+[]+!![]+!![]+!![])),
x=function(){try{return !!window.addEventListener;}catch(e){return !!0;} },
y=function(y,z){x() ? document.addEventListener("DOMContentLoaded",y,z) : document.attachEvent("onreadystatechange",y);};
y(function(){
document.getElementById('wsidchk').value = west + east;
document.getElementById('wsidchk-form').submit();
}, false);
})();
</script>
</body>
- [ <=> ] 1.30K --.-KB/s in 0s
2024-03-03 22:33:44 (601 MB/s) - written to stdout [1332]
This doesn't look like anything that we can fix, given that this seems to be DDoS-protection on the download server.
well, surely there is more than one place on the entire web that has zlib release tarballs :)
I guess we could switch over to the copy of the .tar.gz
that is uploaded to GitHub releases, that's the only other first-party place to download tarballs (one that I didn't really expect to exist). I'll look into it tomorrow unless somebody else got to it by then.