git: 2e801ab264a9 - main - devel/mongo-cxx-driver: Update 4.0.0 => 4.4.1

Yusuf Yaman <[email protected]> Tue, 04 Aug 2026 11:47:04 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by nxjoseph:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2e801ab264a91426a270b9d7d6a6578126cf2a5f

commit 2e801ab264a91426a270b9d7d6a6578126cf2a5f
Author:     Rafe Sadler <[email protected]>
AuthorDate: 2026-08-03 21:52:11 +0000
Commit:     Yusuf Yaman <[email protected]>
CommitDate: 2026-08-04 11:46:47 +0000

    devel/mongo-cxx-driver: Update 4.0.0 => 4.4.1
    
    Changelog:
    https://github.com/mongodb/mongo-cxx-driver/blob/r4.4.1/CHANGELOG.md
    
    PR:             296601, 296602
    Reported by:    Hiroo Ono <[email protected]>
    Approved by:    Jason W. Bacon <[email protected]> (maintainer)
    Approved by:    osa, vvd (Mentors, implicit)
---
 devel/mongo-cxx-driver/Makefile                   |  10 +-
 devel/mongo-cxx-driver/distinfo                   |   6 +-
 devel/mongo-cxx-driver/files/patch-CMakeLists.txt |  34 ---
 devel/mongo-cxx-driver/pkg-plist                  | 255 ++++++++++++++++++++--
 4 files changed, 247 insertions(+), 58 deletions(-)

diff --git a/devel/mongo-cxx-driver/Makefile b/devel/mongo-cxx-driver/Makefile
index 51ee62747571..1209b0bdb350 100644
--- a/devel/mongo-cxx-driver/Makefile
+++ b/devel/mongo-cxx-driver/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	mongo-cxx-driver
 DISTVERSIONPREFIX=	r
 # Note: mongo-cxx-driver > 4.0.0 requires mongo-c-driver 2.x
-DISTVERSION=	4.0.0
+DISTVERSION=	4.4.1
 CATEGORIES=	devel databases
 
 MAINTAINER=	[email protected]
@@ -11,14 +11,14 @@ WWW=		https://github.com/mongodb/mongo-cxx-driver/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	mongo-c-driver>=1.29.0<2.0.0:devel/mongo-c-driver
-LIB_DEPENDS=	libmongoc-1.0.so:devel/mongo-c-driver \
-		libbson-1.0.so:devel/libbson \
+BUILD_DEPENDS=	mongo-c-driver>=2.3.3:devel/mongo-c-driver
+LIB_DEPENDS=	libmongoc2.so:devel/mongo-c-driver \
+		libbson2.so:devel/libbson \
 		libutf8proc.so:textproc/utf8proc
 
 USES=		cmake compiler:c++17-lang pkgconfig ssl
-USE_GITHUB=	yes
 USE_CXXSTD=	c++17
+USE_GITHUB=	yes
 GH_ACCOUNT=	mongodb
 
 CMAKE_ARGS=	-DENABLE_ZLIB=SYSTEM \
diff --git a/devel/mongo-cxx-driver/distinfo b/devel/mongo-cxx-driver/distinfo
index 94d2b2c82053..91fdca0c7250 100644
--- a/devel/mongo-cxx-driver/distinfo
+++ b/devel/mongo-cxx-driver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757080161
-SHA256 (mongodb-mongo-cxx-driver-r4.0.0_GH0.tar.gz) = 966e46c14fc02162016a6a4b02d0707a722f296b403483f32e73592474f3f638
-SIZE (mongodb-mongo-cxx-driver-r4.0.0_GH0.tar.gz) = 1871635
+TIMESTAMP = 1785384786
+SHA256 (mongodb-mongo-cxx-driver-r4.4.1_GH0.tar.gz) = f43d6d8d0783357d200f14b009f25f4563e6dffefd12c248cf31282a3c86157d
+SIZE (mongodb-mongo-cxx-driver-r4.4.1_GH0.tar.gz) = 2272543
diff --git a/devel/mongo-cxx-driver/files/patch-CMakeLists.txt b/devel/mongo-cxx-driver/files/patch-CMakeLists.txt
deleted file mode 100644
index d1b03975a928..000000000000
--- a/devel/mongo-cxx-driver/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,34 +0,0 @@
---- CMakeLists.txt.orig	2024-11-20 20:53:26 UTC
-+++ CMakeLists.txt
-@@ -206,31 +206,10 @@ if(BUILD_VERSION STREQUAL "0.0.0")
-     else()
-         find_package(PythonInterp)
- 
--        if(PYTHONINTERP_FOUND)
--            execute_process(
--                COMMAND ${PYTHON_EXECUTABLE} etc/calc_release_version.py
--                WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
--                OUTPUT_VARIABLE CALC_RELEASE_VERSION
--                RESULT_VARIABLE CALC_RELEASE_VERSION_RESULT
--                OUTPUT_STRIP_TRAILING_WHITESPACE
--            )
--
--            if(NOT CALC_RELEASE_VERSION_RESULT STREQUAL 0)
--                # If python failed above, stderr would tell the user about it
--                message(FATAL_ERROR
--                    "BUILD_VERSION not specified and could not be calculated\
-- (script invocation failed); specify in CMake command, -DBUILD_VERSION=<version>"
--                )
--            else()
--                set(BUILD_VERSION ${CALC_RELEASE_VERSION})
--                file(WRITE ${CMAKE_BINARY_DIR}/VERSION_CURRENT ${CALC_RELEASE_VERSION})
--            endif()
--        else()
-             message(FATAL_ERROR
-                 "BUILD_VERSION not specified and could not be calculated\
-  (Python was not found on the system); specify in CMake command, -DBUILD_VERSION=<version>"
-             )
--        endif()
-     endif()
- endif()
- 
diff --git a/devel/mongo-cxx-driver/pkg-plist b/devel/mongo-cxx-driver/pkg-plist
index 757802af5199..29350b2c8558 100644
--- a/devel/mongo-cxx-driver/pkg-plist
+++ b/devel/mongo-cxx-driver/pkg-plist
@@ -1,3 +1,242 @@
+include/bsoncxx/v1/array/value-fwd.hpp
+include/bsoncxx/v1/array/value.hpp
+include/bsoncxx/v1/array/view-fwd.hpp
+include/bsoncxx/v1/array/view.hpp
+include/bsoncxx/v1/config/config.hpp
+include/bsoncxx/v1/config/export.hpp
+include/bsoncxx/v1/config/version.hpp
+include/bsoncxx/v1/decimal128-fwd.hpp
+include/bsoncxx/v1/decimal128.hpp
+include/bsoncxx/v1/detail/bit.hpp
+include/bsoncxx/v1/detail/compare.hpp
+include/bsoncxx/v1/detail/macros.hpp
+include/bsoncxx/v1/detail/postlude.hpp
+include/bsoncxx/v1/detail/prelude.hpp
+include/bsoncxx/v1/detail/type_traits.hpp
+include/bsoncxx/v1/document/value-fwd.hpp
+include/bsoncxx/v1/document/value.hpp
+include/bsoncxx/v1/document/view-fwd.hpp
+include/bsoncxx/v1/document/view.hpp
+include/bsoncxx/v1/element/view-fwd.hpp
+include/bsoncxx/v1/element/view.hpp
+include/bsoncxx/v1/exception-fwd.hpp
+include/bsoncxx/v1/exception.hpp
+include/bsoncxx/v1/fwd.hpp
+include/bsoncxx/v1/oid-fwd.hpp
+include/bsoncxx/v1/oid.hpp
+include/bsoncxx/v1/stdx/optional.hpp
+include/bsoncxx/v1/stdx/string_view.hpp
+include/bsoncxx/v1/types/id-fwd.hpp
+include/bsoncxx/v1/types/id.hpp
+include/bsoncxx/v1/types/value-fwd.hpp
+include/bsoncxx/v1/types/value.hpp
+include/bsoncxx/v1/types/view-fwd.hpp
+include/bsoncxx/v1/types/view.hpp
+include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_binary-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_binary.hpp
+include/bsoncxx/v_noabi/bsoncxx/types/id-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/types/id.hpp
+include/bsoncxx/v_noabi/bsoncxx/types/value-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/types/value.hpp
+include/bsoncxx/v_noabi/bsoncxx/types/view-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/types/view.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/accessor-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/accessor.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/detail-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/detail.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/elements-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/elements.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/formats-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/formats.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/iterators-fwd.hpp
+include/bsoncxx/v_noabi/bsoncxx/vector/iterators.hpp
+include/mongocxx/v1/aggregate_options-fwd.hpp
+include/mongocxx/v1/aggregate_options.hpp
+include/mongocxx/v1/apm-fwd.hpp
+include/mongocxx/v1/apm.hpp
+include/mongocxx/v1/auto_encryption_options-fwd.hpp
+include/mongocxx/v1/auto_encryption_options.hpp
+include/mongocxx/v1/bulk_write-fwd.hpp
+include/mongocxx/v1/bulk_write.hpp
+include/mongocxx/v1/change_stream-fwd.hpp
+include/mongocxx/v1/change_stream.hpp
+include/mongocxx/v1/client-fwd.hpp
+include/mongocxx/v1/client.hpp
+include/mongocxx/v1/client_bulk_write-fwd.hpp
+include/mongocxx/v1/client_bulk_write.hpp
+include/mongocxx/v1/client_encryption-fwd.hpp
+include/mongocxx/v1/client_encryption.hpp
+include/mongocxx/v1/client_session-fwd.hpp
+include/mongocxx/v1/client_session.hpp
+include/mongocxx/v1/collection-fwd.hpp
+include/mongocxx/v1/collection.hpp
+include/mongocxx/v1/config/config.hpp
+include/mongocxx/v1/config/export.hpp
+include/mongocxx/v1/config/version.hpp
+include/mongocxx/v1/count_options-fwd.hpp
+include/mongocxx/v1/count_options.hpp
+include/mongocxx/v1/cursor-fwd.hpp
+include/mongocxx/v1/cursor.hpp
+include/mongocxx/v1/data_key_options-fwd.hpp
+include/mongocxx/v1/data_key_options.hpp
+include/mongocxx/v1/database-fwd.hpp
+include/mongocxx/v1/database.hpp
+include/mongocxx/v1/delete_many_options-fwd.hpp
+include/mongocxx/v1/delete_many_options.hpp
+include/mongocxx/v1/delete_many_result-fwd.hpp
+include/mongocxx/v1/delete_many_result.hpp
+include/mongocxx/v1/delete_one_options-fwd.hpp
+include/mongocxx/v1/delete_one_options.hpp
+include/mongocxx/v1/delete_one_result-fwd.hpp
+include/mongocxx/v1/delete_one_result.hpp
+include/mongocxx/v1/detail/macros.hpp
+include/mongocxx/v1/detail/postlude.hpp
+include/mongocxx/v1/detail/prelude.hpp
+include/mongocxx/v1/distinct_options-fwd.hpp
+include/mongocxx/v1/distinct_options.hpp
+include/mongocxx/v1/encrypt_options-fwd.hpp
+include/mongocxx/v1/encrypt_options.hpp
+include/mongocxx/v1/estimated_document_count_options-fwd.hpp
+include/mongocxx/v1/estimated_document_count_options.hpp
+include/mongocxx/v1/events/command_failed-fwd.hpp
+include/mongocxx/v1/events/command_failed.hpp
+include/mongocxx/v1/events/command_started-fwd.hpp
+include/mongocxx/v1/events/command_started.hpp
+include/mongocxx/v1/events/command_succeeded-fwd.hpp
+include/mongocxx/v1/events/command_succeeded.hpp
+include/mongocxx/v1/events/server_closed-fwd.hpp
+include/mongocxx/v1/events/server_closed.hpp
+include/mongocxx/v1/events/server_description-fwd.hpp
+include/mongocxx/v1/events/server_description.hpp
+include/mongocxx/v1/events/server_description_changed-fwd.hpp
+include/mongocxx/v1/events/server_description_changed.hpp
+include/mongocxx/v1/events/server_heartbeat_failed-fwd.hpp
+include/mongocxx/v1/events/server_heartbeat_failed.hpp
+include/mongocxx/v1/events/server_heartbeat_started-fwd.hpp
+include/mongocxx/v1/events/server_heartbeat_started.hpp
+include/mongocxx/v1/events/server_heartbeat_succeeded-fwd.hpp
+include/mongocxx/v1/events/server_heartbeat_succeeded.hpp
+include/mongocxx/v1/events/server_opening-fwd.hpp
+include/mongocxx/v1/events/server_opening.hpp
+include/mongocxx/v1/events/topology_closed-fwd.hpp
+include/mongocxx/v1/events/topology_closed.hpp
+include/mongocxx/v1/events/topology_description-fwd.hpp
+include/mongocxx/v1/events/topology_description.hpp
+include/mongocxx/v1/events/topology_description_changed-fwd.hpp
+include/mongocxx/v1/events/topology_description_changed.hpp
+include/mongocxx/v1/events/topology_opening-fwd.hpp
+include/mongocxx/v1/events/topology_opening.hpp
+include/mongocxx/v1/exception-fwd.hpp
+include/mongocxx/v1/exception.hpp
+include/mongocxx/v1/find_one_and_delete_options-fwd.hpp
+include/mongocxx/v1/find_one_and_delete_options.hpp
+include/mongocxx/v1/find_one_and_replace_options-fwd.hpp
+include/mongocxx/v1/find_one_and_replace_options.hpp
+include/mongocxx/v1/find_one_and_update_options-fwd.hpp
+include/mongocxx/v1/find_one_and_update_options.hpp
+include/mongocxx/v1/find_options-fwd.hpp
+include/mongocxx/v1/find_options.hpp
+include/mongocxx/v1/fwd.hpp
+include/mongocxx/v1/gridfs/bucket-fwd.hpp
+include/mongocxx/v1/gridfs/bucket.hpp
+include/mongocxx/v1/gridfs/downloader-fwd.hpp
+include/mongocxx/v1/gridfs/downloader.hpp
+include/mongocxx/v1/gridfs/upload_options-fwd.hpp
+include/mongocxx/v1/gridfs/upload_options.hpp
+include/mongocxx/v1/gridfs/upload_result-fwd.hpp
+include/mongocxx/v1/gridfs/upload_result.hpp
+include/mongocxx/v1/gridfs/uploader-fwd.hpp
+include/mongocxx/v1/gridfs/uploader.hpp
+include/mongocxx/v1/hint-fwd.hpp
+include/mongocxx/v1/hint.hpp
+include/mongocxx/v1/indexes-fwd.hpp
+include/mongocxx/v1/indexes.hpp
+include/mongocxx/v1/insert_many_options-fwd.hpp
+include/mongocxx/v1/insert_many_options.hpp
+include/mongocxx/v1/insert_many_result-fwd.hpp
+include/mongocxx/v1/insert_many_result.hpp
+include/mongocxx/v1/insert_one_options-fwd.hpp
+include/mongocxx/v1/insert_one_options.hpp
+include/mongocxx/v1/insert_one_result-fwd.hpp
+include/mongocxx/v1/insert_one_result.hpp
+include/mongocxx/v1/instance-fwd.hpp
+include/mongocxx/v1/instance.hpp
+include/mongocxx/v1/logger-fwd.hpp
+include/mongocxx/v1/logger.hpp
+include/mongocxx/v1/oidc_callback.hpp
+include/mongocxx/v1/oidc_callback_params-fwd.hpp
+include/mongocxx/v1/oidc_callback_params.hpp
+include/mongocxx/v1/oidc_credential-fwd.hpp
+include/mongocxx/v1/oidc_credential.hpp
+include/mongocxx/v1/pipeline-fwd.hpp
+include/mongocxx/v1/pipeline.hpp
+include/mongocxx/v1/pool-fwd.hpp
+include/mongocxx/v1/pool.hpp
+include/mongocxx/v1/range_options-fwd.hpp
+include/mongocxx/v1/range_options.hpp
+include/mongocxx/v1/read_concern-fwd.hpp
+include/mongocxx/v1/read_concern.hpp
+include/mongocxx/v1/read_preference-fwd.hpp
+include/mongocxx/v1/read_preference.hpp
+include/mongocxx/v1/replace_one_options-fwd.hpp
+include/mongocxx/v1/replace_one_options.hpp
+include/mongocxx/v1/replace_one_result-fwd.hpp
+include/mongocxx/v1/replace_one_result.hpp
+include/mongocxx/v1/return_document-fwd.hpp
+include/mongocxx/v1/return_document.hpp
+include/mongocxx/v1/rewrap_many_datakey_options-fwd.hpp
+include/mongocxx/v1/rewrap_many_datakey_options.hpp
+include/mongocxx/v1/rewrap_many_datakey_result-fwd.hpp
+include/mongocxx/v1/rewrap_many_datakey_result.hpp
+include/mongocxx/v1/search_indexes-fwd.hpp
+include/mongocxx/v1/search_indexes.hpp
+include/mongocxx/v1/server_api-fwd.hpp
+include/mongocxx/v1/server_api.hpp
+include/mongocxx/v1/server_error-fwd.hpp
+include/mongocxx/v1/server_error.hpp
+include/mongocxx/v1/text_options-fwd.hpp
+include/mongocxx/v1/text_options.hpp
+include/mongocxx/v1/tls-fwd.hpp
+include/mongocxx/v1/tls.hpp
+include/mongocxx/v1/transaction_options-fwd.hpp
+include/mongocxx/v1/transaction_options.hpp
+include/mongocxx/v1/update_many_options-fwd.hpp
+include/mongocxx/v1/update_many_options.hpp
+include/mongocxx/v1/update_many_result-fwd.hpp
+include/mongocxx/v1/update_many_result.hpp
+include/mongocxx/v1/update_one_options-fwd.hpp
+include/mongocxx/v1/update_one_options.hpp
+include/mongocxx/v1/update_one_result-fwd.hpp
+include/mongocxx/v1/update_one_result.hpp
+include/mongocxx/v1/uri-fwd.hpp
+include/mongocxx/v1/uri.hpp
+include/mongocxx/v1/write_concern-fwd.hpp
+include/mongocxx/v1/write_concern.hpp
+include/mongocxx/v_noabi/mongocxx/client_bulk_write-fwd.hpp
+include/mongocxx/v_noabi/mongocxx/client_bulk_write.hpp
+include/mongocxx/v_noabi/mongocxx/oidc_callback.hpp
+include/mongocxx/v_noabi/mongocxx/oidc_callback_params-fwd.hpp
+include/mongocxx/v_noabi/mongocxx/oidc_callback_params.hpp
+include/mongocxx/v_noabi/mongocxx/oidc_credential-fwd.hpp
+include/mongocxx/v_noabi/mongocxx/oidc_credential.hpp
+include/mongocxx/v_noabi/mongocxx/options/text-fwd.hpp
+include/mongocxx/v_noabi/mongocxx/options/text.hpp
+lib/cmake/bsoncxx-4.4.1/bsoncxxConfig.cmake
+lib/cmake/bsoncxx-4.4.1/bsoncxxConfigVersion.cmake
+lib/cmake/bsoncxx-4.4.1/bsoncxx_targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/bsoncxx-4.4.1/bsoncxx_targets.cmake
+lib/cmake/mongocxx-4.4.1/mongocxxConfig.cmake
+lib/cmake/mongocxx-4.4.1/mongocxxConfigVersion.cmake
+lib/cmake/mongocxx-4.4.1/mongocxx_targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/mongocxx-4.4.1/mongocxx_targets.cmake
+lib/libbsoncxx1.so
+lib/libbsoncxx1.so.1
+lib/libbsoncxx1.so.4.4.1
+lib/libmongocxx1.so
+lib/libmongocxx1.so.1
+lib/libmongocxx1.so.4.4.1
+libdata/pkgconfig/libbsoncxx1.pc
+libdata/pkgconfig/libmongocxx1.pc
 include/bsoncxx/v_noabi/bsoncxx/array/element-fwd.hpp
 include/bsoncxx/v_noabi/bsoncxx/array/element.hpp
 include/bsoncxx/v_noabi/bsoncxx/array/value-fwd.hpp
@@ -286,22 +525,6 @@ include/mongocxx/v_noabi/mongocxx/write_concern-fwd.hpp
 include/mongocxx/v_noabi/mongocxx/write_concern.hpp
 include/mongocxx/v_noabi/mongocxx/write_type-fwd.hpp
 include/mongocxx/v_noabi/mongocxx/write_type.hpp
-lib/cmake/bsoncxx-4.0.0/bsoncxx-config-version.cmake
-lib/cmake/bsoncxx-4.0.0/bsoncxx-config.cmake
-lib/cmake/bsoncxx-4.0.0/bsoncxx_targets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/bsoncxx-4.0.0/bsoncxx_targets.cmake
-lib/cmake/mongocxx-4.0.0/mongocxx-config-version.cmake
-lib/cmake/mongocxx-4.0.0/mongocxx-config.cmake
-lib/cmake/mongocxx-4.0.0/mongocxx_targets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/mongocxx-4.0.0/mongocxx_targets.cmake
-lib/libbsoncxx.so
-lib/libbsoncxx.so.4.0.0
-lib/libbsoncxx.so._noabi
-lib/libmongocxx.so
-lib/libmongocxx.so.4.0.0
-lib/libmongocxx.so._noabi
-libdata/pkgconfig/libbsoncxx.pc
-libdata/pkgconfig/libmongocxx.pc
 %%DATADIR%%/LICENSE
 %%DATADIR%%/README.md
 %%DATADIR%%/THIRD-PARTY-NOTICES