Ports/zlib: Switch to tarball copies hosted on GitHub

zlib.net uses DDoS protection, which results in broken downloads
whenever a browser validation page is served instead. The tarballs that
are uploaded to GitHub releases are identical with the ones that are
served on zlib.net.
This commit is contained in:
Tim Schumacher 2024-03-04 20:20:52 +01:00
parent 16f33aafda
commit b9a5442b59
Notes: sideshowbarker 2024-07-19 01:59:31 +09:00

View file

@ -3,7 +3,7 @@ port='zlib'
version='1.3.1'
useconfigure='true'
files=(
"https://www.zlib.net/fossils/zlib-${version}.tar.gz#9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
"https://github.com/madler/zlib/releases/download/v${version}/zlib-${version}.tar.gz#9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
)
configure() {