aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb70
Commit message (Collapse)AuthorAgeFilesLines
* databases/mongodb70: fix build with clang 21Dimitry Andric2026-02-204-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With clang 21 databases/mongodb70 fails to build, with errors similar to: In file included from src/third_party/boost/libs/log/src/default_sink.cpp:20: In file included from src/third_party/boost/boost/thread/locks.hpp:10: In file included from src/third_party/boost/boost/thread/lock_algorithms.hpp:11: In file included from src/third_party/boost/boost/thread/lock_types.hpp:18: In file included from src/third_party/boost/boost/thread/thread_time.hpp:11: In file included from src/third_party/boost/boost/date_time/posix_time/posix_time_types.hpp:16: In file included from src/third_party/boost/boost/date_time/posix_time/posix_time_duration.hpp:15: In file included from src/third_party/boost/boost/numeric/conversion/cast.hpp:33: In file included from src/third_party/boost/boost/numeric/conversion/converter.hpp:13: In file included from src/third_party/boost/boost/numeric/conversion/conversion_traits.hpp:13: In file included from src/third_party/boost/boost/numeric/conversion/detail/conversion_traits.hpp:18: In file included from src/third_party/boost/boost/numeric/conversion/detail/int_float_mixture.hpp:19: In file included from src/third_party/boost/boost/mpl/integral_c.hpp:32: 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))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/boost/boost/config/detail/suffix.hpp:394:72: note: expanded from macro 'BOOST_STATIC_CONSTANT' 394 | # define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment | ^~~~~~~~~~ src/third_party/boost/boost/log/utility/strictest_lock.hpp:70:53: note: in instantiation of template class 'mpl_::integral_c<boost::log::lock_access_mode, boost::log::unlocked_access>' requested here 70 | struct thread_access_mode_of< no_lock< MutexT > > : mpl::integral_c< lock_access_mode, unlocked_access > | ^ src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp:62:65: note: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'lock_access_mode' 62 | BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, prior_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N - 1))); | ^ src/third_party/boost/boost/mpl/aux_/static_cast.hpp:24:47: note: expanded from macro 'BOOST_MPL_AUX_STATIC_CAST' 24 | # define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast<T>(expr) | ^ There are two of these cases in the vendored copy of boost in mongodb70, which have been fixed in boost upstream: * https://github.com/boostorg/numeric_conversion/commit/50a1eae * https://github.com/boostorg/log/commit/77f1e20 To fix the errors, port these patches back to the vendored boost. PR: 293230 MFH: 2026Q1
* databases/mongodb70: 7.0.30Ronald Klop2026-02-122-4/+4
| | | | | | | | Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-30-is-released/335673?u=r_k Changelog: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.30---feb-10--2026
* databases/mongodb70: 7.0.29Ronald Klop2026-02-112-5/+4
| | | | | | | | | | Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-29-is-released/334623?u=r_k Changelog: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.29---jan-27--2026 Security: a whole list of CVEs in the changelog
* lang/rust: Bump revisions after 1.93.0Mikael Urankar2026-01-281-0/+1
| | | | PR: 292360
* databases/mongodb70: harden the port to external CONFIGURE_ARGSRonald Klop2025-12-262-2/+11
| | | | | | | | | | 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. PR: 291951
* databases/mongodb70: 7.0.28Ronald Klop2025-12-242-4/+4
| | | | | | | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.28---dec-19--2025 Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-28-is-released/332825?u=r_k Security: CVE-2025-14847 "Zlib compressed protocol header length confusion may allow memory read"
* databases/mongodb70: 7.0.27Ronald Klop2025-12-242-5/+4
| | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0-changelog/#std-label-7.0.27-changelog
* lang/rust: Bump revisions after 1.92.0Mikael Urankar2025-12-161-0/+1
| | | | PR: 291582
* databases/mongodb70: 7.0.26Ronald Klop2025-11-214-51/+8
| | | | | | | | Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-26-is-released/331723?u=r_k Changes: https://www.mongodb.com/docs/v7.0/release-notes/7.0/#patch-releases
* lang/rust: Bump revisions after 1.91.1Mikael Urankar2025-11-111-0/+1
| | | | PR: 290816
* databases/mongodb70: 7.0.25Ronald Klop2025-10-232-5/+4
| | | | | | | | Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-25-is-released/329721?u=r_k Release Notes: https://www.mongodb.com/docs/v7.0/release-notes/7.0/#7.0.25---oct-2--2025
* databases/mongodb70: make_jobs_unsafeRonald Klop2025-10-141-0/+1
| | | | | | | | | | | | For unknown reasons this port tends to fail a lot on @armv80a flavor. From the build log: "scons: *** [build/opt/mongo/db/catalog/collection_uuid_mismatch.o] Error -9" I can't reproduce this locally. Let's try to remove parallel jobs and see if it improves the build stability. Reported-by: https://portsfallout.com/fallout?port=databases%2Fmongodb%5B0-9%5D&maintainer=&env=&category=&flavor=
* lang/rust: Bump revisions after 1.90.0Mikael Urankar2025-10-031-0/+1
| | | | PR: 289709
* databases/mongodb70: 7.0.24Ronald Klop2025-09-162-5/+4
| | | | | | | Simple version bump Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-24-is-released/328827?u=r_k
* lang/rust: Bump revisions after 1.89.0Mikael Urankar2025-09-011-1/+1
| | | | PR: 288923
* databases/mongodb[78]0: improve a patchRonald Klop2025-08-302-2/+2
| | | | | | | | | 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: fix build with python 3.12Ronald Klop2025-08-302-1/+9
| | | | | | | Requests by a user who custom builds this port with python 3.12. Tested to still build with the currently default python 3.11. PR: 289086
* databases/mongodb70: 7.0.23Ronald Klop2025-08-283-4/+68
| | | | | | | | | | | | | | | | | | | | | | | 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/mongodb70: 7.0.22Ronald Klop2025-07-292-8/+7
| | | | | | | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0-changelog/#7.0.22-changelog Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-22-is-released/325865?u=r_k - Upgrade MozJS/Spidermonkey to ESR 128.11
* lang/rust: Bump revisions after 1.88.0Mikael Urankar2025-07-031-1/+1
| | | | PR: 287766
* lang/rust: Bump revisions after 1.87.0Mikael Urankar2025-06-051-0/+1
| | | | PR: 286829
* databases/mongodb70: 7.0.21Ronald Klop2025-06-012-7/+7
| | | | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0-changelog/#7.0.21-changelog - follow update of mozjs to ESR 128.10
* databases/mongodb70: 7.0.20Ronald Klop2025-05-174-43/+48
| | | | | | | | | | | | | | | Changes: https://www.mongodb.com/docs/v7.0/release-notes/7.0/#7.0.20---apr-29--2025 Announcement: https://www.mongodb.com/community/forums/t/mongodb-7-0-20-is-released/321461?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
* textproc/snowballstemmer: chase shlib version bumpGuido Falsi2025-05-101-0/+1
|
* databases/mongodb70: 7.0.19Ronald Klop2025-04-282-4/+4
| | | | | | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.19---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/mongodb70: 7.0.18Ronald Klop2025-04-222-4/+4
| | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.18---mar-19--2025
* databases/mongodb70: update to 7.0.17Ronald Klop2025-04-182-9/+8
| | | | | | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.17---feb-21--2025 https://www.mongodb.com/community/forums/t/mongodb-7-0-17-rc1-is-released/313042?u=r_k - updated spidermonkey - made check on spidermonkey revision more vebose to ease upgrades
* databases/mongodb80: update to 8.0.5Ronald Klop2025-04-161-4/+4
| | | | | | | | | 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/mongodb70: add flavor for RPI-compatible versionRonald Klop2025-02-181-0/+10
| | | | | | | | | | 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
* databases/mongodb[78]0: use internal pcre2 codeRonald Klop2025-01-211-5/+2
| | | | | | | Fails to build with future update of PCRE2 10.45-RC1. PR: 283694 Reported by: diizzy@ (Daniel Engberg)
* databases/mongodb[67]0: forgot to commit a patchRonald Klop2024-12-241-0/+18
| | | | | Fixes: 38836ff12d "databases/mongodb60: fix build with llvm19" Fixes: 895b2a5c0485 "databases/mongodb70: fix build with llvm19"
* databases/mongodb70: fix build with llvm19Ronald Klop2024-12-222-7/+9
| | | | | Build with clang from base. Uses 2 public patches. Documentation is in the patches themselves.
* databases/mongodb70: 7.0.16Ronald Klop2024-12-222-4/+4
| | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#patch-releases
* databases/mongodb[67]0: remove unused patch for get-sources.shRonald Klop2024-11-251-14/+0
| | | | | The file is not used. We fetch the mozjs source via the ports Makefile. This brings mongodb60 and mongodb70 more in line with mongodb80.
* databases/mongodb80: patch is not necessary anymoreRonald Klop2024-11-251-10/+0
| | | | | | | | | | 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/mongodb70: update to 7.0.15Ronald Klop2024-11-232-5/+4
| | | | | | | changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.15---oct-24--2024 Security: CVE-2024-10921
* databases/mongodb[78]0: fix build with NOAVX enabledRonald Klop2024-11-132-3/+15
| | | | | | Thanks to Yuri and Borja who helped creating patches and tested. PR: 282471
* databases/mongodb[78]0: NOAVX is brokenRonald Klop2024-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr8(char const*, char, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a ld.lld: error: undefined symbol: mozilla::SIMD::memchr16AVX2(char16_t const*, char16_t, unsigned long) >>> referenced by SIMD.cpp:476 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:476) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr16(char16_t const*, char16_t, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a ld.lld: error: undefined symbol: mozilla::SIMD::memchr64AVX2(unsigned long const*, unsigned long, unsigned long) >>> referenced by SIMD.cpp:484 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:484) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr64(unsigned long const*, unsigned long, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a c++: error: linker command failed with exit code 1 (use -v to see invocation) PR: 282471
* databases/mongodb[78]0: fix NOAVX optionRonald Klop2024-11-022-2/+15
| | | | | | | bump portrevision as it did build but generated broken executables piggyback a small portlint pacifier PR: 282471
* databases/mongodb70: unbreak on 15 + llvm 19.1.2Ronald Klop2024-10-311-0/+6
| | | | | | | | | | | | | | | | 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.
* databases/mongodb70: update to 7.0.14Ronald Klop2024-09-036-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* databases/mongodb70: add do-test and update to 7.0.12Ronald Klop2024-07-077-29/+73
| | | | | | | | | | | | | 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.
* devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyamlPo-Chuan Hsieh2024-07-071-1/+2
| | | | - Bump PORTREVISION of dependent ports for dependency change
* */*: Add ${PY_SETUPTOOLS} to BUILD_DEPENDSJason E. Hale2024-06-291-1/+2
| | | | | | | | Fix build when setuptools is removed from RUN_DEPENDS in Mk/Uses/python.mk. PR: 270510 Approved by: portmgr (blanket)
* databases/mongodb*: document replacement of mongo CLI shellRonald Klop2024-06-251-0/+7
| | | | | | | MongoDB 6.0 and up do not include the 'mongo' CLI shell anymore. Point users to a replacement. + use canonical WWW
* databases/mongodb70: upgrade to 7.0.11Ronald Klop2024-05-262-5/+4
| | | | | | | | | 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
* databases/mongodb70: Convert post-patch to EXTRACT_AFTER_ARGSDaniel Engberg2024-05-201-9/+10
| | | | | | Saves I/O by not extracting bundled deps PR: 278769
* databases/mongodb70: enable non-AVX CPUs by defaultRonald Klop2024-05-161-1/+2
| | | | | | | Similar to the change in mongodb50. People use these CPUs with MongoDB. PR: 277990
* databases/mongodb70: update to 7.0.9Ronald Klop2024-05-032-4/+4
| | | | | changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.9---apr-26--2024
* databases/mongodb70: upgrade to 7.0.8Ronald Klop2024-04-082-4/+4
| | | | | Changes: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.8---april-3--2024