1 |
commit: 919341574ddb78492e657702b0056ae83e787e7b |
2 |
Author: Ultrabug <ultrabug <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 5 18:12:55 2017 +0000 |
4 |
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 5 18:14:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91934157 |
7 |
|
8 |
dev-db/mongodb: clean up 3.4.x ebuilds for #636200 |
9 |
|
10 |
app-admin/mongo-tools/Manifest | 5 - |
11 |
app-admin/mongo-tools/mongo-tools-3.4.3.ebuild | 58 -------- |
12 |
app-admin/mongo-tools/mongo-tools-3.4.4.ebuild | 58 -------- |
13 |
app-admin/mongo-tools/mongo-tools-3.4.6.ebuild | 58 -------- |
14 |
app-admin/mongo-tools/mongo-tools-3.4.7.ebuild | 63 -------- |
15 |
app-admin/mongo-tools/mongo-tools-3.4.9.ebuild | 62 -------- |
16 |
dev-db/mongodb/Manifest | 5 - |
17 |
dev-db/mongodb/mongodb-3.4.3.ebuild | 189 ------------------------ |
18 |
dev-db/mongodb/mongodb-3.4.4.ebuild | 190 ------------------------ |
19 |
dev-db/mongodb/mongodb-3.4.6.ebuild | 191 ------------------------ |
20 |
dev-db/mongodb/mongodb-3.4.7.ebuild | 189 ------------------------ |
21 |
dev-db/mongodb/mongodb-3.4.9.ebuild | 194 ------------------------- |
22 |
12 files changed, 1262 deletions(-) |
23 |
|
24 |
diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest |
25 |
index 03fe161e926..e9b196bcdb7 100644 |
26 |
--- a/app-admin/mongo-tools/Manifest |
27 |
+++ b/app-admin/mongo-tools/Manifest |
28 |
@@ -4,8 +4,3 @@ DIST mongo-tools-3.2.12.tar.gz 2712079 SHA256 cda5e869b9233d591e91cac0b4c709a2e7 |
29 |
DIST mongo-tools-3.2.13.tar.gz 2712076 SHA256 a855eb0141445e34ff3b01807b016467519c390fce79f3566000b5aaecb65d72 SHA512 caa0ba0f1452a16921c187cb407258326324b7222af91b1cd1b870ee2c9e6909d4fa94087a6da148a807f75b40f0bb97808a85804134d53cdab7970d8adf59f8 WHIRLPOOL e2fb38cc8a35ab7c9461f680a2bf0647b5cb5d1225978b7321e6c4227b02ae3cae93e5f2a105f188f3329b0f0f8741e9a0c5439f37196ca875b049d3a91836d3 |
30 |
DIST mongo-tools-3.2.16.tar.gz 2720003 SHA256 1cd699f0e45b0b3afb0cfc7014258fb69e93c98e254ef9ef1605cd2de0b56d4c SHA512 61c8cfd04a36e329c3573b73945d20a5623e1aa0a3430b309530e85e4289a27a46a850ec48ede7f04e66e67e23745ef26f5f4ddcf68ffeb647128e3d2526a724 WHIRLPOOL 2d2855f578f15e9afd133f6b24b23bd5d6a20516c96f665581223ca1c9a472ead6634749db46b55a1351a8b63923531046ab83a262ec54f439ccf008cb854f9e |
31 |
DIST mongo-tools-3.4.10.tar.gz 4719399 SHA256 adaff068b7f340866dcd2085222ee4f879b26cd98a3010652fea4d53ffb8e0c7 SHA512 b861bb3fb1a32c3aa2efefcf6a13bb6d4783ac1a9b006c477fd04deb338cbf6b7adc3944bc6919513b92bd96b8500813ff4af49c9dec0719ebd2fdaa99bc39a5 WHIRLPOOL e484cec2036b1d9d88c3fa3b8142a681e0ba1d96f9a8d772fb7c7035033dac6d4e40fe154042dc8016b3a31ed09dce0081c7bc9b7d2c9f420cc2286eb47ccd2e |
32 |
-DIST mongo-tools-3.4.3.tar.gz 4700637 SHA256 70348800ca4cc04a319ca414291d5359e7dc86c888bc8264045fbc4de00adab2 SHA512 ec754e8b19c517d9603e0eb89cc315e0af53886b74a905c0742faf5369af8b87b84cedf57aaa25f93068cd21370fa8a274a97dc3c58bbb4a50db6c2e4f0109d9 WHIRLPOOL 0b85fcdb52d5f08624bbcedb96d66c8a519e6415b9aefe68e7957627f3f1e220ca1174ea0a037f53ef2de0e594793ab42d6ec7db9cb42aa09b1892500dac5dd5 |
33 |
-DIST mongo-tools-3.4.4.tar.gz 4700326 SHA256 d14f4ce153aec373459c802e5a159661ccfde4e5df39d8d750586bae54896cdd SHA512 d49243e41bf3144264add3766a6f7016a07509a583a7368a639d85d2305500dd5afcfbc4449f3dcc8bec6e88bfb76ce021c813fe14169e3bd2476ed0db7c2d5d WHIRLPOOL 33cb527ce7df19e92871219aef9b38f16ae292a4d1cbdd7bb3a1c6ccc752687469b9e4309cc4fd540a65e623740e1ebe20f4bdf8629b50aab25d4ea84c2988cc |
34 |
-DIST mongo-tools-3.4.6.tar.gz 4715189 SHA256 0b41ee2cb0a3d656f50ad950cc3853b41d5eb77a67ea0eb288f5ac80711ffc1d SHA512 ad1d3acee1969934e8f679d6407b3b55aba85fb99ea806463b7418494fac491ff68033f3e59b55e17276a4d28932c6b74398fffc89ab7c229cf69e5a4714c4a2 WHIRLPOOL 993be475af7b71a189f2b9f7c98e3f49d7ae8d05f99928b242efbd3dd504415394c7c812c4debed192ca0a856f16f9839dc771be8efb1db48b3359e48ea48280 |
35 |
-DIST mongo-tools-3.4.7.tar.gz 4719398 SHA256 8ff8c790108d3b858bb188f4cd45aedf3a1a9eddf3bd3f69627ecb35a0de2fb4 SHA512 974062e934ff2004c2ec1b55398a04dce542542c122577326e6120154e4887dcc772fa90b0ea5e7bc57124526bbb76b8935efa75080fed78da6c252e3e599f3f WHIRLPOOL 67a8e1ece75b1371df8da60780eb71db1f039912baa2f66d7cf0c79e863f5ce74a27131f1978578cebf47c3de66a5c9ef8227ce19d3a23effa40da05136ad3e4 |
36 |
-DIST mongo-tools-3.4.9.tar.gz 4719526 SHA256 4b6f17afa628482c107567a82715b780d1e885125b4862ee07e0ab5080b8e0aa SHA512 546060a65124e722a1c6eb152fd4e086bc523656312888e16238b4a1df5313ab63ece41e638f012676af4be94ed156855b053afa62d778f72cd31f0ccd70f19d WHIRLPOOL 5707db723a3e502749f052d3825d5aba6bdc0ecf0d93f7f156285b2dee1196741baab4c4cabaad01eb156ad15e05b96d1dde23c24e543d17d99a7533ca80dee2 |
37 |
|
38 |
diff --git a/app-admin/mongo-tools/mongo-tools-3.4.3.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.3.ebuild |
39 |
deleted file mode 100644 |
40 |
index 992baa372c2..00000000000 |
41 |
--- a/app-admin/mongo-tools/mongo-tools-3.4.3.ebuild |
42 |
+++ /dev/null |
43 |
@@ -1,58 +0,0 @@ |
44 |
-# Copyright 1999-2017 Gentoo Foundation |
45 |
-# Distributed under the terms of the GNU General Public License v2 |
46 |
- |
47 |
-EAPI=5 |
48 |
- |
49 |
-inherit eutils |
50 |
- |
51 |
-MY_PV=${PV/_rc/-rc} |
52 |
-MY_P=${PN}-r${MY_PV} |
53 |
- |
54 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
55 |
-HOMEPAGE="http://www.mongodb.org" |
56 |
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
57 |
- |
58 |
-LICENSE="Apache-2.0" |
59 |
-SLOT="0" |
60 |
-KEYWORDS="~amd64 ~x86" |
61 |
-IUSE="sasl ssl" |
62 |
- |
63 |
-# Maintainer note: |
64 |
-# openssl DEPEND constraint, see: |
65 |
-# https://github.com/mongodb/mongo-tools/issues/11 |
66 |
- |
67 |
-RDEPEND="!<dev-db/mongodb-3.0.0" |
68 |
-DEPEND="${RDEPEND} |
69 |
- dev-lang/go:= |
70 |
- net-libs/libpcap |
71 |
- sasl? ( dev-libs/cyrus-sasl ) |
72 |
- ssl? ( dev-libs/openssl:0= )" |
73 |
- |
74 |
-S=${WORKDIR}/${MY_P} |
75 |
- |
76 |
-src_prepare() { |
77 |
- sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die |
78 |
- |
79 |
- # ensure we use bash wrt #582906 |
80 |
- sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die |
81 |
- |
82 |
- epatch "${FILESDIR}/${PN}-3.2.10-pie.patch" |
83 |
-} |
84 |
- |
85 |
-src_compile() { |
86 |
- local myconf |
87 |
- |
88 |
- if use sasl; then |
89 |
- myconf="${myconf} sasl" |
90 |
- fi |
91 |
- |
92 |
- if use ssl; then |
93 |
- myconf="${myconf} ssl" |
94 |
- fi |
95 |
- |
96 |
- ./build.sh ${myconf} || die "build failed" |
97 |
-} |
98 |
- |
99 |
-src_install() { |
100 |
- dobin bin/* |
101 |
-} |
102 |
|
103 |
diff --git a/app-admin/mongo-tools/mongo-tools-3.4.4.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.4.ebuild |
104 |
deleted file mode 100644 |
105 |
index 992baa372c2..00000000000 |
106 |
--- a/app-admin/mongo-tools/mongo-tools-3.4.4.ebuild |
107 |
+++ /dev/null |
108 |
@@ -1,58 +0,0 @@ |
109 |
-# Copyright 1999-2017 Gentoo Foundation |
110 |
-# Distributed under the terms of the GNU General Public License v2 |
111 |
- |
112 |
-EAPI=5 |
113 |
- |
114 |
-inherit eutils |
115 |
- |
116 |
-MY_PV=${PV/_rc/-rc} |
117 |
-MY_P=${PN}-r${MY_PV} |
118 |
- |
119 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
120 |
-HOMEPAGE="http://www.mongodb.org" |
121 |
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
122 |
- |
123 |
-LICENSE="Apache-2.0" |
124 |
-SLOT="0" |
125 |
-KEYWORDS="~amd64 ~x86" |
126 |
-IUSE="sasl ssl" |
127 |
- |
128 |
-# Maintainer note: |
129 |
-# openssl DEPEND constraint, see: |
130 |
-# https://github.com/mongodb/mongo-tools/issues/11 |
131 |
- |
132 |
-RDEPEND="!<dev-db/mongodb-3.0.0" |
133 |
-DEPEND="${RDEPEND} |
134 |
- dev-lang/go:= |
135 |
- net-libs/libpcap |
136 |
- sasl? ( dev-libs/cyrus-sasl ) |
137 |
- ssl? ( dev-libs/openssl:0= )" |
138 |
- |
139 |
-S=${WORKDIR}/${MY_P} |
140 |
- |
141 |
-src_prepare() { |
142 |
- sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die |
143 |
- |
144 |
- # ensure we use bash wrt #582906 |
145 |
- sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die |
146 |
- |
147 |
- epatch "${FILESDIR}/${PN}-3.2.10-pie.patch" |
148 |
-} |
149 |
- |
150 |
-src_compile() { |
151 |
- local myconf |
152 |
- |
153 |
- if use sasl; then |
154 |
- myconf="${myconf} sasl" |
155 |
- fi |
156 |
- |
157 |
- if use ssl; then |
158 |
- myconf="${myconf} ssl" |
159 |
- fi |
160 |
- |
161 |
- ./build.sh ${myconf} || die "build failed" |
162 |
-} |
163 |
- |
164 |
-src_install() { |
165 |
- dobin bin/* |
166 |
-} |
167 |
|
168 |
diff --git a/app-admin/mongo-tools/mongo-tools-3.4.6.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.6.ebuild |
169 |
deleted file mode 100644 |
170 |
index 992baa372c2..00000000000 |
171 |
--- a/app-admin/mongo-tools/mongo-tools-3.4.6.ebuild |
172 |
+++ /dev/null |
173 |
@@ -1,58 +0,0 @@ |
174 |
-# Copyright 1999-2017 Gentoo Foundation |
175 |
-# Distributed under the terms of the GNU General Public License v2 |
176 |
- |
177 |
-EAPI=5 |
178 |
- |
179 |
-inherit eutils |
180 |
- |
181 |
-MY_PV=${PV/_rc/-rc} |
182 |
-MY_P=${PN}-r${MY_PV} |
183 |
- |
184 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
185 |
-HOMEPAGE="http://www.mongodb.org" |
186 |
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
187 |
- |
188 |
-LICENSE="Apache-2.0" |
189 |
-SLOT="0" |
190 |
-KEYWORDS="~amd64 ~x86" |
191 |
-IUSE="sasl ssl" |
192 |
- |
193 |
-# Maintainer note: |
194 |
-# openssl DEPEND constraint, see: |
195 |
-# https://github.com/mongodb/mongo-tools/issues/11 |
196 |
- |
197 |
-RDEPEND="!<dev-db/mongodb-3.0.0" |
198 |
-DEPEND="${RDEPEND} |
199 |
- dev-lang/go:= |
200 |
- net-libs/libpcap |
201 |
- sasl? ( dev-libs/cyrus-sasl ) |
202 |
- ssl? ( dev-libs/openssl:0= )" |
203 |
- |
204 |
-S=${WORKDIR}/${MY_P} |
205 |
- |
206 |
-src_prepare() { |
207 |
- sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die |
208 |
- |
209 |
- # ensure we use bash wrt #582906 |
210 |
- sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die |
211 |
- |
212 |
- epatch "${FILESDIR}/${PN}-3.2.10-pie.patch" |
213 |
-} |
214 |
- |
215 |
-src_compile() { |
216 |
- local myconf |
217 |
- |
218 |
- if use sasl; then |
219 |
- myconf="${myconf} sasl" |
220 |
- fi |
221 |
- |
222 |
- if use ssl; then |
223 |
- myconf="${myconf} ssl" |
224 |
- fi |
225 |
- |
226 |
- ./build.sh ${myconf} || die "build failed" |
227 |
-} |
228 |
- |
229 |
-src_install() { |
230 |
- dobin bin/* |
231 |
-} |
232 |
|
233 |
diff --git a/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild |
234 |
deleted file mode 100644 |
235 |
index 01dd107aa1f..00000000000 |
236 |
--- a/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild |
237 |
+++ /dev/null |
238 |
@@ -1,63 +0,0 @@ |
239 |
-# Copyright 1999-2017 Gentoo Foundation |
240 |
-# Distributed under the terms of the GNU General Public License v2 |
241 |
- |
242 |
-EAPI=6 |
243 |
- |
244 |
-inherit eutils |
245 |
- |
246 |
-MY_PV=${PV/_rc/-rc} |
247 |
-MY_P=${PN}-r${MY_PV} |
248 |
- |
249 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
250 |
-HOMEPAGE="https://www.mongodb.org" |
251 |
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
252 |
- |
253 |
-LICENSE="Apache-2.0" |
254 |
-SLOT="0" |
255 |
-KEYWORDS="~amd64 ~x86" |
256 |
-IUSE="sasl ssl" |
257 |
- |
258 |
-# Maintainer note: |
259 |
-# openssl DEPEND constraint, see: |
260 |
-# https://github.com/mongodb/mongo-tools/issues/11 |
261 |
- |
262 |
-RDEPEND="!<dev-db/mongodb-3.0.0" |
263 |
-DEPEND="${RDEPEND} |
264 |
- dev-lang/go:= |
265 |
- net-libs/libpcap |
266 |
- sasl? ( dev-libs/cyrus-sasl ) |
267 |
- ssl? ( dev-libs/openssl:0= )" |
268 |
- |
269 |
-S=${WORKDIR}/${MY_P} |
270 |
- |
271 |
-src_prepare() { |
272 |
- # do not substitute version because it uses git |
273 |
- sed -i '/^sed/,+3d' build.sh || die |
274 |
- sed -i '/^mv/d' build.sh || die |
275 |
- |
276 |
- # build pie to avoid text relocations wrt #582854 |
277 |
- sed -i 's/go build/go build -buildmode=pie/g' build.sh || die |
278 |
- |
279 |
- # ensure we use bash wrt #582906 |
280 |
- sed -i 's@/bin/sh@/bin/bash@g' build.sh || die |
281 |
- |
282 |
- default |
283 |
-} |
284 |
- |
285 |
-src_compile() { |
286 |
- declare -a myconf |
287 |
- |
288 |
- if use sasl; then |
289 |
- myconf+=(sasl) |
290 |
- fi |
291 |
- |
292 |
- if use ssl; then |
293 |
- myconf+=(ssl) |
294 |
- fi |
295 |
- |
296 |
- ./build.sh ${myconf[@]} || die "build failed" |
297 |
-} |
298 |
- |
299 |
-src_install() { |
300 |
- dobin bin/* |
301 |
-} |
302 |
|
303 |
diff --git a/app-admin/mongo-tools/mongo-tools-3.4.9.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.9.ebuild |
304 |
deleted file mode 100644 |
305 |
index ba96c8cbca3..00000000000 |
306 |
--- a/app-admin/mongo-tools/mongo-tools-3.4.9.ebuild |
307 |
+++ /dev/null |
308 |
@@ -1,62 +0,0 @@ |
309 |
-# Copyright 1999-2017 Gentoo Foundation |
310 |
-# Distributed under the terms of the GNU General Public License v2 |
311 |
- |
312 |
-EAPI=6 |
313 |
- |
314 |
-inherit eutils |
315 |
- |
316 |
-MY_PV=${PV/_rc/-rc} |
317 |
-MY_P=${PN}-r${MY_PV} |
318 |
- |
319 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
320 |
-HOMEPAGE="https://www.mongodb.org" |
321 |
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
322 |
- |
323 |
-LICENSE="Apache-2.0" |
324 |
-SLOT="0" |
325 |
-KEYWORDS="~amd64 ~x86" |
326 |
-IUSE="sasl ssl" |
327 |
- |
328 |
-RDEPEND="!<dev-db/mongodb-3.0.0" |
329 |
-DEPEND="${RDEPEND} |
330 |
- dev-lang/go:= |
331 |
- net-libs/libpcap |
332 |
- sasl? ( dev-libs/cyrus-sasl ) |
333 |
- ssl? ( dev-libs/openssl:0= )" |
334 |
- |
335 |
-S=${WORKDIR}/${MY_P} |
336 |
- |
337 |
-src_prepare() { |
338 |
- # do not substitute version because it uses git |
339 |
- sed -i '/^sed/,+3d' build.sh || die |
340 |
- sed -i '/^mv/d' build.sh || die |
341 |
- |
342 |
- # build pie to avoid text relocations wrt #582854 |
343 |
- # skip on ppc64 wrt #610984 |
344 |
- if ! use ppc64; then |
345 |
- sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die |
346 |
- fi |
347 |
- |
348 |
- # ensure we use bash wrt #582906 |
349 |
- sed -i 's@/bin/sh@/bin/bash@g' build.sh || die |
350 |
- |
351 |
- default |
352 |
-} |
353 |
- |
354 |
-src_compile() { |
355 |
- local myconf=() |
356 |
- |
357 |
- if use sasl; then |
358 |
- myconf+=(sasl) |
359 |
- fi |
360 |
- |
361 |
- if use ssl; then |
362 |
- myconf+=(ssl) |
363 |
- fi |
364 |
- |
365 |
- ./build.sh ${myconf[@]} || die "build failed" |
366 |
-} |
367 |
- |
368 |
-src_install() { |
369 |
- dobin bin/* |
370 |
-} |
371 |
|
372 |
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest |
373 |
index 23c7ecb66a5..4b2614ca7d5 100644 |
374 |
--- a/dev-db/mongodb/Manifest |
375 |
+++ b/dev-db/mongodb/Manifest |
376 |
@@ -6,8 +6,3 @@ DIST mongodb-src-r3.2.12.tar.gz 29178424 SHA256 406ced873a9abe8a3f0f92939bf53746 |
377 |
DIST mongodb-src-r3.2.13.tar.gz 29273616 SHA256 31492b99d12d6363a6ebcbba32269ce9e97dadedda8c470cbff8c1af227e9753 SHA512 649b599da65fc205a6e18cde82da6153fb4c03a21cf679e18fb57f705ac168690a37f9520be1242278bc0fe441fda08f1c10c9924cabc636ba153c545d32f91d WHIRLPOOL f7ac6c5a14814650c4bbb52f25d710613ae3aa4011f2600f4727c0c81d83ec33c9be9ddac594e6a2d1ad4556bc6c9de71d3a11abfb3bd2883322ab85010ae905 |
378 |
DIST mongodb-src-r3.2.16.tar.gz 29293555 SHA256 7a8b1b16f3fa545af16f48aeef1f918f57d96a80e1ceb6e669cdb81fab6511d0 SHA512 ba57aae430959f7df036b7e19e1b7d81956184bededd35631616c6e3dc9423dc79a50ab3265bc48b06d198a7043bca902aee2ea75954e38151ebead5b5ab2db2 WHIRLPOOL 0ac7b7cfae8b8b3727dc722c616eb576b3ae3aced5340b9fbd9a995d9f55552411c0507cb43a7378fa35187cf940d72d86ee20d08762f87bb4ebcd13eb697f09 |
379 |
DIST mongodb-src-r3.4.10.tar.gz 39959937 SHA256 443800ca4f52fa613b29052f5f76abc0ccc477451b55f3665b61819f28ace2f3 SHA512 6293dde40a8433477ba3b1cf77abbdb32b28ce58279cc616b488647c8ab71b5ab3eab2146058c4a74b9e00f0938f1415020e2f26ea01f2b29dd78a1a38d58c3a WHIRLPOOL 3cd03fecfc1fa077f55d9961e939d89e347ae5f41c815d81a50b88ddef9c8900f41faec6ae71b759f9f665c8a706fdd3000e96c3047711237f0d66478edbf35e |
380 |
-DIST mongodb-src-r3.4.3.tar.gz 39832718 SHA256 889d49312ed072130936cfa3281123a0e89228c04f3f8e992a0b92669b28d767 SHA512 e2fb5fc2f02e9dbca6c30d2e2aaf1569180ca15198226cdad46f47f44905293afe77763fe2e5c9add0b5bcbd62b7ce7905fb183068c0738cdeeae8d39f848cef WHIRLPOOL ba6fa864249cc80e5f65feaed685980b874b46bcf975142e15fa0eda3e474cc85388920e152474dc5527a30d215c309db6d471c716e6bbe374193ff6016ba22e |
381 |
-DIST mongodb-src-r3.4.4.tar.gz 39867133 SHA256 09e962bf3428474b9790bbd464cb6176817f9da6121c30e096240dbb4d51c9f6 SHA512 dbae89b49c363e7258021cd31385e4449bfdfdfd5adfcb1683e4431372731e58ec33bf8f7576d2d52659a52461bd6a32fbc67d5c6e36d52184ec1aabb345d940 WHIRLPOOL 5ad9f80c7f0f597982a32f95365df961fcd80ffa7c04183f9cb4952a52262a27ab09fee4d0115405c5197b6d3848ede56c9a4e5012ec1c358ea8c752164405c2 |
382 |
-DIST mongodb-src-r3.4.6.tar.gz 39922209 SHA256 8170360f6dfede9c19c131f3d76831e952b3f1494925aa7e2a3a2f95b58ad901 SHA512 68da2f385a5e1d636f1699b13818e125af2b7f13c6ff74d5f6dc8f9e04025f9baaa23acfd386118d90ac0eb8b9b7dfbf5b00f1db580a1ea1fe2309361f46eae4 WHIRLPOOL 71b9f42a192b41c797763a02eb8b318488edbd7ffaa149497d3dea5c446c43ff078d24e48971ce4644d54767bcb848e1acaca3e17be9e8c50bbdd349e0d05fab |
383 |
-DIST mongodb-src-r3.4.7.tar.gz 39936247 SHA256 9272e7663c7915e09ad2609e28c58437d760d54a9552c711ea735cd8e1784ec0 SHA512 30f4d0dbd487d148531d7073881cd55db3fef3dcfd199e260e1a51858c5a2c28dfe904d1273b89b27b2fbcde23c3a301a3fa24766489ad6eb2daa25da31d3182 WHIRLPOOL 0ecaa271f9fbe634404aca2d13b0bb0ef47847656fc2825f5ff220655bc213df96170ec6009efc033c5e0a50baf7afd400c240dcaecdaf03fc356138121dd928 |
384 |
-DIST mongodb-src-r3.4.9.tar.gz 39943857 SHA256 2fd0f47a5f9175e71d3d381e81a1b6a2500c9c414dd6ae0940ad6194a0e85549 SHA512 b6803c91e9cda8e6963359386d2014d03f68151f64d580d5baacc3c66b2adabc62ee5c2cf203b9aee7d11942934afc6f9e17364d2f3aafd238ba88d13c77f26d WHIRLPOOL 4360610c2223b7feef748f982ef3eed352ade080b48a935747056489e127759fe953dc6f1067d369b43e536fa1448c8d034f03eb1ad4dcd9ec064fd1f9491dba |
385 |
|
386 |
diff --git a/dev-db/mongodb/mongodb-3.4.3.ebuild b/dev-db/mongodb/mongodb-3.4.3.ebuild |
387 |
deleted file mode 100644 |
388 |
index 25b6b977c05..00000000000 |
389 |
--- a/dev-db/mongodb/mongodb-3.4.3.ebuild |
390 |
+++ /dev/null |
391 |
@@ -1,189 +0,0 @@ |
392 |
-# Copyright 1999-2017 Gentoo Foundation |
393 |
-# Distributed under the terms of the GNU General Public License v2 |
394 |
- |
395 |
-EAPI=5 |
396 |
-SCONS_MIN_VERSION="2.3.0" |
397 |
-CHECKREQS_DISK_BUILD="2400M" |
398 |
-CHECKREQS_DISK_USR="512M" |
399 |
-CHECKREQS_MEMORY="1024M" |
400 |
- |
401 |
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs |
402 |
- |
403 |
-MY_P=${PN}-src-r${PV/_rc/-rc} |
404 |
- |
405 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
406 |
-HOMEPAGE="http://www.mongodb.org" |
407 |
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" |
408 |
- |
409 |
-LICENSE="AGPL-3 Apache-2.0" |
410 |
-SLOT="0" |
411 |
-KEYWORDS="~amd64 ~x86" |
412 |
-IUSE="debug kerberos libressl mms-agent ssl test +tools" |
413 |
- |
414 |
-RDEPEND=">=app-arch/snappy-1.1.3 |
415 |
- >=dev-cpp/yaml-cpp-0.5.3 |
416 |
- >=dev-libs/boost-1.60[threads(+)] |
417 |
- >=dev-libs/libpcre-8.39[cxx] |
418 |
- dev-libs/snowball-stemmer |
419 |
- net-libs/libpcap |
420 |
- >=sys-libs/zlib-1.2.8 |
421 |
- mms-agent? ( app-admin/mms-agent ) |
422 |
- ssl? ( |
423 |
- !libressl? ( >=dev-libs/openssl-1.0.1g:0= ) |
424 |
- libressl? ( dev-libs/libressl:0= ) |
425 |
- )" |
426 |
-DEPEND="${RDEPEND} |
427 |
- >=sys-devel/gcc-5.3.0:* |
428 |
- sys-libs/ncurses |
429 |
- sys-libs/readline |
430 |
- debug? ( dev-util/valgrind ) |
431 |
- kerberos? ( dev-libs/cyrus-sasl[kerberos] ) |
432 |
- test? ( |
433 |
- dev-python/pymongo |
434 |
- dev-python/pyyaml |
435 |
- )" |
436 |
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
437 |
- |
438 |
-S=${WORKDIR}/${MY_P} |
439 |
- |
440 |
-pkg_pretend() { |
441 |
- if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then |
442 |
- ewarn "To upgrade from a version earlier than the 3.0-series, you must" |
443 |
- ewarn "successively upgrade major releases until you have upgraded" |
444 |
- ewarn "to 3.2-series. Then upgrade to 3.4 series." |
445 |
- fi |
446 |
-} |
447 |
- |
448 |
-pkg_setup() { |
449 |
- enewgroup mongodb |
450 |
- enewuser mongodb -1 -1 /var/lib/${PN} mongodb |
451 |
- |
452 |
- # Maintainer notes |
453 |
- # |
454 |
- # --use-system-tcmalloc is strongly NOT recommended: |
455 |
- # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
456 |
- |
457 |
- scons_opts=( |
458 |
- CC="$(tc-getCC)" |
459 |
- CXX="$(tc-getCXX)" |
460 |
- |
461 |
- --disable-warnings-as-errors |
462 |
- --use-system-boost |
463 |
- --use-system-pcre |
464 |
- --use-system-snappy |
465 |
- --use-system-stemmer |
466 |
- --use-system-yaml |
467 |
- --use-system-zlib |
468 |
- ) |
469 |
- |
470 |
- # wiredtiger not supported on 32bit platforms #572166 |
471 |
- use x86 && scons_opts+=( --wiredtiger=off ) |
472 |
- |
473 |
- if use debug; then |
474 |
- scons_opts+=( --dbg=on ) |
475 |
- fi |
476 |
- |
477 |
- if use prefix; then |
478 |
- scons_opts+=( |
479 |
- --cpppath="${EPREFIX}/usr/include" |
480 |
- --libpath="${EPREFIX}/usr/$(get_libdir)" |
481 |
- ) |
482 |
- fi |
483 |
- |
484 |
- if use kerberos; then |
485 |
- scons_opts+=( --use-sasl-client ) |
486 |
- fi |
487 |
- |
488 |
- if use ssl; then |
489 |
- scons_opts+=( --ssl ) |
490 |
- fi |
491 |
-} |
492 |
- |
493 |
-src_prepare() { |
494 |
- epatch \ |
495 |
- "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" |
496 |
- if has_version ">=dev-libs/boost-1.62"; then |
497 |
- epatch "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" |
498 |
- fi |
499 |
- epatch_user |
500 |
-} |
501 |
- |
502 |
-src_compile() { |
503 |
- # respect mongoDB upstream's basic recommendations |
504 |
- # see bug #536688 and #526114 |
505 |
- if ! use debug; then |
506 |
- filter-flags '-m*' |
507 |
- filter-flags '-O?' |
508 |
- fi |
509 |
- escons "${scons_opts[@]}" core tools |
510 |
-} |
511 |
- |
512 |
-src_install() { |
513 |
- escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr |
514 |
- |
515 |
- for x in /var/{lib,log}/${PN}; do |
516 |
- keepdir "${x}" |
517 |
- fowners mongodb:mongodb "${x}" |
518 |
- done |
519 |
- |
520 |
- doman debian/mongo*.1 |
521 |
- dodoc README docs/building.md |
522 |
- |
523 |
- newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} |
524 |
- newconfd "${FILESDIR}/${PN}.confd-r2" ${PN} |
525 |
- newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s} |
526 |
- newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s} |
527 |
- |
528 |
- insinto /etc |
529 |
- newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf |
530 |
- newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf |
531 |
- |
532 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
533 |
- |
534 |
- insinto /etc/logrotate.d/ |
535 |
- newins "${FILESDIR}/${PN}.logrotate" ${PN} |
536 |
- |
537 |
- # see bug #526114 |
538 |
- pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos} |
539 |
-} |
540 |
- |
541 |
-pkg_preinst() { |
542 |
- # wrt bug #461466 |
543 |
- if [[ "$(get_libdir)" == "lib64" ]]; then |
544 |
- rmdir "${ED}"/usr/lib/ &>/dev/null |
545 |
- fi |
546 |
-} |
547 |
- |
548 |
-src_test() { |
549 |
- # this one test fails |
550 |
- rm jstests/core/repl_write_threads_start_param.js |
551 |
- |
552 |
- ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die "Tests failed" |
553 |
-} |
554 |
- |
555 |
-pkg_postinst() { |
556 |
- local v |
557 |
- for v in ${REPLACING_VERSIONS}; do |
558 |
- if ! version_is_at_least 3.0 ${v}; then |
559 |
- ewarn "!! IMPORTANT !!" |
560 |
- ewarn " " |
561 |
- ewarn "${PN} configuration files have changed !" |
562 |
- ewarn " " |
563 |
- ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" |
564 |
- ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" |
565 |
- ewarn " " |
566 |
- ewarn "Make sure you also follow the upgrading process :" |
567 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" |
568 |
- ewarn " " |
569 |
- ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." |
570 |
- ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." |
571 |
- ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" |
572 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" |
573 |
- break |
574 |
- fi |
575 |
- done |
576 |
- |
577 |
- ewarn "Make sure to read the release notes and follow the upgrade process:" |
578 |
- ewarn " https://docs.mongodb.org/manual/release-notes/3.4/" |
579 |
- ewarn " https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures" |
580 |
-} |
581 |
|
582 |
diff --git a/dev-db/mongodb/mongodb-3.4.4.ebuild b/dev-db/mongodb/mongodb-3.4.4.ebuild |
583 |
deleted file mode 100644 |
584 |
index ddb22087d4a..00000000000 |
585 |
--- a/dev-db/mongodb/mongodb-3.4.4.ebuild |
586 |
+++ /dev/null |
587 |
@@ -1,190 +0,0 @@ |
588 |
-# Copyright 1999-2017 Gentoo Foundation |
589 |
-# Distributed under the terms of the GNU General Public License v2 |
590 |
- |
591 |
-EAPI=5 |
592 |
-SCONS_MIN_VERSION="2.3.0" |
593 |
-CHECKREQS_DISK_BUILD="2400M" |
594 |
-CHECKREQS_DISK_USR="512M" |
595 |
-CHECKREQS_MEMORY="1024M" |
596 |
- |
597 |
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs |
598 |
- |
599 |
-MY_P=${PN}-src-r${PV/_rc/-rc} |
600 |
- |
601 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
602 |
-HOMEPAGE="http://www.mongodb.org" |
603 |
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" |
604 |
- |
605 |
-LICENSE="AGPL-3 Apache-2.0" |
606 |
-SLOT="0" |
607 |
-KEYWORDS="~amd64 ~x86" |
608 |
-IUSE="debug kerberos libressl mms-agent ssl test +tools" |
609 |
- |
610 |
-RDEPEND=">=app-arch/snappy-1.1.3 |
611 |
- >=dev-cpp/yaml-cpp-0.5.3 |
612 |
- >=dev-libs/boost-1.60[threads(+)] |
613 |
- >=dev-libs/libpcre-8.39[cxx] |
614 |
- dev-libs/snowball-stemmer |
615 |
- net-libs/libpcap |
616 |
- >=sys-libs/zlib-1.2.8 |
617 |
- mms-agent? ( app-admin/mms-agent ) |
618 |
- ssl? ( |
619 |
- !libressl? ( >=dev-libs/openssl-1.0.1g:0= ) |
620 |
- libressl? ( dev-libs/libressl:0= ) |
621 |
- )" |
622 |
-DEPEND="${RDEPEND} |
623 |
- >=sys-devel/gcc-5.3.0:* |
624 |
- sys-libs/ncurses |
625 |
- sys-libs/readline |
626 |
- debug? ( dev-util/valgrind ) |
627 |
- kerberos? ( dev-libs/cyrus-sasl[kerberos] ) |
628 |
- test? ( |
629 |
- dev-python/pymongo |
630 |
- dev-python/pyyaml |
631 |
- )" |
632 |
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
633 |
- |
634 |
-S=${WORKDIR}/${MY_P} |
635 |
- |
636 |
-pkg_pretend() { |
637 |
- if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then |
638 |
- ewarn "To upgrade from a version earlier than the 3.0-series, you must" |
639 |
- ewarn "successively upgrade major releases until you have upgraded" |
640 |
- ewarn "to 3.2-series. Then upgrade to 3.4 series." |
641 |
- fi |
642 |
-} |
643 |
- |
644 |
-pkg_setup() { |
645 |
- enewgroup mongodb |
646 |
- enewuser mongodb -1 -1 /var/lib/${PN} mongodb |
647 |
- |
648 |
- # Maintainer notes |
649 |
- # |
650 |
- # --use-system-tcmalloc is strongly NOT recommended: |
651 |
- # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
652 |
- |
653 |
- scons_opts=( |
654 |
- CC="$(tc-getCC)" |
655 |
- CXX="$(tc-getCXX)" |
656 |
- |
657 |
- --disable-warnings-as-errors |
658 |
- --use-system-boost |
659 |
- --use-system-pcre |
660 |
- --use-system-snappy |
661 |
- --use-system-stemmer |
662 |
- --use-system-yaml |
663 |
- --use-system-zlib |
664 |
- ) |
665 |
- |
666 |
- # wiredtiger not supported on 32bit platforms #572166 |
667 |
- use x86 && scons_opts+=( --wiredtiger=off ) |
668 |
- |
669 |
- if use debug; then |
670 |
- scons_opts+=( --dbg=on ) |
671 |
- fi |
672 |
- |
673 |
- if use prefix; then |
674 |
- scons_opts+=( |
675 |
- --cpppath="${EPREFIX}/usr/include" |
676 |
- --libpath="${EPREFIX}/usr/$(get_libdir)" |
677 |
- ) |
678 |
- fi |
679 |
- |
680 |
- if use kerberos; then |
681 |
- scons_opts+=( --use-sasl-client ) |
682 |
- fi |
683 |
- |
684 |
- if use ssl; then |
685 |
- scons_opts+=( --ssl ) |
686 |
- fi |
687 |
-} |
688 |
- |
689 |
-src_prepare() { |
690 |
- epatch \ |
691 |
- "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" \ |
692 |
- "${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch" |
693 |
- if has_version ">=dev-libs/boost-1.62"; then |
694 |
- epatch "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" |
695 |
- fi |
696 |
- epatch_user |
697 |
-} |
698 |
- |
699 |
-src_compile() { |
700 |
- # respect mongoDB upstream's basic recommendations |
701 |
- # see bug #536688 and #526114 |
702 |
- if ! use debug; then |
703 |
- filter-flags '-m*' |
704 |
- filter-flags '-O?' |
705 |
- fi |
706 |
- escons "${scons_opts[@]}" core tools |
707 |
-} |
708 |
- |
709 |
-src_install() { |
710 |
- escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr |
711 |
- |
712 |
- for x in /var/{lib,log}/${PN}; do |
713 |
- keepdir "${x}" |
714 |
- fowners mongodb:mongodb "${x}" |
715 |
- done |
716 |
- |
717 |
- doman debian/mongo*.1 |
718 |
- dodoc README docs/building.md |
719 |
- |
720 |
- newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} |
721 |
- newconfd "${FILESDIR}/${PN}.confd-r2" ${PN} |
722 |
- newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s} |
723 |
- newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s} |
724 |
- |
725 |
- insinto /etc |
726 |
- newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf |
727 |
- newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf |
728 |
- |
729 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
730 |
- |
731 |
- insinto /etc/logrotate.d/ |
732 |
- newins "${FILESDIR}/${PN}.logrotate" ${PN} |
733 |
- |
734 |
- # see bug #526114 |
735 |
- pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos} |
736 |
-} |
737 |
- |
738 |
-pkg_preinst() { |
739 |
- # wrt bug #461466 |
740 |
- if [[ "$(get_libdir)" == "lib64" ]]; then |
741 |
- rmdir "${ED}"/usr/lib/ &>/dev/null |
742 |
- fi |
743 |
-} |
744 |
- |
745 |
-src_test() { |
746 |
- # this one test fails |
747 |
- rm jstests/core/repl_write_threads_start_param.js |
748 |
- |
749 |
- ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die "Tests failed" |
750 |
-} |
751 |
- |
752 |
-pkg_postinst() { |
753 |
- local v |
754 |
- for v in ${REPLACING_VERSIONS}; do |
755 |
- if ! version_is_at_least 3.0 ${v}; then |
756 |
- ewarn "!! IMPORTANT !!" |
757 |
- ewarn " " |
758 |
- ewarn "${PN} configuration files have changed !" |
759 |
- ewarn " " |
760 |
- ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" |
761 |
- ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" |
762 |
- ewarn " " |
763 |
- ewarn "Make sure you also follow the upgrading process :" |
764 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" |
765 |
- ewarn " " |
766 |
- ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." |
767 |
- ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." |
768 |
- ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" |
769 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" |
770 |
- break |
771 |
- fi |
772 |
- done |
773 |
- |
774 |
- ewarn "Make sure to read the release notes and follow the upgrade process:" |
775 |
- ewarn " https://docs.mongodb.org/manual/release-notes/3.4/" |
776 |
- ewarn " https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures" |
777 |
-} |
778 |
|
779 |
diff --git a/dev-db/mongodb/mongodb-3.4.6.ebuild b/dev-db/mongodb/mongodb-3.4.6.ebuild |
780 |
deleted file mode 100644 |
781 |
index 5900f1f4fac..00000000000 |
782 |
--- a/dev-db/mongodb/mongodb-3.4.6.ebuild |
783 |
+++ /dev/null |
784 |
@@ -1,191 +0,0 @@ |
785 |
-# Copyright 1999-2017 Gentoo Foundation |
786 |
-# Distributed under the terms of the GNU General Public License v2 |
787 |
- |
788 |
-EAPI=5 |
789 |
-SCONS_MIN_VERSION="2.3.0" |
790 |
-CHECKREQS_DISK_BUILD="2400M" |
791 |
-CHECKREQS_DISK_USR="512M" |
792 |
-CHECKREQS_MEMORY="1024M" |
793 |
- |
794 |
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs |
795 |
- |
796 |
-MY_P=${PN}-src-r${PV/_rc/-rc} |
797 |
- |
798 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
799 |
-HOMEPAGE="http://www.mongodb.org" |
800 |
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" |
801 |
- |
802 |
-LICENSE="AGPL-3 Apache-2.0" |
803 |
-SLOT="0" |
804 |
-KEYWORDS="~amd64 ~x86" |
805 |
-IUSE="debug kerberos libressl mms-agent ssl test +tools" |
806 |
- |
807 |
-RDEPEND=">=app-arch/snappy-1.1.3 |
808 |
- >=dev-cpp/yaml-cpp-0.5.3 |
809 |
- >=dev-libs/boost-1.60[threads(+)] |
810 |
- >=dev-libs/libpcre-8.39[cxx] |
811 |
- dev-libs/snowball-stemmer |
812 |
- net-libs/libpcap |
813 |
- >=sys-libs/zlib-1.2.8 |
814 |
- mms-agent? ( app-admin/mms-agent ) |
815 |
- ssl? ( |
816 |
- !libressl? ( >=dev-libs/openssl-1.0.1g:0= ) |
817 |
- libressl? ( dev-libs/libressl:0= ) |
818 |
- )" |
819 |
-DEPEND="${RDEPEND} |
820 |
- >=sys-devel/gcc-5.3.0:* |
821 |
- sys-libs/ncurses |
822 |
- sys-libs/readline |
823 |
- debug? ( dev-util/valgrind ) |
824 |
- kerberos? ( dev-libs/cyrus-sasl[kerberos] ) |
825 |
- test? ( |
826 |
- dev-python/pymongo |
827 |
- dev-python/pyyaml |
828 |
- )" |
829 |
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
830 |
- |
831 |
-S=${WORKDIR}/${MY_P} |
832 |
- |
833 |
-pkg_pretend() { |
834 |
- if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then |
835 |
- ewarn "To upgrade from a version earlier than the 3.0-series, you must" |
836 |
- ewarn "successively upgrade major releases until you have upgraded" |
837 |
- ewarn "to 3.2-series. Then upgrade to 3.4 series." |
838 |
- fi |
839 |
-} |
840 |
- |
841 |
-pkg_setup() { |
842 |
- enewgroup mongodb |
843 |
- enewuser mongodb -1 -1 /var/lib/${PN} mongodb |
844 |
- |
845 |
- # Maintainer notes |
846 |
- # |
847 |
- # --use-system-tcmalloc is strongly NOT recommended: |
848 |
- # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
849 |
- |
850 |
- scons_opts=( |
851 |
- CC="$(tc-getCC)" |
852 |
- CXX="$(tc-getCXX)" |
853 |
- |
854 |
- --disable-warnings-as-errors |
855 |
- --use-system-boost |
856 |
- --use-system-pcre |
857 |
- --use-system-snappy |
858 |
- --use-system-stemmer |
859 |
- --use-system-yaml |
860 |
- --use-system-zlib |
861 |
- ) |
862 |
- |
863 |
- # wiredtiger not supported on 32bit platforms #572166 |
864 |
- use x86 && scons_opts+=( --wiredtiger=off ) |
865 |
- |
866 |
- if use debug; then |
867 |
- scons_opts+=( --dbg=on ) |
868 |
- fi |
869 |
- |
870 |
- if use prefix; then |
871 |
- scons_opts+=( |
872 |
- --cpppath="${EPREFIX}/usr/include" |
873 |
- --libpath="${EPREFIX}/usr/$(get_libdir)" |
874 |
- ) |
875 |
- fi |
876 |
- |
877 |
- if use kerberos; then |
878 |
- scons_opts+=( --use-sasl-client ) |
879 |
- fi |
880 |
- |
881 |
- if use ssl; then |
882 |
- scons_opts+=( --ssl ) |
883 |
- fi |
884 |
-} |
885 |
- |
886 |
-src_prepare() { |
887 |
- epatch \ |
888 |
- "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" \ |
889 |
- "${FILESDIR}/${P}-no-boost-check.patch" \ |
890 |
- "${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch" \ |
891 |
- "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" \ |
892 |
- "${FILESDIR}/${PN}-3.4.6-sysmacros-include.patch" |
893 |
- |
894 |
- epatch_user |
895 |
-} |
896 |
- |
897 |
-src_compile() { |
898 |
- # respect mongoDB upstream's basic recommendations |
899 |
- # see bug #536688 and #526114 |
900 |
- if ! use debug; then |
901 |
- filter-flags '-m*' |
902 |
- filter-flags '-O?' |
903 |
- fi |
904 |
- escons "${scons_opts[@]}" core tools |
905 |
-} |
906 |
- |
907 |
-src_install() { |
908 |
- escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr |
909 |
- |
910 |
- for x in /var/{lib,log}/${PN}; do |
911 |
- keepdir "${x}" |
912 |
- fowners mongodb:mongodb "${x}" |
913 |
- done |
914 |
- |
915 |
- doman debian/mongo*.1 |
916 |
- dodoc README docs/building.md |
917 |
- |
918 |
- newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} |
919 |
- newconfd "${FILESDIR}/${PN}.confd-r2" ${PN} |
920 |
- newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s} |
921 |
- newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s} |
922 |
- |
923 |
- insinto /etc |
924 |
- newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf |
925 |
- newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf |
926 |
- |
927 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
928 |
- |
929 |
- insinto /etc/logrotate.d/ |
930 |
- newins "${FILESDIR}/${PN}.logrotate" ${PN} |
931 |
- |
932 |
- # see bug #526114 |
933 |
- pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos} |
934 |
-} |
935 |
- |
936 |
-pkg_preinst() { |
937 |
- # wrt bug #461466 |
938 |
- if [[ "$(get_libdir)" == "lib64" ]]; then |
939 |
- rmdir "${ED}"/usr/lib/ &>/dev/null |
940 |
- fi |
941 |
-} |
942 |
- |
943 |
-src_test() { |
944 |
- # this one test fails |
945 |
- rm jstests/core/repl_write_threads_start_param.js |
946 |
- |
947 |
- ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die "Tests failed" |
948 |
-} |
949 |
- |
950 |
-pkg_postinst() { |
951 |
- local v |
952 |
- for v in ${REPLACING_VERSIONS}; do |
953 |
- if ! version_is_at_least 3.0 ${v}; then |
954 |
- ewarn "!! IMPORTANT !!" |
955 |
- ewarn " " |
956 |
- ewarn "${PN} configuration files have changed !" |
957 |
- ewarn " " |
958 |
- ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" |
959 |
- ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" |
960 |
- ewarn " " |
961 |
- ewarn "Make sure you also follow the upgrading process :" |
962 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" |
963 |
- ewarn " " |
964 |
- ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." |
965 |
- ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." |
966 |
- ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" |
967 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" |
968 |
- break |
969 |
- fi |
970 |
- done |
971 |
- |
972 |
- ewarn "Make sure to read the release notes and follow the upgrade process:" |
973 |
- ewarn " https://docs.mongodb.org/manual/release-notes/3.4/" |
974 |
- ewarn " https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures" |
975 |
-} |
976 |
|
977 |
diff --git a/dev-db/mongodb/mongodb-3.4.7.ebuild b/dev-db/mongodb/mongodb-3.4.7.ebuild |
978 |
deleted file mode 100644 |
979 |
index 2aef3eaf125..00000000000 |
980 |
--- a/dev-db/mongodb/mongodb-3.4.7.ebuild |
981 |
+++ /dev/null |
982 |
@@ -1,189 +0,0 @@ |
983 |
-# Copyright 1999-2017 Gentoo Foundation |
984 |
-# Distributed under the terms of the GNU General Public License v2 |
985 |
- |
986 |
-EAPI=6 |
987 |
-SCONS_MIN_VERSION="2.3.0" |
988 |
-CHECKREQS_DISK_BUILD="2400M" |
989 |
-CHECKREQS_DISK_USR="512M" |
990 |
-CHECKREQS_MEMORY="1024M" |
991 |
- |
992 |
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs |
993 |
- |
994 |
-MY_P=${PN}-src-r${PV/_rc/-rc} |
995 |
- |
996 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
997 |
-HOMEPAGE="http://www.mongodb.org" |
998 |
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" |
999 |
- |
1000 |
-LICENSE="AGPL-3 Apache-2.0" |
1001 |
-SLOT="0" |
1002 |
-KEYWORDS="~amd64 ~x86" |
1003 |
-IUSE="debug kerberos libressl mms-agent ssl test +tools" |
1004 |
- |
1005 |
-RDEPEND=">=app-arch/snappy-1.1.3 |
1006 |
- >=dev-cpp/yaml-cpp-0.5.3 |
1007 |
- >=dev-libs/boost-1.60[threads(+)] |
1008 |
- >=dev-libs/libpcre-8.39[cxx] |
1009 |
- dev-libs/snowball-stemmer |
1010 |
- net-libs/libpcap |
1011 |
- >=sys-libs/zlib-1.2.8 |
1012 |
- mms-agent? ( app-admin/mms-agent ) |
1013 |
- ssl? ( |
1014 |
- !libressl? ( >=dev-libs/openssl-1.0.1g:0= ) |
1015 |
- libressl? ( dev-libs/libressl:0= ) |
1016 |
- )" |
1017 |
-DEPEND="${RDEPEND} |
1018 |
- >=sys-devel/gcc-5.3.0:* |
1019 |
- sys-libs/ncurses |
1020 |
- sys-libs/readline |
1021 |
- debug? ( dev-util/valgrind ) |
1022 |
- kerberos? ( dev-libs/cyrus-sasl[kerberos] ) |
1023 |
- test? ( |
1024 |
- dev-python/pymongo |
1025 |
- dev-python/pyyaml |
1026 |
- )" |
1027 |
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
1028 |
- |
1029 |
-PATCHES=( |
1030 |
- "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" |
1031 |
- "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" |
1032 |
- "${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch" |
1033 |
- "${FILESDIR}/${PN}-3.4.6-sysmacros-include.patch" |
1034 |
- "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch" |
1035 |
-) |
1036 |
- |
1037 |
-S=${WORKDIR}/${MY_P} |
1038 |
- |
1039 |
-pkg_pretend() { |
1040 |
- if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then |
1041 |
- ewarn "To upgrade from a version earlier than the 3.0-series, you must" |
1042 |
- ewarn "successively upgrade major releases until you have upgraded" |
1043 |
- ewarn "to 3.2-series. Then upgrade to 3.4 series." |
1044 |
- fi |
1045 |
-} |
1046 |
- |
1047 |
-pkg_setup() { |
1048 |
- enewgroup mongodb |
1049 |
- enewuser mongodb -1 -1 /var/lib/${PN} mongodb |
1050 |
- |
1051 |
- # Maintainer notes |
1052 |
- # |
1053 |
- # --use-system-tcmalloc is strongly NOT recommended: |
1054 |
- # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
1055 |
- |
1056 |
- scons_opts=( |
1057 |
- CC="$(tc-getCC)" |
1058 |
- CXX="$(tc-getCXX)" |
1059 |
- |
1060 |
- --disable-warnings-as-errors |
1061 |
- --use-system-boost |
1062 |
- --use-system-pcre |
1063 |
- --use-system-snappy |
1064 |
- --use-system-stemmer |
1065 |
- --use-system-yaml |
1066 |
- --use-system-zlib |
1067 |
- ) |
1068 |
- |
1069 |
- # wiredtiger not supported on 32bit platforms #572166 |
1070 |
- use x86 && scons_opts+=( --wiredtiger=off ) |
1071 |
- |
1072 |
- if use debug; then |
1073 |
- scons_opts+=( --dbg=on ) |
1074 |
- fi |
1075 |
- |
1076 |
- if use prefix; then |
1077 |
- scons_opts+=( |
1078 |
- --cpppath="${EPREFIX}/usr/include" |
1079 |
- --libpath="${EPREFIX}/usr/$(get_libdir)" |
1080 |
- ) |
1081 |
- fi |
1082 |
- |
1083 |
- if use kerberos; then |
1084 |
- scons_opts+=( --use-sasl-client ) |
1085 |
- fi |
1086 |
- |
1087 |
- if use ssl; then |
1088 |
- scons_opts+=( --ssl ) |
1089 |
- fi |
1090 |
-} |
1091 |
- |
1092 |
-src_compile() { |
1093 |
- # respect mongoDB upstream's basic recommendations |
1094 |
- # see bug #536688 and #526114 |
1095 |
- if ! use debug; then |
1096 |
- filter-flags '-m*' |
1097 |
- filter-flags '-O?' |
1098 |
- fi |
1099 |
- escons "${scons_opts[@]}" core tools |
1100 |
-} |
1101 |
- |
1102 |
-src_install() { |
1103 |
- escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr |
1104 |
- |
1105 |
- local x |
1106 |
- for x in /var/{lib,log}/${PN}; do |
1107 |
- keepdir "${x}" |
1108 |
- fowners mongodb:mongodb "${x}" |
1109 |
- done |
1110 |
- |
1111 |
- doman debian/mongo*.1 |
1112 |
- dodoc README docs/building.md |
1113 |
- |
1114 |
- newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} |
1115 |
- newconfd "${FILESDIR}/${PN}.confd-r2" ${PN} |
1116 |
- newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s} |
1117 |
- newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s} |
1118 |
- |
1119 |
- insinto /etc |
1120 |
- newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf |
1121 |
- newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf |
1122 |
- |
1123 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
1124 |
- |
1125 |
- insinto /etc/logrotate.d/ |
1126 |
- newins "${FILESDIR}/${PN}.logrotate" ${PN} |
1127 |
- |
1128 |
- # see bug #526114 |
1129 |
- pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos} |
1130 |
-} |
1131 |
- |
1132 |
-pkg_preinst() { |
1133 |
- # wrt bug #461466 |
1134 |
- if [[ "$(get_libdir)" == "lib64" ]]; then |
1135 |
- rmdir "${ED}"/usr/lib/ &>/dev/null |
1136 |
- fi |
1137 |
-} |
1138 |
- |
1139 |
-src_test() { |
1140 |
- # this one test fails |
1141 |
- rm jstests/core/repl_write_threads_start_param.js || die |
1142 |
- |
1143 |
- ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die "Tests failed" |
1144 |
-} |
1145 |
- |
1146 |
-pkg_postinst() { |
1147 |
- local v |
1148 |
- for v in ${REPLACING_VERSIONS}; do |
1149 |
- if ! version_is_at_least 3.0 ${v}; then |
1150 |
- ewarn "!! IMPORTANT !!" |
1151 |
- ewarn " " |
1152 |
- ewarn "${PN} configuration files have changed !" |
1153 |
- ewarn " " |
1154 |
- ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" |
1155 |
- ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" |
1156 |
- ewarn " " |
1157 |
- ewarn "Make sure you also follow the upgrading process :" |
1158 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" |
1159 |
- ewarn " " |
1160 |
- ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." |
1161 |
- ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." |
1162 |
- ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" |
1163 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" |
1164 |
- break |
1165 |
- fi |
1166 |
- done |
1167 |
- |
1168 |
- ewarn "Make sure to read the release notes and follow the upgrade process:" |
1169 |
- ewarn " https://docs.mongodb.org/manual/release-notes/3.4/" |
1170 |
- ewarn " https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures" |
1171 |
-} |
1172 |
|
1173 |
diff --git a/dev-db/mongodb/mongodb-3.4.9.ebuild b/dev-db/mongodb/mongodb-3.4.9.ebuild |
1174 |
deleted file mode 100644 |
1175 |
index 1e193228dcc..00000000000 |
1176 |
--- a/dev-db/mongodb/mongodb-3.4.9.ebuild |
1177 |
+++ /dev/null |
1178 |
@@ -1,194 +0,0 @@ |
1179 |
-# Copyright 1999-2017 Gentoo Foundation |
1180 |
-# Distributed under the terms of the GNU General Public License v2 |
1181 |
- |
1182 |
-EAPI=6 |
1183 |
- |
1184 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
1185 |
- |
1186 |
-SCONS_MIN_VERSION="2.3.0" |
1187 |
-CHECKREQS_DISK_BUILD="2400M" |
1188 |
-CHECKREQS_DISK_USR="512M" |
1189 |
-CHECKREQS_MEMORY="1024M" |
1190 |
- |
1191 |
-inherit eutils flag-o-matic multilib multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user versionator check-reqs |
1192 |
- |
1193 |
-MY_P=${PN}-src-r${PV/_rc/-rc} |
1194 |
- |
1195 |
-DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
1196 |
-HOMEPAGE="http://www.mongodb.org" |
1197 |
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" |
1198 |
- |
1199 |
-LICENSE="AGPL-3 Apache-2.0" |
1200 |
-SLOT="0" |
1201 |
-KEYWORDS="~amd64 ~x86" |
1202 |
-IUSE="debug kerberos libressl mms-agent ssl test +tools" |
1203 |
- |
1204 |
-RDEPEND=">=app-arch/snappy-1.1.3 |
1205 |
- >=dev-cpp/yaml-cpp-0.5.3 |
1206 |
- >=dev-libs/boost-1.60[threads(+)] |
1207 |
- >=dev-libs/libpcre-8.39[cxx] |
1208 |
- dev-libs/snowball-stemmer |
1209 |
- net-libs/libpcap |
1210 |
- >=sys-libs/zlib-1.2.8 |
1211 |
- mms-agent? ( app-admin/mms-agent ) |
1212 |
- ssl? ( |
1213 |
- !libressl? ( >=dev-libs/openssl-1.0.1g:0= ) |
1214 |
- libressl? ( dev-libs/libressl:0= ) |
1215 |
- )" |
1216 |
-DEPEND="${RDEPEND} |
1217 |
- >=sys-devel/gcc-5.3.0:* |
1218 |
- sys-libs/ncurses |
1219 |
- sys-libs/readline |
1220 |
- debug? ( dev-util/valgrind ) |
1221 |
- kerberos? ( dev-libs/cyrus-sasl[kerberos] ) |
1222 |
- test? ( |
1223 |
- dev-python/pymongo |
1224 |
- dev-python/pyyaml |
1225 |
- )" |
1226 |
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
1227 |
- |
1228 |
-PATCHES=( |
1229 |
- "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" |
1230 |
- "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" |
1231 |
- "${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch" |
1232 |
- "${FILESDIR}/${PN}-3.4.6-sysmacros-include.patch" |
1233 |
- "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch" |
1234 |
-) |
1235 |
- |
1236 |
-S=${WORKDIR}/${MY_P} |
1237 |
- |
1238 |
-pkg_pretend() { |
1239 |
- if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then |
1240 |
- ewarn "To upgrade from a version earlier than the 3.0-series, you must" |
1241 |
- ewarn "successively upgrade major releases until you have upgraded" |
1242 |
- ewarn "to 3.2-series. Then upgrade to 3.4 series." |
1243 |
- fi |
1244 |
-} |
1245 |
- |
1246 |
-pkg_setup() { |
1247 |
- enewgroup mongodb |
1248 |
- enewuser mongodb -1 -1 /var/lib/${PN} mongodb |
1249 |
- |
1250 |
- # Maintainer notes |
1251 |
- # |
1252 |
- # --use-system-tcmalloc is strongly NOT recommended: |
1253 |
- # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
1254 |
- |
1255 |
- scons_opts=( |
1256 |
- CC="$(tc-getCC)" |
1257 |
- CXX="$(tc-getCXX)" |
1258 |
- |
1259 |
- --disable-warnings-as-errors |
1260 |
- --use-system-boost |
1261 |
- --use-system-pcre |
1262 |
- --use-system-snappy |
1263 |
- --use-system-stemmer |
1264 |
- --use-system-yaml |
1265 |
- --use-system-zlib |
1266 |
- ) |
1267 |
- |
1268 |
- # wiredtiger not supported on 32bit platforms #572166 |
1269 |
- use x86 && scons_opts+=( --wiredtiger=off ) |
1270 |
- |
1271 |
- if use debug; then |
1272 |
- scons_opts+=( --dbg=on ) |
1273 |
- fi |
1274 |
- |
1275 |
- if use prefix; then |
1276 |
- scons_opts+=( |
1277 |
- --cpppath="${EPREFIX}/usr/include" |
1278 |
- --libpath="${EPREFIX}/usr/$(get_libdir)" |
1279 |
- ) |
1280 |
- fi |
1281 |
- |
1282 |
- if use kerberos; then |
1283 |
- scons_opts+=( --use-sasl-client ) |
1284 |
- fi |
1285 |
- |
1286 |
- if use ssl; then |
1287 |
- scons_opts+=( --ssl ) |
1288 |
- fi |
1289 |
- |
1290 |
- python-any-r1_pkg_setup |
1291 |
-} |
1292 |
- |
1293 |
-src_compile() { |
1294 |
- # respect mongoDB upstream's basic recommendations |
1295 |
- # see bug #536688 and #526114 |
1296 |
- if ! use debug; then |
1297 |
- filter-flags '-m*' |
1298 |
- filter-flags '-O?' |
1299 |
- fi |
1300 |
- escons "${scons_opts[@]}" core tools |
1301 |
-} |
1302 |
- |
1303 |
-src_install() { |
1304 |
- escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr |
1305 |
- |
1306 |
- local x |
1307 |
- for x in /var/{lib,log}/${PN}; do |
1308 |
- keepdir "${x}" |
1309 |
- fowners mongodb:mongodb "${x}" |
1310 |
- done |
1311 |
- |
1312 |
- doman debian/mongo*.1 |
1313 |
- dodoc README docs/building.md |
1314 |
- |
1315 |
- newinitd "${FILESDIR}/${PN}.initd-r3" ${PN} |
1316 |
- newconfd "${FILESDIR}/${PN}.confd-r3" ${PN} |
1317 |
- newinitd "${FILESDIR}/${PN/db/s}.initd-r3" ${PN/db/s} |
1318 |
- newconfd "${FILESDIR}/${PN/db/s}.confd-r3" ${PN/db/s} |
1319 |
- |
1320 |
- insinto /etc |
1321 |
- newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf |
1322 |
- newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf |
1323 |
- |
1324 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
1325 |
- |
1326 |
- insinto /etc/logrotate.d/ |
1327 |
- newins "${FILESDIR}/${PN}.logrotate" ${PN} |
1328 |
- |
1329 |
- # see bug #526114 |
1330 |
- pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos} |
1331 |
-} |
1332 |
- |
1333 |
-pkg_preinst() { |
1334 |
- # wrt bug #461466 |
1335 |
- if [[ "$(get_libdir)" == "lib64" ]]; then |
1336 |
- rmdir "${ED}"/usr/lib/ &>/dev/null |
1337 |
- fi |
1338 |
-} |
1339 |
- |
1340 |
-src_test() { |
1341 |
- # this one test fails |
1342 |
- rm jstests/core/jsHeapLimit.js || die |
1343 |
- |
1344 |
- "${EPYTHON}" ./buildscripts/resmoke.py --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed" |
1345 |
-} |
1346 |
- |
1347 |
-pkg_postinst() { |
1348 |
- local v |
1349 |
- for v in ${REPLACING_VERSIONS}; do |
1350 |
- if ! version_is_at_least 3.0 ${v}; then |
1351 |
- ewarn "!! IMPORTANT !!" |
1352 |
- ewarn " " |
1353 |
- ewarn "${PN} configuration files have changed !" |
1354 |
- ewarn " " |
1355 |
- ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" |
1356 |
- ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" |
1357 |
- ewarn " " |
1358 |
- ewarn "Make sure you also follow the upgrading process :" |
1359 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" |
1360 |
- ewarn " " |
1361 |
- ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." |
1362 |
- ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." |
1363 |
- ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" |
1364 |
- ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" |
1365 |
- break |
1366 |
- fi |
1367 |
- done |
1368 |
- |
1369 |
- ewarn "Make sure to read the release notes and follow the upgrade process:" |
1370 |
- ewarn " https://docs.mongodb.org/manual/release-notes/3.4/" |
1371 |
- ewarn " https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures" |
1372 |
-} |