[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2024-05-30 Thread Alexys Jacob
commit: 6f7385468e9c387af5c97075d9e2ede8cf582c7a
Author: Alexys Jacob  gentoo  org>
AuthorDate: Thu May 30 06:46:17 2024 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Thu May 30 06:46:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f738546

dev-db/mongodb: drop 4.4.20, 5.0.16-r1

Signed-off-by: Alexys Jacob  gentoo.org>

 dev-db/mongodb/Manifest |   2 -
 dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch |  25 ---
 dev-db/mongodb/mongodb-4.4.20.ebuild| 186 --
 dev-db/mongodb/mongodb-5.0.16-r1.ebuild | 197 
 4 files changed, 410 deletions(-)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index d432e2c66186..0d19b4137668 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -1,4 +1,2 @@
 DIST mongodb-4.4.29.gh.tar.gz 51651007 BLAKE2B 
9e9bd08ce87659fcf788964ec1bff80baef5bb9c2f5bd4968588511d289b9baf9fc68812f72ee89f90fb557dcc8d2ecbb3f607ca8e31c2212ec9633c0b99da37
 SHA512 
3c32a918c8b5587b04ee9263788c250a9bbd64f34ed2c19939e78607456215697966e596c2cfd160604b629188e4bdf3fff071db268bb3c25de3077a7c2ef335
 DIST mongodb-5.0.26.gh.tar.gz 57252091 BLAKE2B 
a4663a4dbac90118b56646816b178680a6bd99be6abb582fdfdb662c8ddf14eb9db18ed97260a37b2d04bf11715e6cfaa34bb12c4f4b08426e3afa90908f0b3c
 SHA512 
efd56649006bb61070a2f255e8d843e4ddab33562ec9454afe55848dcc3ce8ee90431f70c9362b14e52c4a49a162ea3075a869a6fd71f63efdd5f4358703fea4
-DIST mongodb-src-r4.4.20.tar.gz 50883098 BLAKE2B 
3ef2fddc4d926e372033449a14b0a71c606b6f8a9bb6767ff32c8da5a9287bf2972fae9dd83eab3ad934b1341c3edeed7708afd46f9a096819e9eca48aca40f5
 SHA512 
70b264b6a6f3ec16c8b0750d47026928f6250cb7a1a64d980c400ffbcc3af1b9c6301fe098d209fb8461cba4534b7c2edffdcdeb0548e627da107cc23d9a6b9c
-DIST mongodb-src-r5.0.16.tar.gz 56217257 BLAKE2B 
d78704c0cff4f8c1da20fdc5e083634c6dbe539136de58410ae6b86c9c5cd8044926425545ae07a7011a5febec5abb6f67773b8e539a4ac16daa1ad0ffc6a070
 SHA512 
d5fccd6cd3ee3f70457bd96a8eff66ca9872df37e196f1baf26993b6c080297d77504020e5554eaf3a2e92bb2730a467226b4bef47ab7fdc4de247d91c0143eb

diff --git a/dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch 
b/dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch
deleted file mode 100644
index 00b82aca94fc..
--- a/dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://cgit.openembedded.org/meta-openembedded-contrib/commit/?id=856c21b061e000640829e158b9bb9e978a974386
-
-From 5d8218b8a1b5bc71e2a0cf543a000e194daba599 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sun, 29 Jan 2023 17:15:30 -0800
-Subject: [PATCH] free_mon: Include missing 
-
-gcc 13 moved some includes around and as a result  is no
-longer transitively included [1]. Explicitly include it
-for uintXX_t.
-
-[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
-
-Signed-off-by: Khem Raj 
 a/src/mongo/db/free_mon/free_mon_options.h
-+++ b/src/mongo/db/free_mon/free_mon_options.h
-@@ -29,6 +29,7 @@
- 
- #pragma once
- 
-+#include 
- #include 
- #include 
- 
-

diff --git a/dev-db/mongodb/mongodb-4.4.20.ebuild 
b/dev-db/mongodb/mongodb-4.4.20.ebuild
deleted file mode 100644
index 12cef7fbaaa0..
--- a/dev-db/mongodb/mongodb-4.4.20.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-SCONS_MIN_VERSION="3.3.1"
-CHECKREQS_DISK_BUILD="2400M"
-CHECKREQS_DISK_USR="512M"
-CHECKREQS_MEMORY="1024M"
-
-inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 
scons-utils systemd toolchain-funcs
-
-MY_P=${PN}-src-r${PV/_rc/-rc}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="https://www.mongodb.com;
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz;
-
-LICENSE="Apache-2.0 SSPL-1"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 -riscv"
-IUSE="debug kerberos ssl test +tools"
-RESTRICT="!test? ( test )"
-
-RDEPEND="acct-group/mongodb
-   acct-user/mongodb
-   >=app-arch/snappy-1.1.3:=
-   >=dev-cpp/yaml-cpp-0.6.2:=
-   dev-libs/boost:=[nls]
-   >=dev-libs/libpcre-8.42[cxx]
-   app-arch/zstd:=
-   dev-libs/snowball-stemmer:=
-   net-libs/libpcap
-   >=sys-libs/zlib-1.2.11:=
-   kerberos? ( dev-libs/cyrus-sasl[kerberos] )
-   ssl? (
-   >=dev-libs/openssl-1.0.1g:0=
-   )"
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   sys-libs/ncurses:0=
-   sys-libs/readline:0=
-   debug? ( dev-debug/valgrind )"
-BDEPEND="
-   $(python_gen_any_dep '
-   test? ( dev-python/pymongo[${PYTHON_USEDEP}] 
dev-python/requests[${PYTHON_USEDEP}] )
-   >=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
-   dev-python/cheetah3[${PYTHON_USEDEP}]
-   dev-python/psutil[${PYTHON_USEDEP}]
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   ')
-"
-PDEPEND="tools? 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2024-05-27 Thread Sam James
commit: 4f2c752ff3afb0952991e09cb7fb4947b57df06f
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 01:38:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 01:38:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2c752f

dev-db/mongodb: fix build w/ boost-1.85

Closes: https://bugs.gentoo.org/932251
Thanks-to: Jura  slie.ru>
Signed-off-by: Sam James  gentoo.org>

 .../mongodb/files/mongodb-5.0.26-boost-1.85.patch  | 139 +
 dev-db/mongodb/mongodb-5.0.26.ebuild   |   1 +
 2 files changed, 140 insertions(+)

diff --git a/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch 
b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch
new file mode 100644
index ..71da50fe21eb
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-5.0.26-boost-1.85.patch
@@ -0,0 +1,139 @@
+https://bugs.gentoo.org/932251
+https://github.com/mongodb/mongo/commit/f8e4be7f6da71f978b2aa9991febb4c7ad89c903#diff-010644a9158d28e5745762753c7ce45c9fb9ab4c684e9f2fdcff50c6f539
+https://bugs.gentoo.org/932251#c3
+
+--- a/src/mongo/db/initialize_server_global_state.cpp
 b/src/mongo/db/initialize_server_global_state.cpp
+@@ -34,7 +34,7 @@
+ #include "mongo/db/initialize_server_global_state.h"
+ #include "mongo/db/initialize_server_global_state_gen.h"
+ 
+-#include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -328,7 +328,7 @@
+ << "\" should name a file, not a 
directory.");
+ }
+ 
+-if (!serverGlobalParams.logAppend && 
boost::filesystem::is_regular(absoluteLogpath)) {
++if (!serverGlobalParams.logAppend && 
boost::filesystem::is_regular_file(absoluteLogpath)) {
+ std::string renameTarget = absoluteLogpath + "." + 
terseCurrentTimeForFilename();
+ boost::system::error_code ec;
+ boost::filesystem::rename(absoluteLogpath, renameTarget, ec);
+--- a/src/mongo/db/startup_warnings_mongod.cpp
 b/src/mongo/db/startup_warnings_mongod.cpp
+@@ -34,6 +34,7 @@
+ #include "mongo/db/startup_warnings_mongod.h"
+ 
+ #include 
++#include 
+ #include 
+ #ifndef _WIN32
+ #include 
+--- a/src/mongo/db/storage/storage_engine_lock_file_posix.cpp
 b/src/mongo/db/storage/storage_engine_lock_file_posix.cpp
+@@ -55,7 +55,7 @@
+ // if called without a fully qualified path it asserts; that makes 
mongoperf fail.
+ // so make a warning. need a better solution longer term.
+ // massert(40389, str::stream() << "Couldn't find parent dir for file: " 
<< file.string(),);
+-if (!file.has_branch_path()) {
++if (!file.has_parent_path()) {
+ LOGV2(22274,
+   "warning flushMyDirectory couldn't find parent dir for file: 
{file}",
+   "flushMyDirectory couldn't find parent dir for file",
+@@ -64,7 +64,7 @@
+ }
+ 
+ 
+-boost::filesystem::path dir = file.branch_path();  // parent_path in new 
boosts
++boost::filesystem::path dir = file.parent_path();  // parent_path in new 
boosts
+ 
+ LOGV2_DEBUG(22275, 1, "flushing directory {dir_string}", 
"dir_string"_attr = dir.string());
+ 
+--- a/src/mongo/db/storage/storage_engine_metadata.cpp
 b/src/mongo/db/storage/storage_engine_metadata.cpp
+@@ -220,7 +220,7 @@
+ // if called without a fully qualified path it asserts; that makes 
mongoperf fail.
+ // so make a warning. need a better solution longer term.
+ // massert(13652, str::stream() << "Couldn't find parent dir for file: " 
<< file.string(),);
+-if (!file.has_branch_path()) {
++if (!file.has_parent_path()) {
+ LOGV2(22283,
+   "warning flushMyDirectory couldn't find parent dir for file: 
{file}",
+   "flushMyDirectory couldn't find parent dir for file",
+@@ -229,7 +229,7 @@
+ }
+ 
+ 
+-boost::filesystem::path dir = file.branch_path();  // parent_path in new 
boosts
++boost::filesystem::path dir = file.parent_path();  // parent_path in new 
boosts
+ 
+ LOGV2_DEBUG(22284, 1, "flushing directory {dir_string}", 
"dir_string"_attr = dir.string());
+ 
+--- a/src/mongo/scripting/engine.cpp
 b/src/mongo/scripting/engine.cpp
+@@ -35,6 +35,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #include "mongo/base/string_data.h"
+ #include "mongo/client/dbclient_base.h"
+--- a/src/mongo/shell/shell_utils_launcher.cpp
 b/src/mongo/shell/shell_utils_launcher.cpp
+@@ -39,6 +39,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -947,26 +948,26 @@
+ boost::filesystem::directory_iterator i(from);
+ while (i != end) {
+ boost::filesystem::path p = *i;
+-if (p.leaf() == "metrics.interim" || p.leaf() == 
"metrics.interim.temp") {
++if (p.filename() == "metrics.interim" || p.filename() == 
"metrics.interim.temp") {
+ // Ignore any errors for metrics.interim* files as these may 
disappear during copy
+ boost::system::error_code 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2023-05-23 Thread Sam James
commit: 20580b5f864c79f89e85244d6312887cbcd9442b
Author: Sam James  gentoo  org>
AuthorDate: Tue May 23 13:24:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 23 13:25:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20580b5f

dev-db/mongodb: fix build w/ arm64+gcc-12

Closes: https://bugs.gentoo.org/855128
Signed-off-by: Sam James  gentoo.org>

 dev-db/mongodb/files/mongodb-5.0.16-arm64-assert.patch | 16 
 dev-db/mongodb/mongodb-5.0.16-r1.ebuild|  1 +
 2 files changed, 17 insertions(+)

diff --git a/dev-db/mongodb/files/mongodb-5.0.16-arm64-assert.patch 
b/dev-db/mongodb/files/mongodb-5.0.16-arm64-assert.patch
new file mode 100644
index ..6a6b9f14afe0
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-5.0.16-arm64-assert.patch
@@ -0,0 +1,16 @@
+The upstream patch for this is far too big to backport, so for now, just drop
+the assert given it's somewhat harmless compared to not being able to build at 
all.
+
+https://jira.mongodb.org/browse/SERVER-65664
+https://bugs.gentoo.org/855128
+--- a/src/mongo/db/stats/counters.h
 b/src/mongo/db/stats/counters.h
+@@ -221,8 +221,6 @@ private:
+ AtomicWord requests{0};
+ };
+ CacheAligned _together{};
+-static_assert(sizeof(decltype(_together)) <= 
stdx::hardware_constructive_interference_size,
+-  "cache line spill");
+ 
+ CacheAligned> _logicalBytesOut{0};
+ 

diff --git a/dev-db/mongodb/mongodb-5.0.16-r1.ebuild 
b/dev-db/mongodb/mongodb-5.0.16-r1.ebuild
index a0fc28ebe45c..95e24df12a4f 100644
--- a/dev-db/mongodb/mongodb-5.0.16-r1.ebuild
+++ b/dev-db/mongodb/mongodb-5.0.16-r1.ebuild
@@ -72,6 +72,7 @@ PATCHES=(
"${FILESDIR}/${PN}-4.4.10-boost-1.81.patch"
"${FILESDIR}/${PN}-5.0.5-boost-1.81-extra.patch"
"${FILESDIR}/${PN}-4.4.8-gcc-13.patch"
+   "${FILESDIR}/${PN}-5.0.16-arm64-assert.patch"
 )
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2023-05-16 Thread Alexys Jacob
commit: 373884b1a0e0752b796de79c3afd02545bc68240
Author: Alexys Jacob  gentoo  org>
AuthorDate: Tue May 16 07:52:45 2023 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Tue May 16 07:53:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=373884b1

dev-db/mongodb: drop 4.4.10-r1, 5.0.5-r2

Signed-off-by: Alexys Jacob  gentoo.org>

 dev-db/mongodb/Manifest|   2 -
 .../mongodb/files/mongodb-5.0.2-glibc-2.34.patch   |  16 --
 dev-db/mongodb/files/mongodb.service   |  10 --
 dev-db/mongodb/mongodb-4.4.10-r1.ebuild| 187 
 dev-db/mongodb/mongodb-5.0.5-r2.ebuild | 194 -
 5 files changed, 409 deletions(-)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index aaa2d2a28079..259768739a73 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -1,4 +1,2 @@
-DIST mongodb-src-r4.4.10.tar.gz 50636024 BLAKE2B 
4b840e1a17b3fcba32d30c649d981b1e2b1d5dd98deab99be599fd5d2aa70b75ff4225542d8da095ec4cb4615f9fa455129d71ed39549efde0a025d7dac4
 SHA512 
afc04f90e03ec64fd74bdfe2bf33aaa5fc148811af91a8437dfb81fd3a784eedd80128886db99e247ec7e09dc5a73cf34f908ab927942648e15c8f12af6b64e2
 DIST mongodb-src-r4.4.20.tar.gz 50883098 BLAKE2B 
3ef2fddc4d926e372033449a14b0a71c606b6f8a9bb6767ff32c8da5a9287bf2972fae9dd83eab3ad934b1341c3edeed7708afd46f9a096819e9eca48aca40f5
 SHA512 
70b264b6a6f3ec16c8b0750d47026928f6250cb7a1a64d980c400ffbcc3af1b9c6301fe098d209fb8461cba4534b7c2edffdcdeb0548e627da107cc23d9a6b9c
 DIST mongodb-src-r5.0.16.tar.gz 56217257 BLAKE2B 
d78704c0cff4f8c1da20fdc5e083634c6dbe539136de58410ae6b86c9c5cd8044926425545ae07a7011a5febec5abb6f67773b8e539a4ac16daa1ad0ffc6a070
 SHA512 
d5fccd6cd3ee3f70457bd96a8eff66ca9872df37e196f1baf26993b6c080297d77504020e5554eaf3a2e92bb2730a467226b4bef47ab7fdc4de247d91c0143eb
-DIST mongodb-src-r5.0.5.tar.gz 54862473 BLAKE2B 
aafa693da904177a11067603f3835e2ee69abcdb206c2d36983633baa6008b861efeb590880098557e224cd7d6ac8fb23e4e9c63724d76bf90422862c99cdfe9
 SHA512 
318e58285c8a88fc3a4467ba8c1e6487a2aec403db02c50dbdb53df9a6671b9ea2417c8ee8212b205d642327d0d4bdd76f4bc9543c47e53115dfb981ef73f63e

diff --git a/dev-db/mongodb/files/mongodb-5.0.2-glibc-2.34.patch 
b/dev-db/mongodb/files/mongodb-5.0.2-glibc-2.34.patch
deleted file mode 100644
index b9c5241be374..
--- a/dev-db/mongodb/files/mongodb-5.0.2-glibc-2.34.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/src/mongo/stdx/thread.h b/src/mongo/stdx/thread.h
-index 7b15bb56..4d8f73ad 100644
 a/src/mongo/stdx/thread.h
-+++ b/src/mongo/stdx/thread.h
-@@ -105,10 +105,7 @@ private:
- //   . N   Y :  4,344 |  13,048 | 7,352
- //   . Y   Y :  4,424 |  13,672 | 8,392
- //   ( 
https://jira.mongodb.org/secure/attachment/233569/233569_stacktrace-writeup.txt 
)
--static constexpr std::size_t kMongoMinSignalStackSize = std::size_t{64} 
<< 10;
--
--static constexpr std::size_t kStackSize =
--std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ});
-+static constexpr std::size_t kStackSize = std::size_t{64} << 10;
- std::unique_ptr _stackStorage = 
std::make_unique(kStackSize);
- 
- #else   // !MONGO_HAS_SIGALTSTACK

diff --git a/dev-db/mongodb/files/mongodb.service 
b/dev-db/mongodb/files/mongodb.service
deleted file mode 100644
index 78d551183838..
--- a/dev-db/mongodb/files/mongodb.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=High-performance, schema-free document-oriented database
-After=network.target
-
-[Service]
-User=mongodb
-ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf
-
-[Install]
-WantedBy=multi-user.target

diff --git a/dev-db/mongodb/mongodb-4.4.10-r1.ebuild 
b/dev-db/mongodb/mongodb-4.4.10-r1.ebuild
deleted file mode 100644
index 22874d9fd185..
--- a/dev-db/mongodb/mongodb-4.4.10-r1.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-SCONS_MIN_VERSION="3.3.1"
-CHECKREQS_DISK_BUILD="2400M"
-CHECKREQS_DISK_USR="512M"
-CHECKREQS_MEMORY="1024M"
-
-inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 
scons-utils systemd toolchain-funcs
-
-MY_P=${PN}-src-r${PV/_rc/-rc}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="https://www.mongodb.com;
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz;
-
-LICENSE="Apache-2.0 SSPL-1"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 -riscv"
-IUSE="debug kerberos lto ssl test +tools"
-RESTRICT="!test? ( test )"
-
-RDEPEND="acct-group/mongodb
-   acct-user/mongodb
-   >=app-arch/snappy-1.1.3:=
-   >=dev-cpp/yaml-cpp-0.6.2:=
-   dev-libs/boost:=[nls]
-   >=dev-libs/libpcre-8.42[cxx]
-   app-arch/zstd:=
-   dev-libs/snowball-stemmer:=
-   net-libs/libpcap
-   

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2022-12-30 Thread Sam James
commit: 9eb857b35fcd0c1f67a45ec33a35782e71c09d57
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 30 20:22:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 30 20:22:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eb857b3

dev-db/mongodb: drop 4.2.17-r2, 4.2.23

Signed-off-by: Sam James  gentoo.org>

 dev-db/mongodb/Manifest|   2 -
 dev-db/mongodb/files/mongodb-4.2.0-fix-scons.patch |  30 
 .../mongodb/files/mongodb-4.2.15-no-compass.patch  |  45 -
 .../mongodb/files/mongodb-4.2.17-boost-1.79.patch  |  41 -
 dev-db/mongodb/mongodb-4.2.17-r2.ebuild| 184 -
 dev-db/mongodb/mongodb-4.2.23.ebuild   | 183 
 6 files changed, 485 deletions(-)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index b2ee764c3abe..b78b40d9e568 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -1,5 +1,3 @@
-DIST mongodb-src-r4.2.17.tar.gz 62216350 BLAKE2B 
48169685a25fe00b5a1985bce1e65e13d1dc9c0a56ece6b9c735d8cd212d9c0c5e2912d593bdda351cceda49c8ed7962db42ca37814f88e0bf927066a2d8241b
 SHA512 
ad5448aa6ea232746fdbc7107bd642e827fb7b9182c075f204722e7f625cbc83e7b0a199d2feb56bf27a8851bb38f9740abf0b38c022ddc92e676e7a2d81aef6
-DIST mongodb-src-r4.2.23.tar.gz 62276834 BLAKE2B 
bb3dfee47ece9a5cc43e10a322b7191709d32bcfcb9659b08a6412d60a83eaf2d8bc4b5784e99d8fc95be643498212d512a11dc93052f02086456a2d2e565da3
 SHA512 
5c0b341b0700af9f3682e63912569dd4063d8cff85c35f9e19d5882291f62bb1a56f85666278fe38f1bd7f06a46b8423c5e90969be5bb595281d883256c8def4
 DIST mongodb-src-r4.4.10.tar.gz 50636024 BLAKE2B 
4b840e1a17b3fcba32d30c649d981b1e2b1d5dd98deab99be599fd5d2aa70b75ff4225542d8da095ec4cb4615f9fa455129d71ed39549efde0a025d7dac4
 SHA512 
afc04f90e03ec64fd74bdfe2bf33aaa5fc148811af91a8437dfb81fd3a784eedd80128886db99e247ec7e09dc5a73cf34f908ab927942648e15c8f12af6b64e2
 DIST mongodb-src-r4.4.8.tar.gz 50492854 BLAKE2B 
4776b17e88104879ea69468ff277b07dc317d936654bb26c69750e0aaf8f51bea73994e7fc4841228d8506db392e0454b5fd16257071b86a2e4ad34e90f33632
 SHA512 
9b0cd81c9c731255a6c079c040ed342a51a72e3ea72047d3ae959c0afde50b0cdb1fcfe7fcbea30c449a3618a09d213752277cee6eb9bc0a55915b9229543606
 DIST mongodb-src-r5.0.5.tar.gz 54862473 BLAKE2B 
aafa693da904177a11067603f3835e2ee69abcdb206c2d36983633baa6008b861efeb590880098557e224cd7d6ac8fb23e4e9c63724d76bf90422862c99cdfe9
 SHA512 
318e58285c8a88fc3a4467ba8c1e6487a2aec403db02c50dbdb53df9a6671b9ea2417c8ee8212b205d642327d0d4bdd76f4bc9543c47e53115dfb981ef73f63e

diff --git a/dev-db/mongodb/files/mongodb-4.2.0-fix-scons.patch 
b/dev-db/mongodb/files/mongodb-4.2.0-fix-scons.patch
deleted file mode 100644
index 3c929df6f964..
--- a/dev-db/mongodb/files/mongodb-4.2.0-fix-scons.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 a/SConstruct   2019-08-21 09:25:00.980260318 +0200
-+++ b/SConstruct   2019-08-21 09:27:53.653601283 +0200
-@@ -1858,7 +1858,6 @@
- # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is 
found in the search path but can't be used.
- env.Append( CCFLAGS=["-fno-omit-frame-pointer",
-  "-fno-strict-aliasing",
-- "-ggdb" if not env.TargetOSIs('emscripten') else 
"-g",
-  "-pthread",
-  "-Wall",
-  "-Wsign-compare",
-@@ -1870,6 +1869,8 @@
- env.Append( CCFLAGS=["-Werror"] )
- 
- env.Append( CXXFLAGS=["-Woverloaded-virtual"] )
-+env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
-+env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
- if env.ToolchainIs('clang'):
- env.Append( CXXFLAGS=['-Werror=unused-result'] )
- 
-@@ -1890,8 +1891,8 @@
- 
- env.Append( LIBS=[] )
- 
--#make scons colorgcc friendly
--for key in ('HOME', 'TERM'):
-+#make scons colorgcc, distcc, ccache friendly
-+for key in ('HOME', 'PATH', 'TERM'):
- try:
- env['ENV'][key] = os.environ[key]
- except KeyError:

diff --git a/dev-db/mongodb/files/mongodb-4.2.15-no-compass.patch 
b/dev-db/mongodb/files/mongodb-4.2.15-no-compass.patch
deleted file mode 100644
index de2eda82f213..
--- a/dev-db/mongodb/files/mongodb-4.2.15-no-compass.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff --git a/src/mongo/SConscript b/src/mongo/SConscript
-index 0379fcb0..1aabddba 100644
 a/src/mongo/SConscript
-+++ b/src/mongo/SConscript
-@@ -808,32 +808,6 @@ for full_dir, archive_dir in 
list(env["ARCHIVE_ADDITION_DIR_MAP"].items()):
- for target in env["DIST_BINARIES"]:
- installBinary(env, "db/modules/" + target)
- 
--compass_script = "install_compass"
--if env.TargetOSIs('windows'):
--# On windows the .in needs to be explicitly added to the file.
--compass_script = "Install-Compass.ps1"
--
--compass_installer = f"#/src/mongo/installer/compass/{compass_script}"
--
--distBinaries.append(compass_installer)
--
--if not hygienic:
--

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2022-06-18 Thread Sam James
commit: 79a3c0438c8f3885fb8d5840263b36c8ebd80f4f
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 18 17:17:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 17:17:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a3c043

dev-db/mongodb: don't force LLD

See patch for details.

Closes: https://bugs.gentoo.org/769986
Signed-off-by: Sam James  gentoo.org>

 .../files/mongodb-4.4.10-no-force-lld.patch| 29 +
 .../mongodb/files/mongodb-5.0.5-no-force-lld.patch | 49 ++
 dev-db/mongodb/mongodb-4.4.10-r1.ebuild|  1 +
 dev-db/mongodb/mongodb-5.0.5-r2.ebuild |  1 +
 4 files changed, 80 insertions(+)

diff --git a/dev-db/mongodb/files/mongodb-4.4.10-no-force-lld.patch 
b/dev-db/mongodb/files/mongodb-4.4.10-no-force-lld.patch
new file mode 100644
index ..471f3e226820
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-4.4.10-no-force-lld.patch
@@ -0,0 +1,29 @@
+Don't automagically force lld > gold > bfd. Leave it up to the user.
+
+In particular, avoids issues with LTO enabled (via the flag/scons option)
+where using GCC as compiler, as lld can't do LTO with GCC.
+
+https://bugs.gentoo.org/769986
+--- a/SConstruct
 b/SConstruct
+@@ -3109,20 +3109,6 @@ def doConfigure(myenv):
+ myenv.Append( CCFLAGS=["/Zc:inline"])
+ 
+ if myenv.ToolchainIs('gcc', 'clang'):
+-# This tells clang/gcc to use the gold linker if it is available - we 
prefer the gold linker
+-# because it is much faster. Don't use it if the user has already 
configured another linker
+-# selection manually.
+-if not any(flag.startswith('-fuse-ld=') for flag in env['LINKFLAGS']):
+-
+-# lld has problems with separate debug info on some platforms. 
See:
+-# - https://bugzilla.mozilla.org/show_bug.cgi?id=1485556
+-# - https://bugzilla.mozilla.org/show_bug.cgi?id=1485556
+-if get_option('separate-debug') == 'off':
+-if not AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=lld'):
+-AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=gold')
+-else:
+-AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=gold')
+-
+ # Usually, --gdb-index is too expensive in big static binaries, but 
for dynamic
+ # builds it works well.
+ if link_model.startswith("dynamic"):

diff --git a/dev-db/mongodb/files/mongodb-5.0.5-no-force-lld.patch 
b/dev-db/mongodb/files/mongodb-5.0.5-no-force-lld.patch
new file mode 100644
index ..6ce92778b6bd
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-5.0.5-no-force-lld.patch
@@ -0,0 +1,49 @@
+Don't automagically force lld > gold > bfd. Leave it up to the user.
+
+In particular, avoids issues with LTO enabled (via the flag/scons option)
+where using GCC as compiler, as lld can't do LTO with GCC.
+
+https://bugs.gentoo.org/769986
+--- a/SConstruct
 b/SConstruct
+@@ -2824,40 +2824,6 @@ def doConfigure(myenv):
+ def AddToSHLINKFLAGSIfSupported(env, flag):
+ return AddFlagIfSupported(env, 'C', '.c', flag, True, 
SHLINKFLAGS=[flag])
+ 
+-if myenv.ToolchainIs('gcc', 'clang'):
+-# This tells clang/gcc to use the gold linker if it is available - we 
prefer the gold linker
+-# because it is much faster. Don't use it if the user has already 
configured another linker
+-# selection manually.
+-if any(flag.startswith('-fuse-ld=') for flag in env['LINKFLAGS']):
+-myenv.FatalError(f"Use the '--linker' option instead of modifying 
the LINKFLAGS directly.")
+-
+-linker_ld = get_option('linker')
+-if linker_ld == 'auto':
+-# lld has problems with separate debug info on some platforms. 
See:
+-# - https://bugzilla.mozilla.org/show_bug.cgi?id=1485556
+-# - https://bugzilla.mozilla.org/show_bug.cgi?id=1485556
+-#
+-# lld also apparently has problems with symbol resolution
+-# in some esoteric configurations that apply for us when
+-# using --link-model=dynamic mode, so disable lld there
+-# too. See:
+-# - https://bugs.llvm.org/show_bug.cgi?id=46676
+-#
+-# We should revisit all of these issues the next time we upgrade 
our clang minimum.
+-if get_option('separate-debug') == 'off' and 
get_option('link-model') != 'dynamic':
+-if not AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=lld'):
+-AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=gold')
+-else:
+-AddToLINKFLAGSIfSupported(myenv, '-fuse-ld=gold')
+-elif link_model.startswith("dynamic") and linker_ld == 'bfd':
+-# BFD is not supported due to issues with it causing warnings 
from some of
+-# the third party libraries that mongodb is linked with:
+-# https://jira.mongodb.org/browse/SERVER-49465

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2022-05-14 Thread Sam James
commit: 5e5b47da8f273d33e6925688c794be2332ab5142
Author: Sam James  gentoo  org>
AuthorDate: Sat May 14 21:49:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 14 21:49:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5b47da

dev-db/mongodb: fix build with Boost 1.79 (for Mongo 4.4.10)

Closes: https://bugs.gentoo.org/843290
Signed-off-by: Sam James  gentoo.org>

 .../mongodb/files/mongodb-4.4.10-boost-1.79.patch  | 84 ++
 dev-db/mongodb/mongodb-4.4.10-r1.ebuild|  5 ++
 2 files changed, 89 insertions(+)

diff --git a/dev-db/mongodb/files/mongodb-4.4.10-boost-1.79.patch 
b/dev-db/mongodb/files/mongodb-4.4.10-boost-1.79.patch
new file mode 100644
index ..df7dbc001b05
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-4.4.10-boost-1.79.patch
@@ -0,0 +1,84 @@
+diff --git a/src/mongo/db/auth/security_key_test.cpp 
b/src/mongo/db/auth/security_key_test.cpp
+index fc1787b5..70b977c1 100644
+--- a/src/mongo/db/auth/security_key_test.cpp
 b/src/mongo/db/auth/security_key_test.cpp
+@@ -30,6 +30,7 @@
+ #include "mongo/platform/basic.h"
+ 
+ #include 
++#include 
+ 
+ #include "mongo/base/string_data.h"
+ #include "mongo/db/auth/authorization_manager.h"
+diff --git a/src/mongo/db/storage/storage_repair_observer.cpp 
b/src/mongo/db/storage/storage_repair_observer.cpp
+index 22b76a6a..ec5bcece 100644
+--- a/src/mongo/db/storage/storage_repair_observer.cpp
 b/src/mongo/db/storage/storage_repair_observer.cpp
+@@ -41,6 +41,7 @@
+ #include 
+ #endif
+ 
++#include 
+ #include 
+ 
+ #include "mongo/db/dbhelpers.h"
+diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp 
b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
+index 01bb7806..78c15609 100644
+--- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
 b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
+@@ -34,6 +34,7 @@
+ #include "mongo/db/storage/kv/kv_engine_test_harness.h"
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 
b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
+index 58e85385..0f8a5148 100644
+--- a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
 b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
+@@ -36,6 +36,7 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+ 
+ #include "mongo/base/simple_string_data_comparator.h"
+diff --git a/src/mongo/shell/shell_utils_extended.cpp 
b/src/mongo/shell/shell_utils_extended.cpp
+index 8cd7f035..cd672eb5 100644
+--- a/src/mongo/shell/shell_utils_extended.cpp
 b/src/mongo/shell/shell_utils_extended.cpp
+@@ -37,6 +37,7 @@
+ #endif
+ 
+ #include 
++#include 
+ #include 
+ 
+ #include "mongo/bson/bson_validate.h"
+diff --git a/src/mongo/util/processinfo_linux.cpp 
b/src/mongo/util/processinfo_linux.cpp
+index de4b84bc..b01fa7a2 100644
+--- a/src/mongo/util/processinfo_linux.cpp
 b/src/mongo/util/processinfo_linux.cpp
+@@ -36,6 +36,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/src/mongo/util/stacktrace_threads.cpp 
b/src/mongo/util/stacktrace_threads.cpp
+index 4667a261..73a36015 100644
+--- a/src/mongo/util/stacktrace_threads.cpp
 b/src/mongo/util/stacktrace_threads.cpp
+@@ -36,6 +36,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 

diff --git a/dev-db/mongodb/mongodb-4.4.10-r1.ebuild 
b/dev-db/mongodb/mongodb-4.4.10-r1.ebuild
index a110d8e1be17..aa4c846908a2 100644
--- a/dev-db/mongodb/mongodb-4.4.10-r1.ebuild
+++ b/dev-db/mongodb/mongodb-4.4.10-r1.ebuild
@@ -58,6 +58,7 @@ PATCHES=(
"${FILESDIR}/${PN}-4.4.1-boost.patch"
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
"${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch"
+   "${FILESDIR}/${PN}-4.4.10-boost-1.79.patch"
 )
 
 S="${WORKDIR}/${MY_P}"
@@ -121,6 +122,10 @@ src_configure() {
use lto && scons_opts+=( --lto=on )
use ssl && scons_opts+=( --ssl )
 
+   # Needed to avoid forcing FORTIFY_SOURCE
+   # Gentoo's toolchain applies these anyway
+   scons_opts+=( --runtime-hardening=off )
+
# respect mongoDB upstream's basic recommendations
# see bug #536688 and #526114
if ! use debug; then



[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2022-05-14 Thread Sam James
commit: 7cb835b1e4e2e4bd5e279c16ece133a0225dedc6
Author: Sam James  gentoo  org>
AuthorDate: Sat May 14 21:27:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 14 21:27:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb835b1

dev-db/mongodb: fix build with Boost 1.79; fix automagic SSL usage

Bug: https://bugs.gentoo.org/843290
Signed-off-by: Sam James  gentoo.org>

 .../mongodb/files/mongodb-5.0.2-boost-1.79.patch   |  71 
 dev-db/mongodb/mongodb-5.0.5-r2.ebuild | 188 +
 2 files changed, 259 insertions(+)

diff --git a/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch 
b/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch
new file mode 100644
index ..39c76bacf426
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch
@@ -0,0 +1,71 @@
+https://bugs.gentoo.org/844235
+--- a/src/mongo/db/auth/security_key_test.cpp
 b/src/mongo/db/auth/security_key_test.cpp
+@@ -30,6 +30,7 @@
+ #include "mongo/platform/basic.h"
+ 
+ #include 
++#include 
+ 
+ #include "mongo/base/string_data.h"
+ #include "mongo/db/auth/authorization_manager.h"
+--- a/src/mongo/db/storage/storage_repair_observer.cpp
 b/src/mongo/db/storage/storage_repair_observer.cpp
+@@ -41,6 +41,7 @@
+ #include 
+ #endif
+ 
++#include 
+ #include 
+ 
+ #include "mongo/db/dbhelpers.h"
+--- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
 b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
+@@ -34,6 +34,7 @@
+ #include "mongo/db/storage/kv/kv_engine_test_harness.h"
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+--- a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
 b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
+@@ -36,6 +36,7 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+ 
+ #include "mongo/base/simple_string_data_comparator.h"
+--- a/src/mongo/shell/shell_utils_extended.cpp
 b/src/mongo/shell/shell_utils_extended.cpp
+@@ -37,6 +37,7 @@
+ #endif
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+--- a/src/mongo/util/stacktrace_threads.cpp
 b/src/mongo/util/stacktrace_threads.cpp
+@@ -36,6 +36,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/src/mongo/util/processinfo_linux.cpp
 b/src/mongo/util/processinfo_linux.cpp
+@@ -36,6 +36,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 

diff --git a/dev-db/mongodb/mongodb-5.0.5-r2.ebuild 
b/dev-db/mongodb/mongodb-5.0.5-r2.ebuild
new file mode 100644
index ..9e993f26b1d4
--- /dev/null
+++ b/dev-db/mongodb/mongodb-5.0.5-r2.ebuild
@@ -0,0 +1,188 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+SCONS_MIN_VERSION="3.3.1"
+CHECKREQS_DISK_BUILD="2400M"
+CHECKREQS_DISK_USR="512M"
+CHECKREQS_MEMORY="1024M"
+
+inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 
scons-utils systemd toolchain-funcs
+
+MY_P=${PN}-src-r${PV/_rc/-rc}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
+HOMEPAGE="https://www.mongodb.com;
+SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz;
+
+LICENSE="Apache-2.0 SSPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 -riscv"
+CPU_FLAGS="cpu_flags_x86_avx"
+IUSE="debug kerberos lto mongosh ssl +tools ${CPU_FLAGS}"
+
+# https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server
+# resmoke needs python packages not yet present in Gentoo
+RESTRICT="test"
+
+RDEPEND="acct-group/mongodb
+   acct-user/mongodb
+   >=app-arch/snappy-1.1.3:=
+   >=dev-cpp/yaml-cpp-0.6.2:=
+   >=dev-libs/boost-1.70:=[threads(+),nls]
+   >=dev-libs/libpcre-8.42[cxx]
+   app-arch/zstd:=
+   dev-libs/snowball-stemmer:=
+   net-libs/libpcap
+   >=sys-libs/zlib-1.2.11:=
+   kerberos? ( dev-libs/cyrus-sasl[kerberos] )
+   ssl? (
+   >=dev-libs/openssl-1.0.1g:0=
+   )"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   >=dev-util/scons-3.1.1[${PYTHON_USEDEP}]
+   dev-python/cheetah3[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   ')
+   sys-libs/ncurses:0=
+   sys-libs/readline:0=
+   debug? ( dev-util/valgrind )"
+PDEPEND="
+   mongosh? ( app-admin/mongosh-bin )
+   tools? ( >=app-admin/mongo-tools-100 )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.4.1-boost.patch"
+   "${FILESDIR}/${PN}-4.4.1-gcc11.patch"
+   "${FILESDIR}/${PN}-5.0.2-fix-scons.patch"
+   "${FILESDIR}/${PN}-5.0.2-no-compass.patch"
+   "${FILESDIR}/${PN}-5.0.2-skip-no-exceptions.patch"
+   "${FILESDIR}/${PN}-5.0.2-skip-reqs-check.patch"
+   "${FILESDIR}/${PN}-5.0.2-boost-1.79.patch"
+)
+
+S="${WORKDIR}/${MY_P}"
+
+python_check_deps() {
+   has_version 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2021-08-19 Thread Alexys Jacob
commit: ef6465a69dd5dd5c444a91ea0bf5b793e24b101e
Author: Tomáš Mózes  gmail  com>
AuthorDate: Fri Aug  6 10:18:09 2021 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Thu Aug 19 16:38:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef6465a6

dev-db/mongodb: bump to 4.4.8

Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Alexys Jacob  gentoo.org>

 dev-db/mongodb/Manifest|   1 +
 .../mongodb/files/mongodb-4.4.8-no-compass.patch   |  43 +
 dev-db/mongodb/mongodb-4.4.8.ebuild| 176 +
 3 files changed, 220 insertions(+)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index a06a609dbd7..543106b91b7 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -4,3 +4,4 @@ DIST mongodb-src-r4.2.15.tar.gz 62187847 BLAKE2B 
eb9cbf52b5aeb95d3c6c6bd14da9731
 DIST mongodb-src-r4.4.1.tar.gz 49644743 BLAKE2B 
7d84998c69b9b55164ebab04b49c38a4113a0f58d431612389ec37eb044fba1adf9284e9d4454bd40bb7a071fd042308a5cd350129d6d52480412cf6b868ec2b
 SHA512 
16aa66995ea8cfe0cc47b96c1c5643a28ab47fc9f27bd93404cf572944ab30492df7c923f918b353cd7157a6ccde9ac6f58bfba322fb52c2d7409c6fb9b0
 DIST mongodb-src-r4.4.2.tar.gz 49816559 BLAKE2B 
0e51302e7e414de9fef74872e44c8de1f5682cb3cac0aa7a02e3c1ee3084669ea647d1e574e8a76a3b6b2f34aa4ef693c8d1f3fa025ec3072eff7b7c408b94e5
 SHA512 
bbf59ed97a8718576c469c696d5331c122f63528dad950fd415b00269c2fa5e6949b372c575e2504c2a58b145bae485172b2500481662e6543bc3127252a
 DIST mongodb-src-r4.4.4.tar.gz 49942905 BLAKE2B 
8aa9813e87e216899b3c609b413ce6915d6ddf30faea3c0ecda2a14476fc6b08024614fa7b20e1703b5908759459e88e5e302539c27525c2359233743aa7dcda
 SHA512 
a999528a8a6bf4bf0b8ff8f5169b1aadb3c4dab9c7d936c59d66f238b864fad6e8fb6a1b9ec27f395fca95152ee020f96a8c1cf8960a48de3ce5141f8dda7d88
+DIST mongodb-src-r4.4.8.tar.gz 50492854 BLAKE2B 
4776b17e88104879ea69468ff277b07dc317d936654bb26c69750e0aaf8f51bea73994e7fc4841228d8506db392e0454b5fd16257071b86a2e4ad34e90f33632
 SHA512 
9b0cd81c9c731255a6c079c040ed342a51a72e3ea72047d3ae959c0afde50b0cdb1fcfe7fcbea30c449a3618a09d213752277cee6eb9bc0a55915b9229543606

diff --git a/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch 
b/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch
new file mode 100644
index 000..0755705ed55
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch
@@ -0,0 +1,43 @@
+diff --git a/src/mongo/SConscript b/src/mongo/SConscript
+index 62fbfc02..5be336f7 100644
+--- a/src/mongo/SConscript
 b/src/mongo/SConscript
+@@ -841,30 +841,6 @@ for full_dir, archive_dir in 
list(env["ARCHIVE_ADDITION_DIR_MAP"].items()):
+ for target in env["DIST_BINARIES"]:
+ installBinary(env, "db/modules/" + target)
+ 
+-compass_script = "install_compass"
+-if env.TargetOSIs('windows'):
+-compass_script = "Install-Compass.ps1"
+-
+-compass_installer = f"$BUILD_DIR/mongo/installer/compass/{compass_script}"
+-
+-distBinaries.append(compass_installer)
+-
+-if not hygienic:
+-compass_script_installer = env.Install("$DESTDIR/bin", compass_installer)
+-else:
+-compass_script_installer = env.AutoInstall(
+-target='$PREFIX_BINDIR',
+-source=[
+-compass_installer,
+-],
+-AIB_COMPONENT='dist',
+-AIB_ROLE='runtime',
+-)
+-
+-if env.TargetOSIs('posix'):
+-env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' )
+-env.AddPostAction( compass_installer, 'chmod 755 $TARGET' )
+-
+ if not hygienic:
+ server_archive = env.Command(
+ target='#/${SERVER_ARCHIVE}',
+@@ -878,7 +854,6 @@ if not hygienic:
+ '--transform 
$BUILD_DIR/mongo/stripped/db/modules/enterprise=$SERVER_DIST_BASENAME/bin',
+ '--transform 
$BUILD_DIR/mongo/stripped=$SERVER_DIST_BASENAME/bin',
+ '--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin',
+-'--transform 
src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin',
+ '${TEMPFILE(SOURCES[1:])}'
+ ],
+ ),

diff --git a/dev-db/mongodb/mongodb-4.4.8.ebuild 
b/dev-db/mongodb/mongodb-4.4.8.ebuild
new file mode 100644
index 000..64dd932d7a1
--- /dev/null
+++ b/dev-db/mongodb/mongodb-4.4.8.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+SCONS_MIN_VERSION="3.3.1"
+CHECKREQS_DISK_BUILD="2400M"
+CHECKREQS_DISK_USR="512M"
+CHECKREQS_MEMORY="1024M"
+
+inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 
scons-utils systemd toolchain-funcs
+
+MY_P=${PN}-src-r${PV/_rc/-rc}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
+HOMEPAGE="https://www.mongodb.com;
+SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz;
+
+LICENSE="Apache-2.0 SSPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 -riscv"
+IUSE="debug kerberos lto ssl test 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2019-09-21 Thread David Seifert
commit: d32a1753b39623696eff690223cda79078c8a967
Author: Jouni Kosonen  tukesoft  com>
AuthorDate: Sat Sep 21 21:22:14 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 21 21:22:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32a1753

dev-db/mongodb: Fix building against boost 1.71

Closes: https://bugs.gentoo.org/694530
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 .../files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch | 12 
 dev-db/mongodb/mongodb-4.0.12.ebuild |  1 +
 2 files changed, 13 insertions(+)

diff --git 
a/dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch 
b/dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch
new file mode 100644
index 000..b65f9123677
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch
@@ -0,0 +1,12 @@
+--- a/src/mongo/util/heap_profiler.cpp
 b/src/mongo/util/heap_profiler.cpp
+@@ -49,6 +49,9 @@
+ #include 
+ #include 
+ 
++// for abi::__cxa_demangle
++#include 
++
+ //
+ // Sampling heap profiler
+ //

diff --git a/dev-db/mongodb/mongodb-4.0.12.ebuild 
b/dev-db/mongodb/mongodb-4.0.12.ebuild
index 1e60cc747ff..d549bea6ba8 100644
--- a/dev-db/mongodb/mongodb-4.0.12.ebuild
+++ b/dev-db/mongodb/mongodb-4.0.12.ebuild
@@ -54,6 +54,7 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
 PATCHES=(
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
"${FILESDIR}/${PN}-4.0.0-no-compass.patch"
+   "${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch"
 )
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2019-08-21 Thread Alexys Jacob
commit: 191e8a56e7f08a9c41b26e620ef3ac3c62acb836
Author: Alexys Jacob  gentoo  org>
AuthorDate: Wed Aug 21 07:21:27 2019 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Wed Aug 21 07:21:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=191e8a56

dev-db/mongodb: remove obsolete patch

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Alexys Jacob  gentoo.org>

 dev-db/mongodb/files/mongodb-3.4.7-no-boost-check.patch | 13 -
 dev-db/mongodb/mongodb-3.6.13.ebuild|  1 -
 dev-db/mongodb/mongodb-3.6.8.ebuild |  1 -
 dev-db/mongodb/mongodb-4.0.10.ebuild|  1 -
 dev-db/mongodb/mongodb-4.0.12.ebuild|  1 -
 5 files changed, 17 deletions(-)

diff --git a/dev-db/mongodb/files/mongodb-3.4.7-no-boost-check.patch 
b/dev-db/mongodb/files/mongodb-3.4.7-no-boost-check.patch
deleted file mode 100644
index 1d908e73f43..000
--- a/dev-db/mongodb/files/mongodb-3.4.7-no-boost-check.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/SConstruct b/SConstruct
-index df92e41659..2c387d5a24 100644
 a/SConstruct
-+++ b/SConstruct
-@@ -2831,8 +2831,6 @@ def doConfigure(myenv):
- if use_system_version_of_library("boost"):
- if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
- myenv.ConfError("can't find boost headers")
--if not conf.CheckBoostMinVersion():
--myenv.ConfError("system's version of boost is too old. version 
1.49 or better required")
- 
- # Note that on Windows with using-system-boost builds, the following
- # FindSysLibDep calls do nothing useful (but nothing problematic 
either)

diff --git a/dev-db/mongodb/mongodb-3.6.13.ebuild 
b/dev-db/mongodb/mongodb-3.6.13.ebuild
index 079b57dc336..4fb9536e58f 100644
--- a/dev-db/mongodb/mongodb-3.6.13.ebuild
+++ b/dev-db/mongodb/mongodb-3.6.13.ebuild
@@ -52,7 +52,6 @@ DEPEND="${RDEPEND}
 PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
"${FILESDIR}/${PN}-3.6.1-no-compass.patch"
 )

diff --git a/dev-db/mongodb/mongodb-3.6.8.ebuild 
b/dev-db/mongodb/mongodb-3.6.8.ebuild
index 72abd68bc8a..3f1b10dc84f 100644
--- a/dev-db/mongodb/mongodb-3.6.8.ebuild
+++ b/dev-db/mongodb/mongodb-3.6.8.ebuild
@@ -52,7 +52,6 @@ DEPEND="${RDEPEND}
 PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
"${FILESDIR}/${PN}-3.6.1-no-compass.patch"
 )

diff --git a/dev-db/mongodb/mongodb-4.0.10.ebuild 
b/dev-db/mongodb/mongodb-4.0.10.ebuild
index 8a9dd647e46..ad10fd71e28 100644
--- a/dev-db/mongodb/mongodb-4.0.10.ebuild
+++ b/dev-db/mongodb/mongodb-4.0.10.ebuild
@@ -52,7 +52,6 @@ DEPEND="${RDEPEND}
 PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
"${FILESDIR}/${PN}-4.0.0-no-compass.patch"
 )

diff --git a/dev-db/mongodb/mongodb-4.0.12.ebuild 
b/dev-db/mongodb/mongodb-4.0.12.ebuild
index 516f202bc7f..1e60cc747ff 100644
--- a/dev-db/mongodb/mongodb-4.0.12.ebuild
+++ b/dev-db/mongodb/mongodb-4.0.12.ebuild
@@ -52,7 +52,6 @@ DEPEND="${RDEPEND}
 PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
"${FILESDIR}/${PN}-4.0.0-no-compass.patch"
 )



[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2019-08-09 Thread Alexys Jacob
commit: 3004e2571a7b08d15e41e149e15fd50f818b78df
Author: Alexys Jacob  gentoo  org>
AuthorDate: Fri Aug  9 07:15:47 2019 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Fri Aug  9 07:28:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3004e257

dev-db/mongodb: drop soon to EOL 3.4

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Alexys Jacob  gentoo.org>

 dev-db/mongodb/Manifest|   1 -
 dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch |  35 -
 .../files/mongodb-3.4.6-sysmacros-include.patch|  38 -
 dev-db/mongodb/mongodb-3.4.16.ebuild   | 160 -
 4 files changed, 234 deletions(-)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index c161dde8b45..4d77bdc425a 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -1,4 +1,3 @@
-DIST mongodb-src-r3.4.16.tar.gz 40093657 BLAKE2B 
7123444dbdd0b2ad3adfb3391e0177d33c1b6c6a4ea83027821c564faad047a736e52926bc15c58bef59c18282436e913fd3bc9963705e030da01356f83ea367
 SHA512 
e22eb1fe2a832fed8305200614988c5ecfd619cee44fe2263bffa151732c0e26584084e64065dbc65152be6e5c1767a538193770359bea92f3703c72239075db
 DIST mongodb-src-r3.6.11.tar.gz 40581959 BLAKE2B 
86244472ce8cff5180d8833a3415dd8a43fb5c76545034822989d5be90f45ed0ef1d43cb726be1e53241255491a7a516e6f90b1c1218ad10cf4ead4557311088
 SHA512 
e74af9f2f40ab0e2c20b135db3f0ce17825cfe5da912ff8edb2902226abb662a6cf87038ea57df73b06b4961ba71aa78fffd542153eb30c4ea2729d642b1091d
 DIST mongodb-src-r3.6.12.tar.gz 40847074 BLAKE2B 
45cc0ec4858fa4c17fb86449e6feaf11df32fd55f8a642031ce9be967127d608842cdc64e0a335af67ab3942a233d905b0778782e54dfe4c5d2ad58b828745ca
 SHA512 
173112a05234e06ef4b6c26a092b285b4d12618b3f131fc2b73bd152c11ec42db11cb003566efefce0c98df87a520d0515a3bb1982ffdb27827cd032b1bb3f68
 DIST mongodb-src-r3.6.13.tar.gz 40853787 BLAKE2B 
de9621de4f570d569df5cfe026ea5da24641c97f1ac9f3e58a0706b1d0bd74757390a075c95c6d3acd12f3c5c7bcbeb9302ac997248c54a5b7910b582debdc82
 SHA512 
eb84fb22ff871b5ec620d6fc29a6a66072211656e914630ad0f53e4fcad55aa40a76a0e68e68bdbe8ef061bea09ce6ad6aea5d8d865ea8a8fdca0ed829555fcd

diff --git a/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch 
b/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch
deleted file mode 100644
index 2dd751fad81..000
--- a/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch
+++ /dev/null
@@ -1,35 +0,0 @@
 a/SConstruct   2016-12-27 11:10:06.801949538 +0100
-+++ b/SConstruct   2016-12-27 11:12:40.426407713 +0100
-@@ -1557,7 +1557,6 @@
- # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is 
found in the search path but can't be used.
- env.Append( CCFLAGS=["-fno-omit-frame-pointer",
-  "-fno-strict-aliasing",
-- "-ggdb",
-  "-pthread",
-  "-Wall",
-  "-Wsign-compare",
-@@ -1568,8 +1567,9 @@
- if not has_option("disable-warnings-as-errors"):
- env.Append( CCFLAGS=["-Werror"] )
- 
--env.Append( CXXFLAGS=["-Woverloaded-virtual"] )
- env.Append( LINKFLAGS=["-pthread"] )
-+env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
-+env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
- 
- # SERVER-9761: Ensure early detection of missing symbols in dependent 
libraries at program
- # startup.
-@@ -1579,10 +1579,10 @@
- env.Append( LINKFLAGS=["-Wl,-z,now"] )
- env.Append( LINKFLAGS=["-rdynamic"] )
- 
--env.Append( LIBS=[] )
-+env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] )
- 
--#make scons colorgcc friendly
--for key in ('HOME', 'TERM'):
-+#make scons colorgcc, distcc, ccache friendly
-+for key in ('HOME', 'PATH', 'TERM'):
- try:
- env['ENV'][key] = os.environ[key]
- except KeyError:

diff --git a/dev-db/mongodb/files/mongodb-3.4.6-sysmacros-include.patch 
b/dev-db/mongodb/files/mongodb-3.4.6-sysmacros-include.patch
deleted file mode 100644
index 868ba73e442..000
--- a/dev-db/mongodb/files/mongodb-3.4.6-sysmacros-include.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From e245cac2b3c18015dee8caddd449532785d15c2b Mon Sep 17 00:00:00 2001
-From: Jason Carey 
-Date: Mon, 26 Jun 2017 11:09:10 -0400
-Subject: [PATCH] SERVER-29855 Pull major/minor from sys/sysmacros.h
-
-Per newer versions of glibc:
-
-
-error: In the GNU C Library, "major" is defined
- by . For historical compatibility, it is
- currently defined by  as well, but we plan to
- remove this soon. To use "major", include 
- directly. If you did not intend to use a system-defined macro
- "major", you should undefine it after including . [-Werror]
- string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' 
<< minor(dev)
-
-
-Including  appears to be the correct solution to quiet
-the warning

- src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp | 4 
- 1 file changed, 4 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2018-11-05 Thread Alexys Jacob
commit: 2e37e0428f4f0d6939245dfcf020952efa26797c
Author: Ultrabug  gentoo  org>
AuthorDate: Mon Nov  5 12:28:51 2018 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Mon Nov  5 12:28:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e37e042

dev-db/mongodb: obsolete ebuilds and files clean up

Signed-off-by: Alexys Jacob  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-db/mongodb/Manifest|   2 -
 .../mongodb/files/mongodb-3.0.14-fix-scons.patch   |  36 ---
 .../files/mongodb-3.0.14-fix-std-string.patch  |  83 --
 dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch |  49 
 ...6-Replace-string-with-explicit-std-string.patch | 283 -
 .../mongodb/files/mongodb-3.2.4-boost-1.60.patch   |  84 --
 dev-db/mongodb/files/mongodb.confd-r2  |  12 -
 dev-db/mongodb/files/mongodb.initd-r2  |  26 --
 dev-db/mongodb/files/mongos.confd-r2   |  12 -
 dev-db/mongodb/files/mongos.initd-r2   |  26 --
 dev-db/mongodb/mongodb-3.2.17.ebuild   | 197 --
 dev-db/mongodb/mongodb-4.0.2.ebuild| 163 
 12 files changed, 973 deletions(-)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index b7d6a5f9d12..9c140f291e9 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -1,6 +1,4 @@
-DIST mongodb-src-r3.2.17.tar.gz 29295394 BLAKE2B 
3fa9d8fa0b50b72c3b2aa86980dd4d46bd053f23d044e321d6f98f5edb76c566bf00455cf745110a8c39355843664d9d1fbbdf554fc8696de73db2b270446adc
 SHA512 
0d6a01278bc61805afd164e4a29abe150a5a96d551ed2c7c5d385b269924a7c5f065315e4f19c0ab070aa275ac03447959af45f33826457e5db0c5f98e623512
 DIST mongodb-src-r3.4.10.tar.gz 39959937 BLAKE2B 
f14f081525f694b939bc21f8cb6364c2a37573c0e1867322dd2062dc167b112751579c3e2d76730b3ff07b0c6bbfd3bbea99162b7c10eef62d92eb1b0850
 SHA512 
6293dde40a8433477ba3b1cf77abbdb32b28ce58279cc616b488647c8ab71b5ab3eab2146058c4a74b9e00f0938f1415020e2f26ea01f2b29dd78a1a38d58c3a
 DIST mongodb-src-r3.4.16.tar.gz 40093657 BLAKE2B 
7123444dbdd0b2ad3adfb3391e0177d33c1b6c6a4ea83027821c564faad047a736e52926bc15c58bef59c18282436e913fd3bc9963705e030da01356f83ea367
 SHA512 
e22eb1fe2a832fed8305200614988c5ecfd619cee44fe2263bffa151732c0e26584084e64065dbc65152be6e5c1767a538193770359bea92f3703c72239075db
 DIST mongodb-src-r3.6.8.tar.gz 40428295 BLAKE2B 
cc02f73cfb49fb38ccabaad5a02610ce73fc41895ce944e48669e254bcbc70c8872a1bd7f8e04371fae4fcd9af2466fd8550367dd1d1da5cee50b86fc5023bf2
 SHA512 
c981f3269be3bafb59aa89d36c39a801fd7007b60db6c09b4616a559aaf8e50b34cabbdac2b59f23552c0a5112913fba468f7e2ed9a5f4daa3702dcffdf34999
-DIST mongodb-src-r4.0.2.tar.gz 49328232 BLAKE2B 
0e56392de5b8cd59c49c38469ed427c52dbd91cd64b3c97da6809c0f849198f836896b8ef24a06e7ff84a65a7986b76df2ca4ffeafe76d8afe0e031ad25ecf5a
 SHA512 
171422ee028ebc279bb2cf20c78a3ce89a6cc15abf0955ac20a6c67f1aae577bf99ca4363fc428dba6ae0250b97f95d2fc51ca7f4a4505e8c38c9a11ca249800
 DIST mongodb-src-r4.0.3.tar.gz 49435646 BLAKE2B 
1663823d48ec6d93b30b4d68a09bab164291530fd4966fcdd07ffbaceaf25d9fc5c7480d0d794fdd374fa3a2d11f19d87556cf0c47198a13f9d8fb5ccf7f0343
 SHA512 
c77a01d8d16322514f42030c46a0aa9cedb90f186375222eeb31648060265006b5e929bdde6ca8e7ecd71018f7c19f5bade463d98db0f053d586ffc8adc99550

diff --git a/dev-db/mongodb/files/mongodb-3.0.14-fix-scons.patch 
b/dev-db/mongodb/files/mongodb-3.0.14-fix-scons.patch
deleted file mode 100644
index 1db5d7695c7..000
--- a/dev-db/mongodb/files/mongodb-3.0.14-fix-scons.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/SConstruct b/SConstruct
 a/SConstruct
-+++ b/SConstruct
-@@ -1008,7 +1008,6 @@
- # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is 
found in the search path but can't be used.
- env.Append( CCFLAGS=["-fPIC",
-  "-fno-strict-aliasing",
-- "-ggdb",
-  "-pthread",
-  "-Wall",
-  "-Wsign-compare",
-@@ -1016,13 +1015,13 @@
-  "-Winvalid-pch"] )
- # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
- if linux or darwin:
--env.Append( CCFLAGS=["-pipe"] )
- if not has_option("disable-warnings-as-errors"):
- env.Append( CCFLAGS=["-Werror"] )
- 
- env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
--env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
- env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
-+env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
-+env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
- 
- # SERVER-9761: Ensure early detection of missing symbols in dependent 
libraries at program
- # startup.
-@@ -1039,7 +1038,7 @@
- if not darwin:
- env.Append( LINKFLAGS=["-rdynamic"] )
- 
--env.Append( LIBS=[] )
-+env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] )
- 
- #make 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2018-06-28 Thread Alexys Jacob
commit: 2888da4e56bdd70a6fbbca59c8c1176edf1e3799
Author: Tomas Mozes  sygic  com>
AuthorDate: Thu Jun 28 10:44:16 2018 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Thu Jun 28 12:45:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2888da4e

dev-db/mongodb: bump to 4.0.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/mongodb/Manifest|   1 +
 .../mongodb/files/mongodb-4.0.0-no-compass.patch   |  57 +++
 dev-db/mongodb/mongodb-4.0.0.ebuild| 170 +
 3 files changed, 228 insertions(+)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index d9824f06bd3..4fc4f86c8f1 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -9,3 +9,4 @@ DIST mongodb-src-r3.6.2.tar.gz 3539 BLAKE2B 
3e38917ebaf79b63bf054279fbb91a64
 DIST mongodb-src-r3.6.3.tar.gz 40093607 BLAKE2B 
bb21bf0487661eec6140ade22526617b26b2499bd36e138d955d14a4b13a0685ec7308bccfc11ef17c785cd8a71c5b6cd9d154d461b8973410b03952b93953ec
 SHA512 
94aa9955f99d5f6bbbe65dc3755583952525398308ca7cb9224b91d1fa403de5bb3abb63a651583815cbecaff58966b5cfe7334a36ef6583f73d8c213410ddbc
 DIST mongodb-src-r3.6.4.tar.gz 40159916 BLAKE2B 
d3878d4e6bbf331de672768b2c92a4d71f758232170432d757f7e61849e6e1ef3b190e6a089101c9ea23c4ce23087c684c86fc6ea0f32f6fe052ce322d47e438
 SHA512 
02c2a697af9fdcbb16d19792be17d987e18c684418a63ed4750471c7ec22eb2eabf84e93cb1d298f67898b7e23687f668bb333c50ffc4e1b8adf8859f856ad95
 DIST mongodb-src-r3.6.5.tar.gz 40310152 BLAKE2B 
72110ae47b17ec8b1f60636a5ef8491b076e1cc019513fd872ea38b3bb8393efff4bddc7b795b3da711f258d21be9fa23e24d396a9429349c51ce05fff180a53
 SHA512 
6ecb3140ee4a7929fabe62d698f23e87cb5030cf31abefe7f82374f407fb87dc05f712089998f96bc40e23698836a86e7f3590892bde9d2d6f2c4bcc15cc3ebf
+DIST mongodb-src-r4.0.0.tar.gz 49138467 BLAKE2B 
616e267c737729103de544d82db60489e7a32c5f9847ffd2d643a9025c18aa867718216f5de9f18a93fb2a7930c3dbe9ec3850eef09dbec084570328a99f2865
 SHA512 
11d00cdde606cfea268471cffccedb6d003e421aeffda2303aff4d4126c386aaec50a1de733d7a1d5fb6605403cf9f2218dae50374c7b5e8625fa80317804589

diff --git a/dev-db/mongodb/files/mongodb-4.0.0-no-compass.patch 
b/dev-db/mongodb/files/mongodb-4.0.0-no-compass.patch
new file mode 100644
index 000..35e9c172e9e
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-4.0.0-no-compass.patch
@@ -0,0 +1,57 @@
+diff --git a/src/mongo/SConscript b/src/mongo/SConscript
+index c8f925b7..0e4f99ad 100644
+--- a/src/mongo/SConscript
 b/src/mongo/SConscript
+@@ -671,44 +671,6 @@ for full_dir, archive_dir in 
env["ARCHIVE_ADDITION_DIR_MAP"].items():
+ for target in env["DIST_BINARIES"]:
+ installBinary(env, "db/modules/" + target)
+ 
+-# Set the download url to the right place
+-compass_type = 'compass-community'
+-if 'enterprise' in env['MONGO_MODULES']:
+-compass_type = 'compass'
+-
+-compass_script = "install_compass"
+-if env.TargetOSIs('windows'):
+-# On windows the .in needs to be explicitly added to the file.
+-compass_script = "Install-Compass.ps1.in"
+-
+-compass_python_interpreter = '/usr/bin/env python2'
+-if env.TargetOSIs('darwin'):
+-compass_python_interpreter = '/usr/bin/env python'
+-
+-compass_installer = env.Substfile('#/src/mongo/installer/compass/' + 
compass_script,
+-  SUBST_DICT=[
+-  ('@compass_type@', compass_type),
+-  ('@python_interpreter@', 
compass_python_interpreter),
+-  ])
+-distBinaries.append(compass_installer)
+-
+-if not hygienic:
+-compass_script_installer = env.Install("$INSTALL_DIR/bin", 
compass_installer)
+-else:
+-compass_script_installer = env.AutoInstall(
+-'bin',
+-source=[
+-compass_installer,
+-],
+-INSTALL_ALIAS=[
+-'tools',
+-],
+-)
+-
+-if env.TargetOSIs('posix'):
+-env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' )
+-env.AddPostAction( compass_installer, 'chmod 755 $TARGET' )
+-
+ # "dist" target is valid only when --use-new-tools is specified
+ # Attempts to build release artifacts without tools must fail
+ if has_option("use-new-tools"):
+@@ -726,7 +688,6 @@ if has_option("use-new-tools"):
+ '--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin',
+ '--transform 
$BUILD_DIR/mongo/stripped/src/mongo-tools=$SERVER_DIST_BASENAME/bin',
+ '--transform src/mongo-tools=$SERVER_DIST_BASENAME/bin',
+-'--transform 
src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin',
+ '${TEMPFILE(SOURCES[1:])}'
+ ],
+ ),

diff --git a/dev-db/mongodb/mongodb-4.0.0.ebuild 
b/dev-db/mongodb/mongodb-4.0.0.ebuild
new file mode 100644
index 000..2b90de08741
--- /dev/null
+++ b/dev-db/mongodb/mongodb-4.0.0.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2018-01-11 Thread Alexys Jacob
commit: 9ef71bd8c965fe26ba310494a615fb8835be12a4
Author: Tomas Mozes  gmail  com>
AuthorDate: Tue Jan  9 10:30:26 2018 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Thu Jan 11 11:34:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef71bd8

dev-db/mongodb: reintroduce scons fixes

Closes: https://bugs.gentoo.org/643984
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6804

 dev-db/mongodb/files/mongodb-3.6.1-fix-scons.patch | 32 ++
 ...ongodb-3.6.1.ebuild => mongodb-3.6.1-r1.ebuild} |  1 +
 2 files changed, 33 insertions(+)

diff --git a/dev-db/mongodb/files/mongodb-3.6.1-fix-scons.patch 
b/dev-db/mongodb/files/mongodb-3.6.1-fix-scons.patch
new file mode 100644
index 000..d7bfb35b00d
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.6.1-fix-scons.patch
@@ -0,0 +1,32 @@
+diff --git a/SConstruct b/SConstruct
+index fe7975b..92659a7 100644
+--- a/SConstruct
 b/SConstruct
+@@ -1619,7 +1619,6 @@ if env.TargetOSIs('posix'):
+ # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is 
found in the search path but can't be used.
+ env.Append( CCFLAGS=["-fno-omit-frame-pointer",
+  "-fno-strict-aliasing",
+- "-ggdb",
+  "-pthread",
+  "-Wall",
+  "-Wsign-compare",
+@@ -1631,6 +1630,8 @@ if env.TargetOSIs('posix'):
+ env.Append( CCFLAGS=["-Werror"] )
+ 
+ env.Append( CXXFLAGS=["-Woverloaded-virtual"] )
++env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
++env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
+ if env.ToolchainIs('clang'):
+ env.Append( CXXFLAGS=['-Werror=unused-result'] )
+ 
+@@ -1650,8 +1651,8 @@ if env.TargetOSIs('posix'):
+ 
+ env.Append( LIBS=[] )
+ 
+-#make scons colorgcc friendly
+-for key in ('HOME', 'TERM'):
++#make scons colorgcc, distcc, ccache friendly
++for key in ('HOME', 'PATH', 'TERM'):
+ try:
+ env['ENV'][key] = os.environ[key]
+ except KeyError:

diff --git a/dev-db/mongodb/mongodb-3.6.1.ebuild 
b/dev-db/mongodb/mongodb-3.6.1-r1.ebuild
similarity index 99%
rename from dev-db/mongodb/mongodb-3.6.1.ebuild
rename to dev-db/mongodb/mongodb-3.6.1-r1.ebuild
index 363620ef050..8291fe7fc50 100644
--- a/dev-db/mongodb/mongodb-3.6.1.ebuild
+++ b/dev-db/mongodb/mongodb-3.6.1-r1.ebuild
@@ -52,6 +52,7 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
 
 PATCHES=(
"${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
+   "${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
"${FILESDIR}/${PN}-3.6.1-no-compass.patch"
 )
 



[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2017-09-22 Thread Patrice Clement
commit: 090527c1edee962b4e90fc3ca0ec9c6ed0322fbb
Author: Tomas Mozes  gmail  com>
AuthorDate: Fri Sep 22 07:51:01 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Sep 22 09:28:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090527c1

dev-db/mongodb: fix building with newer glibc/pcre.

Gentoo-Bug: https://bugs.gentoo.org/631688

Package-Manager: Portage-2.3.10, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5764

 .../mongodb/files/mongodb-3.0.14-fix-scons.patch   | 36 ++
 .../files/mongodb-3.0.14-fix-std-string.patch  | 83 ++
 dev-db/mongodb/mongodb-3.0.14.ebuild   | 63 +---
 dev-db/mongodb/mongodb-3.0.15.ebuild   | 63 +---
 4 files changed, 197 insertions(+), 48 deletions(-)

diff --git a/dev-db/mongodb/files/mongodb-3.0.14-fix-scons.patch 
b/dev-db/mongodb/files/mongodb-3.0.14-fix-scons.patch
new file mode 100644
index 000..1db5d7695c7
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.0.14-fix-scons.patch
@@ -0,0 +1,36 @@
+diff --git a/SConstruct b/SConstruct
+--- a/SConstruct
 b/SConstruct
+@@ -1008,7 +1008,6 @@
+ # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is 
found in the search path but can't be used.
+ env.Append( CCFLAGS=["-fPIC",
+  "-fno-strict-aliasing",
+- "-ggdb",
+  "-pthread",
+  "-Wall",
+  "-Wsign-compare",
+@@ -1016,13 +1015,13 @@
+  "-Winvalid-pch"] )
+ # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
+ if linux or darwin:
+-env.Append( CCFLAGS=["-pipe"] )
+ if not has_option("disable-warnings-as-errors"):
+ env.Append( CCFLAGS=["-Werror"] )
+ 
+ env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
+-env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
+ env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
++env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
++env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
+ 
+ # SERVER-9761: Ensure early detection of missing symbols in dependent 
libraries at program
+ # startup.
+@@ -1039,7 +1038,7 @@
+ if not darwin:
+ env.Append( LINKFLAGS=["-rdynamic"] )
+ 
+-env.Append( LIBS=[] )
++env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] )
+ 
+ #make scons colorgcc friendly
+ for key in ('HOME', 'TERM'):

diff --git a/dev-db/mongodb/files/mongodb-3.0.14-fix-std-string.patch 
b/dev-db/mongodb/files/mongodb-3.0.14-fix-std-string.patch
new file mode 100644
index 000..9de319bda9d
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.0.14-fix-std-string.patch
@@ -0,0 +1,83 @@
+--- a/src/mongo/shell/bench.cpp2017-09-20 19:12:20.893056990 +0200
 b/src/mongo/shell/bench.cpp2017-09-20 19:14:08.165060566 +0200
+@@ -52,6 +52,9 @@
+ #include "mongo/util/time_support.h"
+ #include "mongo/util/version.h"
+ 
++#include  
++using namespace std; 
++
+ // -
+ //  benchmarking system 
+ // -
+--- a/src/mongo/db/dbwebserver.cpp 2017-09-20 19:24:50.042081961 +0200
 b/src/mongo/db/dbwebserver.cpp 2017-09-20 19:26:20.240084968 +0200
+@@ -58,6 +58,8 @@
+ #include "mongo/util/ramlog.h"
+ #include "mongo/util/version.h"
+ 
++#include 
++using namespace std;
+ 
+ namespace mongo {
+ 
+--- a/src/mongo/db/matcher/expression_leaf.cpp 2017-09-20 19:27:59.009088260 
+0200
 b/src/mongo/db/matcher/expression_leaf.cpp 2017-09-20 19:28:31.082089329 
+0200
+@@ -39,6 +39,9 @@
+ #include "mongo/db/jsobj.h"
+ #include "mongo/db/matcher/path.h"
+ 
++#include 
++using namespace std;
++
+ namespace mongo {
+ 
+ Status LeafMatchExpression::initPath(const StringData& path) {
+--- a/src/mongo/db/repl/master_slave.cpp   2017-09-20 19:30:04.569092445 
+0200
 b/src/mongo/db/repl/master_slave.cpp   2017-09-20 19:31:19.145094931 
+0200
+@@ -70,6 +70,9 @@
+ #include "mongo/util/exit.h"
+ #include "mongo/util/log.h"
+ 
++#include 
++using namespace std;
++
+ using boost::scoped_ptr;
+ using std::auto_ptr;
+ using std::cout;
+--- a/src/mongo/util/net/miniwebserver.cpp 2017-09-20 19:32:55.368098138 
+0200
 b/src/mongo/util/net/miniwebserver.cpp 2017-09-20 19:33:57.128100197 
+0200
+@@ -39,6 +39,9 @@
+ #include "mongo/util/hex.h"
+ #include "mongo/util/log.h"
+ 
++#include 
++using namespace std;
++
+ namespace mongo {
+ 
+ using boost::shared_ptr;
+--- a/src/mongo/s/config.cpp   2017-09-20 19:42:45.614117812 +0200
 b/src/mongo/s/config.cpp   2017-09-20 19:43:28.278119234 +0200
+@@ -60,6 +60,9 @@
+ #include "mongo/util/net/message.h"
+ #include "mongo/util/stringutils.h"
+ 
++#include 
++using namespace std;
++
+ namespace mongo {
+ 
+ using boost::scoped_ptr;
+--- a/src/mongo/s/grid.cpp 2017-09-20 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2017-09-21 Thread Patrice Clement
commit: 85ff1fbcf12527d575e1bf4e5ec914e9a2e93c7c
Author: Tomas Mozes  gmail  com>
AuthorDate: Tue Sep  5 16:05:26 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Sep 21 19:49:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ff1fbc

dev-db/mongodb: version bump to 3.4.7.

Gentoo-Bug: https://bugs.gentoo.org/630566

Package-Manager: Portage-2.3.8, Repoman-2.3.2

 dev-db/mongodb/Manifest|   1 +
 .../files/mongodb-3.4.7-no-boost-check.patch   |  13 ++
 dev-db/mongodb/mongodb-3.4.7.ebuild| 189 +
 3 files changed, 203 insertions(+)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 62772666eca..8358ff600c8 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -8,3 +8,4 @@ DIST mongodb-src-r3.2.16.tar.gz 29293555 SHA256 
7a8b1b16f3fa545af16f48aeef1f918f
 DIST mongodb-src-r3.4.3.tar.gz 39832718 SHA256 
889d49312ed072130936cfa3281123a0e89228c04f3f8e992a0b92669b28d767 SHA512 
e2fb5fc2f02e9dbca6c30d2e2aaf1569180ca15198226cdad46f47f44905293afe77763fe2e5c9add0b5bcbd62b7ce7905fb183068c0738cdeeae8d39f848cef
 WHIRLPOOL 
ba6fa864249cc80e5f65feaed685980b874b46bcf975142e15fa0eda3e474cc85388920e152474dc5527a30d215c309db6d471c716e6bbe374193ff6016ba22e
 DIST mongodb-src-r3.4.4.tar.gz 39867133 SHA256 
09e962bf3428474b9790bbd464cb6176817f9da6121c30e096240dbb4d51c9f6 SHA512 
dbae89b49c363e7258021cd31385e4449bfdfdfd5adfcb1683e4431372731e58ec33bf8f7576d2d52659a52461bd6a32fbc67d5c6e36d52184ec1aabb345d940
 WHIRLPOOL 
5ad9f80c7f0f597982a32f95365df961fcd80ffa7c04183f9cb4952a52262a27ab09fee4d0115405c5197b6d3848ede56c9a4e5012ec1c358ea8c752164405c2
 DIST mongodb-src-r3.4.6.tar.gz 39922209 SHA256 
8170360f6dfede9c19c131f3d76831e952b3f1494925aa7e2a3a2f95b58ad901 SHA512 
68da2f385a5e1d636f1699b13818e125af2b7f13c6ff74d5f6dc8f9e04025f9baaa23acfd386118d90ac0eb8b9b7dfbf5b00f1db580a1ea1fe2309361f46eae4
 WHIRLPOOL 
71b9f42a192b41c797763a02eb8b318488edbd7ffaa149497d3dea5c446c43ff078d24e48971ce4644d54767bcb848e1acaca3e17be9e8c50bbdd349e0d05fab
+DIST mongodb-src-r3.4.7.tar.gz 39936247 SHA256 
9272e7663c7915e09ad2609e28c58437d760d54a9552c711ea735cd8e1784ec0 SHA512 
30f4d0dbd487d148531d7073881cd55db3fef3dcfd199e260e1a51858c5a2c28dfe904d1273b89b27b2fbcde23c3a301a3fa24766489ad6eb2daa25da31d3182
 WHIRLPOOL 
0ecaa271f9fbe634404aca2d13b0bb0ef47847656fc2825f5ff220655bc213df96170ec6009efc033c5e0a50baf7afd400c240dcaecdaf03fc356138121dd928

diff --git a/dev-db/mongodb/files/mongodb-3.4.7-no-boost-check.patch 
b/dev-db/mongodb/files/mongodb-3.4.7-no-boost-check.patch
new file mode 100644
index 000..1d908e73f43
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.4.7-no-boost-check.patch
@@ -0,0 +1,13 @@
+diff --git a/SConstruct b/SConstruct
+index df92e41659..2c387d5a24 100644
+--- a/SConstruct
 b/SConstruct
+@@ -2831,8 +2831,6 @@ def doConfigure(myenv):
+ if use_system_version_of_library("boost"):
+ if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
+ myenv.ConfError("can't find boost headers")
+-if not conf.CheckBoostMinVersion():
+-myenv.ConfError("system's version of boost is too old. version 
1.49 or better required")
+ 
+ # Note that on Windows with using-system-boost builds, the following
+ # FindSysLibDep calls do nothing useful (but nothing problematic 
either)

diff --git a/dev-db/mongodb/mongodb-3.4.7.ebuild 
b/dev-db/mongodb/mongodb-3.4.7.ebuild
new file mode 100644
index 000..2aef3eaf125
--- /dev/null
+++ b/dev-db/mongodb/mongodb-3.4.7.ebuild
@@ -0,0 +1,189 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+SCONS_MIN_VERSION="2.3.0"
+CHECKREQS_DISK_BUILD="2400M"
+CHECKREQS_DISK_USR="512M"
+CHECKREQS_MEMORY="1024M"
+
+inherit eutils flag-o-matic multilib pax-utils scons-utils systemd 
toolchain-funcs user versionator check-reqs
+
+MY_P=${PN}-src-r${PV/_rc/-rc}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
+HOMEPAGE="http://www.mongodb.org;
+SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz;
+
+LICENSE="AGPL-3 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug kerberos libressl mms-agent ssl test +tools"
+
+RDEPEND=">=app-arch/snappy-1.1.3
+   >=dev-cpp/yaml-cpp-0.5.3
+   >=dev-libs/boost-1.60[threads(+)]
+   >=dev-libs/libpcre-8.39[cxx]
+   dev-libs/snowball-stemmer
+   net-libs/libpcap
+   >=sys-libs/zlib-1.2.8
+   mms-agent? ( app-admin/mms-agent )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-1.0.1g:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${RDEPEND}
+   >=sys-devel/gcc-5.3.0:*
+   sys-libs/ncurses
+   sys-libs/readline
+   debug? ( dev-util/valgrind )
+   kerberos? ( dev-libs/cyrus-sasl[kerberos] )
+   test? (
+   dev-python/pymongo
+   

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2017-09-05 Thread David Seifert
commit: faee40dcab8c8344b772f0d414aa95b2579494d5
Author: David Seifert  gentoo  org>
AuthorDate: Tue Sep  5 08:15:17 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Sep  5 08:15:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faee40dc

dev-db/mongodb: Add missing sys/sysmacros.h include

Closes: https://bugs.gentoo.org/show_bug.cgi?id=629906
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../files/mongodb-3.4.6-sysmacros-include.patch| 38 ++
 dev-db/mongodb/mongodb-3.4.6.ebuild| 13 
 2 files changed, 45 insertions(+), 6 deletions(-)

diff --git a/dev-db/mongodb/files/mongodb-3.4.6-sysmacros-include.patch 
b/dev-db/mongodb/files/mongodb-3.4.6-sysmacros-include.patch
new file mode 100644
index 000..868ba73e442
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.4.6-sysmacros-include.patch
@@ -0,0 +1,38 @@
+From e245cac2b3c18015dee8caddd449532785d15c2b Mon Sep 17 00:00:00 2001
+From: Jason Carey 
+Date: Mon, 26 Jun 2017 11:09:10 -0400
+Subject: [PATCH] SERVER-29855 Pull major/minor from sys/sysmacros.h
+
+Per newer versions of glibc:
+
+
+error: In the GNU C Library, "major" is defined
+ by . For historical compatibility, it is
+ currently defined by  as well, but we plan to
+ remove this soon. To use "major", include 
+ directly. If you did not intend to use a system-defined macro
+ "major", you should undefine it after including . [-Werror]
+ string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' 
<< minor(dev)
+
+
+Including  appears to be the correct solution to quiet
+the warning
+---
+ src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp 
b/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp
+index 5a784b25dc7..c43e148d3f4 100644
+--- a/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp
 b/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp
+@@ -36,6 +36,10 @@
+ #include 
+ #include 
+ 
++#ifdef __linux__
++#include 
++#endif
++
+ #include "mongo/db/mongod_options.h"
+ #include "mongo/db/storage/mmap_v1/data_file_sync.h"
+ #include "mongo/db/storage/mmap_v1/dur.h"

diff --git a/dev-db/mongodb/mongodb-3.4.6.ebuild 
b/dev-db/mongodb/mongodb-3.4.6.ebuild
index 18751f0bf10..5900f1f4fac 100644
--- a/dev-db/mongodb/mongodb-3.4.6.ebuild
+++ b/dev-db/mongodb/mongodb-3.4.6.ebuild
@@ -100,12 +100,13 @@ pkg_setup() {
 }
 
 src_prepare() {
-   epatch "${FILESDIR}/${PN}-3.4.0-fix-scons.patch"
-   epatch "${FILESDIR}/${P}-no-boost-check.patch"
-   epatch 
"${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch"
-   if has_version ">=dev-libs/boost-1.62"; then
-   epatch "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch"
-   fi
+   epatch \
+   "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" \
+   "${FILESDIR}/${P}-no-boost-check.patch" \
+   
"${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch" \
+   "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" \
+   "${FILESDIR}/${PN}-3.4.6-sysmacros-include.patch"
+
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2017-07-26 Thread Zac Medico
commit: b1c029b6c31036b2b0e360052092b2a6e5464118
Author: Steven Green  greenius  co  uk>
AuthorDate: Wed Jul 26 22:02:14 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Jul 26 22:17:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c029b6

dev-db/mongodb: patch 3.4.4 for bug 625148

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 ...4-Replace-string-with-explicit-std-string.patch | 302 +
 dev-db/mongodb/mongodb-3.4.4.ebuild|   3 +-
 2 files changed, 304 insertions(+), 1 deletion(-)

diff --git 
a/dev-db/mongodb/files/mongodb-3.4.4-Replace-string-with-explicit-std-string.patch
 
b/dev-db/mongodb/files/mongodb-3.4.4-Replace-string-with-explicit-std-string.patch
new file mode 100644
index 000..da33d47df7f
--- /dev/null
+++ 
b/dev-db/mongodb/files/mongodb-3.4.4-Replace-string-with-explicit-std-string.patch
@@ -0,0 +1,302 @@
+From 9df9837299ab952d4d30db2427beef667e608f79 Mon Sep 17 00:00:00 2001
+From: Steven Green 
+Date: Mon, 17 Jul 2017 13:05:44 +0100
+Subject: [PATCH] SERVER-30166 Replace string with explicit std::string.
+ Enables compulation when using --use-system-pcre which presusably used to do
+ 'using std::string' in an earlier version of pcre
+
+ https://github.com/mongodb/mongo/pull/1166
+
+---
+ src/mongo/db/dbwebserver.cpp |  1 +
+ src/mongo/db/matcher/expression_leaf.cpp |  4 ++--
+ src/mongo/db/repl/master_slave.cpp   | 40 
+ src/mongo/shell/bench.cpp| 14 +--
+ src/mongo/util/net/miniwebserver.cpp |  1 +
+ 5 files changed, 31 insertions(+), 29 deletions(-)
+
+diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp
+index b202e0500b9..02556135240 100644
+--- a/src/mongo/db/dbwebserver.cpp
 b/src/mongo/db/dbwebserver.cpp
+@@ -67,6 +67,7 @@ namespace mongo {
+ using std::map;
+ using std::stringstream;
+ using std::vector;
++using std::string;
+ 
+ using namespace html;
+ 
+diff --git a/src/mongo/db/matcher/expression_leaf.cpp 
b/src/mongo/db/matcher/expression_leaf.cpp
+index d562bff141e..b96a36d543f 100644
+--- a/src/mongo/db/matcher/expression_leaf.cpp
 b/src/mongo/db/matcher/expression_leaf.cpp
+@@ -202,7 +202,7 @@ void ComparisonMatchExpression::debugString(StringBuilder& 
debug, int level) con
+ }
+ 
+ void ComparisonMatchExpression::serialize(BSONObjBuilder* out) const {
+-string opString = "";
++std::string opString = "";
+ switch (matchType()) {
+ case LT:
+ opString = "$lt";
+@@ -884,7 +884,7 @@ void BitTestMatchExpression::debugString(StringBuilder& 
debug, int level) const
+ }
+ 
+ void BitTestMatchExpression::serialize(BSONObjBuilder* out) const {
+-string opString = "";
++std::string opString = "";
+ 
+ switch (matchType()) {
+ case BITS_ALL_SET:
+diff --git a/src/mongo/db/repl/master_slave.cpp 
b/src/mongo/db/repl/master_slave.cpp
+index 05faad12599..042350465c6 100644
+--- a/src/mongo/db/repl/master_slave.cpp
 b/src/mongo/db/repl/master_slave.cpp
+@@ -168,7 +168,7 @@ BSONObj ReplSource::jsobj() {
+ 
+ BSONObjBuilder dbsNextPassBuilder;
+ int n = 0;
+-for (set::iterator i = addDbNextPass.begin(); i != 
addDbNextPass.end(); i++) {
++for (set::iterator i = addDbNextPass.begin(); i != 
addDbNextPass.end(); i++) {
+ n++;
+ dbsNextPassBuilder.appendBool(*i, 1);
+ }
+@@ -177,7 +177,7 @@ BSONObj ReplSource::jsobj() {
+ 
+ BSONObjBuilder incompleteCloneDbsBuilder;
+ n = 0;
+-for (set::iterator i = incompleteCloneDbs.begin(); i != 
incompleteCloneDbs.end(); i++) {
++for (set::iterator i = incompleteCloneDbs.begin(); i != 
incompleteCloneDbs.end(); i++) {
+ n++;
+ incompleteCloneDbsBuilder.appendBool(*i, 1);
+ }
+@@ -188,7 +188,7 @@ BSONObj ReplSource::jsobj() {
+ }
+ 
+ void ReplSource::ensureMe(OperationContext* txn) {
+-string myname = getHostName();
++std::string myname = getHostName();
+ 
+ // local.me is an identifier for a server for getLastError w:2+
+ bool exists = Helpers::getSingleton(txn, "local.me", _me);
+@@ -378,10 +378,10 @@ class HandshakeCmd : public Command {
+ }
+ 
+ virtual bool run(OperationContext* txn,
+- const string& ns,
++ const std::string& ns,
+  BSONObj& cmdObj,
+  int options,
+- string& errmsg,
++ std::string& errmsg,
+  BSONObjBuilder& result) {
+ HandshakeArgs handshake;
+ Status status = handshake.initialize(cmdObj);
+@@ -398,7 +398,7 @@ class HandshakeCmd : public Command {
+ } handshakeCmd;
+ 
+ bool replHandshake(DBClientConnection* conn, const OID& myRID) {
+-string myname = getHostName();
++std::string myname = getHostName();
+ 
+ BSONObjBuilder cmd;
+ cmd.append("handshake", myRID);
+@@ -450,7 +450,7 @@ void 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2017-01-10 Thread Alexys Jacob
commit: e6e8be3a23eda3522082446e3a37da67fd0eb983
Author: Ultrabug  gentoo  org>
AuthorDate: Wed Jan 11 07:39:43 2017 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Wed Jan 11 07:40:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e8be3a

dev-db/mongodb: version bump fixes #602434

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-db/mongodb/Manifest|   1 +
 dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch |  35 
 dev-db/mongodb/mongodb-3.4.1.ebuild| 190 +
 3 files changed, 226 insertions(+)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 205aa4f..522606a 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -3,3 +3,4 @@ DIST mongodb-src-r2.6.12.tar.gz 16462842 SHA256 
2dd51eabcfcd133573be74c0131c85b6
 DIST mongodb-src-r2.6.8.tar.gz 14545274 SHA256 
1997f60d9de17320f22c604d8aa1cbe5f38d877142cd0e9130fe3dae7b311a06 SHA512 
6fa69750debb40d0be4d5d057125320d97e882e30c43c664fcb6ec6a9e6a8bff5e63637fc8952a6d898556b2c2ce84254d135387dc0879bf65dbd5e91b8732ef
 WHIRLPOOL 
ba87ca07258ad4df90c92bc300da6cc661117a98f254a8ba62ac362a857ecc2462eb9ddf1d929a6e2187853233053e975aa02139f880d736e47e542a9504bd28
 DIST mongodb-src-r3.0.14.tar.gz 28093922 SHA256 
ebbb758ca7ee53e8d25e2410bb7ef61640829566d094cde2487b55e73d0fd880 SHA512 
477fab29ca0ad2a0f24b895e30dc4770af8d6a1a57f3c10a02a989b58dd22510db554da0418129d4e81958342ad169696eed4b86bf5aa73916c7cec879db1152
 WHIRLPOOL 
7fc02969c52954f0fd9b90ace9efd3677a9d6b8d3618b5dedb470343a3ba71789d451cc30a95742b2b9e61b21ffe0f1a23e239e388a497a327f2cc8ed1ed6aef
 DIST mongodb-src-r3.2.11.tar.gz 29113706 SHA256 
625eb28fd47b2af63b30343a064de7f42e5265f4c642874ec766ba3643fd80d7 SHA512 
8cb63f878d573e2fb2bace57a10d036aebe0cc06e46a3cd5480fb4a8bcd51ac5219c729b5ea85213e0c905906a93780080332fa01dbcd29e01358f5e9051824c
 WHIRLPOOL 
fca825400e9ab16e53dfbbd400a9bd87b9a866d56b2a5839ece25b8dbfe55074fa04d40f47c337f67cb3bd3e547b99b4349eeb15a87a9b9659ea0f1a0cc2c526
+DIST mongodb-src-r3.4.1.tar.gz 40161375 SHA256 
54f475e553827733fb351ee4b03b470297f0d08e0434fbf7e6661705124da97b SHA512 
48400f00ed84922b1e734ad915c376a567af2cd32e9cdcc40819fdfbc0a5c2444e4f325b1a541fc21cf87f4d95f9bdcc64bd59eab9d25e75b28732978feda031
 WHIRLPOOL 
1dce39c7b36b2c1d3760c7c560c1fefde9ea6d780ef1ef8b5db38f3ed8f0aff9a4ae51ab26381d9330c5b3ad3182ed998ae8e2a0ecc85e9347714ffa853d7734

diff --git a/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch 
b/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch
new file mode 100644
index ..2dd751f
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch
@@ -0,0 +1,35 @@
+--- a/SConstruct   2016-12-27 11:10:06.801949538 +0100
 b/SConstruct   2016-12-27 11:12:40.426407713 +0100
+@@ -1557,7 +1557,6 @@
+ # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is 
found in the search path but can't be used.
+ env.Append( CCFLAGS=["-fno-omit-frame-pointer",
+  "-fno-strict-aliasing",
+- "-ggdb",
+  "-pthread",
+  "-Wall",
+  "-Wsign-compare",
+@@ -1568,8 +1567,9 @@
+ if not has_option("disable-warnings-as-errors"):
+ env.Append( CCFLAGS=["-Werror"] )
+ 
+-env.Append( CXXFLAGS=["-Woverloaded-virtual"] )
+ env.Append( LINKFLAGS=["-pthread"] )
++env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
++env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
+ 
+ # SERVER-9761: Ensure early detection of missing symbols in dependent 
libraries at program
+ # startup.
+@@ -1579,10 +1579,10 @@
+ env.Append( LINKFLAGS=["-Wl,-z,now"] )
+ env.Append( LINKFLAGS=["-rdynamic"] )
+ 
+-env.Append( LIBS=[] )
++env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] )
+ 
+-#make scons colorgcc friendly
+-for key in ('HOME', 'TERM'):
++#make scons colorgcc, distcc, ccache friendly
++for key in ('HOME', 'PATH', 'TERM'):
+ try:
+ env['ENV'][key] = os.environ[key]
+ except KeyError:

diff --git a/dev-db/mongodb/mongodb-3.4.1.ebuild 
b/dev-db/mongodb/mongodb-3.4.1.ebuild
new file mode 100644
index ..39b27b8
--- /dev/null
+++ b/dev-db/mongodb/mongodb-3.4.1.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+SCONS_MIN_VERSION="2.3.0"
+CHECKREQS_DISK_BUILD="2400M"
+CHECKREQS_DISK_USR="512M"
+CHECKREQS_MEMORY="1024M"
+
+inherit eutils flag-o-matic multilib pax-utils scons-utils systemd 
toolchain-funcs user versionator check-reqs
+
+MY_P=${PN}-src-r${PV/_rc/-rc}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
+HOMEPAGE="http://www.mongodb.org;
+SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz;
+
+LICENSE="AGPL-3 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2016-01-03 Thread Alexys Jacob
commit: 28a3f51f40f5252ce059ef182b3dd4cf516cfd77
Author: Ultrabug  gentoo  org>
AuthorDate: Thu Dec 31 14:07:02 2015 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Sun Jan  3 12:26:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a3f51f

dev-db/mongodb: drop 2.4 series after bumping mongochem deps

Package-Manager: portage-2.2.25

 dev-db/mongodb/Manifest|   2 -
 .../mongodb/files/mongodb-2.2-r1-fix-boost.patch   |  13 --
 dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch|  33 -
 .../mongodb/files/mongodb-2.4.11-fix-scons.patch   |  23 
 dev-db/mongodb/files/mongodb.confd |  14 --
 dev-db/mongodb/files/mongodb.initd-r1  |  40 --
 dev-db/mongodb/metadata.xml|   3 -
 dev-db/mongodb/mongodb-2.4.13.ebuild   | 150 -
 dev-db/mongodb/mongodb-2.4.14.ebuild   | 150 -
 9 files changed, 428 deletions(-)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index ebaaf21..52cf81d 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -1,6 +1,4 @@
 DIST 20140409-mms-monitoring-agent.zip 40122 SHA256 
9c4f89cfba10b4604512ab21eb082248104aeabe7e813b852db2b86f47d7ecb2 SHA512 
5290a813c407251b5e4def813ce6fe7e09d6c3a1907fd409e326b15b07aed39f7db3a28710ecdaffe2771136c9433253c5d1857c823844a4b75dd38f1d15eefd
 WHIRLPOOL 
ce80870e2618f3d9ed80af41b1069ed5bd97af475089564eed1bc111e820c048bc5cbaa03f859349e772fe232f876127e0627c75c135a9b2e196ab13258ed9f1
-DIST mongodb-src-r2.4.13.tar.gz 14183056 SHA256 
9ad8a3b58457c35b6dd020ca2364ee605e30b839f5475449a229fdcd4115866c SHA512 
26256410593f2072e8a8728fbb2665bb98d4c73f3601136e8306d1d6b421421827f66e4073515fea7dfbc0a27f5615cd30f8a85e5980ea3dd46f2f06366946cb
 WHIRLPOOL 
6e64a8ba466da74342f7eabd41b8eb86a3d1cd99c5665e54872642230ec0ed86216c0e533b08d21e0c6b6c20b7d7887a34aad0679ba32523dd3ca0e464190348
-DIST mongodb-src-r2.4.14.tar.gz 15120808 SHA256 
f5ed949cf7c9669267e6f426f3dc30bf6c0e2d68ba7df9e29f16799e8212e7ce SHA512 
6811f27a57a2df07f59215f544948708cd5846237c24df6eb14bf09384db4136d964587d82008ff2b0a4dea94d6869fc1dcf2ccd07e5f285da5012a0a091a74f
 WHIRLPOOL 
c89b2f4f1a77523f895b3fa21ec82813a4859391c82e3934952b25ab8602c30ac13b9e6b2a00082bbe7bace32edacdb3270e46ac0f3a8c0ab10ea48b5911e019
 DIST mongodb-src-r2.6.11.tar.gz 16461163 SHA256 
e1a64a1ef7114f3e8ed3c7acaa4e97ffe30e2b57a1a5f2a40f0018bad3b8d12f SHA512 
43b8c5e1ffde2c7f4bead392a95fdb34169419b8296acf04a17894379647c09bbec91be88037ab447da399f03a2c7c54c9d7613df0baa6e9e48e1267327ca937
 WHIRLPOOL 
083c897f83992c64a89e595058b7695671ca7e9339be2a54d14cf8a200d5063f4a33c320c02e45f5d3bd6367b5acf67a80677c92abba9a92a647d7310a2e6316
 DIST mongodb-src-r2.6.8.tar.gz 14545274 SHA256 
1997f60d9de17320f22c604d8aa1cbe5f38d877142cd0e9130fe3dae7b311a06 SHA512 
6fa69750debb40d0be4d5d057125320d97e882e30c43c664fcb6ec6a9e6a8bff5e63637fc8952a6d898556b2c2ce84254d135387dc0879bf65dbd5e91b8732ef
 WHIRLPOOL 
ba87ca07258ad4df90c92bc300da6cc661117a98f254a8ba62ac362a857ecc2462eb9ddf1d929a6e2187853233053e975aa02139f880d736e47e542a9504bd28
 DIST mongodb-src-r3.0.5.tar.gz 26332788 SHA256 
05b16a7991aa65b1d396a3dc622107fba3216fffa8b9ed0817e76ae95f5f7fdb SHA512 
17c66f9501e6517feba069f85bb468a421c45300306977ebfed71e6ce120e2bed64f14698e470c644360e23f40132171d64ac85f0962aa3ba824a48cf228775a
 WHIRLPOOL 
7ed1f2b0daf7cb9ff081e69823e79504b8c99a221c74c2a541d673febacad9e555ef34eb4f2e97effe7e6fddafb81b903ab5a4ac8c4e8951640a0f2c6828ba14

diff --git a/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch 
b/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch
deleted file mode 100644
index b6c9a1e..000
--- a/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch
+++ /dev/null
@@ -1,13 +0,0 @@
 mongodb-src-r2.2.0/SConstruct.old  2012-10-09 12:41:25.0 -0400
-+++ mongodb-src-r2.2.0/SConstruct  2012-10-09 12:41:41.0 -0400
-@@ -171,8 +171,8 @@
- add_option( "extrapathdyn", "comma separated list of add'l paths  
(--extrapath /opt/foo/,/foo) dynamic linking" , 1 , True )
- add_option( "extralib", "comma separated list of libraries  (--extralib 
js_static,readline" , 1 , True )
- 
--add_option( "boost-compiler", "compiler used for boost (gcc41)" , 1 , True , 
"boostCompiler" )
--add_option( "boost-version", "boost version for linking(1_38)" , 1 , True , 
"boostVersion" )
-+add_option( "boost-compiler", "compiler used for boost (gcc41)" , 1 , False , 
"boostCompiler" )
-+add_option( "boost-version", "boost version for linking(1_38)" , 1 , False , 
"boostVersion" )
- 
- add_option( "no-glibc-check" , "don't check for new versions of glibc" , 0 , 
False )
- 

diff --git a/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch 
b/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch
deleted file mode 100644
index 553967e..000
--- a/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
 a/src/mongo/client/sasl_client_session.cpp 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2016-01-01 Thread Michał Górny
commit: ea24e4c1ad373d820f4c1022eda7b6bffc2679a7
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  1 10:35:49 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  1 10:35:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea24e4c1

dev-db/mongodb: [QA] Revert "drop 2.4 series"

Revert the removal of last ebuilds satisfying
dev-db/mongodb[sharedclient] as required by sci-chemistry/mongochem.

 dev-db/mongodb/Manifest|   2 +
 .../mongodb/files/mongodb-2.2-r1-fix-boost.patch   |  13 ++
 dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch|  33 +
 .../mongodb/files/mongodb-2.4.11-fix-scons.patch   |  23 
 dev-db/mongodb/files/mongodb.confd |  14 ++
 dev-db/mongodb/files/mongodb.initd-r1  |  40 ++
 dev-db/mongodb/metadata.xml|   3 +
 dev-db/mongodb/mongodb-2.4.13.ebuild   | 150 +
 dev-db/mongodb/mongodb-2.4.14.ebuild   | 150 +
 9 files changed, 428 insertions(+)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 52cf81d..ebaaf21 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -1,4 +1,6 @@
 DIST 20140409-mms-monitoring-agent.zip 40122 SHA256 
9c4f89cfba10b4604512ab21eb082248104aeabe7e813b852db2b86f47d7ecb2 SHA512 
5290a813c407251b5e4def813ce6fe7e09d6c3a1907fd409e326b15b07aed39f7db3a28710ecdaffe2771136c9433253c5d1857c823844a4b75dd38f1d15eefd
 WHIRLPOOL 
ce80870e2618f3d9ed80af41b1069ed5bd97af475089564eed1bc111e820c048bc5cbaa03f859349e772fe232f876127e0627c75c135a9b2e196ab13258ed9f1
+DIST mongodb-src-r2.4.13.tar.gz 14183056 SHA256 
9ad8a3b58457c35b6dd020ca2364ee605e30b839f5475449a229fdcd4115866c SHA512 
26256410593f2072e8a8728fbb2665bb98d4c73f3601136e8306d1d6b421421827f66e4073515fea7dfbc0a27f5615cd30f8a85e5980ea3dd46f2f06366946cb
 WHIRLPOOL 
6e64a8ba466da74342f7eabd41b8eb86a3d1cd99c5665e54872642230ec0ed86216c0e533b08d21e0c6b6c20b7d7887a34aad0679ba32523dd3ca0e464190348
+DIST mongodb-src-r2.4.14.tar.gz 15120808 SHA256 
f5ed949cf7c9669267e6f426f3dc30bf6c0e2d68ba7df9e29f16799e8212e7ce SHA512 
6811f27a57a2df07f59215f544948708cd5846237c24df6eb14bf09384db4136d964587d82008ff2b0a4dea94d6869fc1dcf2ccd07e5f285da5012a0a091a74f
 WHIRLPOOL 
c89b2f4f1a77523f895b3fa21ec82813a4859391c82e3934952b25ab8602c30ac13b9e6b2a00082bbe7bace32edacdb3270e46ac0f3a8c0ab10ea48b5911e019
 DIST mongodb-src-r2.6.11.tar.gz 16461163 SHA256 
e1a64a1ef7114f3e8ed3c7acaa4e97ffe30e2b57a1a5f2a40f0018bad3b8d12f SHA512 
43b8c5e1ffde2c7f4bead392a95fdb34169419b8296acf04a17894379647c09bbec91be88037ab447da399f03a2c7c54c9d7613df0baa6e9e48e1267327ca937
 WHIRLPOOL 
083c897f83992c64a89e595058b7695671ca7e9339be2a54d14cf8a200d5063f4a33c320c02e45f5d3bd6367b5acf67a80677c92abba9a92a647d7310a2e6316
 DIST mongodb-src-r2.6.8.tar.gz 14545274 SHA256 
1997f60d9de17320f22c604d8aa1cbe5f38d877142cd0e9130fe3dae7b311a06 SHA512 
6fa69750debb40d0be4d5d057125320d97e882e30c43c664fcb6ec6a9e6a8bff5e63637fc8952a6d898556b2c2ce84254d135387dc0879bf65dbd5e91b8732ef
 WHIRLPOOL 
ba87ca07258ad4df90c92bc300da6cc661117a98f254a8ba62ac362a857ecc2462eb9ddf1d929a6e2187853233053e975aa02139f880d736e47e542a9504bd28
 DIST mongodb-src-r3.0.5.tar.gz 26332788 SHA256 
05b16a7991aa65b1d396a3dc622107fba3216fffa8b9ed0817e76ae95f5f7fdb SHA512 
17c66f9501e6517feba069f85bb468a421c45300306977ebfed71e6ce120e2bed64f14698e470c644360e23f40132171d64ac85f0962aa3ba824a48cf228775a
 WHIRLPOOL 
7ed1f2b0daf7cb9ff081e69823e79504b8c99a221c74c2a541d673febacad9e555ef34eb4f2e97effe7e6fddafb81b903ab5a4ac8c4e8951640a0f2c6828ba14

diff --git a/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch 
b/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch
new file mode 100644
index 000..b6c9a1e
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch
@@ -0,0 +1,13 @@
+--- mongodb-src-r2.2.0/SConstruct.old  2012-10-09 12:41:25.0 -0400
 mongodb-src-r2.2.0/SConstruct  2012-10-09 12:41:41.0 -0400
+@@ -171,8 +171,8 @@
+ add_option( "extrapathdyn", "comma separated list of add'l paths  
(--extrapath /opt/foo/,/foo) dynamic linking" , 1 , True )
+ add_option( "extralib", "comma separated list of libraries  (--extralib 
js_static,readline" , 1 , True )
+ 
+-add_option( "boost-compiler", "compiler used for boost (gcc41)" , 1 , True , 
"boostCompiler" )
+-add_option( "boost-version", "boost version for linking(1_38)" , 1 , True , 
"boostVersion" )
++add_option( "boost-compiler", "compiler used for boost (gcc41)" , 1 , False , 
"boostCompiler" )
++add_option( "boost-version", "boost version for linking(1_38)" , 1 , False , 
"boostVersion" )
+ 
+ add_option( "no-glibc-check" , "don't check for new versions of glibc" , 0 , 
False )
+ 

diff --git a/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch 
b/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch
new file mode 100644
index 000..553967e
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch
@@ -0,0 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/, dev-db/mongodb/files/

2015-12-27 Thread Alexys Jacob
commit: bc8b63573cd8ed98205502464d7340438ed4cf4c
Author: Ultrabug  gentoo  org>
AuthorDate: Sun Dec 27 16:59:13 2015 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Sun Dec 27 16:59:27 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc8b6357

dev-db/mongodb: version bump fix #568322 thx to Tomáš Mózes and Bob Cochran

Package-Manager: portage-2.2.25

 dev-db/mongodb/Manifest|   1 +
 dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch |  30 
 dev-db/mongodb/mongodb-3.2.0.ebuild| 174 +
 3 files changed, 205 insertions(+)

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index d1d69ed..ebaaf21 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -7,3 +7,4 @@ DIST mongodb-src-r3.0.5.tar.gz 26332788 SHA256 
05b16a7991aa65b1d396a3dc622107fba
 DIST mongodb-src-r3.0.6.tar.gz 26241944 SHA256 
609f6bd416ed11898b49406332b8ff301de239ba72df0bdbf1603233229c822d SHA512 
1990e9011ae586e30aef28be58f9fc6d8b7f45b787dbde9785c82eff6fb0a70ea45152e450c032a898e6464bbb9b1683082f2a072ba874f7532e167330658175
 WHIRLPOOL 
4090cfb5912f81e6329d3c3680009037f22cd406611f78dc0ddd6fc9a63ee5261c7751fe83c60add2d5917f57b2a3c2796c48abb6f633157a8811d0571793a35
 DIST mongodb-src-r3.0.7.tar.gz 26261343 SHA256 
2d25bae7c3bfb3c0e168fcad526dc212da72faaeae6d1573db631cacb172a7e7 SHA512 
183691c5dc137ea4b86d53d24d2935fd66ed8de60fbf5eca0a0a39c159be1f29043cd655cde1a213a98a76b2b3e6369dbccf790b02a1cc4b622c067ad3c0c91b
 WHIRLPOOL 
986d962e76122142ca810eb7fe13ef66c88c7e354f066292836fc1207fa64c8bbb7fc49d1392db503c8a594d2593e2a19d831d7367462fcfa43eea38768e6323
 DIST mongodb-src-r3.0.8.tar.gz 26245612 SHA256 
3574f2f577e212ff1876485e1502c91f70f996fbbcc5a4657fe440ac76bd97a5 SHA512 
3b8578ed2a6196cda0867d219214e1dc9fe95ecaa8320cdee3766c9a8a78e9cf66013769a3fbbf03ccf9a35d97e02a1eaa5fe8fc7429a0d76dd78486db7520ac
 WHIRLPOOL 
ded0b84b940c66b8a7ef6b363f179a4b2c1ddc23a3077b9cadb01f76c2a90956f0a720e713d4806db6132ac96b1026b82c2bf966ec3869af095e12590ea04d0e
+DIST mongodb-src-r3.2.0.tar.gz 26440220 SHA256 
c6dd1d1670b86cbf02a531ddf7a7cda8f138d8733acce33766f174bd1e5ab2ee SHA512 
4b321b582f5ec2613b869b003a02494c8a9e3b772b1f13898417b1e831c204468309a0e1785acd3b85c8a663cae91e55e44f53f8b74bd3a516b1e1471f606882
 WHIRLPOOL 
c10639597303c122376d7387a4d5c9bdf6c44d9971f476fab72c85e78206ed256270d1a5e01e53aef4979127fdd03b3e5fbefa50ebf7639fa172723d6eee9737

diff --git a/dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch 
b/dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch
new file mode 100644
index 000..1eb79d1
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch
@@ -0,0 +1,30 @@
+--- a/SConstruct   2015-12-02 20:01:34.0 +0100
 b/SConstruct   2015-12-27 17:06:45.563739544 +0100
+@@ -1371,7 +1371,6 @@
+ env.Append( CCFLAGS=["-fno-omit-frame-pointer",
+  "-fPIC",
+  "-fno-strict-aliasing",
+- "-ggdb",
+  "-pthread",
+  "-Wall",
+  "-Wsign-compare",
+@@ -1382,8 +1381,9 @@
+ if not has_option("disable-warnings-as-errors"):
+ env.Append( CCFLAGS=["-Werror"] )
+ 
+-env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
+ env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
++env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
++env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
+ 
+ # SERVER-9761: Ensure early detection of missing symbols in dependent 
libraries at program
+ # startup.
+@@ -1398,7 +1398,7 @@
+ env.Append( SHLINKFLAGS=["-Wl,-z,now"] )
+ env.Append( LINKFLAGS=["-rdynamic"] )
+ 
+-env.Append( LIBS=[] )
++env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] )
+ 
+ #make scons colorgcc friendly
+ for key in ('HOME', 'TERM'):

diff --git a/dev-db/mongodb/mongodb-3.2.0.ebuild 
b/dev-db/mongodb/mongodb-3.2.0.ebuild
new file mode 100644
index 000..ab7952d
--- /dev/null
+++ b/dev-db/mongodb/mongodb-3.2.0.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+SCONS_MIN_VERSION="2.3.0"
+CHECKREQS_DISK_BUILD="2400M"
+CHECKREQS_DISK_USR="512M"
+CHECKREQS_MEMORY="1024M"
+
+inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user 
versionator check-reqs
+
+MY_P=${PN}-src-r${PV/_rc/-rc}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
+HOMEPAGE="http://www.mongodb.org;
+SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz;
+
+LICENSE="AGPL-3 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug kerberos libressl mms-agent ssl test +tools"
+
+RDEPEND=">=app-arch/snappy-1.1.2
+   >=dev-cpp/yaml-cpp-0.5.1
+   >=dev-libs/boost-1.57[threads(+)]
+   >=dev-libs/libpcre-8.37[cxx]
+   dev-libs/snowball-stemmer
+