Skip to content

Commit

Permalink
Changes to support decommissioning of gemfire brew
Browse files Browse the repository at this point in the history
  • Loading branch information
dickcav committed Nov 20, 2021
1 parent 23ea1b9 commit 6f943b8
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 134 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ First, add this tap to your Brew. This will to clone Pivotal tap repository and
Now you will be able to work on those formulae as if there were in canonical Homebrew repository:

brew install tcserver (No longer supported)
brew install gemfire

brew install gemfire (No longer supported)
32 changes: 10 additions & 22 deletions gemfire.rb
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
require 'formula'

# The GemFire homebrew tap has been decommissioned.
# Please visit https://network.tanzu.vmware.com/ to download

class Gemfire < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-gemfire'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfire/9.10.10/pivotal-gemfire-9.10.10.tgz'
sha256 '4401e32c981ba86845bd00b51a54be37de16912d6c1edc3e7a2574aea937226e'
homepage 'https://gemfire.docs.pivotal.io/910/gemfire/about_gemfire.html'
# brew needs something to download and since the bits are no longer available this allows that process to pass
# allowing the message to be presented to the user
url 'https://raw.githubusercontent.com/pivotal-legacy/homebrew-tap/7e8579706684115d90ce95dfcc9a15a84bbc26a9/README-gemfire.md'
sha256 '70a297b5c1a5195a40675f1e2fb880470528e53b837a9e9daebeed5c3110e6a7'
version '9.10.10'

bottle :unneeded

depends_on "openjdk@8"

def install
rm_f "bin/gfsh.bat"
prefix.install %w{ VMware-EULA open_source_licenses.txt }
bash_completion.install "bin/gfsh-completion.bash" => "gfsh"
libexec.install Dir["*"]
(bin/"gfsh").write_env_script libexec/"bin/gfsh", Language::Java.java_home_env("1.8")
end

def caveats; <<~EOS
By installing, you agree to comply with the license at https://network.pivotal.io/pivotal_software_eula. If you disagree with these terms, please uninstall by typing "brew uninstall gemfire" in your terminal window.
Usage:
gfsh
ohai "GemFire tap is no longer available!"

Documentation:
http://gemfire.docs.pivotal.io/index.html
odie "Please download and install from Tanzu Network https://network.tanzu.vmware.com/"

EOS
end
end
32 changes: 10 additions & 22 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
require 'formula'

# The GemFire homebrew tap has been decommissioned.
# Please visit https://network.tanzu.vmware.com/ to download

class GemfireAT95 < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-gemfire'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfire/9.5.4/pivotal-gemfire-9.5.4.zip'
sha256 'a64d834c674aa8dab7099e33d0490f4741f786b8c7f1801c9f44857f6d0b6868'
homepage 'https://gemfire.docs.pivotal.io/910/gemfire/about_gemfire.html'
# brew needs something to download and since the bits are no longer available this allows that process to pass
# allowing the message to be presented to the user
url 'https://raw.githubusercontent.com/pivotal-legacy/homebrew-tap/7e8579706684115d90ce95dfcc9a15a84bbc26a9/README-gemfire.md'
sha256 '70a297b5c1a5195a40675f1e2fb880470528e53b837a9e9daebeed5c3110e6a7'
version '9.5.4'

bottle :unneeded

depends_on "openjdk@8"

def install
rm_f "bin/gfsh.bat"
prefix.install %w{ Pivotal-EULA Pivotal-OSL }
bash_completion.install "bin/gfsh-completion.bash" => "gfsh"
libexec.install Dir["*"]
(bin/"gfsh").write_env_script libexec/"bin/gfsh", Language::Java.java_home_env("1.8")
end

def caveats; <<~EOS
By installing, you agree to comply with the license at https://network.pivotal.io/pivotal_software_eula. If you disagree with these terms, please uninstall by typing "brew uninstall gemfire" in your terminal window.
Usage:
gfsh
ohai "GemFire tap is no longer available!"

Documentation:
http://gemfire.docs.pivotal.io/index.html
odie "Please download and install from Tanzu Network https://network.tanzu.vmware.com/"

EOS
end
end
32 changes: 10 additions & 22 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
require 'formula'

# The GemFire homebrew tap has been decommissioned.
# Please visit https://network.tanzu.vmware.com/ to download

class GemfireAT96 < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-gemfire'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfire/9.6.2/pivotal-gemfire-9.6.2.zip'
sha256 'af762a6a516eecbf900728312b662cdade82af985c4a67be5403d057bfbc1d2b'
homepage 'https://gemfire.docs.pivotal.io/910/gemfire/about_gemfire.html'
# brew needs something to download and since the bits are no longer available this allows that process to pass
# allowing the message to be presented to the user
url 'https://raw.githubusercontent.com/pivotal-legacy/homebrew-tap/7e8579706684115d90ce95dfcc9a15a84bbc26a9/README-gemfire.md'
sha256 '70a297b5c1a5195a40675f1e2fb880470528e53b837a9e9daebeed5c3110e6a7'
version '9.6.2'

bottle :unneeded

depends_on "openjdk@8"

def install
rm_f "bin/gfsh.bat"
prefix.install %w{ Pivotal-EULA Pivotal-OSL }
bash_completion.install "bin/gfsh-completion.bash" => "gfsh"
libexec.install Dir["*"]
(bin/"gfsh").write_env_script libexec/"bin/gfsh", Language::Java.java_home_env("1.8")
end

def caveats; <<~EOS
By installing, you agree to comply with the license at https://network.pivotal.io/pivotal_software_eula. If you disagree with these terms, please uninstall by typing "brew uninstall gemfire" in your terminal window.
Usage:
gfsh
ohai "GemFire tap is no longer available!"

Documentation:
http://gemfire.docs.pivotal.io/index.html
odie "Please download and install from Tanzu Network https://network.tanzu.vmware.com/"

EOS
end
end
32 changes: 10 additions & 22 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
require 'formula'

# The GemFire homebrew tap has been decommissioned.
# Please visit https://network.tanzu.vmware.com/ to download

class GemfireAT97 < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-gemfire'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfire/9.7.6/pivotal-gemfire-9.7.6.tgz'
sha256 '413200302867faf8d1a0de7b1174ede173403d186d99901cd66370090c8ccad5'
homepage 'https://gemfire.docs.pivotal.io/910/gemfire/about_gemfire.html'
# brew needs something to download and since the bits are no longer available this allows that process to pass
# allowing the message to be presented to the user
url 'https://raw.githubusercontent.com/pivotal-legacy/homebrew-tap/7e8579706684115d90ce95dfcc9a15a84bbc26a9/README-gemfire.md'
sha256 '70a297b5c1a5195a40675f1e2fb880470528e53b837a9e9daebeed5c3110e6a7'
version '9.7.6'

bottle :unneeded

depends_on "openjdk@8"

def install
rm_f "bin/gfsh.bat"
prefix.install %w{ Pivotal-EULA Pivotal-OSL }
bash_completion.install "bin/gfsh-completion.bash" => "gfsh"
libexec.install Dir["*"]
(bin/"gfsh").write_env_script libexec/"bin/gfsh", Language::Java.java_home_env("1.8")
end

def caveats; <<~EOS
By installing, you agree to comply with the license at https://network.pivotal.io/pivotal_software_eula. If you disagree with these terms, please uninstall by typing "brew uninstall gemfire" in your terminal window.
Usage:
gfsh
ohai "GemFire tap is no longer available!"

Documentation:
http://gemfire.docs.pivotal.io/index.html
odie "Please download and install from Tanzu Network https://network.tanzu.vmware.com/"

EOS
end
end
32 changes: 10 additions & 22 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
require 'formula'

# The GemFire homebrew tap has been decommissioned.
# Please visit https://network.tanzu.vmware.com/ to download

class GemfireAT98 < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-gemfire'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfire/9.8.11/pivotal-gemfire-9.8.11.tgz'
sha256 '3ed9d75e227815359f18fb1265f947241df178bb5bfc9a5b3df8a3c54616ca4b'
homepage 'https://gemfire.docs.pivotal.io/910/gemfire/about_gemfire.html'
# brew needs something to download and since the bits are no longer available this allows that process to pass
# allowing the message to be presented to the user
url 'https://raw.githubusercontent.com/pivotal-legacy/homebrew-tap/7e8579706684115d90ce95dfcc9a15a84bbc26a9/README-gemfire.md'
sha256 '70a297b5c1a5195a40675f1e2fb880470528e53b837a9e9daebeed5c3110e6a7'
version '9.8.11'

bottle :unneeded

depends_on "openjdk@8"

def install
rm_f "bin/gfsh.bat"
prefix.install %w{ Pivotal-EULA Pivotal-OSL }
bash_completion.install "bin/gfsh-completion.bash" => "gfsh"
libexec.install Dir["*"]
(bin/"gfsh").write_env_script libexec/"bin/gfsh", Language::Java.java_home_env("1.8")
end

def caveats; <<~EOS
By installing, you agree to comply with the license at https://network.pivotal.io/pivotal_software_eula. If you disagree with these terms, please uninstall by typing "brew uninstall gemfire" in your terminal window.
Usage:
gfsh
ohai "GemFire tap is no longer available!"

Documentation:
http://gemfire.docs.pivotal.io/index.html
odie "Please download and install from Tanzu Network https://network.tanzu.vmware.com/"

EOS
end
end
32 changes: 10 additions & 22 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
require 'formula'

# The GemFire homebrew tap has been decommissioned.
# Please visit https://network.tanzu.vmware.com/ to download

class GemfireAT99 < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-gemfire'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfire/9.9.6/pivotal-gemfire-9.9.6.tgz'
sha256 '7b9f5874c239bf15b107ced759fb785462840551293ccd8ad91f5f3ef23b7250'
homepage 'https://gemfire.docs.pivotal.io/910/gemfire/about_gemfire.html'
# brew needs something to download and since the bits are no longer available this allows that process to pass
# allowing the message to be presented to the user
url 'https://raw.githubusercontent.com/pivotal-legacy/homebrew-tap/7e8579706684115d90ce95dfcc9a15a84bbc26a9/README-gemfire.md'
sha256 '70a297b5c1a5195a40675f1e2fb880470528e53b837a9e9daebeed5c3110e6a7'
version '9.9.6'

bottle :unneeded

depends_on "openjdk@8"

def install
rm_f "bin/gfsh.bat"
prefix.install %w{ VMware-EULA open_source_licenses.txt }
bash_completion.install "bin/gfsh-completion.bash" => "gfsh"
libexec.install Dir["*"]
(bin/"gfsh").write_env_script libexec/"bin/gfsh", Language::Java.java_home_env("1.8")
end

def caveats; <<~EOS
By installing, you agree to comply with the license at https://network.pivotal.io/pivotal_software_eula. If you disagree with these terms, please uninstall by typing "brew uninstall gemfire" in your terminal window.
Usage:
gfsh
ohai "GemFire tap is no longer available!"

Documentation:
http://gemfire.docs.pivotal.io/index.html
odie "Please download and install from Tanzu Network https://network.tanzu.vmware.com/"

EOS
end
end

0 comments on commit 6f943b8

Please sign in to comment.