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: Mon, 31 Jul 2017 12:14:19
Message-Id: 1501503238.a1158f1d678e0c1852ac38039c31416095fe2d7d.ultrabug@gentoo
1 commit: a1158f1d678e0c1852ac38039c31416095fe2d7d
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Jul 7 09:14:29 2017 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 31 12:13:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1158f1d
7
8 app-admin/mongo-tools: bump to 3.0.15 and 3.2.15
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/5062
12
13 app-admin/mongo-tools/Manifest | 2 +
14 app-admin/mongo-tools/mongo-tools-3.0.15.ebuild | 56 ++++++++++++++++++++++++
15 app-admin/mongo-tools/mongo-tools-3.2.15.ebuild | 58 +++++++++++++++++++++++++
16 3 files changed, 116 insertions(+)
17
18 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
19 index db524caed6b..e399c6b39eb 100644
20 --- a/app-admin/mongo-tools/Manifest
21 +++ b/app-admin/mongo-tools/Manifest
22 @@ -1,5 +1,7 @@
23 DIST mongo-tools-3.0.14.tar.gz 2413148 SHA256 5a3f706827a9567fc98e2b64a33a2071c68c89090c6f135a508cb4e615051db1 SHA512 0e77417b2c36080515a2ff611427cb18f6d6c2432159c2a09af8d6ff14ae7f25ecbfe0a6631eeb7de084fdfe517a09364d731f5b63923404b6319fc1ca44b840 WHIRLPOOL 615153e87ea0b3cfd837066f850f92e7ea9c533e09bf6e3f4231ff489ac21a5a52a4afe06c827304e9340f9e8172714dae969c65cdd7215939a35c7026d60d98
24 +DIST mongo-tools-3.0.15.tar.gz 2413131 SHA256 9e1a936b42eff999a83afc3885faee0c64592ff43d3620d1b9d69d44b7d84d38 SHA512 b5baeea89f5287e055c43c58cfc31e4618df2b7b7fffd7d77248131daf503522b1d041253df8d3ad2ffa22efff344334dc05e3a3462cf7c646d4e83040bd95dc WHIRLPOOL 46c992dcc90fabe8f698e89a93232cc2e450a7dd560fb64a5f954b7937a98e298af8d4fa4bf626ccbcf96bef80743b6bbbb9d7e6fcb9b012dd8da68a1c382276
25 DIST mongo-tools-3.2.12.tar.gz 2712079 SHA256 cda5e869b9233d591e91cac0b4c709a2e71dcabd9ac6bcc8b33d906ce3b13afd SHA512 66f7beb85a83ad6a217e65bba97ace6ad0bf84688f40e598e5fb1cf4bbe481b4069e1247d6829f8d06c8230d33c3e0c8bd8465a975576cad584065c361b6fb72 WHIRLPOOL 46123dc3c97fdf20ff94ac373e774932bd30aca677047fe3366653aaab269bf6d7e59cb420cf1e5716558fa959cb3649ee359cc27932bac276e6d24d2eea43b1
26 DIST mongo-tools-3.2.13.tar.gz 2712076 SHA256 a855eb0141445e34ff3b01807b016467519c390fce79f3566000b5aaecb65d72 SHA512 caa0ba0f1452a16921c187cb407258326324b7222af91b1cd1b870ee2c9e6909d4fa94087a6da148a807f75b40f0bb97808a85804134d53cdab7970d8adf59f8 WHIRLPOOL e2fb38cc8a35ab7c9461f680a2bf0647b5cb5d1225978b7321e6c4227b02ae3cae93e5f2a105f188f3329b0f0f8741e9a0c5439f37196ca875b049d3a91836d3
27 +DIST mongo-tools-3.2.15.tar.gz 2712102 SHA256 d2f69303037810b9f1785aece94e62cff71e20a07edacf4d477a40b4b9b7a390 SHA512 76a77564825eae547f85ead374050f3b9a29c3cd775bc86a452ba42ee843dbc800805340232094167e288a59d9592db3fe8aeba83ccbaae41196674781476220 WHIRLPOOL 66a2bac4edf113017826b55958c970e4abb946aeb3449f330eb157e3bb76fb8f5a2892e3f6323e0a27dc6f439015d7c02b303dc6a08c2d99680f65f8b4888e2a
28 DIST mongo-tools-3.4.3.tar.gz 4700637 SHA256 70348800ca4cc04a319ca414291d5359e7dc86c888bc8264045fbc4de00adab2 SHA512 ec754e8b19c517d9603e0eb89cc315e0af53886b74a905c0742faf5369af8b87b84cedf57aaa25f93068cd21370fa8a274a97dc3c58bbb4a50db6c2e4f0109d9 WHIRLPOOL 0b85fcdb52d5f08624bbcedb96d66c8a519e6415b9aefe68e7957627f3f1e220ca1174ea0a037f53ef2de0e594793ab42d6ec7db9cb42aa09b1892500dac5dd5
29 DIST mongo-tools-3.4.4.tar.gz 4700326 SHA256 d14f4ce153aec373459c802e5a159661ccfde4e5df39d8d750586bae54896cdd SHA512 d49243e41bf3144264add3766a6f7016a07509a583a7368a639d85d2305500dd5afcfbc4449f3dcc8bec6e88bfb76ce021c813fe14169e3bd2476ed0db7c2d5d WHIRLPOOL 33cb527ce7df19e92871219aef9b38f16ae292a4d1cbdd7bb3a1c6ccc752687469b9e4309cc4fd540a65e623740e1ebe20f4bdf8629b50aab25d4ea84c2988cc
30
31 diff --git a/app-admin/mongo-tools/mongo-tools-3.0.15.ebuild b/app-admin/mongo-tools/mongo-tools-3.0.15.ebuild
32 new file mode 100644
33 index 00000000000..221680a90f8
34 --- /dev/null
35 +++ b/app-admin/mongo-tools/mongo-tools-3.0.15.ebuild
36 @@ -0,0 +1,56 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=5
41 +
42 +inherit eutils
43 +
44 +MY_PV=${PV/_rc/-rc}
45 +MY_P=${PN}-r${MY_PV}
46 +
47 +DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
48 +HOMEPAGE="http://www.mongodb.org"
49 +SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
50 +
51 +LICENSE="Apache-2.0"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE="sasl ssl"
55 +
56 +# Maintainer note:
57 +# openssl DEPEND constraint, see:
58 +# https://github.com/mongodb/mongo-tools/issues/11
59 +
60 +RDEPEND="!<dev-db/mongodb-3.0.0"
61 +DEPEND="${RDEPEND}
62 + dev-lang/go:=
63 + sasl? ( dev-libs/cyrus-sasl )
64 + ssl? ( dev-libs/openssl )"
65 +
66 +S=${WORKDIR}/${MY_P}
67 +
68 +src_prepare() {
69 + # ensure we use bash wrt #582906
70 + sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
71 +
72 + # see #608292
73 + epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
74 +}
75 +
76 +src_compile() {
77 + local myconf
78 +
79 + if use sasl; then
80 + myconf="${myconf} sasl"
81 + fi
82 +
83 + if use ssl; then
84 + myconf="${myconf} ssl"
85 + fi
86 +
87 + ./build.sh ${myconf} || die "build failed"
88 +}
89 +
90 +src_install() {
91 + dobin bin/*
92 +}
93
94 diff --git a/app-admin/mongo-tools/mongo-tools-3.2.15.ebuild b/app-admin/mongo-tools/mongo-tools-3.2.15.ebuild
95 new file mode 100644
96 index 00000000000..1978809739a
97 --- /dev/null
98 +++ b/app-admin/mongo-tools/mongo-tools-3.2.15.ebuild
99 @@ -0,0 +1,58 @@
100 +# Copyright 1999-2017 Gentoo Foundation
101 +# Distributed under the terms of the GNU General Public License v2
102 +
103 +EAPI=5
104 +
105 +inherit eutils
106 +
107 +MY_PV=${PV/_rc/-rc}
108 +MY_P=${PN}-r${MY_PV}
109 +
110 +DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
111 +HOMEPAGE="http://www.mongodb.org"
112 +SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
113 +
114 +LICENSE="Apache-2.0"
115 +SLOT="0"
116 +KEYWORDS="~amd64 ~x86"
117 +IUSE="sasl ssl"
118 +
119 +# Maintainer note:
120 +# openssl DEPEND constraint, see:
121 +# https://github.com/mongodb/mongo-tools/issues/11
122 +
123 +RDEPEND="!<dev-db/mongodb-3.0.0"
124 +DEPEND="${RDEPEND}
125 + dev-lang/go:=
126 + net-libs/libpcap
127 + sasl? ( dev-libs/cyrus-sasl )
128 + ssl? ( dev-libs/openssl )"
129 +
130 +S=${WORKDIR}/${MY_P}
131 +
132 +src_prepare() {
133 + sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die
134 +
135 + # ensure we use bash wrt #582906
136 + sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
137 +
138 + epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
139 +}
140 +
141 +src_compile() {
142 + local myconf
143 +
144 + if use sasl; then
145 + myconf="${myconf} sasl"
146 + fi
147 +
148 + if use ssl; then
149 + myconf="${myconf} ssl"
150 + fi
151 +
152 + ./build.sh ${myconf} || die "build failed"
153 +}
154 +
155 +src_install() {
156 + dobin bin/*
157 +}