Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/
Date: Thu, 28 Mar 2019 17:39:21
Message-Id: 1553794747.9bd4950ca45fa137697ff3e8d407e2014e4a9eec.zmedico@gentoo
1 commit: 9bd4950ca45fa137697ff3e8d407e2014e4a9eec
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Mon Mar 18 05:51:30 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 28 17:39:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd4950c
7
8 app-admin/mongo-tools: drop old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
12 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
13
14 app-admin/mongo-tools/Manifest | 4 --
15 app-admin/mongo-tools/mongo-tools-3.6.9.ebuild | 64 ------------------------
16 app-admin/mongo-tools/mongo-tools-4.0.3.ebuild | 64 ------------------------
17 app-admin/mongo-tools/mongo-tools-4.0.4.ebuild | 67 --------------------------
18 app-admin/mongo-tools/mongo-tools-4.0.5.ebuild | 64 ------------------------
19 5 files changed, 263 deletions(-)
20
21 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
22 index a85566e37c6..1c7246e119a 100644
23 --- a/app-admin/mongo-tools/Manifest
24 +++ b/app-admin/mongo-tools/Manifest
25 @@ -1,8 +1,4 @@
26 DIST mongo-tools-3.4.16.tar.gz 4697191 BLAKE2B 2e9a0e7dc8016d3e7d7c7f8d0cf80a97d3d199603c0b8b791df5a0d79d418ffaa232eee694047a7ca11fa7623023b4123becd437cfe3dec11e26cd525720bcad SHA512 b40c6dee75d860de1da73faf79f5f68c098ce7c80681486c66fff04a937474dcede91c7be907a8e36033b3898f7499e8f53271944c0df3360756c27361efb6f5
27 DIST mongo-tools-3.6.10.tar.gz 4731097 BLAKE2B dffd18bbcb5a1d869cd3a00b40be7c83d12c2146944044c8d873eba409b9fcb0ce0595c01cd61a6b0405dfce685b8dde7c285380150906d4d38d3de9b42962bf SHA512 3e9808c6b275566215f8c2ce033a6259d373e8b63db5e981cc28235d757404b3209a64dd9aa8a98d9290c5c1da137a1bf9bc48629b278cb27ca28be681e86efc
28 DIST mongo-tools-3.6.8.tar.gz 4723878 BLAKE2B a1693024d60f69d25c268eaaa30a478b1e4c0042c5fb7a3fd6252ed00aef2fee3fba94516fe825165a1a57887ed38e4fbce488c48ddd4f45349f0b7a1b244020 SHA512 359e8ce2d847d005d48ff12bc2e8af73213d81cd1521d2b5b5ac94792468218248bebbe808e1bd8fd49234eab8480608f294c1b63f317aed58f456b84ef17dcf
29 -DIST mongo-tools-3.6.9.tar.gz 4723117 BLAKE2B 2cc88b9e8424abe082d68a8f7afa02bf2b21d027cabe04298fafbd065346350d57f6a48ece1a849e779cac6da315aa9d5469c5f63ca5aae6be7e8f73fae3fe4b SHA512 def8e2bb68898c540dfa9fbe742696d463c099e7d70fc2f0e114301d321e3983ef0b07588301340b0a3ffdf2280febc3fa37e77d2520f147e723d2ce147c7261
30 -DIST mongo-tools-4.0.3.tar.gz 10874727 BLAKE2B 3e5d07b8ae797d0876b68a3018806e91a30758415aaa236423648a77f5e0d475848060516ee0da91a8448813a12a685410b93bf219b8180beb91f448e329a532 SHA512 cbe74b3fdebd0d4f6be6e3acf7f55f5f1a551b0ad1a23d82782643d2a9eb9ea4b7e0133985485b8c5a88c1fea26595e3ed9c759f1f63b578b6472d850154d67b
31 -DIST mongo-tools-4.0.4.tar.gz 10878921 BLAKE2B 3960838f68333bf033be9b72191e221b449bde8157ecb6d2f595d84c862fadd9597a53be88e5b0ad691cb6163cf90294348145ecce4c796c88bf84a4d7d8ab86 SHA512 d7900dbbd1e1e63d5518494c85559a7eab34f53ffa38880628f3dda0a71ee1211f67cf7dfaac66498b0359eca32abb9c89410e5cc56415a1594acf38ebfa226b
32 -DIST mongo-tools-4.0.5.tar.gz 10878974 BLAKE2B 704eadb7469d1f07bcf0c18fd2c3d1a2078064e8d0f33e03b0ec0a7539a8ae6e5c4ec3a4f9dff4f34d3cea8a2aa63097bfa050de0af5d0a44e54e4e47c83565f SHA512 5a2ca0cb761895a6c3187bdf4ac0c11222ac681313c2c22801571a1147e07b7b6149150b07e58cd4487413017da56424ec494eaaf9aec9193498ee3cde73c5da
33 DIST mongo-tools-4.0.6.tar.gz 10879606 BLAKE2B 9a7656ba1486df4b36ceb527735ad46864d7a04f2d0451fb4e04bbbdc09c3bb0ec922aa5daa584b93e123e1c3764c0ebef96a3566dd0d6b646a627d769645619 SHA512 d6185d7442a593d29db78889c55aba53e070bedd522d78d8c0bf52bb27f26c5fee6d010457f65774ea36a2e6d5280f38c95433ff76ed53ed9d74b1c811198cb7
34
35 diff --git a/app-admin/mongo-tools/mongo-tools-3.6.9.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.9.ebuild
36 deleted file mode 100644
37 index 5cf7cbaadac..00000000000
38 --- a/app-admin/mongo-tools/mongo-tools-3.6.9.ebuild
39 +++ /dev/null
40 @@ -1,64 +0,0 @@
41 -# Copyright 1999-2018 Gentoo Authors
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=7
45 -
46 -MY_PV=${PV/_rc/-rc}
47 -MY_P=${PN}-r${MY_PV}
48 -
49 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
50 -HOMEPAGE="https://www.mongodb.com"
51 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
52 -
53 -LICENSE="Apache-2.0"
54 -SLOT="0"
55 -KEYWORDS="~amd64"
56 -IUSE="sasl ssl"
57 -
58 -RDEPEND="!<dev-db/mongodb-3.0.0"
59 -DEPEND="${RDEPEND}
60 - dev-lang/go:=
61 - net-libs/libpcap
62 - sasl? ( dev-libs/cyrus-sasl )
63 - ssl? ( dev-libs/openssl:0= )"
64 -
65 -# Do not complain about CFLAGS etc since go projects do not use them.
66 -QA_FLAGS_IGNORED='.*'
67 -
68 -S=${WORKDIR}/${MY_P}
69 -
70 -src_prepare() {
71 - default
72 -
73 - # 1) ensure we use bash wrt #582906
74 - # 2) do not substitute version because it uses git
75 - sed -e 's@/bin/sh@/bin/bash@g' \
76 - -e '/^sed/,+3d' \
77 - -e '/^stty/d' \
78 - -e '/^mv/d' \
79 - -i build.sh || die
80 -
81 - # build pie to avoid text relocations wrt #582854
82 - # skip on ppc64 wrt #610984
83 - if ! use ppc64; then
84 - sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
85 - fi
86 -}
87 -
88 -src_compile() {
89 - local myconf=()
90 -
91 - if use sasl; then
92 - myconf+=(sasl)
93 - fi
94 -
95 - if use ssl; then
96 - myconf+=(ssl)
97 - fi
98 -
99 - ./build.sh "${myconf[@]}" || die "build failed"
100 -}
101 -
102 -src_install() {
103 - dobin bin/*
104 -}
105
106 diff --git a/app-admin/mongo-tools/mongo-tools-4.0.3.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.3.ebuild
107 deleted file mode 100644
108 index 5cf7cbaadac..00000000000
109 --- a/app-admin/mongo-tools/mongo-tools-4.0.3.ebuild
110 +++ /dev/null
111 @@ -1,64 +0,0 @@
112 -# Copyright 1999-2018 Gentoo Authors
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=7
116 -
117 -MY_PV=${PV/_rc/-rc}
118 -MY_P=${PN}-r${MY_PV}
119 -
120 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
121 -HOMEPAGE="https://www.mongodb.com"
122 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
123 -
124 -LICENSE="Apache-2.0"
125 -SLOT="0"
126 -KEYWORDS="~amd64"
127 -IUSE="sasl ssl"
128 -
129 -RDEPEND="!<dev-db/mongodb-3.0.0"
130 -DEPEND="${RDEPEND}
131 - dev-lang/go:=
132 - net-libs/libpcap
133 - sasl? ( dev-libs/cyrus-sasl )
134 - ssl? ( dev-libs/openssl:0= )"
135 -
136 -# Do not complain about CFLAGS etc since go projects do not use them.
137 -QA_FLAGS_IGNORED='.*'
138 -
139 -S=${WORKDIR}/${MY_P}
140 -
141 -src_prepare() {
142 - default
143 -
144 - # 1) ensure we use bash wrt #582906
145 - # 2) do not substitute version because it uses git
146 - sed -e 's@/bin/sh@/bin/bash@g' \
147 - -e '/^sed/,+3d' \
148 - -e '/^stty/d' \
149 - -e '/^mv/d' \
150 - -i build.sh || die
151 -
152 - # build pie to avoid text relocations wrt #582854
153 - # skip on ppc64 wrt #610984
154 - if ! use ppc64; then
155 - sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
156 - fi
157 -}
158 -
159 -src_compile() {
160 - local myconf=()
161 -
162 - if use sasl; then
163 - myconf+=(sasl)
164 - fi
165 -
166 - if use ssl; then
167 - myconf+=(ssl)
168 - fi
169 -
170 - ./build.sh "${myconf[@]}" || die "build failed"
171 -}
172 -
173 -src_install() {
174 - dobin bin/*
175 -}
176
177 diff --git a/app-admin/mongo-tools/mongo-tools-4.0.4.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.4.ebuild
178 deleted file mode 100644
179 index 27f23784aa2..00000000000
180 --- a/app-admin/mongo-tools/mongo-tools-4.0.4.ebuild
181 +++ /dev/null
182 @@ -1,67 +0,0 @@
183 -# Copyright 1999-2019 Gentoo Authors
184 -# Distributed under the terms of the GNU General Public License v2
185 -
186 -EAPI=7
187 -
188 -MY_PV=${PV/_rc/-rc}
189 -MY_P=${PN}-r${MY_PV}
190 -
191 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
192 -HOMEPAGE="https://www.mongodb.com"
193 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
194 -
195 -LICENSE="Apache-2.0"
196 -SLOT="0"
197 -KEYWORDS="~amd64"
198 -IUSE="sasl ssl"
199 -
200 -RDEPEND="!<dev-db/mongodb-3.0.0"
201 -DEPEND="${RDEPEND}
202 - dev-lang/go:=
203 - net-libs/libpcap
204 - sasl? ( dev-libs/cyrus-sasl )
205 - ssl? ( dev-libs/openssl:0= )"
206 -
207 -# Do not complain about CFLAGS etc since go projects do not use them.
208 -QA_FLAGS_IGNORED='.*'
209 -
210 -S=${WORKDIR}/${MY_P}
211 -
212 -src_prepare() {
213 - default
214 -
215 - # 1) ensure we use bash wrt #582906
216 - # 2) do not substitute version because it uses git
217 - sed -e 's@/bin/sh@/bin/bash@g' \
218 - -e '/^sed/,+3d' \
219 - -e '/^stty/d' \
220 - -e '/^mv/d' \
221 - -i build.sh || die
222 -
223 - # build pie to avoid text relocations wrt #582854
224 - # skip on ppc64 wrt #610984
225 - if ! use ppc64; then
226 - sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
227 - fi
228 -
229 - # allow building with go 1.12 #678924
230 - sed -i 's/_Ctype_struct_/C.struct_/' vendor/src/github.com/google/gopacket/pcap/pcap.go || die
231 -}
232 -
233 -src_compile() {
234 - local myconf=()
235 -
236 - if use sasl; then
237 - myconf+=(sasl)
238 - fi
239 -
240 - if use ssl; then
241 - myconf+=(ssl)
242 - fi
243 -
244 - ./build.sh "${myconf[@]}" || die "build failed"
245 -}
246 -
247 -src_install() {
248 - dobin bin/*
249 -}
250
251 diff --git a/app-admin/mongo-tools/mongo-tools-4.0.5.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.5.ebuild
252 deleted file mode 100644
253 index 5aacbbb1063..00000000000
254 --- a/app-admin/mongo-tools/mongo-tools-4.0.5.ebuild
255 +++ /dev/null
256 @@ -1,64 +0,0 @@
257 -# Copyright 1999-2019 Gentoo Authors
258 -# Distributed under the terms of the GNU General Public License v2
259 -
260 -EAPI=7
261 -
262 -MY_PV=${PV/_rc/-rc}
263 -MY_P=${PN}-r${MY_PV}
264 -
265 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
266 -HOMEPAGE="https://www.mongodb.com"
267 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
268 -
269 -LICENSE="Apache-2.0"
270 -SLOT="0"
271 -KEYWORDS="~amd64"
272 -IUSE="sasl ssl"
273 -
274 -DEPEND="dev-lang/go:=
275 - net-libs/libpcap
276 - sasl? ( dev-libs/cyrus-sasl )
277 - ssl? ( dev-libs/openssl:0= )"
278 -
279 -# Do not complain about CFLAGS etc since go projects do not use them.
280 -QA_FLAGS_IGNORED='.*'
281 -
282 -EGO_PN="github.com/mongodb/mongo-tools"
283 -S="${WORKDIR}/src/${EGO_PN}"
284 -
285 -src_unpack() {
286 - mkdir -p "${S%/*}" || die
287 - default
288 - mv ${MY_P} "${S}" || die
289 -}
290 -
291 -src_compile() {
292 - local myconf=()
293 -
294 - if use sasl; then
295 - myconf+=(sasl)
296 - fi
297 -
298 - if use ssl; then
299 - myconf+=(ssl)
300 - fi
301 -
302 - # build pie to avoid text relocations wrt #582854
303 - local buildmode="pie"
304 -
305 - # skip on ppc64 wrt #610984
306 - if use ppc64; then
307 - buildmode="default"
308 - fi
309 -
310 - mkdir -p bin || die
311 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
312 - echo "Building $i"
313 - GOROOT="${PREFIX}/usr/$(get_libdir)/go" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
314 - -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
315 - done
316 -}
317 -
318 -src_install() {
319 - dobin bin/*
320 -}