Use more https in urls and updated some lost links

Closes Homebrew/homebrew#35531.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Viktor Szakats 2015-01-04 05:02:27 +01:00 committed by Jack Nagel
parent 9db8580414
commit fc2818b7a5
13 changed files with 22 additions and 22 deletions

View File

@ -15,7 +15,7 @@ def blacklisted? name
Installing TeX from source is weird and gross, requires a lot of patches, 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.) 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 EOS
when 'pip' then <<-EOS.undent when 'pip' then <<-EOS.undent
Homebrew provides pip via: `brew install python`. However you will then Homebrew provides pip via: `brew install python`. However you will then
@ -78,8 +78,8 @@ def blacklisted? name
brew install typesafe-activator brew install typesafe-activator
You can read more about this change at: You can read more about this change at:
http://www.playframework.com/documentation/2.3.x/Migration23 https://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/Highlights23
EOS EOS
when 'haskell-platform' then <<-EOS.undent when 'haskell-platform' then <<-EOS.undent
We no longer package haskell-platform. Consider installing ghc We no longer package haskell-platform. Consider installing ghc

View File

@ -5,7 +5,7 @@ require 'formula'
module Homebrew module Homebrew
def aspell_dictionaries def aspell_dictionaries
dict_url = "http://ftpmirror.gnu.org/aspell/dict" 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 = {} languages = {}
open("#{dict_url}/0index.html") do |content| open("#{dict_url}/0index.html") do |content|

View File

@ -10,7 +10,7 @@ module Homebrew
# Allow searching MacPorts or Fink. # Allow searching MacPorts or Fink.
if ARGV.include? '--macports' 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' elsif ARGV.include? '--fink'
exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}" exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}"
end end

View File

@ -86,7 +86,7 @@ def check_path_for_trailing_slashes
end end
# Installing MacGPG2 interferes with Homebrew in a big way # Installing MacGPG2 interferes with Homebrew in a big way
# http://sourceforge.net/projects/macgpg2/files/ # https://github.com/GPGTools/MacGPG2
def check_for_macgpg2 def check_for_macgpg2
return if File.exist? '/usr/local/MacGPG2/share/gnupg/VERSION' 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 if File.exist? "#{ENV['HOME']}/.pydistutils.cfg" then <<-EOS.undent
A .pydistutils.cfg file was found in $HOME, which may cause Python A .pydistutils.cfg file was found in $HOME, which may cause Python
builds to fail. See: builds to fail. See:
http://bugs.python.org/issue6138 https://bugs.python.org/issue6138
http://bugs.python.org/issue4655 https://bugs.python.org/issue4655
EOS EOS
end end
end end

View File

@ -9,11 +9,11 @@ module Homebrew
def search def search
if ARGV.include? '--macports' 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' elsif ARGV.include? '--fink'
exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}" exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}"
elsif ARGV.include? '--debian' elsif ARGV.include? '--debian'
exec_browser "http://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all&section=all" exec_browser "https://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all&section=all"
elsif ARGV.include? '--opensuse' elsif ARGV.include? '--opensuse'
exec_browser "http://software.opensuse.org/search?q=#{ARGV.next}" exec_browser "http://software.opensuse.org/search?q=#{ARGV.next}"
elsif ARGV.include? '--fedora' elsif ARGV.include? '--fedora'

View File

@ -285,7 +285,7 @@ class CurlDownloadStrategy < AbstractDownloadStrategy
# We need a Pathname because we've monkeypatched extname to support double # We need a Pathname because we've monkeypatched extname to support double
# extensions (e.g. tar.gz). # extensions (e.g. tar.gz).
# We can't use basename_without_params, because given a URL like # 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". # the extension we want is ".tar.gz", not ".php".
Pathname.new(@url).extname[/[^?]+/] Pathname.new(@url).extname[/[^?]+/]
end end
@ -526,7 +526,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
dst = Dir.getwd dst = Dir.getwd
cached_location.cd do 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}/" safe_system 'git', 'checkout-index', '-a', '-f', "--prefix=#{dst}/"
checkout_submodules(dst) if submodules? checkout_submodules(dst) if submodules?
end end

View File

@ -140,7 +140,7 @@ module SharedEnvExtension
end end
# Snow Leopard defines an NCURSES value the opposite of most distros # 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 # Currently only used by aalib in core
def ncurses_define def ncurses_define
append 'CPPFLAGS', "-DNCURSES_OPAQUE=0" append 'CPPFLAGS', "-DNCURSES_OPAQUE=0"

View File

@ -136,9 +136,9 @@ module OS
end end
# See these issues for some history: # See these issues for some history:
# http://github.com/Homebrew/homebrew/issues/13 # https://github.com/Homebrew/homebrew/issues/13
# http://github.com/Homebrew/homebrew/issues/41 # https://github.com/Homebrew/homebrew/issues/41
# http://github.com/Homebrew/homebrew/issues/48 # https://github.com/Homebrew/homebrew/issues/48
def macports_or_fink def macports_or_fink
paths = [] paths = []

View File

@ -53,7 +53,7 @@ module OS
# Ask Spotlight where Xcode is. If the user didn't install the # Ask Spotlight where Xcode is. If the user didn't install the
# helper tools and installed Xcode in a non-conventional place, this # 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 def bundle_path
MacOS.app_with_bundle_id(V4_BUNDLE_ID, V3_BUNDLE_ID) MacOS.app_with_bundle_id(V4_BUNDLE_ID, V3_BUNDLE_ID)
end end

View File

@ -42,8 +42,8 @@ module OS
end end
end end
# http://xquartz.macosforge.org/trac/wiki # https://xquartz.macosforge.org/trac/wiki
# http://xquartz.macosforge.org/trac/wiki/Releases # https://xquartz.macosforge.org/trac/wiki/Releases
def latest_version def latest_version
case MacOS.version case MacOS.version
when "10.5" when "10.5"

View File

@ -61,7 +61,7 @@ end
class TeXDependency < Requirement class TeXDependency < Requirement
fatal true fatal true
cask "mactex" cask "mactex"
download "http://www.tug.org/mactex/" download "https://www.tug.org/mactex/"
satisfy { which('tex') || which('latex') } satisfy { which('tex') || which('latex') }

View File

@ -50,7 +50,7 @@ class MPIDependency < Requirement
env do env do
# Set environment variables to help configure scripts find MPI compilers. # Set environment variables to help configure scripts find MPI compilers.
# Variable names taken from: # 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| @lang_list.each do |lang|
compiler = 'mpi' + lang.to_s compiler = 'mpi' + lang.to_s
mpi_path = which compiler mpi_path = which compiler

View File

@ -301,7 +301,7 @@ class Version
m = /_((?:\d+\.)+\d+[abc]?)[.]orig$/.match(stem) m = /_((?:\d+\.)+\d+[abc]?)[.]orig$/.match(stem)
return m.captures.first unless m.nil? 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) m = /-v?([^-]+)/.match(stem)
return m.captures.first unless m.nil? return m.captures.first unless m.nil?