Remove duplicate SSL3 download strategies
Closes Homebrew/homebrew#21661. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
1a876c2904
commit
62e4bcfae1
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue