databases/mongodb80: 8.0.34
Target install-dist instead of install-core. The documenation says
install-dist is "intended for a functional end-user installation".
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-8-0-34-is-released/344300?u=r_k
Release Notes:
https://www.mongodb.com/docs/manual/release-notes/8.0/#8034---oct-13-2026
Security: yes, see release notes for CVEs
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: 8.0.32
Added an extra Makefile to generate the *-bazel-repository-cache.tar.gz
in a reproducable way.
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-8-0-32-is-released/343535?u=r_k
Release Notes:
https://www.mongodb.com/docs/manual/release-notes/8.0/#8032---sept-11-2026
Security: CVE-2026-89099 "Race Condition in MongoDB Server Document Value Layer Leads to Memory Corruption"
databases/mongodb80: 8.0.29
Upstream changed the build tool from SCons to Bazel.
Please test before deploying to production.
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-8-0-29-is-released/342426?u=r_k
Release Notes:
https://www.mongodb.com/docs/manual/release-notes/8.0/#8029---aug-11-2026
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/mongodb70: 7.0.23
Includes patch to implement waitable atomics for FreeBSD for
https://jira.mongodb.org/browse/SERVER-81797.
This patch is developed by me. It did not go through QA of MongoDB Inc.
I asked to upstream the patch but they don't want to take responsibilty
for code they don't run themselves. (Which I can understand from their
perspective.)
https://github.com/mongodb/mongo/pull/1607#issuecomment-2996276435
https://jira.mongodb.org/browse/SERVER-99225
Anyway, this has run without errors for a while on my Raspberry Pi + net-mgmt/unifi9.
I don't have full QA in place and could only do limited testing. I can't
take any responsibilty for the quality of the patch.
Make backups and test for yourself in your setup before upgrading
any critical production environment.
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.23---aug-13--2025
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-7-0-23-is-released/327242?u=r_k
databases/mongodb80: 8.0.9
Changes:
https://www.mongodb.com/docs/v8.0/release-notes/8.0/#8.0.9---may-1--2025
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-8-0-9-is-released/321462?u=r_k
- refactored do-configure to use HAS_CONFIGURE which properly passes
CONFIGURE_ENV
- updates spidermonkey to MozJS 128.8-ESR
- needs cbindgen now
- pet portclippy and portfmt (moved vars around)
- replaced multiple paths with MOZJS_WRKSRC
- removed a mozjs patch which is in upstream now
databases/mongodb80: 8.0.7
Changes:
https://www.mongodb.com/docs/manual/release-notes/8.0/#8.0.7---apr-14--2025
"This release contains security or reliability improvements. These release notes will be updated when more information is available."
Security: details not known yet
databases/mongodb80: update to 8.0.5
Changes:
https://www.mongodb.com/docs/manual/release-notes/8.0/#8.0.5---feb-20--2025
https://www.mongodb.com/community/forums/t/mongodb-8-0-5-rc1-is-released/312357?u=r_k
- spidermonkey updated to 115.19.0esr (from esr115.7)
- be more verbose in pre-configure check so I don't need to lookup the new revision
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/mongodb80: reimplement waitable_atomic.cpp
Reimplement src/mongo/platform/waitable_atomic.cpp using absolute time.
This uses more simple conversions.
The implementation is now similar to the Linux version instead of the
MacOS version.
It should not have any functional change.
Reported by: https://infosec.exchange/@david_chisnall/113797905538197081
Reported by: https://github.com/mongodb/mongo/pull/1607#issuecomment-2605593775
databases/mongodb80: patch is not necessary anymore
The same flag was set upstream in
branch v7.0: (a few days after I committed the patch)
https://github.com/mongodb/mongo/commit/7a0dcfa565aba4aaef159bf09cfaf2269678eb6c
master (which became 8.0):
https://github.com/mongodb/mongo/commit/ad8a74f5782fb8b3f24f74305c44da725732616a
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: update to 8.0.0
First release in the 8.0 series.
Release Notes:
https://www.mongodb.com/docs/manual/release-notes/8.0/
Changes since RC20:
https://github.com/mongodb/mongo/compare/r8.0.0-rc20...r8.0.0
- pet portlint on ${SH}.
databases/mongodb80: rc20
changes:
https://github.com/mongodb/mongo/compare/r8.0.0-rc19...r8.0.0-rc20
Only 1 pretty obvious bug fix commit on the branch so I dare to
commit this without the usual 24+ hours test build on my RPI4.
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-rc17
By popular demand an update to release candidate 17.
Changes:
https://github.com/mongodb/mongo/compare/r8.0.0-rc16...r8.0.0-rc17