From 755381091855f322eaeca65980a9cf10e2e1bed8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 19 Aug 2011 09:36:33 -0700 Subject: wget 1.12: 1.13 is now 404 This reverts commit 4d39ab424fad311b8cc03ea0e9eb3029ca6af91c. --- Library/Formula/wget.rb | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb index fc913759a..5eda029f1 100644 --- a/Library/Formula/wget.rb +++ b/Library/Formula/wget.rb @@ -2,8 +2,8 @@ require 'formula' class Wget < Formula homepage 'http://www.gnu.org/software/wget/' - url 'http://ftp.gnu.org/gnu/wget/wget-1.13.tar.gz' - md5 'd3698837e6a9567ca9be10f115989940' + url 'http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2' + md5 '308a5476fc096a8a525d07279a6f6aa3' depends_on "openssl" if MacOS.leopard? depends_on "libidn" if ARGV.include? "--enable-iri" @@ -12,11 +12,15 @@ 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", - "--disable-dependency-tracking", - "--with-ssl=openssl", - "--prefix=#{prefix}"] + args = ["--disable-debug", "--prefix=#{prefix}"] args << "--disable-iri" unless ARGV.include? "--enable-iri" system "./configure", *args -- cgit v1.2.3