From b1637d54994837fffb398a8cb8c8b1d4b3ce7176 Mon Sep 17 00:00:00 2001 From: Tijs Zwinkels - TinkerTank Date: Mon, 5 Aug 2013 07:04:53 +0100 Subject: Remove duplicate SSL3 download strategies Closes #21661. Signed-off-by: Adam Vandenberg --- Library/Formula/easy-git.rb | 2 +- Library/Formula/easy-tag.rb | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/easy-git.rb b/Library/Formula/easy-git.rb index 280685938..e5f69b105 100644 --- a/Library/Formula/easy-git.rb +++ b/Library/Formula/easy-git.rb @@ -2,7 +2,7 @@ require 'formula' class EasyGit < Formula homepage 'http://people.gnome.org/~newren/eg/' - url 'http://people.gnome.org/~newren/eg/download/1.7.3/eg' + url 'http://people.gnome.org/~newren/eg/download/1.7.3/eg', :using => :ssl3 version "1.7.3" sha1 'd17165c20ea1b3887f1f81ec6d1217727b817409' diff --git a/Library/Formula/easy-tag.rb b/Library/Formula/easy-tag.rb index d8fc322e1..6c6db8b99 100644 --- a/Library/Formula/easy-tag.rb +++ b/Library/Formula/easy-tag.rb @@ -1,17 +1,8 @@ require 'formula' -# Force use of SSL3 -# https://github.com/mxcl/homebrew/issues/20991 -class CurlSSL3DownloadStrategy < CurlDownloadStrategy - def _fetch - curl @url, '-3', '-C', downloaded_size, '-o', @temporary_path - end -end - class EasyTag < Formula homepage 'http://projects.gnome.org/easytag' - url 'https://download.gnome.org/sources/easytag/2.1/easytag-2.1.8.tar.xz', - :using => CurlSSL3DownloadStrategy + url 'https://download.gnome.org/sources/easytag/2.1/easytag-2.1.8.tar.xz', :using => :ssl3 sha1 '7f9246b0eab97ed9739daf5356c89925634241a2' depends_on :x11 -- cgit v1.2.3