aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorViktor Szakats2015-01-04 05:02:27 +0100
committerJack Nagel2015-01-04 02:13:16 -0500
commitfc2818b7a54dadcf0c35965ef1f07219da3fc4a7 (patch)
treeda47cf7c6493a7d81d5fe858020ec9448c522138 /Library/Homebrew/cmd
parent9db8580414da119def53f5bc7b0073683ebc9d2c (diff)
downloadbrew-fc2818b7a54dadcf0c35965ef1f07219da3fc4a7.tar.bz2
Use more https in urls and updated some lost links
Closes Homebrew/homebrew#35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/aspell-dictionaries.rb2
-rw-r--r--Library/Homebrew/cmd/create.rb2
-rw-r--r--Library/Homebrew/cmd/doctor.rb6
-rw-r--r--Library/Homebrew/cmd/search.rb4
4 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/cmd/aspell-dictionaries.rb b/Library/Homebrew/cmd/aspell-dictionaries.rb
index a6bf30b78..eb29a5d2d 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 6f819bf5a..f99bf00a5 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 eef628245..178bcbaee 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 36ebb4938..ba703a08b 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&section=all"
+ exec_browser "https://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all&section=all"
elsif ARGV.include? '--opensuse'
exec_browser "http://software.opensuse.org/search?q=#{ARGV.next}"
elsif ARGV.include? '--fedora'