Port details |
- mongodb70 MongoDB Community Edition (7.0.x Branch)
- 7.0.16_2 databases
=2 7.0.16_1Version of this port present on the latest quarterly branch. - Maintainer: ronald@FreeBSD.org
 - Port Added: 2023-05-02 20:36:07
- Last Update: 2025-02-18 09:00:27
- Commit Hash: 5ceff01
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: net
- License: APACHE20 SSPLv1
- WWW:
- https://www.mongodb.com/docs/v7.0/
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- mongodb70>0:databases/mongodb70
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/databases/mongodb70/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/mongodb70
- pkg install mongodb70
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mongodb70
- Package flavors (<flavor>: <package>)
- default: mongodb70
- armv80a: mongodb70-armv80a
- ONLY_FOR_ARCHS: aarch64 amd64 powerpc64le
- distinfo:
- TIMESTAMP = 1734425826
SHA256 (223087fdc29f18678f6174e9807b8780e439acf6) = f234371584e2b2bc9953ae4fd145da19c99a6f04087f53d59616aecf29df039c
SIZE (223087fdc29f18678f6174e9807b8780e439acf6) = 1597
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-cheetah3>0 : devel/py-cheetah3@py311
- py311-packaging>0 : devel/py-packaging@py311
- py311-psutil>0 : sysutils/py-psutil@py311
- py311-pymongo>0 : databases/py-pymongo@py311
- py311-pyyaml>=3.11 : devel/py-pyyaml@py311
- gm4 : devel/m4
- gsed : textproc/gsed
- python3.11 : lang/python311
- scons-3.11 : devel/scons@py311
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libcurl.so : ftp/curl
- libsnappy.so : archivers/snappy
- libstemmer.so : textproc/snowballstemmer
- libunwind.so : devel/libunwind
- libyaml-cpp.so : devel/yaml-cpp
- libzstd.so : archivers/zstd
- libsasl2.so : security/cyrus-sasl2
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for mongodb70-7.0.16_2:
LTO=off: Use Link-Time Optimization
NOAVX=on: "Disable AVX instructions on amd64 (Sandybridge+)"
SASL=on: SASL authentication support
===> Use 'make config' to modify these settings
- Options name:
- databases_mongodb70
- USES:
- compiler:c++20-lang cpe python:build scons shebangfix ssl gmake pkgconfig
- pkg-message:
- For install:
- 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/
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.0.16_2 18 Feb 2025 09:00:27
    |
Ronald Klop (ronald)  |
databases/mongodb70: add flavor for RPI-compatible version
The default flavor is the upstream supported version. For older
ARM CPUs we have an -armv80a flavor now. MongoDB is known to be used by
net-mgmt/unifi* users on this hardware. MongoDB 6.0 is planned to go out
of support in July 2025 [1], so this is preparation to make MongoDB 7.0
the default dependency for Unifi.
[1] https://www.mongodb.com/legal/support-policy/lifecycles |
7.0.16_2 21 Jan 2025 08:55:01
    |
Ronald Klop (ronald)  |
databases/mongodb[78]0: use internal pcre2 code
Fails to build with future update of PCRE2 10.45-RC1.
PR: 283694
Reported by: diizzy@ (Daniel Engberg) |
7.0.16_1 24 Dec 2024 09:24:53
    |
Ronald Klop (ronald)  |
databases/mongodb[67]0: forgot to commit a patch
Fixes: 38836ff12d "databases/mongodb60: fix build with llvm19"
Fixes: 895b2a5c0485 "databases/mongodb70: fix build with llvm19" |
7.0.16_1 22 Dec 2024 17:23:16
    |
Ronald Klop (ronald)  |
databases/mongodb70: fix build with llvm19
Build with clang from base.
Uses 2 public patches. Documentation is in the patches themselves. |
7.0.16 22 Dec 2024 17:23:15
    |
Ronald Klop (ronald)  |
databases/mongodb70: 7.0.16
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#patch-releases |
7.0.15 25 Nov 2024 21:22:43
    |
Ronald Klop (ronald)  |
databases/mongodb[67]0: remove unused patch for get-sources.sh
The file is not used. We fetch the mozjs source via the ports Makefile.
This brings mongodb60 and mongodb70 more in line with mongodb80. |
7.0.15 25 Nov 2024 20:39:38
    |
Ronald Klop (ronald)  |
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 |
7.0.15 23 Nov 2024 21:26:30
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.15
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.15---oct-24--2024
Security: CVE-2024-10921 |
7.0.14_2 13 Nov 2024 20:32:04
    |
Ronald Klop (ronald)  |
databases/mongodb[78]0: fix build with NOAVX enabled
Thanks to Yuri and Borja who helped creating patches and tested.
PR: 282471 |
7.0.14_1 02 Nov 2024 20:01:52
    |
Ronald Klop (ronald)  |
databases/mongodb[78]0: NOAVX is broken
Disable NOAVX as default until further investigation.
ld.lld: error: undefined symbol: mozilla::sse_private::avx2_enabled
>>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324)
>>> extract/mozglue/misc/SIMD.o:(mozilla::SupportsAVX2()) in
archive build/opt/third_party/mozjs/libmozjs.a
>>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324)
>>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr8(char
const*, char, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a
>>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324)
>>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr16(char16_t
const*, char16_t, unsigned long)) in archive
build/opt/third_party/mozjs/libmozjs.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: mozilla::SIMD::memchr8AVX2(char const*, char,
unsigned long)
>>> referenced by SIMD.cpp:463
(src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:463) (Only the first 15 lines of the commit message are shown above ) |
7.0.14_1 02 Nov 2024 07:55:54
    |
Ronald Klop (ronald)  |
databases/mongodb[78]0: fix NOAVX option
bump portrevision as it did build but generated broken executables
piggyback a small portlint pacifier
PR: 282471 |
7.0.14 31 Oct 2024 07:31:04
    |
Ronald Klop (ronald)  |
databases/mongodb70: unbreak on 15 + llvm 19.1.2
stick to <= llvm18 on FreeBSD 15
fixes:
In file included from
src/third_party/mozjs/platform/x86_64/freebsd/build/Unified_cpp_js_src4.cpp:20:
In file included from src/third_party/mozjs/extract/js/src/jsapi.cpp:42:
In file included from
src/third_party/mozjs/extract/js/src/gc/PublicIterators.h:17:
In file included from src/third_party/mozjs/extract/js/src/gc/Zone.h:33:
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. |
7.0.14 03 Sep 2024 07:23:46
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.14
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.14---aug-26--2024
NB: 7.0.13 was tagged, but never released.
Sync with improvements in mongodb80:
from commit b44fe228ca :
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.
from commit 5d8274d264 :
Also found some manual pages in the src tree.
from commit f2c9ba7c53 :
- add pre-configure check if downloaded mozjs version matches
get-sources.sh.
- change comment to how the upstream project names the open source
variant. |
7.0.12 07 Jul 2024 10:50:08
    |
Ronald Klop (ronald)  |
databases/mongodb70: add do-test and update to 7.0.12
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.12---jun-28--2024
The port has had situations in which the code compiled, but the
executables did not work. Try to catch this early with make test.
- new mozjs version
- autoconf is unused now
- pet portclippy, portfmt, portlint
- pkg-message: use default mongo portnr instead of portnr used by unifi. |
7.0.11_1 07 Jul 2024 08:05:33
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml
- Bump PORTREVISION of dependent ports for dependency change |
7.0.11 29 Jun 2024 05:02:34
    |
Jason E. Hale (jhale)  |
*/*: Add ${PY_SETUPTOOLS} to BUILD_DEPENDS
Fix build when setuptools is removed from RUN_DEPENDS in
Mk/Uses/python.mk.
PR: 270510
Approved by: portmgr (blanket) |
7.0.11 25 Jun 2024 09:41:01
    |
Ronald Klop (ronald)  |
databases/mongodb*: document replacement of mongo CLI shell
MongoDB 6.0 and up do not include the 'mongo' CLI shell anymore.
Point users to a replacement.
+ use canonical WWW |
7.0.11 26 May 2024 19:14:20
    |
Ronald Klop (ronald)  |
databases/mongodb70: upgrade to 7.0.11
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.11---may-23--2024
Version 7.0.10 was tagged but never got release notes on the site.
trivial version bump |
7.0.9_2 20 May 2024 18:24:02
    |
Ronald Klop (ronald)  Author: Daniel Engberg |
databases/mongodb70: Convert post-patch to EXTRACT_AFTER_ARGS
Saves I/O by not extracting bundled deps
PR: 278769 |
7.0.9_1 16 May 2024 10:46:58
    |
Ronald Klop (ronald)  |
databases/mongodb70: enable non-AVX CPUs by default
Similar to the change in mongodb50.
People use these CPUs with MongoDB.
PR: 277990 |
7.0.9 03 May 2024 08:28:44
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.9
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.9---apr-26--2024 |
7.0.8 08 Apr 2024 07:57:16
    |
Ronald Klop (ronald)  |
databases/mongodb70: upgrade to 7.0.8
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.8---april-3--2024 |
7.0.7 22 Mar 2024 19:11:52
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.7
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.7---mar-18--2024 |
7.0.6 20 Mar 2024 20:05:44
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.6
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024
Security: CVE-2024-1351 Improper Certificate Validation |
7.0.5 20 Feb 2024 09:21:43
    |
Wen Heping (wen)  |
databases/mongodb70: Fix build with python-3.11
PR: 275494
Approved by: portmgr(blanket, fix build) |
7.0.5 25 Jan 2024 08:43:46
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.5
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.5---jan-5--2024
- version bump
- poudriere stage-qa: ok (aarch64) |
7.0.4 01 Dec 2023 15:21:14
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.4
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.4---nov-13--2023
version bump
poudriere stage-qa: ok (on aarch64) |
7.0.3 14 Nov 2023 22:10:24
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.3
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.3---nov-9--2023
version bump
poudriere stage-qa: ok |
7.0.2 06 Oct 2023 19:47:31
    |
Ronald Klop (ronald)  |
databases/mongodb70: disable LTO for now
This was the error:
Checking if linker supports -flto... yes
lto compilation currently only works with the --linker=gold
See
/wrkdirs/usr/ports/databases/mongodb70/work/mongo-r7.0.2/build/scons/config.log
for details
*** Error code 1
See logs for the full error:
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pecb3f8a4918b_s8818f0f112/logs/mongodb70-7.0.2.log |
7.0.2 03 Oct 2023 07:38:08
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.2
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.2---sep-29--2023
version bump
poudriere stage-qa: ok |
7.0.1 31 Aug 2023 13:37:19
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.1
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0-changelog/#7.0.1-changelog
version bump
poudriere stage-qa: ok |
7.0.0 15 Aug 2023 10:02:53
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.0 release
Changes: https://www.mongodb.com/docs/v7.0/release-notes/7.0/
* version bump
* new option ARMV80A to support older ARM cpus like Raspberry Pi 4
* pet portclippy and portfmt
* poudriere stage-qa: ok
As upstream has stopped supporting non-LSE ARM cpus I'm adapting
the port also. The option ARMV80A is for backwards compatibility,
but use at your own risk. See pkg-message for more info. |
7.0.0.r10 10 Aug 2023 17:03:09
    |
Muhammad Moinur Rahman (bofh)  |
Revert "databases/mongodb70: Fix build with llvm16"
This reverts commit 4a6a3534dde02d293438a929e06950c64a71a33d.
There was a build failure in my local build instance but this was a
false positive and actually this ports build fine without the changes.
Reported by: fuz
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
7.0.0.r10 08 Aug 2023 09:55:15
    |
Muhammad Moinur Rahman (bofh)  |
databases/mongodb70: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
7.0.0.r10 29 Jul 2023 17:39:32
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to RC10
Release Candidate
Please read the notes before using:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/#release-notes-for-mongodb-7.0--release-candidate-
* version bump
* pet portclippy
* poudriere stage-qa: ok |
7.0.0.r8 25 Jul 2023 11:11:54
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to RC8
Release Candidate
Please read the notes before using:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/#release-notes-for-mongodb-7.0--release-candidate-
* trivial version bump
* typo in pkg-message
* poudriere stage-qa: ok |
7.0.0.r7 24 Jul 2023 07:09:52
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to RC7
Release Candidate
Please read the notes before using:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/#release-notes-for-mongodb-7.0--release-candidate-
* trivial version bump
* poudriere stage-qa: ok |
7.0.0.r6 04 Jul 2023 08:29:11
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to RC6
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/ |
7.0.0.r5 25 Jun 2023 19:57:20
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.0 RC5
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/ |
7.0.0.r4 24 Jun 2023 08:02:23
    |
Ronald Klop (ronald)  Author: Dimitry Andric |
databases/mongodb70: fix build on 14-current
Fixes provided by Dimitry in a private reply on
https://lists.freebsd.org/archives/freebsd-ports/2023-May/003870.html. Dank je
wel!
poidriere stage-qa ok
runtime tested: proper clean start and restart on existing db |
7.0.0.r4 20 Jun 2023 10:31:08
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.0 RC4
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/
I had no time to test fixes for FreeBSD 14 yet. So 14 is broken still. |
7.0.0.r3 09 Jun 2023 11:34:43
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to 7.0.0 RC3
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/
I had no time to test fixes for FreeBSD 14 yet. So 14 is broken still. |
7.0.0.r2 01 Jun 2023 10:44:25
    |
Ronald Klop (ronald)  |
databases/mongodb70: update to RC2
Release Candidate
Read the instructions:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/ |
7.0.0.r0_1 17 May 2023 16:30:15
    |
Muhammad Moinur Rahman (bofh)  |
*/*: llvm15 build fixes
llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.
Approved by: portmgr (blanket) |
7.0.0.r0_1 10 May 2023 18:48:23
    |
Ronald Klop (ronald)  |
databases/mongodb70: fix build on 14-CURRENT
Port does not build with clang15 but does with clang14.
/usr/include/c++/v1/__algorithm/comp.h:36:71: error: invalid operands to binary
expression ('const mongo::SSLX509Name::Entry' and 'const
mongo::SSLX509Name::Entry')
bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y;}
~~~ ^ ~~~ |
7.0.0.r0 10 May 2023 13:44:29
    |
Piotr Kubaj (pkubaj)  |
databases/mongodb70: fix build on powerpc64le
In file included from
src/third_party/abseil-cpp/dist/absl/base/internal/unscaledcycleclock.cc:27:
/usr/include/sys/sysctl.h:1189:25: error: unknown type name 'u_int'
int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
^
src/third_party/abseil-cpp/dist/absl/base/internal/unscaledcycleclock.cc:95:10:
error: unknown type name 'once_flag'
static once_flag init_timebase_frequency_once;
^
src/third_party/abseil-cpp/dist/absl/base/internal/unscaledcycleclock.cc:97:18:
error: no member named 'LowLevelCallOnce' in namespace 'absl::base_internal'
base_internal::LowLevelCallOnce(&init_timebase_frequency_once, [&]() {
~~~~~~~~~~~~~~~^
3 errors generated. |
7.0.0.r0 02 May 2023 20:39:16
    |
Ronald Klop (ronald)  |
databases/mongodb70: fix path in patch |
7.0.0.r0 02 May 2023 20:29:48
    |
Ronald Klop (ronald)  |
databases/mongodb70: add new port
Mind that this is still a RC.
Changelog:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/
* based on databases/mongodb60
* disabled --use-system-icu as version from ports gives an error on start-up:
https://www.mongodb.com/community/forums/t/mongodb-7-0-rc0-cycle-in-dependency-graph-loadicudata/224571
* patch to compile asio-master with c++20
* commented out 'metrics_client' in SConstruct, symbol is not available in the
repo, doesn't seem to be needed for the build |