aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-04 09:31:38 -0700
committerAdam Vandenberg2013-07-04 09:31:40 -0700
commit079c3bce4f46406d5bb27b4f68fe4e8cc35c508a (patch)
treeb3a467407864606146881eb4a533db0077638702 /Library
parentda3e11c6f040c7f1700afb197c9d3eb6e65e63fb (diff)
downloadhomebrew-079c3bce4f46406d5bb27b4f68fe4e8cc35c508a.tar.bz2
easy-tag: force use of SSL3
Closes #20991.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/easy-tag.rb13
1 files changed, 10 insertions, 3 deletions
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
-
-