From b53223a45cef4d7dad7c2ebae7988fe4001b0579 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 9 Dec 2014 20:45:14 -0500 Subject: Pull strategy for downloading from research.att.com into core --- Library/Formula/vmalloc.rb | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'Library/Formula/vmalloc.rb') diff --git a/Library/Formula/vmalloc.rb b/Library/Formula/vmalloc.rb index af019b124..30b2eb03d 100644 --- a/Library/Formula/vmalloc.rb +++ b/Library/Formula/vmalloc.rb @@ -1,21 +1,9 @@ require 'formula' -class VmallocDownloadStrategy < CurlDownloadStrategy - # downloading from AT&T requires using the following credentials - def credentials - 'I accept www.opensource.org/licenses/cpl:.' - end - - def curl(*args) - args << '--user' << credentials - super - end -end - class Vmalloc < Formula homepage 'http://www2.research.att.com/sw/download/' url 'http://www2.research.att.com/~gsf/download/tgz/vmalloc.2005-02-01.tgz', - :using => VmallocDownloadStrategy + :using => AttResearchDownloadStrategy sha1 '13e45960831226b2b2ac93cdbe23d1d4c6e7eb38' version '2005-02-01' @@ -38,7 +26,7 @@ class Vmalloc < Formula end def caveats; <<-EOS.undent - We agreed to the OSI Common Public License Version 1.0 for you. + We agreed to the Eclipse Public License 1.0 for you. If this is unacceptable you should uninstall. EOS end -- cgit v1.2.3