Skip to content

Commit

Permalink
update source links to https where possible
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jmartin-tech committed Dec 20, 2021
1 parent 66c15d9 commit 71db67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/nokogiri/extconf.rb
Expand Up @@ -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?
Expand Down Expand Up @@ -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"],
}]

Expand Down

0 comments on commit 71db67e

Please sign in to comment.