aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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
-
-