bit: migrate to boneyard (#10500)

Currently bit tries to automatically update daily after install
and there is apparently no way to change this potentially insecure
behavior that is contrary to Homebrew's version-based release
system and general security principles.

This problematic autoupdating mechanism was identified in the past,
but was mistakenly believed to have been resolved in the
corresponding PR. However, it was not, and until measures are taken
to address this issue it would be inappropriate to continue
distributing this software in its current state.
This commit is contained in:
JCount 2017-03-01 22:54:07 -05:00 committed by GitHub
parent 3cba96f271
commit 1698013002
2 changed files with 1 additions and 24 deletions

View file

@ -1,24 +0,0 @@
require "language/node"
class Bit < Formula
desc "Distributed Code Component Manager"
homepage "https://www.bitsrc.io"
url "https://bitsrc.jfrog.io/bitsrc/bit-brew/stable/bit/0.1.31/bit-0.1.31-brew.tar.gz"
sha256 "e4df0bdabd21c9f9af81850a044ad9ea61c4392fe1515538e3462c4a00772071"
bottle do
sha256 "36233f829327aba3ac496c228ffa476d7c43d4621954474e58dc5204dddb1199" => :sierra
sha256 "a1cea9b6906023ba2e21723856008d9a3f1a04993ef08309d8f891158dd48bf0" => :el_capitan
sha256 "c92bd435ec019ed5cf8a287951acedc7c9d0c7931f0c22aa9512fee89e074291" => :yosemite
end
depends_on "node"
def install
system "npm", "install", "-g", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]
end
test do
assert_equal "successfully initialized an empty bit scope.\n", shell_output("#{bin}/bit init")
end
end

View file

@ -22,6 +22,7 @@
"bcwipe": "homebrew/boneyard",
"bindfs": "homebrew/fuse",
"bip": "homebrew/boneyard",
"bit": "homebrew/boneyard",
"box2d": "homebrew/boneyard",
"bzr-explorer": "homebrew/boneyard",
"cantera": "homebrew/science",