1 |
commit: be89302254ff980daedcec2552b68500a2c871e4 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jul 7 09:18:19 2017 +0000 |
4 |
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 31 12:14:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be893022 |
7 |
|
8 |
dev-db/mongodb: bump to 3.0.15 and 3.2.15 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5062 |
12 |
|
13 |
dev-db/mongodb/Manifest | 2 + |
14 |
dev-db/mongodb/mongodb-3.0.15.ebuild | 159 +++++++++++++++++++++++++++++ |
15 |
dev-db/mongodb/mongodb-3.2.15.ebuild | 192 +++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 353 insertions(+) |
17 |
|
18 |
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest |
19 |
index 512a9577fee..39de355282c 100644 |
20 |
--- a/dev-db/mongodb/Manifest |
21 |
+++ b/dev-db/mongodb/Manifest |
22 |
@@ -1,7 +1,9 @@ |
23 |
DIST 20140409-mms-monitoring-agent.zip 40122 SHA256 9c4f89cfba10b4604512ab21eb082248104aeabe7e813b852db2b86f47d7ecb2 SHA512 5290a813c407251b5e4def813ce6fe7e09d6c3a1907fd409e326b15b07aed39f7db3a28710ecdaffe2771136c9433253c5d1857c823844a4b75dd38f1d15eefd WHIRLPOOL ce80870e2618f3d9ed80af41b1069ed5bd97af475089564eed1bc111e820c048bc5cbaa03f859349e772fe232f876127e0627c75c135a9b2e196ab13258ed9f1 |
24 |
DIST mongodb-src-r2.6.12.tar.gz 16462842 SHA256 2dd51eabcfcd133573be74c0131c85b67764042833e7d94077e86adc0b9406dc SHA512 ceed10f2da50ca390f56cc79d39ea4db7a1ef6764e37dae61c3f3f664708be72de09443bbf94f8e58479e4f2923ff2ab9eee45652e82271b3bad591e03ef7657 WHIRLPOOL 1587ef45ee17f9e3357a92b480ea739192076ead280c44c801650d01d2ae29a627a96db611eac6c9b6b47e5e619e2362df94e1792348709b3ea5a4970a8751a0 |
25 |
DIST mongodb-src-r3.0.14.tar.gz 28093922 SHA256 ebbb758ca7ee53e8d25e2410bb7ef61640829566d094cde2487b55e73d0fd880 SHA512 477fab29ca0ad2a0f24b895e30dc4770af8d6a1a57f3c10a02a989b58dd22510db554da0418129d4e81958342ad169696eed4b86bf5aa73916c7cec879db1152 WHIRLPOOL 7fc02969c52954f0fd9b90ace9efd3677a9d6b8d3618b5dedb470343a3ba71789d451cc30a95742b2b9e61b21ffe0f1a23e239e388a497a327f2cc8ed1ed6aef |
26 |
+DIST mongodb-src-r3.0.15.tar.gz 28096395 SHA256 09ad76e06df007085520025c94a5e5840d65f37660c2b359f4962e135e4ae259 SHA512 21cec235a691dad7d1d2c625ef04a851b59223b8f2c0bdc979f2a0b8249ed46b4e62753fd595afa7b74bce13851d1f6547e54d8ffad8ba1f56e36db664f5b27e WHIRLPOOL 18bf58af05dfa23b0156615578e9a880579ad178416cfe6ab1e77c1a11bc82ebfc2b9e274defa3b3e6f97400677cbb3155353d03c75cb799626c29758cd76238 |
27 |
DIST mongodb-src-r3.2.12.tar.gz 29178424 SHA256 406ced873a9abe8a3f0f92939bf5374663bac86c72181c80bec144aedf6cd306 SHA512 0c4ddaaddf15d97957faff46dc4a3f79c545cacc8a56dbe1d063778117ba9b645323b0cb7fd054fae805d092b8372c411a82e3370244b7939bda20a65fdb951c WHIRLPOOL 67673788859ea99752f2e0d1d8c7feb40b004efc344a2a589553675be7f9020ed384cb4a9000bb7eee0059105af364a722f17890ea3f0d38508b8d045db7da75 |
28 |
DIST mongodb-src-r3.2.13.tar.gz 29273616 SHA256 31492b99d12d6363a6ebcbba32269ce9e97dadedda8c470cbff8c1af227e9753 SHA512 649b599da65fc205a6e18cde82da6153fb4c03a21cf679e18fb57f705ac168690a37f9520be1242278bc0fe441fda08f1c10c9924cabc636ba153c545d32f91d WHIRLPOOL f7ac6c5a14814650c4bbb52f25d710613ae3aa4011f2600f4727c0c81d83ec33c9be9ddac594e6a2d1ad4556bc6c9de71d3a11abfb3bd2883322ab85010ae905 |
29 |
+DIST mongodb-src-r3.2.15.tar.gz 29281130 SHA256 6726634f86d5887f9a8f9ae5e9e57d5d27ef219b6154280782d95ab81a2e43d7 SHA512 19ed07d9a71f723730bbfd49adb7b3c91bc9fce875c74d74e50a8c2b82e9755172dd5f7481c00998a444324934185fef10c50b93288d1b1be42fb83ddc61dfe8 WHIRLPOOL c26f6ca7f5874dede615664adb9cf2f19cf23cd0b98bebd42905b06597d8037018b76d5527bbad67b27c0c1aa50c6f1295e8c6d234589012d2c9d3bac99000a1 |
30 |
DIST mongodb-src-r3.4.3.tar.gz 39832718 SHA256 889d49312ed072130936cfa3281123a0e89228c04f3f8e992a0b92669b28d767 SHA512 e2fb5fc2f02e9dbca6c30d2e2aaf1569180ca15198226cdad46f47f44905293afe77763fe2e5c9add0b5bcbd62b7ce7905fb183068c0738cdeeae8d39f848cef WHIRLPOOL ba6fa864249cc80e5f65feaed685980b874b46bcf975142e15fa0eda3e474cc85388920e152474dc5527a30d215c309db6d471c716e6bbe374193ff6016ba22e |
31 |
DIST mongodb-src-r3.4.4.tar.gz 39867133 SHA256 09e962bf3428474b9790bbd464cb6176817f9da6121c30e096240dbb4d51c9f6 SHA512 dbae89b49c363e7258021cd31385e4449bfdfdfd5adfcb1683e4431372731e58ec33bf8f7576d2d52659a52461bd6a32fbc67d5c6e36d52184ec1aabb345d940 WHIRLPOOL 5ad9f80c7f0f597982a32f95365df961fcd80ffa7c04183f9cb4952a52262a27ab09fee4d0115405c5197b6d3848ede56c9a4e5012ec1c358ea8c752164405c2 |
32 |
|
33 |
diff --git a/dev-db/mongodb/mongodb-3.0.15.ebuild b/dev-db/mongodb/mongodb-3.0.15.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..cbb0ca36d68 |
36 |
--- /dev/null |
37 |
+++ b/dev-db/mongodb/mongodb-3.0.15.ebuild |
38 |
@@ -0,0 +1,159 @@ |
39 |
+# Copyright 1999-2017 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=5 |
43 |
+SCONS_MIN_VERSION="2.3.0" |
44 |
+CHECKREQS_DISK_BUILD="2400M" |
45 |
+CHECKREQS_DISK_USR="512M" |
46 |
+CHECKREQS_MEMORY="1024M" |
47 |
+ |
48 |
+inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator check-reqs |
49 |
+ |
50 |
+MY_P=${PN}-src-r${PV/_rc/-rc} |
51 |
+ |
52 |
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
53 |
+HOMEPAGE="http://www.mongodb.org" |
54 |
+SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz" |
55 |
+ |
56 |
+LICENSE="AGPL-3 Apache-2.0" |
57 |
+SLOT="0" |
58 |
+KEYWORDS="~amd64 ~x86" |
59 |
+IUSE="debug kerberos libressl mms-agent ssl +tools" |
60 |
+ |
61 |
+RDEPEND="app-arch/snappy |
62 |
+ >=dev-cpp/yaml-cpp-0.5.1 |
63 |
+ >=dev-libs/boost-1.57[threads(+)] |
64 |
+ >=dev-libs/libpcre-8.39[cxx] |
65 |
+ dev-libs/snowball-stemmer |
66 |
+ net-libs/libpcap |
67 |
+ sys-libs/zlib |
68 |
+ mms-agent? ( app-admin/mms-agent ) |
69 |
+ ssl? ( |
70 |
+ !libressl? ( >=dev-libs/openssl-1.0.1g:0= ) |
71 |
+ libressl? ( dev-libs/libressl:= ) |
72 |
+ )" |
73 |
+DEPEND="${RDEPEND} |
74 |
+ >=sys-devel/gcc-4.8.2:* |
75 |
+ sys-libs/ncurses |
76 |
+ sys-libs/readline |
77 |
+ kerberos? ( dev-libs/cyrus-sasl[kerberos] )" |
78 |
+PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
79 |
+ |
80 |
+S=${WORKDIR}/${MY_P} |
81 |
+ |
82 |
+pkg_setup() { |
83 |
+ enewgroup mongodb |
84 |
+ enewuser mongodb -1 -1 /var/lib/${PN} mongodb |
85 |
+ |
86 |
+ # Maintainer notes |
87 |
+ # |
88 |
+ # --use-system-tcmalloc is strongly NOT recommended: |
89 |
+ # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
90 |
+ # |
91 |
+ # --c++11 is required by scons instead of auto detection: |
92 |
+ # https://jira.mongodb.org/browse/SERVER-19661 |
93 |
+ |
94 |
+ scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX) --c++11" |
95 |
+ scons_opts+=" --disable-warnings-as-errors" |
96 |
+ scons_opts+=" --use-system-boost" |
97 |
+ scons_opts+=" --use-system-pcre" |
98 |
+ scons_opts+=" --use-system-snappy" |
99 |
+ scons_opts+=" --use-system-stemmer" |
100 |
+ scons_opts+=" --use-system-yaml" |
101 |
+ |
102 |
+ if use debug; then |
103 |
+ scons_opts+=" --dbg=on" |
104 |
+ fi |
105 |
+ |
106 |
+ if use prefix; then |
107 |
+ scons_opts+=" --cpppath=${EPREFIX}/usr/include" |
108 |
+ scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)" |
109 |
+ fi |
110 |
+ |
111 |
+ if use kerberos; then |
112 |
+ scons_opts+=" --use-sasl-client" |
113 |
+ fi |
114 |
+ |
115 |
+ if use ssl; then |
116 |
+ scons_opts+=" --ssl" |
117 |
+ fi |
118 |
+} |
119 |
+ |
120 |
+src_prepare() { |
121 |
+ epatch "${FILESDIR}/${PN}-3.0.0-fix-scons.patch" |
122 |
+} |
123 |
+ |
124 |
+src_compile() { |
125 |
+ # respect mongoDB upstream's basic recommendations |
126 |
+ # see bug #536688 and #526114 |
127 |
+ if ! use debug; then |
128 |
+ filter-flags '-m*' |
129 |
+ filter-flags '-O?' |
130 |
+ fi |
131 |
+ escons ${scons_opts} core tools |
132 |
+} |
133 |
+ |
134 |
+src_install() { |
135 |
+ escons ${scons_opts} --nostrip install --prefix="${ED}"/usr |
136 |
+ |
137 |
+ for x in /var/{lib,log}/${PN}; do |
138 |
+ keepdir "${x}" |
139 |
+ fowners mongodb:mongodb "${x}" |
140 |
+ done |
141 |
+ |
142 |
+ doman debian/mongo*.1 |
143 |
+ dodoc README docs/building.md |
144 |
+ |
145 |
+ newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} |
146 |
+ newconfd "${FILESDIR}/${PN}.confd-r2" ${PN} |
147 |
+ newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s} |
148 |
+ newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s} |
149 |
+ |
150 |
+ insinto /etc |
151 |
+ newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf |
152 |
+ newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf |
153 |
+ |
154 |
+ systemd_dounit "${FILESDIR}/${PN}.service" |
155 |
+ |
156 |
+ insinto /etc/logrotate.d/ |
157 |
+ newins "${FILESDIR}/${PN}.logrotate" ${PN} |
158 |
+ |
159 |
+ # see bug #526114 |
160 |
+ pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos} |
161 |
+} |
162 |
+ |
163 |
+pkg_preinst() { |
164 |
+ # wrt bug #461466 |
165 |
+ if [[ "$(get_libdir)" == "lib64" ]]; then |
166 |
+ rmdir "${ED}"/usr/lib/ &>/dev/null |
167 |
+ fi |
168 |
+} |
169 |
+ |
170 |
+src_test() { |
171 |
+ escons ${scons_opts} dbtest |
172 |
+ "${S}"/dbtest --dbpath=unittest || die "dbtest failed" |
173 |
+ escons ${scons_opts} smokeCppUnittests --smokedbprefix="smokecpptest" || die "smokeCppUnittests tests failed" |
174 |
+} |
175 |
+ |
176 |
+pkg_postinst() { |
177 |
+ local v |
178 |
+ for v in ${REPLACING_VERSIONS}; do |
179 |
+ if ! version_is_at_least 3.0 ${v}; then |
180 |
+ ewarn "!! IMPORTANT !!" |
181 |
+ ewarn " " |
182 |
+ ewarn "${PN} configuration files have changed !" |
183 |
+ ewarn " " |
184 |
+ ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" |
185 |
+ ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" |
186 |
+ ewarn " " |
187 |
+ ewarn "Make sure you also follow the upgrading process :" |
188 |
+ ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" |
189 |
+ ewarn " " |
190 |
+ ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." |
191 |
+ ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." |
192 |
+ ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" |
193 |
+ ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" |
194 |
+ break |
195 |
+ fi |
196 |
+ done |
197 |
+} |
198 |
|
199 |
diff --git a/dev-db/mongodb/mongodb-3.2.15.ebuild b/dev-db/mongodb/mongodb-3.2.15.ebuild |
200 |
new file mode 100644 |
201 |
index 00000000000..c7a04e63cca |
202 |
--- /dev/null |
203 |
+++ b/dev-db/mongodb/mongodb-3.2.15.ebuild |
204 |
@@ -0,0 +1,192 @@ |
205 |
+# Copyright 1999-2017 Gentoo Foundation |
206 |
+# Distributed under the terms of the GNU General Public License v2 |
207 |
+ |
208 |
+EAPI=5 |
209 |
+SCONS_MIN_VERSION="2.3.0" |
210 |
+CHECKREQS_DISK_BUILD="2400M" |
211 |
+CHECKREQS_DISK_USR="512M" |
212 |
+CHECKREQS_MEMORY="1024M" |
213 |
+ |
214 |
+inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs |
215 |
+ |
216 |
+MY_P=${PN}-src-r${PV/_rc/-rc} |
217 |
+ |
218 |
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
219 |
+HOMEPAGE="http://www.mongodb.org" |
220 |
+SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" |
221 |
+ |
222 |
+LICENSE="AGPL-3 Apache-2.0" |
223 |
+SLOT="0" |
224 |
+KEYWORDS="~amd64 ~x86" |
225 |
+IUSE="debug kerberos libressl mms-agent ssl test +tools" |
226 |
+ |
227 |
+RDEPEND=">=app-arch/snappy-1.1.2 |
228 |
+ >=dev-cpp/yaml-cpp-0.5.1 |
229 |
+ >=dev-libs/boost-1.57[threads(+)] |
230 |
+ >=dev-libs/libpcre-8.39[cxx] |
231 |
+ dev-libs/snowball-stemmer |
232 |
+ net-libs/libpcap |
233 |
+ >=sys-libs/zlib-1.2.8 |
234 |
+ mms-agent? ( app-admin/mms-agent ) |
235 |
+ ssl? ( |
236 |
+ !libressl? ( >=dev-libs/openssl-1.0.1g:0= ) |
237 |
+ libressl? ( dev-libs/libressl:0= ) |
238 |
+ )" |
239 |
+DEPEND="${RDEPEND} |
240 |
+ >=sys-devel/gcc-4.8.2:* |
241 |
+ sys-libs/ncurses |
242 |
+ sys-libs/readline |
243 |
+ debug? ( dev-util/valgrind ) |
244 |
+ kerberos? ( dev-libs/cyrus-sasl[kerberos] ) |
245 |
+ test? ( |
246 |
+ dev-python/pymongo |
247 |
+ dev-python/pyyaml |
248 |
+ )" |
249 |
+PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
250 |
+ |
251 |
+S=${WORKDIR}/${MY_P} |
252 |
+ |
253 |
+pkg_pretend() { |
254 |
+ if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then |
255 |
+ ewarn "To upgrade an existing MongoDB deployment to 3.2, you must be" |
256 |
+ ewarn "running a 3.0-series release. Please update to the latest 3.0" |
257 |
+ ewarn "release before continuing if wish to keep your data." |
258 |
+ fi |
259 |
+} |
260 |
+ |
261 |
+pkg_setup() { |
262 |
+ enewgroup mongodb |
263 |
+ enewuser mongodb -1 -1 /var/lib/${PN} mongodb |
264 |
+ |
265 |
+ # Maintainer notes |
266 |
+ # |
267 |
+ # --use-system-tcmalloc is strongly NOT recommended: |
268 |
+ # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
269 |
+ |
270 |
+ scons_opts=( |
271 |
+ CC="$(tc-getCC)" |
272 |
+ CXX="$(tc-getCXX)" |
273 |
+ |
274 |
+ --disable-warnings-as-errors |
275 |
+ --use-system-boost |
276 |
+ --use-system-pcre |
277 |
+ --use-system-snappy |
278 |
+ --use-system-stemmer |
279 |
+ --use-system-yaml |
280 |
+ --use-system-zlib |
281 |
+ ) |
282 |
+ |
283 |
+ # wiredtiger not supported on 32bit platforms #572166 |
284 |
+ use x86 && scons_opts+=( --wiredtiger=off ) |
285 |
+ |
286 |
+ if use debug; then |
287 |
+ scons_opts+=( --dbg=on ) |
288 |
+ fi |
289 |
+ |
290 |
+ if use prefix; then |
291 |
+ scons_opts+=( |
292 |
+ --cpppath="${EPREFIX}/usr/include" |
293 |
+ --libpath="${EPREFIX}/usr/$(get_libdir)" |
294 |
+ ) |
295 |
+ fi |
296 |
+ |
297 |
+ if use kerberos; then |
298 |
+ scons_opts+=( --use-sasl-client ) |
299 |
+ fi |
300 |
+ |
301 |
+ if use ssl; then |
302 |
+ scons_opts+=( --ssl ) |
303 |
+ fi |
304 |
+} |
305 |
+ |
306 |
+src_prepare() { |
307 |
+ epatch \ |
308 |
+ "${FILESDIR}/${PN}-3.2.0-fix-scons.patch" \ |
309 |
+ "${FILESDIR}/${PN}-3.2.4-boost-1.60.patch" |
310 |
+ if has_version ">=dev-libs/boost-1.62"; then |
311 |
+ epatch "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" |
312 |
+ fi |
313 |
+ epatch_user |
314 |
+} |
315 |
+ |
316 |
+src_compile() { |
317 |
+ # respect mongoDB upstream's basic recommendations |
318 |
+ # see bug #536688 and #526114 |
319 |
+ if ! use debug; then |
320 |
+ filter-flags '-m*' |
321 |
+ filter-flags '-O?' |
322 |
+ fi |
323 |
+ escons "${scons_opts[@]}" core tools |
324 |
+} |
325 |
+ |
326 |
+src_install() { |
327 |
+ escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr |
328 |
+ |
329 |
+ for x in /var/{lib,log}/${PN}; do |
330 |
+ keepdir "${x}" |
331 |
+ fowners mongodb:mongodb "${x}" |
332 |
+ done |
333 |
+ |
334 |
+ doman debian/mongo*.1 |
335 |
+ dodoc README docs/building.md |
336 |
+ |
337 |
+ newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} |
338 |
+ newconfd "${FILESDIR}/${PN}.confd-r2" ${PN} |
339 |
+ newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s} |
340 |
+ newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s} |
341 |
+ |
342 |
+ insinto /etc |
343 |
+ newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf |
344 |
+ newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf |
345 |
+ |
346 |
+ systemd_dounit "${FILESDIR}/${PN}.service" |
347 |
+ |
348 |
+ insinto /etc/logrotate.d/ |
349 |
+ newins "${FILESDIR}/${PN}.logrotate" ${PN} |
350 |
+ |
351 |
+ # see bug #526114 |
352 |
+ pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos} |
353 |
+} |
354 |
+ |
355 |
+pkg_preinst() { |
356 |
+ # wrt bug #461466 |
357 |
+ if [[ "$(get_libdir)" == "lib64" ]]; then |
358 |
+ rmdir "${ED}"/usr/lib/ &>/dev/null |
359 |
+ fi |
360 |
+} |
361 |
+ |
362 |
+src_test() { |
363 |
+ # this one test fails |
364 |
+ rm jstests/core/repl_write_threads_start_param.js |
365 |
+ |
366 |
+ ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die "Tests failed" |
367 |
+} |
368 |
+ |
369 |
+pkg_postinst() { |
370 |
+ local v |
371 |
+ for v in ${REPLACING_VERSIONS}; do |
372 |
+ if ! version_is_at_least 3.0 ${v}; then |
373 |
+ ewarn "!! IMPORTANT !!" |
374 |
+ ewarn " " |
375 |
+ ewarn "${PN} configuration files have changed !" |
376 |
+ ewarn " " |
377 |
+ ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" |
378 |
+ ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" |
379 |
+ ewarn " " |
380 |
+ ewarn "Make sure you also follow the upgrading process :" |
381 |
+ ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" |
382 |
+ ewarn " " |
383 |
+ ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." |
384 |
+ ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." |
385 |
+ ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" |
386 |
+ ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" |
387 |
+ break |
388 |
+ fi |
389 |
+ done |
390 |
+ |
391 |
+ ewarn "Make sure to read the release notes and follow the upgrade process:" |
392 |
+ ewarn " https://docs.mongodb.org/manual/release-notes/3.2/" |
393 |
+ ewarn " https://docs.mongodb.org/master/release-notes/3.2-upgrade/" |
394 |
+ ewarn |
395 |
+ ewarn " Starting in 3.2, MongoDB uses the WiredTiger as the default storage engine." |
396 |
+} |