little-cms2: secure urls

master
Viktor Szakats 2020-09-06 14:39:35 +00:00 committed by Viktor Szakats
parent 2d14b43d1c
commit 01f52aa990
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
class LittleCms2 < Formula
desc "Color management engine supporting ICC profiles"
homepage "http://www.littlecms.com/"
# Ensure release is announced at http://www.littlecms.com/categories/releases/
# (or http://www.littlecms.com/blog/)
homepage "https://www.littlecms.com/"
# Ensure release is announced at https://www.littlecms.com/categories/releases/
# (or https://www.littlecms.com/blog/)
url "https://downloads.sourceforge.net/project/lcms/lcms/2.11/lcms2-2.11.tar.gz"
sha256 "dc49b9c8e4d7cdff376040571a722902b682a795bf92985a85b48854c270772e"
license "MIT"
@ -13,7 +13,7 @@ class LittleCms2 < Formula
# "Releases" blog posts seems to be our best option and we just have to hope
# that the post URLs, headings, etc. maintain a consistent format.
livecheck do
url "http://www.littlecms.com/categories/releases/"
url "https://www.littlecms.com/categories/releases/"
regex(%r{href=.*lcms2[._-]v?(\d+(?:\.\d+)+)/?["' >]}i)
end