zlib: secure url(s)

This commit is contained in:
Viktor Szakats 2017-05-19 12:27:40 +02:00 committed by FX Coudert
parent 8b1037f2b9
commit 688094ad7c

View file

@ -1,7 +1,7 @@
class Zlib < Formula
desc "General-purpose lossless data-compression library"
homepage "http://www.zlib.net/"
url "http://zlib.net/zlib-1.2.11.tar.gz"
homepage "https://zlib.net/"
url "https://zlib.net/zlib-1.2.11.tar.gz"
mirror "https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz"
sha256 "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1"
@ -14,9 +14,9 @@ class Zlib < Formula
keg_only :provided_by_osx
# http://zlib.net/zlib_how.html
# https://zlib.net/zlib_how.html
resource "test_artifact" do
url "http://zlib.net/zpipe.c"
url "https://zlib.net/zpipe.c"
version "20051211"
sha256 "68140a82582ede938159630bca0fb13a93b4bf1cb2e85b08943c26242cf8f3a6"
end