Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/
Date: Tue, 02 May 2017 08:56:55
Message-Id: 1493715404.5fb383ffc897dedae915231804882fc16571632e.ultrabug@gentoo
1 commit: 5fb383ffc897dedae915231804882fc16571632e
2 Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 2 08:40:08 2017 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Tue May 2 08:56:44 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb383ff
7
8 app-admin/mongo-tools: version bump
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 app-admin/mongo-tools/Manifest | 1 +
13 app-admin/mongo-tools/mongo-tools-3.2.13.ebuild | 58 +++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
17 index 98355dc7988..db524caed6b 100644
18 --- a/app-admin/mongo-tools/Manifest
19 +++ b/app-admin/mongo-tools/Manifest
20 @@ -1,4 +1,5 @@
21 DIST mongo-tools-3.0.14.tar.gz 2413148 SHA256 5a3f706827a9567fc98e2b64a33a2071c68c89090c6f135a508cb4e615051db1 SHA512 0e77417b2c36080515a2ff611427cb18f6d6c2432159c2a09af8d6ff14ae7f25ecbfe0a6631eeb7de084fdfe517a09364d731f5b63923404b6319fc1ca44b840 WHIRLPOOL 615153e87ea0b3cfd837066f850f92e7ea9c533e09bf6e3f4231ff489ac21a5a52a4afe06c827304e9340f9e8172714dae969c65cdd7215939a35c7026d60d98
22 DIST mongo-tools-3.2.12.tar.gz 2712079 SHA256 cda5e869b9233d591e91cac0b4c709a2e71dcabd9ac6bcc8b33d906ce3b13afd SHA512 66f7beb85a83ad6a217e65bba97ace6ad0bf84688f40e598e5fb1cf4bbe481b4069e1247d6829f8d06c8230d33c3e0c8bd8465a975576cad584065c361b6fb72 WHIRLPOOL 46123dc3c97fdf20ff94ac373e774932bd30aca677047fe3366653aaab269bf6d7e59cb420cf1e5716558fa959cb3649ee359cc27932bac276e6d24d2eea43b1
23 +DIST mongo-tools-3.2.13.tar.gz 2712076 SHA256 a855eb0141445e34ff3b01807b016467519c390fce79f3566000b5aaecb65d72 SHA512 caa0ba0f1452a16921c187cb407258326324b7222af91b1cd1b870ee2c9e6909d4fa94087a6da148a807f75b40f0bb97808a85804134d53cdab7970d8adf59f8 WHIRLPOOL e2fb38cc8a35ab7c9461f680a2bf0647b5cb5d1225978b7321e6c4227b02ae3cae93e5f2a105f188f3329b0f0f8741e9a0c5439f37196ca875b049d3a91836d3
24 DIST mongo-tools-3.4.3.tar.gz 4700637 SHA256 70348800ca4cc04a319ca414291d5359e7dc86c888bc8264045fbc4de00adab2 SHA512 ec754e8b19c517d9603e0eb89cc315e0af53886b74a905c0742faf5369af8b87b84cedf57aaa25f93068cd21370fa8a274a97dc3c58bbb4a50db6c2e4f0109d9 WHIRLPOOL 0b85fcdb52d5f08624bbcedb96d66c8a519e6415b9aefe68e7957627f3f1e220ca1174ea0a037f53ef2de0e594793ab42d6ec7db9cb42aa09b1892500dac5dd5
25 DIST mongo-tools-3.4.4.tar.gz 4700326 SHA256 d14f4ce153aec373459c802e5a159661ccfde4e5df39d8d750586bae54896cdd SHA512 d49243e41bf3144264add3766a6f7016a07509a583a7368a639d85d2305500dd5afcfbc4449f3dcc8bec6e88bfb76ce021c813fe14169e3bd2476ed0db7c2d5d WHIRLPOOL 33cb527ce7df19e92871219aef9b38f16ae292a4d1cbdd7bb3a1c6ccc752687469b9e4309cc4fd540a65e623740e1ebe20f4bdf8629b50aab25d4ea84c2988cc
26
27 diff --git a/app-admin/mongo-tools/mongo-tools-3.2.13.ebuild b/app-admin/mongo-tools/mongo-tools-3.2.13.ebuild
28 new file mode 100644
29 index 00000000000..1978809739a
30 --- /dev/null
31 +++ b/app-admin/mongo-tools/mongo-tools-3.2.13.ebuild
32 @@ -0,0 +1,58 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=5
37 +
38 +inherit eutils
39 +
40 +MY_PV=${PV/_rc/-rc}
41 +MY_P=${PN}-r${MY_PV}
42 +
43 +DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
44 +HOMEPAGE="http://www.mongodb.org"
45 +SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="sasl ssl"
51 +
52 +# Maintainer note:
53 +# openssl DEPEND constraint, see:
54 +# https://github.com/mongodb/mongo-tools/issues/11
55 +
56 +RDEPEND="!<dev-db/mongodb-3.0.0"
57 +DEPEND="${RDEPEND}
58 + dev-lang/go:=
59 + net-libs/libpcap
60 + sasl? ( dev-libs/cyrus-sasl )
61 + ssl? ( dev-libs/openssl )"
62 +
63 +S=${WORKDIR}/${MY_P}
64 +
65 +src_prepare() {
66 + sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die
67 +
68 + # ensure we use bash wrt #582906
69 + sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
70 +
71 + epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
72 +}
73 +
74 +src_compile() {
75 + local myconf
76 +
77 + if use sasl; then
78 + myconf="${myconf} sasl"
79 + fi
80 +
81 + if use ssl; then
82 + myconf="${myconf} ssl"
83 + fi
84 +
85 + ./build.sh ${myconf} || die "build failed"
86 +}
87 +
88 +src_install() {
89 + dobin bin/*
90 +}