1 |
commit: e4e206df9e09087fd2a65336b189821d613fe47e |
2 |
Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 9 16:29:32 2020 +0000 |
4 |
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 16:30:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e206df |
7 |
|
8 |
app-admin/mongo-tools: version bump |
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 | 3 ++ |
14 |
app-admin/mongo-tools/mongo-tools-3.6.17.ebuild | 71 +++++++++++++++++++++++++ |
15 |
app-admin/mongo-tools/mongo-tools-4.0.16.ebuild | 71 +++++++++++++++++++++++++ |
16 |
app-admin/mongo-tools/mongo-tools-4.2.3.ebuild | 71 +++++++++++++++++++++++++ |
17 |
4 files changed, 216 insertions(+) |
18 |
|
19 |
diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest |
20 |
index c09ca90578f..82667b49c21 100644 |
21 |
--- a/app-admin/mongo-tools/Manifest |
22 |
+++ b/app-admin/mongo-tools/Manifest |
23 |
@@ -1,8 +1,11 @@ |
24 |
DIST mongo-tools-3.6.13.tar.gz 4990848 BLAKE2B 022ddf214869c3a3e545aa9572f77f0adc21c0dbd6ea6ad9e083633c2e972b7ef77c0bda4354dbde9fd0e23c6dd02a7de8873d4b2c2a3e4423ea6f8e1c23ed52 SHA512 fac21c4841bfecba11a7765bb6c36d1fa19d4dd94f6f4168fa767fc11dc8b3caf04a5029becd09eba01dd694274e9cc22da8566ce878769e5c3c97016c162432 |
25 |
DIST mongo-tools-3.6.14.tar.gz 4990861 BLAKE2B 13394a7222e73c0912e7d9d04205b25e5d73d6c72b53521b0749e0998dc52bbe4c7733d460b189aff2401790f537d9aa369b969ed273ea0858520ecd75782b66 SHA512 3e7caaa1d568023d478c77d5e88127796b25d27c71e30af692983f4fd2160887662253ffc67e6e87aa3a7e1fd4ae231de9401b1628412a4561b9595b71df8834 |
26 |
DIST mongo-tools-3.6.16.tar.gz 4990806 BLAKE2B 743c24fe55a0353e3ce31a82a53c94560408725f9fa35d93d5bc136d2b6e465e081c8ad4b00d63826ea45db4431124cdf2b66341eba9be24db890fd80941b728 SHA512 ebb356690c2aeb7d47435ea05f977e9319c915e1af48b89fc9941f72871baabb5faac238b59281330fb46e7340ee354f56f438ea3d0abd97b859e2321b719038 |
27 |
+DIST mongo-tools-3.6.17.tar.gz 4991196 BLAKE2B 53e86b3513aa74ad174801cea987d574c5248f438cb0a9419c2352c04333eae2f92214b11c59ee8688ad7235dc7a4586c39cc27450c654b1fc0e2eec2e4e22e2 SHA512 ea7a010097fdfe7807daf9352519b808b4a7b614b793ee2ac27495207bcf1cf8b4151fecd525946a0d6b8aa9332c205f437d5141b16efb613810963f502061be |
28 |
DIST mongo-tools-4.0.12.tar.gz 11134652 BLAKE2B d3c9703046dc577b85cefe1185678e0029411ddd44d0648f9b09fc3ab41e3661891d18afd83bf1a148dc4c9208895f444c115948e515e09dfa3062e89d98fc24 SHA512 068d8c456386caddcce23fa8917ffecdc9b5c39fb6794c5cd1d9099be1f127ecf680b006055581dc3d90507072a87788b46be7410f0dbede42da64c664b77ced |
29 |
DIST mongo-tools-4.0.13.tar.gz 11134653 BLAKE2B b963f2a4ee598f6716c6c678df029040f57e2ad17b0e025139d3ac5049aacefbf5342a455ac58161c11df734da4fe4f62f021c1544eee3542af3aed77a65e6d2 SHA512 0694c7ac5743b04d927e27eb913df1b9b55c6c7a26d2a4dc52af8d2e0a6934416f416da91c57e1e61804ae855ec4bd8facabacf0754f9f924f21602737f29e3c |
30 |
DIST mongo-tools-4.0.14.tar.gz 11134659 BLAKE2B 9caf119901d528079bb9aefce78d702dc3196cb105ac623137f8ffceffef4f8f6e61c8134470abe11f0bd422df9a6bef0e15331ee71065450b97220431458fc1 SHA512 6a0c39cbca0d51cd42518bb68a36fb7f0ed1e7b1ecf4dcd41256c8ab5c23505ca189b81a88c2a783ad81788bcab81d7e3c69f4788366e10dea744a03a2f3cf1e |
31 |
+DIST mongo-tools-4.0.16.tar.gz 11139827 BLAKE2B 550acfd7e4434b178170dfd94c65668cb7dd37d128235c63a10f72802e3119f33d5cd2138bfd5b957f6d3813f1d9aff49218c4e122c0cd454b4ea7a969c84d4e SHA512 a75831d9fd0b596bfb7354cbc05d1ecf6871d5a7230a858b09b94d5001d18069c9cbe89c9500e9c1a16fc5186fa7a1ac59c605156666a3f1a2d7c81115a47c16 |
32 |
DIST mongo-tools-4.2.1.tar.gz 14435826 BLAKE2B 8d068cb39957f6773fb6ca186a1eb324e03c21b8472fede407daf7bce091f3d401f0debe6412d70bb8e338101d7ada870e7347782ffb582b58fcafc236ad4932 SHA512 bba754acd9e21f8f832fc2e434720347c2222897b2af08d66f9491110d5491f5475ae2118ff25b263606677da10b0c96b76cc507a01287180096c25c1eab5ced |
33 |
DIST mongo-tools-4.2.2.tar.gz 14433618 BLAKE2B 7610bd6b386684836e91b6bb7f73e24267fac56ce975263ac2aaeebe51d37123baa8eb2009cf4478af89e6dcc596c9c07126224ad4bd80aee47d03fde9413eca SHA512 661813c70bf891f0a834ac9970cbe390a8616f9e89e4f33918e479ba3f3ce3851edecd63c1e35e65a4dee47419e3ce0fa3186c7ee2326bef11fce3bac8bed0c7 |
34 |
+DIST mongo-tools-4.2.3.tar.gz 15020325 BLAKE2B 8501a3ec6e947112ec561ce62f2ea568984f8ac911a7aff3cb8c08c1f29d2cfc64cf7f4b6a24ba73ae0f9b2b5853480f4fbed51c98fdc8c83cd433ea65e21dba SHA512 772719b450f8b656c22ac0126fee1e0fa58b5320c94ac6414b1d9af13e6437393c2482f2e386f4a73c84a2d1bfe0ea88df117a6a7ae87f4884477505cf662585 |
35 |
|
36 |
diff --git a/app-admin/mongo-tools/mongo-tools-3.6.17.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.17.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..86f626904b9 |
39 |
--- /dev/null |
40 |
+++ b/app-admin/mongo-tools/mongo-tools-3.6.17.ebuild |
41 |
@@ -0,0 +1,71 @@ |
42 |
+# Copyright 1999-2020 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=7 |
46 |
+ |
47 |
+MY_PV=${PV/_rc/-rc} |
48 |
+MY_P=${PN}-r${MY_PV} |
49 |
+ |
50 |
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
51 |
+HOMEPAGE="https://www.mongodb.com" |
52 |
+SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
53 |
+ |
54 |
+LICENSE="Apache-2.0" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64" |
57 |
+IUSE="sasl ssl" |
58 |
+ |
59 |
+DEPEND="dev-lang/go:= |
60 |
+ net-libs/libpcap |
61 |
+ sasl? ( dev-libs/cyrus-sasl ) |
62 |
+ ssl? ( dev-libs/openssl:0= )" |
63 |
+ |
64 |
+# Do not complain about CFLAGS etc since go projects do not use them. |
65 |
+QA_FLAGS_IGNORED='.*' |
66 |
+ |
67 |
+EGO_PN="github.com/mongodb/mongo-tools" |
68 |
+S="${WORKDIR}/src/${EGO_PN}" |
69 |
+ |
70 |
+src_unpack() { |
71 |
+ mkdir -p "${S%/*}" || die |
72 |
+ default |
73 |
+ mv ${MY_P} "${S}" || die |
74 |
+} |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ default |
78 |
+ |
79 |
+ # allow building with go 1.12 #678924 |
80 |
+ sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die |
81 |
+} |
82 |
+ |
83 |
+src_compile() { |
84 |
+ local myconf=() |
85 |
+ |
86 |
+ if use sasl; then |
87 |
+ myconf+=(sasl) |
88 |
+ fi |
89 |
+ |
90 |
+ if use ssl; then |
91 |
+ myconf+=(ssl) |
92 |
+ fi |
93 |
+ |
94 |
+ # build pie to avoid text relocations wrt #582854 |
95 |
+ local buildmode="pie" |
96 |
+ |
97 |
+ # skip on ppc64 wrt #610984 |
98 |
+ if use ppc64; then |
99 |
+ buildmode="default" |
100 |
+ fi |
101 |
+ |
102 |
+ mkdir -p bin || die |
103 |
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do |
104 |
+ echo "Building $i" |
105 |
+ GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ |
106 |
+ -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die |
107 |
+ done |
108 |
+} |
109 |
+ |
110 |
+src_install() { |
111 |
+ dobin bin/* |
112 |
+} |
113 |
|
114 |
diff --git a/app-admin/mongo-tools/mongo-tools-4.0.16.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.16.ebuild |
115 |
new file mode 100644 |
116 |
index 00000000000..86f626904b9 |
117 |
--- /dev/null |
118 |
+++ b/app-admin/mongo-tools/mongo-tools-4.0.16.ebuild |
119 |
@@ -0,0 +1,71 @@ |
120 |
+# Copyright 1999-2020 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.3.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.3.ebuild |
193 |
new file mode 100644 |
194 |
index 00000000000..86f626904b9 |
195 |
--- /dev/null |
196 |
+++ b/app-admin/mongo-tools/mongo-tools-4.2.3.ebuild |
197 |
@@ -0,0 +1,71 @@ |
198 |
+# Copyright 1999-2020 Gentoo Authors |
199 |
+# Distributed under the terms of the GNU General Public License v2 |
200 |
+ |
201 |
+EAPI=7 |
202 |
+ |
203 |
+MY_PV=${PV/_rc/-rc} |
204 |
+MY_P=${PN}-r${MY_PV} |
205 |
+ |
206 |
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
207 |
+HOMEPAGE="https://www.mongodb.com" |
208 |
+SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
209 |
+ |
210 |
+LICENSE="Apache-2.0" |
211 |
+SLOT="0" |
212 |
+KEYWORDS="~amd64" |
213 |
+IUSE="sasl ssl" |
214 |
+ |
215 |
+DEPEND="dev-lang/go:= |
216 |
+ net-libs/libpcap |
217 |
+ sasl? ( dev-libs/cyrus-sasl ) |
218 |
+ ssl? ( dev-libs/openssl:0= )" |
219 |
+ |
220 |
+# Do not complain about CFLAGS etc since go projects do not use them. |
221 |
+QA_FLAGS_IGNORED='.*' |
222 |
+ |
223 |
+EGO_PN="github.com/mongodb/mongo-tools" |
224 |
+S="${WORKDIR}/src/${EGO_PN}" |
225 |
+ |
226 |
+src_unpack() { |
227 |
+ mkdir -p "${S%/*}" || die |
228 |
+ default |
229 |
+ mv ${MY_P} "${S}" || die |
230 |
+} |
231 |
+ |
232 |
+src_prepare() { |
233 |
+ default |
234 |
+ |
235 |
+ # allow building with go 1.12 #678924 |
236 |
+ sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die |
237 |
+} |
238 |
+ |
239 |
+src_compile() { |
240 |
+ local myconf=() |
241 |
+ |
242 |
+ if use sasl; then |
243 |
+ myconf+=(sasl) |
244 |
+ fi |
245 |
+ |
246 |
+ if use ssl; then |
247 |
+ myconf+=(ssl) |
248 |
+ fi |
249 |
+ |
250 |
+ # build pie to avoid text relocations wrt #582854 |
251 |
+ local buildmode="pie" |
252 |
+ |
253 |
+ # skip on ppc64 wrt #610984 |
254 |
+ if use ppc64; then |
255 |
+ buildmode="default" |
256 |
+ fi |
257 |
+ |
258 |
+ mkdir -p bin || die |
259 |
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do |
260 |
+ echo "Building $i" |
261 |
+ GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ |
262 |
+ -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die |
263 |
+ done |
264 |
+} |
265 |
+ |
266 |
+src_install() { |
267 |
+ dobin bin/* |
268 |
+} |