From 71db67eb5212889dd8afb01a23cb9ed6685032cc Mon Sep 17 00:00:00 2001 From: Jeffrey Martin Date: Mon, 20 Dec 2021 09:27:36 -0600 Subject: [PATCH] update source links to https where possible * Update the source link for libiconv due to redirect not followed on windows * Update zlib source link to `https` to be consistent where possible * xmlsoft.org is left as `http` due to what looks like SNI hosting without `https` service for xmlsoft.org --- ext/nokogiri/extconf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/nokogiri/extconf.rb b/ext/nokogiri/extconf.rb index 5baf16ea72..3f536cdb63 100644 --- a/ext/nokogiri/extconf.rb +++ b/ext/nokogiri/extconf.rb @@ -656,7 +656,7 @@ def do_clean if cross_build_p || windows? zlib_recipe = process_recipe("zlib", dependencies["zlib"]["version"], static_p, cross_build_p) do |recipe| recipe.files = [{ - url: "http://zlib.net/fossils/#{recipe.name}-#{recipe.version}.tar.gz", + url: "https://zlib.net/fossils/#{recipe.name}-#{recipe.version}.tar.gz", sha256: dependencies["zlib"]["sha256"], }] if windows? @@ -714,7 +714,7 @@ def compile libiconv_recipe = process_recipe("libiconv", dependencies["libiconv"]["version"], static_p, cross_build_p) do |recipe| recipe.files = [{ - url: "http://ftp.gnu.org/pub/gnu/libiconv/#{recipe.name}-#{recipe.version}.tar.gz", + url: "https://ftp.gnu.org/pub/gnu/libiconv/#{recipe.name}-#{recipe.version}.tar.gz", sha256: dependencies["libiconv"]["sha256"], }]