Commit Graph

89 Commits

Author SHA1 Message Date
Ronald Klop 5fe028994e databases/mongodb70: re-enable python3.12
The patch was disabled temporarily because it was in the way of the recent upgrades.
NB: a test build was already running when this PR came in.

- Remove jobs_unsafe from a flavour. The build timed out with this.
- no portrevision bump as no pkg content changes.

PR:	296127
2026-06-18 15:24:26 +02:00
Ronald Klop ba937f2e52 databases/mongodb70: 7.0.37
Release Notes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.37---june-11--2026

Important MongoDB patch available - June 2026:
https://www.mongodb.com/community/forums/t/important-mongodb-patch-available-june-2026/339979?u=r_k

Security:	CVE-2026-11933
2026-06-18 11:22:08 +02:00
Ronald Klop 7faebc4f1a databases/mongodb70: 7.0.36
Release Notes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.36---june-10--2026

- Reduced the amount of modification in patch-src_mongo_util_net_openssl__init.cpp
2026-06-18 08:10:30 +02:00
Ronald Klop b7b41198f5 databases/mongodb70: 7.0.35
Release notes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.35---june-9--2026

- gen-config.sh is move to scripts/gen-config.sh
- Patch added to circumvent these errors:
src/mongo/util/net/openssl_init.cpp:247:51: error: no member named 'opensslPrimaryDRBGReseedMaxRequests' in namespace 'mongo::crypto'
src/mongo/util/net/openssl_init.cpp:249:45: error: no member named 'opensslPrimaryDRBGReseedMaxTime' in namespace 'mongo::crypto'
- disabled PATCH_FILE for python3.12, didn't apply
- other patches just got a refresh

Security:	CVE-2026-9740
Security:	CVE-2026-9741
Security:	CVE-2026-9746
Security:	CVE-2026-9747
Security:	CVE-2026-9748
Security:	CVE-2026-9749
Security:	CVE-2026-9750
Security:	CVE-2026-9751
Security:	CVE-2026-9752
Security:	CVE-2026-9753
2026-06-17 22:13:30 +02:00
Mikael Urankar e29b5eeec3 lang/rust: Bump revisions after 1.96.0
PR:		295694
2026-06-04 10:52:51 +02:00
wcarson 5b8b91c467 databases/mongodb70: re-apply fix to build with Python 3.14
PR:	294823
2026-05-22 11:09:07 +02:00
Ronald Klop 6a47b77c6b databases/mongodb70: 7.0.34
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-7-0-34-is-released/339245?u=r_k

Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.34---may-12--2026

Security:	CVE-2026-8053
Security:	CVE-2026-8199
Security:	CVE-2026-8200
Security:	CVE-2026-8201
Security:	CVE-2026-8202
2026-05-15 10:50:03 +02:00
Ronald Klop 286b4a2b40 databases/mongodb70: 7.0.32
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-7-0-32-is-released/338938?u=r_k

Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.32---apr-29--2026

Upstream includes the patch from commit ee241417e6 (python 3.14).

Security:	CVE-2026-6914
Security:	CVE-2026-6915
2026-05-12 13:54:24 +02:00
wcarson ee241417e6 databases/mongodb70: fix build with Python 3.14
PR:	294823
2026-05-01 08:57:43 +02:00
Mikael Urankar 17bf498fd2 lang/rust: Bump revisions after 1.95.0
PR:		294615
2026-04-27 14:26:47 +02:00
Mikael Urankar 43f5b4a72f lang/rust: Bump revisions after 1.94.0
PR:		293615
2026-03-23 08:33:11 +01:00
Michael Osipov c5ebe54afb databases/mongodb{7,8}0: Use documented placeholder NETWOKING in RC scripts
PR:		293652
Approved by:	ronald (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D55712
2026-03-22 18:22:24 +01:00
Ronald Klop affa6201e8 databases/mongodb70: 7.0.31
Announcement:
https://www.mongodb.com/community/forums/t/mongodb-7-0-31-is-released/337038?u=r_k

Release Notes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.31---mar-17--2026

Security:	CVE-2026-4147 Stack memory disclosure in filemd5 command
Security:	CVE-2026-4148 ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators
2026-03-19 09:46:13 +01:00
Dimitry Andric ab1af9dff0 databases/mongodb70: fix build with clang 21
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
2026-02-20 14:05:06 +01:00
Ronald Klop 47ebdd134d databases/mongodb70: 7.0.30
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
2026-02-12 08:49:19 +01:00
Ronald Klop 9af91e8bfc databases/mongodb70: 7.0.29
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
2026-02-11 17:19:05 +01:00
Mikael Urankar 3d631100e8 lang/rust: Bump revisions after 1.93.0
PR:		292360
2026-01-28 09:48:51 +01:00
Ronald Klop 380338c53b databases/mongodb70: 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.

PR:	291951
2025-12-26 20:16:41 +01:00
Ronald Klop 1248f779e6 databases/mongodb70: 7.0.28
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"
2025-12-24 18:54:12 +01:00
Ronald Klop 0df58f007e databases/mongodb70: 7.0.27
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0-changelog/#std-label-7.0.27-changelog
2025-12-24 06:40:59 +01:00
Mikael Urankar 5e496c7707 lang/rust: Bump revisions after 1.92.0
PR:		291582
2025-12-16 13:12:31 +01:00
Ronald Klop a0d8051113 databases/mongodb70: 7.0.26
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
2025-11-21 16:41:29 +01:00
Mikael Urankar d6b6027df6 lang/rust: Bump revisions after 1.91.1
PR:		290816
2025-11-11 12:08:12 +01:00
Ronald Klop 500d70b922 databases/mongodb70: 7.0.25
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
2025-10-23 18:35:09 +02:00
Ronald Klop efe4832014 databases/mongodb70: make_jobs_unsafe
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=
2025-10-14 17:59:55 +02:00
Mikael Urankar 97b5de4ffc lang/rust: Bump revisions after 1.90.0
PR:		289709
2025-10-03 10:16:50 +02:00
Ronald Klop f3305272c0 databases/mongodb70: 7.0.24
Simple version bump

Announcement:
https://www.mongodb.com/community/forums/t/mongodb-7-0-24-is-released/328827?u=r_k
2025-09-16 16:59:18 +02:00
Mikael Urankar b21956d7db lang/rust: Bump revisions after 1.89.0
PR:		288923
2025-09-01 10:25:04 +02:00
Ronald Klop cd759f83ef 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
2025-08-30 20:20:05 +02:00
Ronald Klop 5e74cc0c0c databases/mongodb70: fix build with python 3.12
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
2025-08-30 20:19:59 +02:00
Ronald Klop 2236885f4e 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
2025-08-28 15:01:04 +02:00
Ronald Klop fdc1773dc0 databases/mongodb70: 7.0.22
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
2025-07-29 13:25:46 +02:00
Mikael Urankar f3f7e555b0 lang/rust: Bump revisions after 1.88.0
PR:		287766
2025-07-03 10:46:01 +02:00
Mikael Urankar 3ed29b8185 lang/rust: Bump revisions after 1.87.0
PR:		286829
2025-06-05 09:52:53 +02:00
Ronald Klop 2874896c09 databases/mongodb70: 7.0.21
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0-changelog/#7.0.21-changelog

- follow update of mozjs to ESR 128.10
2025-06-01 12:21:34 +02:00
Ronald Klop 152fe2669f databases/mongodb70: 7.0.20
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
2025-05-17 11:51:15 +02:00
Guido Falsi 0119f8dcd8 textproc/snowballstemmer: chase shlib version bump 2025-05-10 12:15:24 +02:00
Ronald Klop f4ecfe9f6b databases/mongodb70: 7.0.19
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
2025-04-28 13:31:14 +02:00
Ronald Klop 5608831146 databases/mongodb70: 7.0.18
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.18---mar-19--2025
2025-04-22 12:02:52 +02:00
Ronald Klop 817b4bbc14 databases/mongodb70: update to 7.0.17
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
2025-04-18 05:09:52 +02:00
Ronald Klop 98de9ddd99 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
2025-04-16 19:41:23 +02:00
Ronald Klop 5ceff01406 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
2025-02-18 10:00:27 +01:00
Ronald Klop 193f8fc2b4 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)
2025-01-21 09:55:01 +01:00
Ronald Klop 3ab18c284b databases/mongodb[67]0: forgot to commit a patch
Fixes:	38836ff12d "databases/mongodb60: fix build with llvm19"
Fixes:	895b2a5c04 "databases/mongodb70: fix build with llvm19"
2024-12-24 10:24:53 +01:00
Ronald Klop 895b2a5c04 databases/mongodb70: fix build with llvm19
Build with clang from base.
Uses 2 public patches. Documentation is in the patches themselves.
2024-12-22 18:23:16 +01:00
Ronald Klop f90c566136 databases/mongodb70: 7.0.16
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#patch-releases
2024-12-22 18:23:15 +01:00
Ronald Klop 2a81eb4e43 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.
2024-11-25 22:22:43 +01:00
Ronald Klop addb8dafff 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
2024-11-25 21:39:38 +01:00
Ronald Klop 693539a504 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
2024-11-23 22:26:30 +01:00
Ronald Klop f806050016 databases/mongodb[78]0: fix build with NOAVX enabled
Thanks to Yuri and Borja who helped creating patches and tested.

PR:	282471
2024-11-13 21:32:04 +01:00