diff options
| author | Jack Nagel | 2014-12-09 20:45:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-09 21:18:01 -0500 |
| commit | b53223a45cef4d7dad7c2ebae7988fe4001b0579 (patch) | |
| tree | 465d254b0c71fbd8a95922dbcfb66d1fa0f0347c /Library/Formula/ksh.rb | |
| parent | baa1954c33088dc7dce524dcef496d94e3f2398d (diff) | |
| download | homebrew-b53223a45cef4d7dad7c2ebae7988fe4001b0579.tar.bz2 | |
Pull strategy for downloading from research.att.com into core
Diffstat (limited to 'Library/Formula/ksh.rb')
| -rw-r--r-- | Library/Formula/ksh.rb | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/Library/Formula/ksh.rb b/Library/Formula/ksh.rb index 7c040abc4..6e1ca653f 100644 --- a/Library/Formula/ksh.rb +++ b/Library/Formula/ksh.rb @@ -1,21 +1,9 @@ require "formula" -class KshDownloadStrategy < NoUnzipCurlDownloadStrategy - # AT&T requires the following credentials to "assent" to the OSS license. - def credentials - "I.accept.www.opensource.org.licenses.eclipse:." - end - - def curl(*args) - args << "-u" << credentials - super - end -end - class Ksh < Formula homepage "http://www.kornshell.com" url "http://www2.research.att.com/~astopen/download/tgz/ast-ksh.2012-08-01.tgz", - :using => KshDownloadStrategy + :using => AttResearchDownloadStrategy sha1 "316428e9937806183a134aa1669dea40c3a73695" version "93u+" # Versioning scheme: + means "+ patches", - means "beta/alpha". @@ -29,7 +17,7 @@ class Ksh < Formula resource "init" do url "http://www2.research.att.com/~astopen/download/tgz/INIT.2012-08-01.tgz", - :using => KshDownloadStrategy + :using => AttResearchDownloadStrategy sha1 "0b472a615db384fe707042baaa3347dc1aa1c81e" end @@ -54,8 +42,8 @@ class Ksh < Formula end def caveats; <<-EOS.undent - We have agreed to the Eclipse Public License on your behalf. - If this is unacceptable for any reason, please uninstall. + We agreed to the Eclipse Public License 1.0 for you. + If this is unacceptable you should uninstall. EOS end end |
