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>
This commit is contained in:
Samuel Cochran 2010-12-14 10:19:22 +08:00 committed by Mike McQuaid
parent ce8c55e62f
commit dadf65395d

View file

@ -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"