mongodb@3.0 3.0.15

Closes #24405.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
commitay 2018-02-22 09:57:12 +10:00 committed by FX Coudert
parent f6841d0201
commit 9eac9b695b

View file

@ -3,8 +3,8 @@ require "language/go"
class MongodbAT30 < Formula class MongodbAT30 < Formula
desc "High-performance document-oriented database" desc "High-performance document-oriented database"
homepage "https://www.mongodb.org/" homepage "https://www.mongodb.org/"
url "https://fastdl.mongodb.org/src/mongodb-src-r3.0.12.tar.gz" url "https://fastdl.mongodb.org/src/mongodb-src-r3.0.15.tar.gz"
sha256 "b9bea5e3d59b93775d5d55fb1dd161272aeefa193c2311a8f6722ad46d7a21ab" sha256 "09ad76e06df007085520025c94a5e5840d65f37660c2b359f4962e135e4ae259"
bottle do bottle do
cellar :any_skip_relocation cellar :any_skip_relocation
@ -28,8 +28,8 @@ class MongodbAT30 < Formula
go_resource "github.com/mongodb/mongo-tools" do go_resource "github.com/mongodb/mongo-tools" do
url "https://github.com/mongodb/mongo-tools.git", url "https://github.com/mongodb/mongo-tools.git",
:tag => "r3.0.12", :tag => "r3.0.15",
:revision => "81c527a658a687b83564dfb9767df64420e9bcab" :revision => "86d15daf966ce58f5ce01985db07a7a5a3641ecb"
end end
def install def install
@ -40,11 +40,6 @@ class MongodbAT30 < Formula
Language::Go.stage_deps resources, buildpath/"src" Language::Go.stage_deps resources, buildpath/"src"
cd "src/github.com/mongodb/mongo-tools" do cd "src/github.com/mongodb/mongo-tools" do
# https://github.com/Homebrew/homebrew/issues/40136
inreplace "build.sh",
'-ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec=`git rev-parse HEAD` -X github.com/mongodb/mongo-tools/common/options.VersionStr=$(git describe)"',
""
args = %w[] args = %w[]
if build.with? "openssl" if build.with? "openssl"