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/vcodex.rb | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'Library/Formula/vcodex.rb') diff --git a/Library/Formula/vcodex.rb b/Library/Formula/vcodex.rb index e78c00c57..3b201a78b 100644 --- a/Library/Formula/vcodex.rb +++ b/Library/Formula/vcodex.rb @@ -1,21 +1,9 @@ require 'formula' -class VcodexDownloadStrategy < CurlDownloadStrategy - # downloading from AT&T requires using the following credentials - def credentials - 'I accept www.opensource.org/licenses/eclipse:.' - end - - def curl(*args) - args << '--user' << credentials - super - end -end - class Vcodex < Formula homepage 'http://www2.research.att.com/~astopen/download/ref/vcodex/vcodex.html' url 'http://www2.research.att.com/~astopen/download/tgz/vcodex.2013-05-31.tgz', - :using => VcodexDownloadStrategy + :using => AttResearchDownloadStrategy sha1 '0423ee95b13069dd617c5f7625484a92d5068ea0' version '2013-05-31' -- cgit v1.2.3