summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2016-01-20 09:12:19 +0100
committerUltrabug <ultrabug@gentoo.org>2016-01-20 13:45:55 +0100
commitfbc8450b0524c78b05330507a4b7ecb737a1fb5e (patch)
tree28ee0d7027298b50f88d2f6890d16f9fb9264396 /app-admin/mongo-tools
parentdev-cpp/yaml-cpp: version bump (diff)
downloadgentoo-fbc8450b0524c78b05330507a4b7ecb737a1fb5e.tar.gz
gentoo-fbc8450b0524c78b05330507a4b7ecb737a1fb5e.tar.bz2
gentoo-fbc8450b0524c78b05330507a4b7ecb737a1fb5e.zip
app-admin/mongo-tools: version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-admin/mongo-tools')
-rw-r--r--app-admin/mongo-tools/Manifest1
-rw-r--r--app-admin/mongo-tools/mongo-tools-3.2.1.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
index f2fba3b99449..5e0580d983b5 100644
--- a/app-admin/mongo-tools/Manifest
+++ b/app-admin/mongo-tools/Manifest
@@ -3,3 +3,4 @@ DIST mongo-tools-3.0.6.tar.gz 2161424 SHA256 ed4ebb42efe99f1eeac5ed128f4ae9b10e1
DIST mongo-tools-3.0.7.tar.gz 2183495 SHA256 3136b8df6e7c81b5cf6609b3cd6113d69ea6c067d5bfd25b2e0dbabef9173ca0 SHA512 ff410f25a42e76f55716e6e478564aaeefd3999cf0e9db718969877709974d099c479690e81d6f639c27b0a4d9b59d193c43f1c31dc027b594f1fef33129cb5a WHIRLPOOL 3e3ac13de56c7abd5fd80dcfe5f94090aa78d240598ed0c879365b275bfab5da07aaf8c5b94ad27e3a6f7c0d24d6a68bbb5e54612b4fa2928efbf880c5c40dfc
DIST mongo-tools-3.0.8.tar.gz 2185550 SHA256 b9860339ed59ed57bb29b26c820578c690baa2aaec98fe743561cc95023815f1 SHA512 95ea8377aef747f66ce827300cbc38bfa5b660ad25e4d66cf0dc9899cfe81ff2a67e9383a22c08158fed2d622a6f4d3b315e1234fb6118f246ef17f9cffa129a WHIRLPOOL 00298e54c8fd17a51a3293101defee94219c46929862695e08b2c21a66e59290b341f07c89add38dacfa8295c3fe83ce61cd3911e7489ddd75c2a65721910cce
DIST mongo-tools-3.2.0.tar.gz 2216880 SHA256 ab477cd6705116971a021245bd4385957ce2a1867ff04f53d0c709c3a161a4c0 SHA512 8db68d0e89b1e7d7229bcb0a110fcd852cd808d7dbeb28952b5fc8c8a17252c1c65e4beb53f2ce68087c3e8a0ee2778cf7e46b7a2626d432221c8d0279cdddc6 WHIRLPOOL 30460a67b8c363d1f280e7b6c152731c7b8ff90670ce1c35729d70908ede14f46fd258c490798582d3a6ddebfcd14dbf95dae95d79eed519ba82c29b94d58120
+DIST mongo-tools-3.2.1.tar.gz 2226762 SHA256 e2a0527b8987ae954fc9ca071987b4c58ff53aa2bc0a4d8b03337f4d8aff1d89 SHA512 52e7402c232915e8bc481598a5f3a311ef7f4058448735ed14e142da180baf19aac95e641dbe58d0c71e114f35889d1cfa6a321114e4cf21edf7c525bf548249 WHIRLPOOL d0e30417f478c8f0aa7936638c0bec87f01dc278946dcde3187dbb060631126eaee2f0cdc535212cd2ad350f0c281d7398d66cb6416b7a0906d6c8e5d3cc5e19
diff --git a/app-admin/mongo-tools/mongo-tools-3.2.1.ebuild b/app-admin/mongo-tools/mongo-tools-3.2.1.ebuild
new file mode 100644
index 000000000000..0a92d4ba45db
--- /dev/null
+++ b/app-admin/mongo-tools/mongo-tools-3.2.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+MY_PV=${PV/_rc/-rc}
+MY_P=${PN}-r${MY_PV}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
+HOMEPAGE="http://www.mongodb.org"
+SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sasl ssl"
+
+# Maintainer note:
+# openssl DEPEND constraint, see:
+# https://github.com/mongodb/mongo-tools/issues/11
+
+RDEPEND="!<dev-db/mongodb-3.0.0"
+DEPEND="${RDEPEND}
+ dev-lang/go:=
+ sasl? ( dev-libs/cyrus-sasl )
+ ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
+}
+
+src_compile() {
+ local myconf
+
+ if use sasl; then
+ myconf="${myconf} sasl"
+ fi
+
+ if use ssl; then
+ myconf="${myconf} ssl"
+ fi
+
+ ./build.sh ${myconf}
+}
+
+src_install() {
+ dobin bin/*
+}