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:
parent
9db8580414
commit
fc2818b7a5
@ -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
|
||||
|
@ -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|
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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 = []
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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') }
|
||||
|
||||
|
@ -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
|
||||
|
@ -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?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user