aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wget.rb
diff options
context:
space:
mode:
authorSamuel Cochran2010-12-14 10:19:22 +0800
committerMike McQuaid2010-12-27 19:55:43 +0000
commitdbbb72beea619828a571cb7e9bb889b3b104b408 (patch)
treee309b4020d04c036e7a5b878b198605751b23c0e /Library/Formula/wget.rb
parent3e31663f9c87f95ea49235f2dd9261520ce29bab (diff)
downloadhomebrew-dbbb72beea619828a571cb7e9bb889b3b104b408.tar.bz2
Wget should show some respect to subjectAltNames on SSL certs
Will actually be fixed in 1.12.1, but who knows when that will *actually* happen. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/wget.rb')
-rw-r--r--Library/Formula/wget.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb
index d2b9ec7e6..25933814e 100644
--- a/Library/Formula/wget.rb
+++ b/Library/Formula/wget.rb
@@ -11,6 +11,13 @@ class Wget <Formula
[["--enable-iri", "Enable iri support."]]
end
+ def patches
+ # Fixes annoying TLS Subject Alternative Name bug encountered especially when using GitHub
+ # Remove when 1.12.1 is released.
+ # See https://savannah.gnu.org/bugs/?23934
+ "http://savannah.gnu.org/file/wget-1.12-subjectAltNames.diff?file_id=18828"
+ end
+
def install
args = ["--disable-debug", "--prefix=#{prefix}"]
args << "--disable-iri" unless ARGV.include? "--enable-iri"