From 079c3bce4f46406d5bb27b4f68fe4e8cc35c508a Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 4 Jul 2013 09:31:38 -0700 Subject: easy-tag: force use of SSL3 Closes #20991. --- Library/Formula/easy-tag.rb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/easy-tag.rb b/Library/Formula/easy-tag.rb index 64d889768..2906df462 100644 --- a/Library/Formula/easy-tag.rb +++ b/Library/Formula/easy-tag.rb @@ -1,8 +1,17 @@ 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 'http://download.gnome.org/sources/easytag/2.1/easytag-2.1.8.tar.xz' + url 'https://download.gnome.org/sources/easytag/2.1/easytag-2.1.8.tar.xz', + :using => CurlSSL3DownloadStrategy sha1 '7f9246b0eab97ed9739daf5356c89925634241a2' depends_on :x11 @@ -27,5 +36,3 @@ class EasyTag < Formula system "make install" end end - - -- cgit v1.2.3