Distributed document-oriented "NoSQL" database.
Mongo (from "humongous") is a high-performance, open source,
schema-free, document-oriented database. A common name in the
"NOSQL" community.
===> The following configuration options are available for mongodb80-8.0.34:
LTO=off: Use Link-Time Optimization
NOAVX=on: "Disable AVX instructions on amd64 (Sandybridge+)"
===> Use 'make config' to modify these settings
MongoDB on Raspberry Pi can work but is unsupported upstream.
Please read https://jira.mongodb.org/browse/SERVER-71772 and enable option
ARMV80A if you run this on a non-LSE ARM cpu like Raspberry Pi 4.
MongoDB 6.0 and up do not include the 'mongo' CLI shell anymore. You can
use the MongoDB Shell (https://github.com/mongodb-js/mongosh).
# pkg install npm
$ npm install mongosh
$ npx mongosh mongodb://127.0.0.1:27017/
Affects: users of databases/mongodb70, databases/mongodb80
Author: ronald@FreeBSD.org
Reason:
Ports mongodb70 7.0.23 and mongodb80 since 8.0.0 contain a patch to
implement waitable atomics for FreeBSD.
This patch is developed by me. It did not go through QA of MongoDB Inc.
I don't have full QA in place and could only do limited testing. I
can't take any responsibility for the quality of the patch.
Make backups and test for yourself in your setup before upgrading
any critical production environment.
databases/mongodb80: restore python 3.14 support
This always regresses after a big update. Sorry Peter :-)
Peter also added Bazel --batch mode. Explanation for batch mode
is in a comment in the Makefile and in the PR.
PR: 298510
databases/mongodb80: build fix for python 3.14
Based on the fix for databases/mongodb70.
No portrevision bump as it does not affect the default build.
PR: 298510
Reported by: peter.sopko
Tested by: peter.sopko
databases/mongodb80: build error on FreeBSD 16
src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp:62:51: error: in-class
initializer for static data member is not a constant expression
62 | BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, prior_value =
BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N - 1)));
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Upstream has newer versions. So upgrading probably fixes this.
But upgrading needs adoption of Bazel as a build system.
Help is appreciated for moving to Bazel.
databases/mongodb80: harden the port to external CONFIGURE_ARGS
CONFIGURE_ARGS is directly connected to CONFIGURE_SCRIPT and the script
only accepts 2 parameters. Exit 1 on incorrect number of parameters.
And don't allow to += on CONFIGURE_ARGS.
Not bumping PORTREVISION, no content change intended.
NB: This is the same change as 380338c53b75ef594b1faccc59bc111546809f31
for mongodb70.
PR: 291951
databases/mongodb[78]0: improve a patch
Be pedantic that '!= 0' is not the same as '== -1'. And indeed -1 is what
is documented in the man page of _umtx_op to indicate an error.
No functional change expected.
Reported
by: https://github.com/mongodb/mongo/pull/1607#pullrequestreview-2677292316
databases/mongodb80: add flavor for RPI-compatible version
Similar to commit 5ceff01406677 for mongodb70.
No revision bump as the default flavor does not change.
databases/mongodb[78]0: fix NOAVX option
bump portrevision as it did build but generated broken executables
piggyback a small portlint pacifier
PR: 282471
databases/mongodb80: unbreak on 15 + llvm 19.1.2
stick to <= llvm18 on FreeBSD 15
fixes:
In file included from
src/third_party/mozjs/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp:2:
In file included from
src/third_party/mozjs/extract/js/src/vm/GlobalObject.cpp:7:
In file included from src/third_party/mozjs/extract/js/src/vm/GlobalObject.h:34:
In file included from src/third_party/mozjs/extract/js/src/vm/JSContext.h:22:
In file included from
src/third_party/mozjs/extract/js/src/jit/PcScriptCache.h:12:
In file included from src/third_party/mozjs/extract/js/src/vm/Runtime.h:49:
In file included from src/third_party/mozjs/extract/js/src/vm/Caches.h:17:
In file included from
src/third_party/mozjs/extract/js/src/frontend/ScopeBindingCache.h:20:
In file included from src/third_party/mozjs/extract/js/src/vm/Scope.h:34:
In file included from src/third_party/mozjs/extract/js/src/vm/JSFunction.h:25:
In file included from src/third_party/mozjs/extract/js/src/vm/JSScript.h:41:
In file included from
src/third_party/mozjs/extract/js/src/vm/SharedImmutableStringsCache.h:22:
src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h:113:29: error:
reference to non-static member function must be called
113 | : lock_(std::move(rhs.lock)), value_(std::move(rhs.value_)) {
| ~~~~^~~~
1 error generated.
databases/mongodb80: rc19
changes:
https://github.com/mongodb/mongo/compare/r8.0.0-rc18...r8.0.0-rc19
- remove patch for get-sources.sh, the file is not used, we fetch the
mozjs source via the port.
- remove REINPLACE_CMD, it didn't change anything anymore.
====> Running Q/A tests (stage-qa)
Warning: Possible REINPLACE_CMD issues:
- - REINPLACE_CMD ran, but did not modify file contents:
/wrkdirs/usr/ports/databases/mongodb80/work/spidermonkey-bb6edb4fcd43607c87de81df8c58db11a663634a/python/mozbuild/mozbuild/util.py
- - REINPLACE_CMD ran, but did not modify file contents:
/wrkdirs/usr/ports/databases/mongodb80/work/spidermonkey-bb6edb4fcd43607c87de81df8c58db11a663634a/python/mozbuild/mozbuild/preprocessor.py
- - REINPLACE_CMD ran, but did not modify file contents:
/wrkdirs/usr/ports/databases/mongodb80/work/spidermonkey-bb6edb4fcd43607c87de81df8c58db11a663634a/python/mozbuild/mozbuild/backend/base.py
- - REINPLACE_CMD ran, but did not modify file contents:
/wrkdirs/usr/ports/databases/mongodb80/work/spidermonkey-bb6edb4fcd43607c87de81df8c58db11a663634a/python/mozbuild/mozbuild/action/process_define_files.py
databases/mongodb80: update to 8.0.0-rc16
Changes:
https://github.com/mongodb/mongo/compare/r8.0.0-rc15...r8.0.0-rc16
Removed SSL from OPTIONS. It was inherited from the first versions
of databases/mongodb, long before I became maintainer.
Currently disabling the SSL option does not disable ssl as ssl is
auto-detected and disabling ssl needs explicit --ssl=off which is
not implemented in the port. I never had a request for this in years
so I decided to just remove the option and have ssl enabled always.
databases/mongodb80: update to Release Candidate 15
While the whole world still rejoices MongoDB 8.0rc14 on FreeBSD rc15 is
already presented.
Changes:
https://github.com/mongodb/mongo/commits/v8.0/ up to 7a4986e