diff --git a/Library/Homebrew/blacklist.rb b/Library/Homebrew/blacklist.rb index a607ef0e63..6043ef6eb9 100644 --- a/Library/Homebrew/blacklist.rb +++ b/Library/Homebrew/blacklist.rb @@ -15,7 +15,7 @@ def blacklisted? name Installing TeX from source is weird and gross, requires a lot of patches, and only builds 32-bit (and thus can't use Homebrew deps on Snow Leopard.) - We recommend using a MacTeX distribution: http://www.tug.org/mactex/ + We recommend using a MacTeX distribution: https://www.tug.org/mactex/ EOS when 'pip' then <<-EOS.undent Homebrew provides pip via: `brew install python`. However you will then @@ -78,8 +78,8 @@ def blacklisted? name brew install typesafe-activator You can read more about this change at: - http://www.playframework.com/documentation/2.3.x/Migration23 - http://www.playframework.com/documentation/2.3.x/Highlights23 + https://www.playframework.com/documentation/2.3.x/Migration23 + https://www.playframework.com/documentation/2.3.x/Highlights23 EOS when 'haskell-platform' then <<-EOS.undent We no longer package haskell-platform. Consider installing ghc diff --git a/Library/Homebrew/cmd/aspell-dictionaries.rb b/Library/Homebrew/cmd/aspell-dictionaries.rb index a6bf30b780..eb29a5d2d4 100644 --- a/Library/Homebrew/cmd/aspell-dictionaries.rb +++ b/Library/Homebrew/cmd/aspell-dictionaries.rb @@ -5,7 +5,7 @@ require 'formula' module Homebrew def aspell_dictionaries dict_url = "http://ftpmirror.gnu.org/aspell/dict" - dict_mirror = "http://ftp.gnu.org/gnu/aspell/dict" + dict_mirror = "https://ftp.gnu.org/gnu/aspell/dict" languages = {} open("#{dict_url}/0index.html") do |content| diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index 6f819bf5ab..f99bf00a56 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -10,7 +10,7 @@ module Homebrew # Allow searching MacPorts or Fink. if ARGV.include? '--macports' - exec_browser "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}" + exec_browser "https://www.macports.org/ports.php?by=name&substr=#{ARGV.next}" elsif ARGV.include? '--fink' exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}" end diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index eef6282450..178bcbaee9 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -86,7 +86,7 @@ def check_path_for_trailing_slashes end # Installing MacGPG2 interferes with Homebrew in a big way -# http://sourceforge.net/projects/macgpg2/files/ +# https://github.com/GPGTools/MacGPG2 def check_for_macgpg2 return if File.exist? '/usr/local/MacGPG2/share/gnupg/VERSION' @@ -1081,8 +1081,8 @@ def check_for_pydistutils_cfg_in_home if File.exist? "#{ENV['HOME']}/.pydistutils.cfg" then <<-EOS.undent A .pydistutils.cfg file was found in $HOME, which may cause Python builds to fail. See: - http://bugs.python.org/issue6138 - http://bugs.python.org/issue4655 + https://bugs.python.org/issue6138 + https://bugs.python.org/issue4655 EOS end end diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 36ebb49389..ba703a08be 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -9,11 +9,11 @@ module Homebrew def search if ARGV.include? '--macports' - exec_browser "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}" + exec_browser "https://www.macports.org/ports.php?by=name&substr=#{ARGV.next}" elsif ARGV.include? '--fink' exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}" elsif ARGV.include? '--debian' - exec_browser "http://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all§ion=all" + exec_browser "https://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all§ion=all" elsif ARGV.include? '--opensuse' exec_browser "http://software.opensuse.org/search?q=#{ARGV.next}" elsif ARGV.include? '--fedora' diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 55097a92af..dddc2cb654 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -285,7 +285,7 @@ class CurlDownloadStrategy < AbstractDownloadStrategy # We need a Pathname because we've monkeypatched extname to support double # extensions (e.g. tar.gz). # We can't use basename_without_params, because given a URL like - # http://example.com/download.php?file=foo-1.0.tar.gz + # https://example.com/download.php?file=foo-1.0.tar.gz # the extension we want is ".tar.gz", not ".php". Pathname.new(@url).extname[/[^?]+/] end @@ -526,7 +526,7 @@ class GitDownloadStrategy < VCSDownloadStrategy dst = Dir.getwd cached_location.cd do - # http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export + # https://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export safe_system 'git', 'checkout-index', '-a', '-f', "--prefix=#{dst}/" checkout_submodules(dst) if submodules? end diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index b25263a17c..9b83724b24 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -140,7 +140,7 @@ module SharedEnvExtension end # Snow Leopard defines an NCURSES value the opposite of most distros - # See: http://bugs.python.org/issue6848 + # See: https://bugs.python.org/issue6848 # Currently only used by aalib in core def ncurses_define append 'CPPFLAGS', "-DNCURSES_OPAQUE=0" diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 29fcbe9580..14c9c38343 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -136,9 +136,9 @@ module OS end # See these issues for some history: - # http://github.com/Homebrew/homebrew/issues/13 - # http://github.com/Homebrew/homebrew/issues/41 - # http://github.com/Homebrew/homebrew/issues/48 + # https://github.com/Homebrew/homebrew/issues/13 + # https://github.com/Homebrew/homebrew/issues/41 + # https://github.com/Homebrew/homebrew/issues/48 def macports_or_fink paths = [] diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 5d5e02d9a3..46e5d55123 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -53,7 +53,7 @@ module OS # Ask Spotlight where Xcode is. If the user didn't install the # helper tools and installed Xcode in a non-conventional place, this - # is our only option. See: http://superuser.com/questions/390757 + # is our only option. See: https://superuser.com/questions/390757 def bundle_path MacOS.app_with_bundle_id(V4_BUNDLE_ID, V3_BUNDLE_ID) end diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb index 79b50df44e..9c717367eb 100644 --- a/Library/Homebrew/os/mac/xquartz.rb +++ b/Library/Homebrew/os/mac/xquartz.rb @@ -42,8 +42,8 @@ module OS end end - # http://xquartz.macosforge.org/trac/wiki - # http://xquartz.macosforge.org/trac/wiki/Releases + # https://xquartz.macosforge.org/trac/wiki + # https://xquartz.macosforge.org/trac/wiki/Releases def latest_version case MacOS.version when "10.5" diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index a61289dd1b..e51ec488f8 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -61,7 +61,7 @@ end class TeXDependency < Requirement fatal true cask "mactex" - download "http://www.tug.org/mactex/" + download "https://www.tug.org/mactex/" satisfy { which('tex') || which('latex') } diff --git a/Library/Homebrew/requirements/mpi_dependency.rb b/Library/Homebrew/requirements/mpi_dependency.rb index 44fc234955..0f5a0be681 100644 --- a/Library/Homebrew/requirements/mpi_dependency.rb +++ b/Library/Homebrew/requirements/mpi_dependency.rb @@ -50,7 +50,7 @@ class MPIDependency < Requirement env do # Set environment variables to help configure scripts find MPI compilers. # Variable names taken from: - # http://www.gnu.org/software/autoconf-archive/ax_mpi.html + # https://www.gnu.org/software/autoconf-archive/ax_mpi.html @lang_list.each do |lang| compiler = 'mpi' + lang.to_s mpi_path = which compiler diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index 63097ba8c8..6102a8c35e 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -301,7 +301,7 @@ class Version m = /_((?:\d+\.)+\d+[abc]?)[.]orig$/.match(stem) return m.captures.first unless m.nil? - # e.g. http://www.openssl.org/source/openssl-0.9.8s.tar.gz + # e.g. https://www.openssl.org/source/openssl-0.9.8s.tar.gz m = /-v?([^-]+)/.match(stem) return m.captures.first unless m.nil?