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, 30 Dec 2019 12:36:53
Message-Id: 1577709400.cde29d754635ba839125dac62af120a9aa134e5f.ultrabug@gentoo
1 commit: cde29d754635ba839125dac62af120a9aa134e5f
2 Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 12:35:18 2019 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 30 12:36:40 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde29d75
7
8 app-admin/mongo-tools: version bump, drop old
9
10 Package-Manager: Portage-2.3.81, Repoman-2.3.20
11 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
12
13 app-admin/mongo-tools/Manifest | 6 +-
14 ...ools-4.2.0.ebuild => mongo-tools-3.6.16.ebuild} | 0
15 app-admin/mongo-tools/mongo-tools-3.6.8.ebuild | 64 -------------------
16 app-admin/mongo-tools/mongo-tools-4.0.10.ebuild | 71 ----------------------
17 ...ools-4.2.0.ebuild => mongo-tools-4.0.14.ebuild} | 0
18 ...tools-4.2.0.ebuild => mongo-tools-4.2.2.ebuild} | 0
19 6 files changed, 3 insertions(+), 138 deletions(-)
20
21 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
22 index c86934b1546..c09ca90578f 100644
23 --- a/app-admin/mongo-tools/Manifest
24 +++ b/app-admin/mongo-tools/Manifest
25 @@ -1,8 +1,8 @@
26 DIST mongo-tools-3.6.13.tar.gz 4990848 BLAKE2B 022ddf214869c3a3e545aa9572f77f0adc21c0dbd6ea6ad9e083633c2e972b7ef77c0bda4354dbde9fd0e23c6dd02a7de8873d4b2c2a3e4423ea6f8e1c23ed52 SHA512 fac21c4841bfecba11a7765bb6c36d1fa19d4dd94f6f4168fa767fc11dc8b3caf04a5029becd09eba01dd694274e9cc22da8566ce878769e5c3c97016c162432
27 DIST mongo-tools-3.6.14.tar.gz 4990861 BLAKE2B 13394a7222e73c0912e7d9d04205b25e5d73d6c72b53521b0749e0998dc52bbe4c7733d460b189aff2401790f537d9aa369b969ed273ea0858520ecd75782b66 SHA512 3e7caaa1d568023d478c77d5e88127796b25d27c71e30af692983f4fd2160887662253ffc67e6e87aa3a7e1fd4ae231de9401b1628412a4561b9595b71df8834
28 -DIST mongo-tools-3.6.8.tar.gz 4723878 BLAKE2B a1693024d60f69d25c268eaaa30a478b1e4c0042c5fb7a3fd6252ed00aef2fee3fba94516fe825165a1a57887ed38e4fbce488c48ddd4f45349f0b7a1b244020 SHA512 359e8ce2d847d005d48ff12bc2e8af73213d81cd1521d2b5b5ac94792468218248bebbe808e1bd8fd49234eab8480608f294c1b63f317aed58f456b84ef17dcf
29 -DIST mongo-tools-4.0.10.tar.gz 11134721 BLAKE2B f25e834622db8a2cea1658d9396b747666dee6a0e6471f5fcf351431f716735227b19f854c228ebb9ace8a7c27b8cdf83f8a5009107191aa6dd27c1a4c037505 SHA512 12764b2e2016ae3ab3f0ed1f5b9be9ce10e466c53b408ad2c01b26bdf39ca41a358acd07aea5847db2b40e3e89293f77efcd2b310e4e2bf3071873abf1b20f49
30 +DIST mongo-tools-3.6.16.tar.gz 4990806 BLAKE2B 743c24fe55a0353e3ce31a82a53c94560408725f9fa35d93d5bc136d2b6e465e081c8ad4b00d63826ea45db4431124cdf2b66341eba9be24db890fd80941b728 SHA512 ebb356690c2aeb7d47435ea05f977e9319c915e1af48b89fc9941f72871baabb5faac238b59281330fb46e7340ee354f56f438ea3d0abd97b859e2321b719038
31 DIST mongo-tools-4.0.12.tar.gz 11134652 BLAKE2B d3c9703046dc577b85cefe1185678e0029411ddd44d0648f9b09fc3ab41e3661891d18afd83bf1a148dc4c9208895f444c115948e515e09dfa3062e89d98fc24 SHA512 068d8c456386caddcce23fa8917ffecdc9b5c39fb6794c5cd1d9099be1f127ecf680b006055581dc3d90507072a87788b46be7410f0dbede42da64c664b77ced
32 DIST mongo-tools-4.0.13.tar.gz 11134653 BLAKE2B b963f2a4ee598f6716c6c678df029040f57e2ad17b0e025139d3ac5049aacefbf5342a455ac58161c11df734da4fe4f62f021c1544eee3542af3aed77a65e6d2 SHA512 0694c7ac5743b04d927e27eb913df1b9b55c6c7a26d2a4dc52af8d2e0a6934416f416da91c57e1e61804ae855ec4bd8facabacf0754f9f924f21602737f29e3c
33 -DIST mongo-tools-4.2.0.tar.gz 14402906 BLAKE2B 535a9a0e49f4288e63c905f7bd98c1f1b8e38eef562cb5c40a0c09500a18eb7fd401f05df2261c92db3e8a126cc03902fa3c61177b50a3e18f2d33bee7590f52 SHA512 f937a9f2b4ccfe262ca1a09e7bd103ffbdd45eae7c6deed8c1453f4499935f526f513749422e3215071ef465291c3f0544bf1e9510bbaf8dd9fa1edcf22f887a
34 +DIST mongo-tools-4.0.14.tar.gz 11134659 BLAKE2B 9caf119901d528079bb9aefce78d702dc3196cb105ac623137f8ffceffef4f8f6e61c8134470abe11f0bd422df9a6bef0e15331ee71065450b97220431458fc1 SHA512 6a0c39cbca0d51cd42518bb68a36fb7f0ed1e7b1ecf4dcd41256c8ab5c23505ca189b81a88c2a783ad81788bcab81d7e3c69f4788366e10dea744a03a2f3cf1e
35 DIST mongo-tools-4.2.1.tar.gz 14435826 BLAKE2B 8d068cb39957f6773fb6ca186a1eb324e03c21b8472fede407daf7bce091f3d401f0debe6412d70bb8e338101d7ada870e7347782ffb582b58fcafc236ad4932 SHA512 bba754acd9e21f8f832fc2e434720347c2222897b2af08d66f9491110d5491f5475ae2118ff25b263606677da10b0c96b76cc507a01287180096c25c1eab5ced
36 +DIST mongo-tools-4.2.2.tar.gz 14433618 BLAKE2B 7610bd6b386684836e91b6bb7f73e24267fac56ce975263ac2aaeebe51d37123baa8eb2009cf4478af89e6dcc596c9c07126224ad4bd80aee47d03fde9413eca SHA512 661813c70bf891f0a834ac9970cbe390a8616f9e89e4f33918e479ba3f3ce3851edecd63c1e35e65a4dee47419e3ce0fa3186c7ee2326bef11fce3bac8bed0c7
37
38 diff --git a/app-admin/mongo-tools/mongo-tools-4.2.0.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.16.ebuild
39 similarity index 100%
40 copy from app-admin/mongo-tools/mongo-tools-4.2.0.ebuild
41 copy to app-admin/mongo-tools/mongo-tools-3.6.16.ebuild
42
43 diff --git a/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild
44 deleted file mode 100644
45 index 81268b0dd2f..00000000000
46 --- a/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild
47 +++ /dev/null
48 @@ -1,64 +0,0 @@
49 -# Copyright 1999-2019 Gentoo Authors
50 -# Distributed under the terms of the GNU General Public License v2
51 -
52 -EAPI=7
53 -
54 -MY_PV=${PV/_rc/-rc}
55 -MY_P=${PN}-r${MY_PV}
56 -
57 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
58 -HOMEPAGE="https://www.mongodb.com"
59 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
60 -
61 -LICENSE="Apache-2.0"
62 -SLOT="0"
63 -KEYWORDS="amd64"
64 -IUSE="sasl ssl"
65 -
66 -RDEPEND="!<dev-db/mongodb-3.0.0"
67 -DEPEND="${RDEPEND}
68 - dev-lang/go:=
69 - net-libs/libpcap
70 - sasl? ( dev-libs/cyrus-sasl )
71 - ssl? ( dev-libs/openssl:0= )"
72 -
73 -S=${WORKDIR}/${MY_P}
74 -
75 -src_prepare() {
76 - default
77 -
78 - # 1) ensure we use bash wrt #582906
79 - # 2) do not substitute version because it uses git
80 - sed -e 's@/bin/sh@/bin/bash@g' \
81 - -e '/^sed/,+3d' \
82 - -e '/^stty/d' \
83 - -e '/^mv/d' \
84 - -i build.sh || die
85 -
86 - # build pie to avoid text relocations wrt #582854
87 - # skip on ppc64 wrt #610984
88 - if ! use ppc64; then
89 - sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
90 - fi
91 -
92 - # allow building with go 1.12 #678924
93 - sed -i 's/_Ctype_struct_/C.struct_/' vendor/src/github.com/google/gopacket/pcap/pcap.go || die
94 -}
95 -
96 -src_compile() {
97 - local myconf=()
98 -
99 - if use sasl; then
100 - myconf+=(sasl)
101 - fi
102 -
103 - if use ssl; then
104 - myconf+=(ssl)
105 - fi
106 -
107 - ./build.sh "${myconf[@]}" || die "build failed"
108 -}
109 -
110 -src_install() {
111 - dobin bin/*
112 -}
113
114 diff --git a/app-admin/mongo-tools/mongo-tools-4.0.10.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.10.ebuild
115 deleted file mode 100644
116 index 11f797e129c..00000000000
117 --- a/app-admin/mongo-tools/mongo-tools-4.0.10.ebuild
118 +++ /dev/null
119 @@ -1,71 +0,0 @@
120 -# Copyright 1999-2019 Gentoo Authors
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=7
124 -
125 -MY_PV=${PV/_rc/-rc}
126 -MY_P=${PN}-r${MY_PV}
127 -
128 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
129 -HOMEPAGE="https://www.mongodb.com"
130 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
131 -
132 -LICENSE="Apache-2.0"
133 -SLOT="0"
134 -KEYWORDS="amd64"
135 -IUSE="sasl ssl"
136 -
137 -DEPEND="dev-lang/go:=
138 - net-libs/libpcap
139 - sasl? ( dev-libs/cyrus-sasl )
140 - ssl? ( dev-libs/openssl:0= )"
141 -
142 -# Do not complain about CFLAGS etc since go projects do not use them.
143 -QA_FLAGS_IGNORED='.*'
144 -
145 -EGO_PN="github.com/mongodb/mongo-tools"
146 -S="${WORKDIR}/src/${EGO_PN}"
147 -
148 -src_unpack() {
149 - mkdir -p "${S%/*}" || die
150 - default
151 - mv ${MY_P} "${S}" || die
152 -}
153 -
154 -src_prepare() {
155 - default
156 -
157 - # allow building with go 1.12 #678924
158 - sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
159 -}
160 -
161 -src_compile() {
162 - local myconf=()
163 -
164 - if use sasl; then
165 - myconf+=(sasl)
166 - fi
167 -
168 - if use ssl; then
169 - myconf+=(ssl)
170 - fi
171 -
172 - # build pie to avoid text relocations wrt #582854
173 - local buildmode="pie"
174 -
175 - # skip on ppc64 wrt #610984
176 - if use ppc64; then
177 - buildmode="default"
178 - fi
179 -
180 - mkdir -p bin || die
181 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
182 - echo "Building $i"
183 - GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
184 - -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
185 - done
186 -}
187 -
188 -src_install() {
189 - dobin bin/*
190 -}
191
192 diff --git a/app-admin/mongo-tools/mongo-tools-4.2.0.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.14.ebuild
193 similarity index 100%
194 copy from app-admin/mongo-tools/mongo-tools-4.2.0.ebuild
195 copy to app-admin/mongo-tools/mongo-tools-4.0.14.ebuild
196
197 diff --git a/app-admin/mongo-tools/mongo-tools-4.2.0.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.2.ebuild
198 similarity index 100%
199 rename from app-admin/mongo-tools/mongo-tools-4.2.0.ebuild
200 rename to app-admin/mongo-tools/mongo-tools-4.2.2.ebuild