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, 07 Feb 2022 13:23:42
Message-Id: 1644240105.222aa5ce14a5a93d6775922f2238848a2a1434b7.ultrabug@gentoo
1 commit: 222aa5ce14a5a93d6775922f2238848a2a1434b7
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Sun Dec 19 11:49:55 2021 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 13:21:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222aa5ce
7
8 app-admin/mongo-tools: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/23418
12 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
13
14 app-admin/mongo-tools/Manifest | 5 --
15 app-admin/mongo-tools/mongo-tools-100.2.0.ebuild | 61 --------------------
16 app-admin/mongo-tools/mongo-tools-100.2.1.ebuild | 61 --------------------
17 app-admin/mongo-tools/mongo-tools-100.3.0.ebuild | 61 --------------------
18 app-admin/mongo-tools/mongo-tools-4.2.11.ebuild | 71 ------------------------
19 app-admin/mongo-tools/mongo-tools-4.2.12.ebuild | 64 ---------------------
20 6 files changed, 323 deletions(-)
21
22 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
23 index 1eeb51d4eb45..590e5d21aab4 100644
24 --- a/app-admin/mongo-tools/Manifest
25 +++ b/app-admin/mongo-tools/Manifest
26 @@ -1,9 +1,4 @@
27 -DIST mongo-tools-100.2.0.tar.gz 27401773 BLAKE2B 359747ffe9e53e9ac62fa70517bd5e64c6b082076b9d54e325200cabbd9e3f7ab3aa9f96f7a84c60b044082e505e2ca4d6bdeac6f0b1ca0bfaa03583603a7962 SHA512 1b093482d3abfbd354ff6010f270836a13842fc6ff33126effb4e843beefeabc233bb610b423cac8ce8718366e7aa7411679e4cd5125d44a235f244f5ea49da5
28 -DIST mongo-tools-100.2.1.tar.gz 27447213 BLAKE2B 9db242b632cf9d15960e216c238ad13d2680b1aa6c0731bf0dc163055fd8488f36b6b9cc56d597f5b7d98a6798ed1cb9f8815aa2b4dce6b5977a591376177409 SHA512 ed913c42935e240b8b13b292a7dc12c12b6f6ee7538c6dd589a5e0998c333ebbf3822337c9d8368964fcdb7c8b1b5b1b86fbe654695e3bbb09463a5cddf42e38
29 -DIST mongo-tools-100.3.0.tar.gz 27514743 BLAKE2B 4b64c1d42679f5297ca0065b4e5e094a7c5f5bf7082a727b7c49e1b3b3af563e8f4055e041a696ea3e94ad62a3f280ec3f02d8b102df6f68a561b99d8a80b565 SHA512 415cf1b3a1015bab7c507cd7af969d7b8de249b8692fb93593793e9881290aaab827649fc59850bc905a50ee003d23116b6595979e3ca48dfcf1e6c5c864b5a0
30 DIST mongo-tools-100.4.1.tar.gz 3793073 BLAKE2B 0a5dbd7a638035e7e54922c46be4473f154f79cb6370ca72f87dfee49ea1353ebf60ccf4d324b0bc6f5388b8c095f68f423aafdf83358ac41ad59d1215dce69c SHA512 a6560f8ce2a86c1ae4400f3ef182f448991a238ef657bcd5eb6f98de0adb2cbd660a81ce00f3ca051f2db6d22a492158da9254b264424506669bf771d7a40fe6
31 DIST mongo-tools-100.5.1.tar.gz 3796549 BLAKE2B 6f95e1eb9f9c6c07725269f99dee0d940ffc5145e95b17b3e0a87f4cd60b1b0589a99a813c359f0b670bc34274fbd1f5b9c561caf07840bd85633174232a48ed SHA512 a488b15a6862cacaccaeb57698d423e4ee710d395b1280a66382e140cb71fec84aa738f3819a87b4a71faecd9c9da7bd92780a19d6d11fdebaf5142e594b2028
32 -DIST mongo-tools-4.2.11.tar.gz 15028877 BLAKE2B 8397ddfa553880680dabb3ca41801117431c75e9cf19c6145373b73c6da15b2be61e8673cec851872a0c481b221ac40e222754f9155c45f8a3e681e59272de6c SHA512 b1e9812890447f2ad1ed96ea5a70e8bb16efdaea37224249c531a3adda559b789a392b9818711147d28df412d7a2e2a992bc13fdcd595e50e66eb7fbd8c32bd5
33 -DIST mongo-tools-4.2.12.tar.gz 15029039 BLAKE2B c2c87f6b329c4d094739fe215221fe507d2c685c4c56757b692e8f2de7a904f47fd92affcc9bbe227472efc09bdc97da78881b6ec2dbb03f79a34c42a3068ab3 SHA512 05cfef279c78ff1e929ccf47bee99a87cad70ede05bdac3f9226dc1e0c2688845233e51da69a2bb018d20b6f3ca4ae5301fb4f609e19f17636b4e5ac04fedb0f
34 DIST mongo-tools-4.2.15.tar.gz 15028734 BLAKE2B 7479c5d0d9b6051f51e563f53a5c704a69dc3719d9417b216bcc1a65220d0ab2c9441fd24d8ac8e5b1600766797ef102df07ebfd946ee60949d3287673dfbaaf SHA512 f613ab61a4cf029548aa0e5623fef3798642ced791bf52f229e7d14d31de9472bfc3c8bfb3fa7b4542555a17c79ff9a514480c674cb3e45fb99c4f1745fdb9f0
35 DIST mongo-tools-4.2.17.tar.gz 15028859 BLAKE2B dfd9165bd83571cb3ae134f13072e8a06707d714f28107a70e41e8bf507f87bb44ef32a27c15c188e6b831e8c33907f201cb7a3f217868e0a88e6c31efce0f79 SHA512 e59df0593caf93b44fe5694e07e37e49e9d4237007ae33f0156f773987cbaeb59c7b3da8012f9a9b07f4eb146f8392b2d2bbcad97309284b0d67238a69af2663
36
37 diff --git a/app-admin/mongo-tools/mongo-tools-100.2.0.ebuild b/app-admin/mongo-tools/mongo-tools-100.2.0.ebuild
38 deleted file mode 100644
39 index 1a7e7c94b876..000000000000
40 --- a/app-admin/mongo-tools/mongo-tools-100.2.0.ebuild
41 +++ /dev/null
42 @@ -1,61 +0,0 @@
43 -# Copyright 1999-2020 Gentoo Authors
44 -# Distributed under the terms of the GNU General Public License v2
45 -
46 -EAPI=7
47 -
48 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
49 -HOMEPAGE="https://www.mongodb.com"
50 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 -
52 -LICENSE="Apache-2.0"
53 -SLOT="0"
54 -KEYWORDS="amd64 ~arm64"
55 -IUSE="sasl ssl"
56 -
57 -DEPEND="dev-lang/go:=
58 - net-libs/libpcap
59 - sasl? ( dev-libs/cyrus-sasl )
60 - ssl? ( dev-libs/openssl:0= )"
61 -
62 -# Do not complain about CFLAGS etc since go projects do not use them.
63 -QA_FLAGS_IGNORED='.*'
64 -
65 -EGO_PN="github.com/mongodb/mongo-tools"
66 -S="${WORKDIR}/src/${EGO_PN}"
67 -
68 -src_unpack() {
69 - mkdir -p "${S%/*}" || die
70 - default
71 - mv ${P} "${S}" || die
72 -}
73 -
74 -src_compile() {
75 - local myconf=()
76 -
77 - if use sasl; then
78 - myconf+=(sasl)
79 - fi
80 -
81 - if use ssl; then
82 - myconf+=(ssl)
83 - fi
84 -
85 - # build pie to avoid text relocations wrt #582854
86 - local buildmode="pie"
87 -
88 - # skip on ppc64 wrt #610984
89 - if use ppc64; then
90 - buildmode="default"
91 - fi
92 -
93 - mkdir -p bin || die
94 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
95 - echo "Building $i"
96 - GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
97 - -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
98 - done
99 -}
100 -
101 -src_install() {
102 - dobin bin/*
103 -}
104
105 diff --git a/app-admin/mongo-tools/mongo-tools-100.2.1.ebuild b/app-admin/mongo-tools/mongo-tools-100.2.1.ebuild
106 deleted file mode 100644
107 index a60bc8a3e1af..000000000000
108 --- a/app-admin/mongo-tools/mongo-tools-100.2.1.ebuild
109 +++ /dev/null
110 @@ -1,61 +0,0 @@
111 -# Copyright 1999-2020 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=7
115 -
116 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
117 -HOMEPAGE="https://www.mongodb.com"
118 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
119 -
120 -LICENSE="Apache-2.0"
121 -SLOT="0"
122 -KEYWORDS="~amd64 ~arm64"
123 -IUSE="sasl ssl"
124 -
125 -DEPEND="dev-lang/go:=
126 - net-libs/libpcap
127 - sasl? ( dev-libs/cyrus-sasl )
128 - ssl? ( dev-libs/openssl:0= )"
129 -
130 -# Do not complain about CFLAGS etc since go projects do not use them.
131 -QA_FLAGS_IGNORED='.*'
132 -
133 -EGO_PN="github.com/mongodb/mongo-tools"
134 -S="${WORKDIR}/src/${EGO_PN}"
135 -
136 -src_unpack() {
137 - mkdir -p "${S%/*}" || die
138 - default
139 - mv ${P} "${S}" || die
140 -}
141 -
142 -src_compile() {
143 - local myconf=()
144 -
145 - if use sasl; then
146 - myconf+=(sasl)
147 - fi
148 -
149 - if use ssl; then
150 - myconf+=(ssl)
151 - fi
152 -
153 - # build pie to avoid text relocations wrt #582854
154 - local buildmode="pie"
155 -
156 - # skip on ppc64 wrt #610984
157 - if use ppc64; then
158 - buildmode="default"
159 - fi
160 -
161 - mkdir -p bin || die
162 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
163 - echo "Building $i"
164 - GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
165 - -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
166 - done
167 -}
168 -
169 -src_install() {
170 - dobin bin/*
171 -}
172
173 diff --git a/app-admin/mongo-tools/mongo-tools-100.3.0.ebuild b/app-admin/mongo-tools/mongo-tools-100.3.0.ebuild
174 deleted file mode 100644
175 index 52cc5e43f884..000000000000
176 --- a/app-admin/mongo-tools/mongo-tools-100.3.0.ebuild
177 +++ /dev/null
178 @@ -1,61 +0,0 @@
179 -# Copyright 1999-2021 Gentoo Authors
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI=7
183 -
184 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
185 -HOMEPAGE="https://www.mongodb.com"
186 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
187 -
188 -LICENSE="Apache-2.0"
189 -SLOT="0"
190 -KEYWORDS="amd64 ~arm64 ~riscv"
191 -IUSE="sasl ssl"
192 -
193 -DEPEND="dev-lang/go:=
194 - net-libs/libpcap
195 - sasl? ( dev-libs/cyrus-sasl )
196 - ssl? ( dev-libs/openssl:0= )"
197 -
198 -# Do not complain about CFLAGS etc since go projects do not use them.
199 -QA_FLAGS_IGNORED='.*'
200 -
201 -EGO_PN="github.com/mongodb/mongo-tools"
202 -S="${WORKDIR}/src/${EGO_PN}"
203 -
204 -src_unpack() {
205 - mkdir -p "${S%/*}" || die
206 - default
207 - mv ${P} "${S}" || die
208 -}
209 -
210 -src_compile() {
211 - local myconf=()
212 -
213 - if use sasl; then
214 - myconf+=(sasl)
215 - fi
216 -
217 - if use ssl; then
218 - myconf+=(ssl)
219 - fi
220 -
221 - # build pie to avoid text relocations wrt #582854
222 - local buildmode="pie"
223 -
224 - # skip on ppc64 wrt #610984
225 - if use ppc64; then
226 - buildmode="default"
227 - fi
228 -
229 - mkdir -p bin || die
230 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
231 - echo "Building $i"
232 - GO111MODULE='off' GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
233 - -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
234 - done
235 -}
236 -
237 -src_install() {
238 - dobin bin/*
239 -}
240
241 diff --git a/app-admin/mongo-tools/mongo-tools-4.2.11.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.11.ebuild
242 deleted file mode 100644
243 index 5b413edfa2e4..000000000000
244 --- a/app-admin/mongo-tools/mongo-tools-4.2.11.ebuild
245 +++ /dev/null
246 @@ -1,71 +0,0 @@
247 -# Copyright 1999-2021 Gentoo Authors
248 -# Distributed under the terms of the GNU General Public License v2
249 -
250 -EAPI=7
251 -
252 -MY_PV=${PV/_rc/-rc}
253 -MY_P=${PN}-r${MY_PV}
254 -
255 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
256 -HOMEPAGE="https://www.mongodb.com"
257 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
258 -
259 -LICENSE="Apache-2.0"
260 -SLOT="0"
261 -KEYWORDS="amd64 ~arm64"
262 -IUSE="sasl ssl"
263 -
264 -DEPEND="dev-lang/go:=
265 - net-libs/libpcap
266 - sasl? ( dev-libs/cyrus-sasl )
267 - ssl? ( dev-libs/openssl:0= )"
268 -
269 -# Do not complain about CFLAGS etc since go projects do not use them.
270 -QA_FLAGS_IGNORED='.*'
271 -
272 -EGO_PN="github.com/mongodb/mongo-tools"
273 -S="${WORKDIR}/src/${EGO_PN}"
274 -
275 -src_unpack() {
276 - mkdir -p "${S%/*}" || die
277 - default
278 - mv ${MY_P} "${S}" || die
279 -}
280 -
281 -src_prepare() {
282 - default
283 -
284 - # allow building with go 1.12 #678924
285 - sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
286 -}
287 -
288 -src_compile() {
289 - local myconf=()
290 -
291 - if use sasl; then
292 - myconf+=(sasl)
293 - fi
294 -
295 - if use ssl; then
296 - myconf+=(ssl)
297 - fi
298 -
299 - # build pie to avoid text relocations wrt #582854
300 - local buildmode="pie"
301 -
302 - # skip on ppc64 wrt #610984
303 - if use ppc64; then
304 - buildmode="default"
305 - fi
306 -
307 - mkdir -p bin || die
308 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
309 - echo "Building $i"
310 - GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
311 - -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
312 - done
313 -}
314 -
315 -src_install() {
316 - dobin bin/*
317 -}
318
319 diff --git a/app-admin/mongo-tools/mongo-tools-4.2.12.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.12.ebuild
320 deleted file mode 100644
321 index 82253adc9ab4..000000000000
322 --- a/app-admin/mongo-tools/mongo-tools-4.2.12.ebuild
323 +++ /dev/null
324 @@ -1,64 +0,0 @@
325 -# Copyright 1999-2021 Gentoo Authors
326 -# Distributed under the terms of the GNU General Public License v2
327 -
328 -EAPI=7
329 -
330 -MY_PV=${PV/_rc/-rc}
331 -MY_P=${PN}-r${MY_PV}
332 -
333 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
334 -HOMEPAGE="https://www.mongodb.com"
335 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
336 -
337 -LICENSE="Apache-2.0"
338 -SLOT="0"
339 -KEYWORDS="amd64 ~arm64"
340 -IUSE="sasl ssl"
341 -
342 -DEPEND="dev-lang/go:=
343 - net-libs/libpcap
344 - sasl? ( dev-libs/cyrus-sasl )
345 - ssl? ( dev-libs/openssl:0= )"
346 -
347 -# Do not complain about CFLAGS etc since go projects do not use them.
348 -QA_FLAGS_IGNORED='.*'
349 -
350 -EGO_PN="github.com/mongodb/mongo-tools"
351 -S="${WORKDIR}/src/${EGO_PN}"
352 -
353 -src_unpack() {
354 - mkdir -p "${S%/*}" || die
355 - default
356 - mv ${MY_P} "${S}" || die
357 -}
358 -
359 -src_compile() {
360 - local myconf=()
361 -
362 - if use sasl; then
363 - myconf+=(sasl)
364 - fi
365 -
366 - if use ssl; then
367 - myconf+=(ssl)
368 - fi
369 -
370 - # build pie to avoid text relocations wrt #582854
371 - local buildmode="pie"
372 -
373 - # skip on ppc64 wrt #610984
374 - if use ppc64; then
375 - buildmode="default"
376 - fi
377 -
378 - mkdir -p bin || die
379 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
380 - echo "Building $i"
381 - GO111MODULE='off' GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
382 - -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
383 - done
384 -}
385 -
386 -src_install() {
387 - dobin bin/*
388 -}