Skip to content

Commit

Permalink
Ports/zlib: Switch to tarball copies hosted on GitHub
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
timschumi committed Mar 5, 2024
1 parent 16f33aa commit b9a5442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ports/zlib/package.sh
Expand Up @@ -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() {
Expand Down

0 comments on commit b9a5442

Please sign in to comment.