fortune: add secure url

master
Viktor Szakats 2020-08-28 21:38:27 +00:00 committed by Viktor Szakats
parent 129118a96a
commit 4693c18ddf
1 changed files with 1 additions and 3 deletions

View File

@ -5,10 +5,8 @@ class Fortune < Formula
mirror "https://src.fedoraproject.org/repo/pkgs/fortune-mod/fortune-mod-9708.tar.gz/81a87a44f9d94b0809dfc2b7b140a379/fortune-mod-9708.tar.gz"
sha256 "1a98a6fd42ef23c8aec9e4a368afb40b6b0ddfb67b5b383ad82a7b78d8e0602a"
# The URL below should be modified to use HTTPS again after the upstream
# server fixes their SSL certificate issue.
livecheck do
url "http://www.ibiblio.org/pub/linux/games/amusements/fortune/"
url "https://www.ibiblio.org/pub/linux/games/amusements/fortune/"
regex(/href=.*?fortune-mod[._-]v?(\d+(?:\.\d+)*)\.t/i)
end