head 1.65; access; symbols pkgsrc-2023Q4:1.63.0.2 pkgsrc-2023Q4-base:1.63 pkgsrc-2023Q3:1.61.0.2 pkgsrc-2023Q3-base:1.61 pkgsrc-2023Q2:1.57.0.2 pkgsrc-2023Q2-base:1.57 pkgsrc-2023Q1:1.56.0.4 pkgsrc-2023Q1-base:1.56 pkgsrc-2022Q4:1.56.0.2 pkgsrc-2022Q4-base:1.56 pkgsrc-2022Q3:1.55.0.4 pkgsrc-2022Q3-base:1.55 pkgsrc-2022Q2:1.55.0.2 pkgsrc-2022Q2-base:1.55 pkgsrc-2022Q1:1.53.0.4 pkgsrc-2022Q1-base:1.53 pkgsrc-2021Q4:1.53.0.2 pkgsrc-2021Q4-base:1.53 pkgsrc-2021Q3:1.52.0.2 pkgsrc-2021Q3-base:1.52 pkgsrc-2021Q2:1.50.0.2 pkgsrc-2021Q2-base:1.50 pkgsrc-2021Q1:1.49.0.2 pkgsrc-2021Q1-base:1.49 pkgsrc-2020Q4:1.48.0.2 pkgsrc-2020Q4-base:1.48 pkgsrc-2020Q3:1.46.0.4 pkgsrc-2020Q3-base:1.46 pkgsrc-2020Q2:1.46.0.2 pkgsrc-2020Q2-base:1.46 pkgsrc-2020Q1:1.42.0.2 pkgsrc-2020Q1-base:1.42 pkgsrc-2019Q4:1.39.0.8 pkgsrc-2019Q4-base:1.39 pkgsrc-2019Q3:1.39.0.4 pkgsrc-2019Q3-base:1.39 pkgsrc-2019Q2:1.39.0.2 pkgsrc-2019Q2-base:1.39 pkgsrc-2019Q1:1.38.0.2 pkgsrc-2019Q1-base:1.38 pkgsrc-2018Q4:1.37.0.2 pkgsrc-2018Q4-base:1.37 pkgsrc-2018Q3:1.36.0.2 pkgsrc-2018Q3-base:1.36 pkgsrc-2018Q2:1.35.0.2 pkgsrc-2018Q2-base:1.35 pkgsrc-2018Q1:1.33.0.2 pkgsrc-2018Q1-base:1.33 pkgsrc-2017Q4:1.29.0.2 pkgsrc-2017Q4-base:1.29 pkgsrc-2017Q3:1.26.0.4 pkgsrc-2017Q3-base:1.26 pkgsrc-2017Q2:1.24.0.2 pkgsrc-2017Q2-base:1.24 pkgsrc-2017Q1:1.23.0.2 pkgsrc-2017Q1-base:1.23 pkgsrc-2016Q4:1.22.0.2 pkgsrc-2016Q4-base:1.22 pkgsrc-2016Q3:1.19.0.2 pkgsrc-2016Q3-base:1.19 pkgsrc-2016Q2:1.17.0.4 pkgsrc-2016Q2-base:1.17 pkgsrc-2016Q1:1.17.0.2 pkgsrc-2016Q1-base:1.17 pkgsrc-2015Q4:1.14.0.2 pkgsrc-2015Q4-base:1.14 pkgsrc-2015Q3:1.11.0.2 pkgsrc-2015Q3-base:1.11 pkgsrc-2015Q2:1.9.0.2 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.7.0.2 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.5.0.2 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.3.0.2 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2; locks; strict; comment @# @; 1.65 date 2024.02.22.17.33.04; author adam; state Exp; branches; next 1.64; commitid 57HxaYpEnbIAbsZE; 1.64 date 2024.01.27.08.28.52; author adam; state Exp; branches; next 1.63; commitid xQNszpgIjl8j04WE; 1.63 date 2023.11.08.13.18.27; author wiz; state Exp; branches; next 1.62; commitid PsuHTklAIsF4bOLE; 1.62 date 2023.10.24.22.08.28; author wiz; state Exp; branches; next 1.61; commitid MTsrqKm6aGrQAVJE; 1.61 date 2023.09.06.19.35.00; author adam; state Exp; branches; next 1.60; commitid VSAUN3fZKUlciKDE; 1.60 date 2023.08.25.16.40.05; author adam; state Exp; branches; next 1.59; commitid dqNE6UJO1tA6IbCE; 1.59 date 2023.08.07.07.19.33; author nia; state Exp; branches; next 1.58; commitid VteSntG8woHJbPzE; 1.58 date 2023.07.29.11.39.29; author adam; state Exp; branches; next 1.57; commitid 1EGPnzNmaHMGUGyE; 1.57 date 2023.04.19.08.08.07; author adam; state Exp; branches; next 1.56; commitid B8gCWhWtMX9vZGlE; 1.56 date 2022.11.23.16.18.35; author adam; state Exp; branches; next 1.55; commitid ju2K3LUYlTJKqQ2E; 1.55 date 2022.04.25.09.33.39; author tnn; state Exp; branches; next 1.54; commitid co51K1Swb4D70zBD; 1.54 date 2022.04.18.19.09.43; author adam; state Exp; branches; next 1.53; commitid eC9Na3jrfOOUpIAD; 1.53 date 2021.12.08.16.01.48; author adam; state Exp; branches; next 1.52; commitid 2PyWjHx5T8rqARjD; 1.52 date 2021.08.11.07.18.25; author adam; state Exp; branches; next 1.51; commitid c1PODzvc1Bf7ww4D; 1.51 date 2021.07.01.22.37.34; author adam; state Exp; branches; next 1.50; commitid fagknaafGSk3VkZC; 1.50 date 2021.04.21.11.40.15; author adam; state Exp; branches; next 1.49; commitid fph0Axs0eT3az9QC; 1.49 date 2021.02.24.12.58.29; author adam; state Exp; branches; next 1.48; commitid PhU8Mh3i9ayzNXIC; 1.48 date 2020.12.03.11.34.39; author adam; state Exp; branches; next 1.47; commitid qnWU0bxOZrd00iyC; 1.47 date 2020.11.05.09.06.45; author ryoon; state Exp; branches; next 1.46; commitid VqGaBtHnBBcd5GuC; 1.46 date 2020.06.25.12.48.00; author nia; state Exp; branches; next 1.45; commitid bTw3fMw0tXznABdC; 1.45 date 2020.06.02.08.22.34; author adam; state Exp; branches; next 1.44; commitid nisovMpvvZm3RCaC; 1.44 date 2020.05.27.19.37.38; author wiz; state Exp; branches; next 1.43; commitid anuppwIr6jQDMU9C; 1.43 date 2020.04.12.08.27.50; author adam; state Exp; branches; next 1.42; commitid 7jZFLCnc3RCww44C; 1.42 date 2020.03.24.14.31.58; author adam; state Exp; branches; next 1.41; commitid sJjnYLLTBTuf9F1C; 1.41 date 2020.02.06.20.20.42; author adam; state Exp; branches; next 1.40; commitid 6e5hR9221IBOzEVB; 1.40 date 2020.01.18.21.47.59; author jperkin; state Exp; branches; next 1.39; commitid JW4hJgY8ZdoTFdTB; 1.39 date 2019.04.03.00.32.30; author ryoon; state Exp; branches; next 1.38; commitid pkuNrSZ2MZiLWPhB; 1.38 date 2019.03.05.14.24.13; author adam; state Exp; branches; next 1.37; commitid 3BPZbD9PaIbhtbeB; 1.37 date 2018.12.15.21.12.19; author wiz; state Exp; branches; next 1.36; commitid MNezDhBeO99pjW3B; 1.36 date 2018.07.30.12.48.48; author jperkin; state Exp; branches; next 1.35; commitid pN70YWIyCSMEX9MA; 1.35 date 2018.05.17.14.10.11; author fhajny; state Exp; branches; next 1.34; commitid 9ZFy4i0obX1VMECA; 1.34 date 2018.04.11.14.02.52; author fhajny; state Exp; branches; next 1.33; commitid OMTWmFN3Y7Y9U1yA; 1.33 date 2018.03.01.12.30.54; author fhajny; state Exp; branches; next 1.32; commitid xRz2lk6ggAbhIKsA; 1.32 date 2018.01.16.12.09.51; author fhajny; state Exp; branches; next 1.31; commitid 9DKsPITHlV1T06nA; 1.31 date 2018.01.15.12.36.26; author fhajny; state Exp; branches; next 1.30; commitid HsTA835MDHSTbYmA; 1.30 date 2018.01.02.10.47.52; author fhajny; state Exp; branches; next 1.29; commitid ubuMIOS1hyk7ZhlA; 1.29 date 2017.11.20.16.06.11; author fhajny; state Exp; branches; next 1.28; commitid GtN7bjMxd3Vt9NfA; 1.28 date 2017.10.13.14.27.54; author fhajny; state Exp; branches; next 1.27; commitid Cif2mE5U2DHxPTaA; 1.27 date 2017.09.26.14.18.21; author fhajny; state Exp; branches; next 1.26; commitid LAGTmEz9vJJYjI8A; 1.26 date 2017.08.17.17.04.35; author fhajny; state Exp; branches; next 1.25; commitid fCequqSzIgaSwA3A; 1.25 date 2017.07.30.22.32.11; author wiz; state Exp; branches; next 1.24; commitid gjZWVQWOLKneVi1A; 1.24 date 2017.06.14.10.27.21; author fhajny; state Exp; branches; next 1.23; commitid Hi0C5y84C3eaokVz; 1.23 date 2017.01.12.14.48.15; author fhajny; state Exp; branches; next 1.22; commitid qkZsLygwFkpEJGBz; 1.22 date 2016.12.17.14.25.30; author joerg; state Exp; branches; next 1.21; commitid Hn0HUUq7KQezslyz; 1.21 date 2016.12.09.13.54.21; author fhajny; state Exp; branches; next 1.20; commitid 5Mk2W85QqadHxjxz; 1.20 date 2016.10.02.09.31.47; author fhajny; state Exp; branches; next 1.19; commitid pTzFlwwEVOdnhyoz; 1.19 date 2016.09.05.08.43.10; author fhajny; state Exp; branches; next 1.18; commitid kkdF2JFzrO8kS4lz; 1.18 date 2016.08.17.14.11.42; author fhajny; state Exp; branches; next 1.17; commitid soqHVoiYdwnViFiz; 1.17 date 2016.04.05.12.44.47; author fhajny; state Exp; branches; next 1.16; commitid PcpdnkAn4tZ18r1z; 1.16 date 2016.03.05.11.27.42; author jperkin; state Exp; branches; next 1.15; commitid 1LoxeQftu903HrXy; 1.15 date 2016.02.16.15.26.30; author fhajny; state Exp; branches; next 1.14; commitid dI71Lmi8eeVqB9Vy; 1.14 date 2015.12.08.09.35.24; author fhajny; state Exp; branches; next 1.13; commitid Y0he5lhQpKsuU7My; 1.13 date 2015.11.05.13.44.17; author fhajny; state Exp; branches; next 1.12; commitid f2tuS9JyYKBqlUHy; 1.12 date 2015.10.19.11.42.46; author fhajny; state Exp; branches; next 1.11; commitid C3908dp5SSjKdIFy; 1.11 date 2015.08.24.16.06.08; author fhajny; state Exp; branches; next 1.10; commitid wvwHY8wSaIoItxyy; 1.10 date 2015.07.04.15.02.58; author fhajny; state Exp; branches; next 1.9; commitid yyaiTptbGSkqLYry; 1.9 date 2015.06.10.17.22.57; author fhajny; state Exp; branches; next 1.8; commitid rAf948rIqDuyjUoy; 1.8 date 2015.04.21.07.59.39; author fhajny; state Exp; branches; next 1.7; commitid X8knOayXr4nONqiy; 1.7 date 2015.03.24.13.22.09; author fhajny; state Exp; branches; next 1.6; commitid KnjdB0clW7fruRey; 1.6 date 2015.01.01.09.50.31; author dholland; state Exp; branches; next 1.5; commitid pCe3NXqqdR9eXi4y; 1.5 date 2014.12.12.11.35.05; author fhajny; state Exp; branches; next 1.4; commitid 5sqfHLbzdBYTaK1y; 1.4 date 2014.10.02.10.23.23; author fhajny; state Exp; branches; next 1.3; commitid qBdT2hPizcJA3CSx; 1.3 date 2014.07.18.10.41.43; author fhajny; state Exp; branches; next 1.2; commitid aLhgmRCvy51DBQIx; 1.2 date 2014.06.11.14.31.29; author fhajny; state Exp; branches; next 1.1; commitid f3ubQmiFcfjV37Ex; 1.1 date 2014.05.07.15.47.00; author fhajny; state Exp; branches; next ; commitid pE7oInX9FVqJBCzx; desc @@ 1.65 log @mongo-c-driver: updated to 1.26.0 libmongoc 1.26.0 New Features: * Support named KMS providers. * Redirect retries in sharded clusters to another mongos if possible. Improvements: * Add `VERSION_CURRENT` file in source to ease building. * Consider more errors retryable. @ text @# $NetBSD: Makefile,v 1.64 2024/01/27 08:28:52 adam Exp $ DISTNAME= mongo-c-driver-1.26.0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/} GITHUB_TAG= ${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/mongodb/mongo-c-driver COMMENT= MongoDB client library written in C LICENSE= apache-2.0 # Requires shm_open() NOT_FOR_PLATFORM+= OpenBSD-*-* USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config TEST_TARGET= check # u_int for sys/sysctl.h CFLAGS.NetBSD+= -D_NETBSD_SOURCE # Set version here, so Python and Git are not needed. CMAKE_ARGS+= -DBUILD_VERSION=${PKGVERSION_NOREV} CMAKE_ARGS+= -DENABLE_ICU=ON CMAKE_ARGS+= -DENABLE_SNAPPY=ON CMAKE_ARGS+= -DENABLE_UNINSTALL=OFF CMAKE_ARGS+= -DENABLE_ZLIB=SYSTEM CMAKE_ARGS+= -DENABLE_ZSTD=ON CMAKE_ARGS+= -DENABLE_SHM_COUNTERS=OFF # ON is only supported on Linux or ARM Darwin CMAKE_ARGS+= -DMONGO_USE_CCACHE=OFF PKGCONFIG_OVERRIDE+= src/libbson/src/libbson-1.0.pc.in PKGCONFIG_OVERRIDE+= src/libbson/src/libbson-static-1.0.pc.in PKGCONFIG_OVERRIDE+= src/libmongoc/src/libmongoc-1.0.pc.in PKGCONFIG_OVERRIDE+= src/libmongoc/src/libmongoc-ssl-1.0.pc.in PKGCONFIG_OVERRIDE+= src/libmongoc/src/libmongoc-static-1.0.pc.in INSTALLATION_DIRS+= ${PKGMANDIR}/man3 LDFLAGS.SunOS+= -lsocket BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=${WRKSRC}/src/libmongoc/../../build/cmake/libmongoc-hidden-symbols.map .include "options.mk" .include "../../archivers/zstd/buildlink3.mk" .include "../../devel/cmake/build.mk" .include "../../devel/snappy/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../textproc/icu/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.64 log @mongo-c-driver: updated to 1.25.4 mongo-c-driver 1.25.4 libbson Fixes: Restore support for Sphinx 1.7.6 for man page build. libmongoc Fixes: Restore support for Sphinx 1.7.6 for man page build. mongo-c-driver 1.25.3 libbson No changes since 1.25.2. Version incremented to match the libmongoc version. libmongoc Fixes: Disable shared libmongoc targets if ENABLE_SHARED=OFF Fix documentation build with Python 3.9. mongo-c-driver 1.25.2 libbson Fixes: Fix conversion warning with GCC 12. libmongoc Fixes: Fix data race in mongoc_cursor_get_host. mongo-c-driver 1.25.1 libbson Fixes: The BUILD_VERSION CMake option was restored. Fixes to some format strings in trace logs. Allow mongoc_buffer_t to be larger than INT_MAX. libmongoc Fixes: Add back support for BUILD_VERSION CMake option. BUILD_VERSION was unintentionally removed in 1.25.0. mongo-c-driver 1.25.0 libbson New Features: Add bson_array_builder_t. Platform Support: Support for macOS 10.14 is dropped. Support for Ubuntu 14.04 is dropped. Support for Debian 8.1 is dropped. libmongoc Fixes: Send recoveryToken in transactions when connected to a load balancer. Improvements: Remove optional dependency of libicu. Added ability to manage Atlas Search indexes Use OP_MSG exhaust for mongod >= 4.2. Enable exhaust cursors for mongos >= 7.1. Share cached credentials for SCRAM authentication among all clients to improve performance. Use polling monitoring in FaaS environments. Build Configuration: Remove ENABLE_SRV=AUTO. Only support boolean values for ENABLE_SRV. Platform Support: Support for macOS 10.14 is dropped. Support for Ubuntu 14.04 is dropped. Support for Debian 8.1 is dropped. Other: The constructed source-distribution archive is no longer available as a release artifact. Please instead use the per-release repository archive attached to a GitHub release, or clone the repository at the desired release tag. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2023/11/08 13:18:27 wiz Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.25.4 d31 1 @ 1.63 log @*: recursive bump for icu 74.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2023/10/24 22:08:28 wiz Exp $ d3 1 a3 2 DISTNAME= mongo-c-driver-1.24.4 PKGREVISION= 2 d6 1 a6 1 GITHUB_RELEASE= ${PKGVERSION_NOREV} d23 2 a44 6 post-install: .for lib in libbson libmongoc ${INSTALL_MAN} ${WRKSRC}/src/${lib}/doc/man/*.3 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 .endfor @ 1.62 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2023/09/06 19:35:00 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.61 log @mongo-c-driver: updated to 1.24.4 libmongoc 1.24.4 Fixes: * Fix build failure caused by missing `bson-dsl.h` install in libbson. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2023/08/25 16:40:05 adam Exp $ d4 1 @ 1.60 log @mongo-c-driver: updated to 1.24.3 mongo-c-driver 1.24.3 libbson Fixes: Fix parsing of [ { $code: ... } ] or [{$dbPointer: ...}]. Improve detection Fix use of strerror_l Fix possible overflow parsing Decimal128 in extJSON with very large exponents libmongoc Fixes: Fix possible memory leak on SCRAM authentication failure. Fix possible recursive lock on network error in single-threaded client. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2023/08/07 07:19:33 nia Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.24.3 @ 1.59 log @mongo-c-driver: Fix problems including sysctl.h on NetBSD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2023/07/29 11:39:29 adam Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.24.2 @ 1.58 log @mongo-c-driver: updated to 1.24.2 libmongoc 1.24.2 ================ Fixes: * Fix possible crash if thread creation fails. * Fix possible assertion if `mongoc_cursor_new_from_command_reply_with_opts` is called with open cursor and no `serverId` option. libmongoc 1.24.1 ================ Fixes: * Remove unnecessary assert in bulk API. May result in an abort when creating bulk operations with the `mongoc_bulk_operation_new` API intended for wrapping drivers. libmongoc 1.24.0 ================ New Features: * Support MongoDB server version 7.0. * Support updated Queryable Encryption protocol. * Introduces backwards breaking changes to the Queryable Encryption protocol. Using Queryable Encryption now requires MongoDB server version 7.0+. * Support new Queryable Encryption features. * Add `mongoc_client_encryption_create_encrypted_collection` to automatically create data encryption keys when creating a new encrypted collection. * Support new security features. * Add ability to fetch KMS credentials automatically from Azure, GCP, and AWS environments. * Support authentication with KMS AWS temporary credentials. * Cache fetched AWS credentials. * Support AWS IAM Roles for service accounts, EKS in particular. * Retry operations if the connection handshake fails. * Add index creation helper: `mongoc_collection_create_indexes_with_opts`. Fixes: * Fix default applied credentials for Kerberos with SSPI on Windows. * Fix possible overcounting in Performance Counters used by `mongoc-stat`. Language Standard Support: * C89 support has been dropped. C99 is the default tested C standard. Platform Support: * Support for macOS 10.14 will be dropped in an upcoming release. * Support for Ubuntu 14.04 will be dropped in an upcoming release. * Support for Debian 8.1 will be dropped in an upcoming release. Build Configuration: * The `ENABLE_BSON` configure-time option has been removed. Build scripts that used `ENABLE_BSON=SYSTEM` should be updated to use `USE_SYSTEM_LIBBSON=TRUE`. If the build script needs to support building arbitrary versions of the C driver, add both `ENABLE_BSON=SYSTEM` and `USE_SYSTEM_LIBBSON=TRUE`. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2023/04/19 08:08:07 adam Exp $ d20 3 @ 1.57 log @revbump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2022/11/23 16:18:35 adam Exp $ d3 1 a3 2 DISTNAME= mongo-c-driver-1.17.7 PKGREVISION= 4 d16 1 a16 1 USE_CMAKE= yes d21 1 a21 2 #CMAKE_ARGS+= -DENABLE_MAN_PAGES=ON CMAKE_ARGS+= -DENABLE_SNAPPY=SYSTEM d24 2 a37 7 PLIST_VARS+= unix .include "../../mk/bsd.prefs.mk" .if ${OPSYS} != "Darwin" PLIST.unix= yes .endif d46 2 @ 1.56 log @massive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2022/04/25 09:33:39 tnn Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.55 log @mongo-c-driver: handle --version-script on SunOS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2022/04/18 19:09:43 adam Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.54 log @revbump for textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2021/12/08 16:01:48 adam Exp $ d35 2 a36 1 LDFLAGS.SunOS+= -lsocket @ 1.53 log @revbump for icu and libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2021/08/11 07:18:25 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.52 log @mongo-c-driver: updated to 1.17.7 mongo-c-driver 1.17.7 Announcing 1.17.7 of libbson and libmongoc, the libraries constituting the MongoDB C Driver. libbson It is my pleasure to announce libbson 1.17.7. No changes since 1.17.6; release to keep pace with libmongoc's version. libmongoc It is my pleasure to announce the MongoDB C Driver 1.17.7. Print correct error message when DNS resolution fails Mix time to avoid duplicate RAND_bytes for the same PIDs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2021/07/01 22:37:34 adam Exp $ d4 1 @ 1.51 log @mongo-c-driver: updated to 1.17.6 mongo-c-driver 1.17.6 ===================== Bug fixes: * Fix possible crash when speculative authentication fails with network error. mongo-c-driver 1.17.5 ===================== Improvements: * Fix documentation regarding when to call mongoc_log_set_handler @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2021/04/21 11:40:15 adam Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.17.6 @ 1.50 log @revbump for textproc/icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2021/02/24 12:58:29 adam Exp $ d3 1 a3 2 DISTNAME= mongo-c-driver-1.17.4 PKGREVISION= 1 @ 1.49 log @mongo-c-driver: updated to 1.17.4 mongo-c-driver 1.17.4 libbson It is my pleasure to announce libbson 1.17.4. No changes since 1.17.3; release to keep pace with libmongoc's version. libmongoc It is my pleasure to announce the MongoDB C Driver 1.17.4. Bug fixes: Fix crash on macOS on client pool shutdown. Fix spacing in extended JSON output for numberLong. Clear error in mongoc_collection_find_and_modify_with_opts on a successful retry. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2020/12/03 11:34:39 adam Exp $ d4 1 @ 1.48 log @mongo-c-driver: updated to 1.17.3 mongo-c-driver 1.17.3 ===================== Bug fixes: * Do not send session ID on GSSAPI auth commands. * Fix build against zlib when zlib is installed in non-standard location. * Fix build when source directory path contains a space. * Fix a platform-specific bug causing mongoc_client_pool_pop to block indefinitely if all clients are checked out. * Fix a possible buffer overflow with hostnames resolving to IPv6 addresses on OpenSSL. mongo-c-driver 1.17.2 ===================== Bug fixes: * Stop the SRV polling thread when an SRV URI is used to connect to a deployment other than a sharded cluster. mongo-c-driver 1.17.1 ===================== Bug fixes: * Fix SRV/TXT record lookup for DNS records exceeding 1024 bytes. mongo-c-driver 1.17.0 ===================== This release adds support for MongoDB 4.4 servers. Features: * Support streamable server monitoring to reduce recovery time when the server topology changes. * Support the MONGODB-AWS authentication mechanism. * Support Online Certificate Status Protocol (OCSP). * Support configuring hedged reads in read preferences. * Reduce the number of round trips necessary for SCRAM and X509 authentication. * Monitor servers in parallel when using a mongoc_client_pool_t instead of doing serial scans. * Support the "hint" option in operations using the update, replace, delete, and findAndModify commands. * Improve behavior for retryable writes. * Improve resuming behavior of change streams on server errors. * Remove restriction of 255 character collection namespaces. Bug fixes: * Fix criteria for resumable errors in change streams. * Fix rare crashes when server is invalidated during authentication. * Reject client session for mongoc_collection_estimated_document_count. * Fix behavior of a SecondaryPreferred read preference for exhaust cursor operations against a sharded cluster. Prior to the fix, a nonzero maxStalenessSeconds would not trigger sending the read preference. * Fix SRV polling. Prior to the fix, SRV polling did not properly apply newly discovered results. * Fix checks for existing GridFS indexes to handle indexes created by the MongoDB shell. * Fix possible use of invalidated streams during an unordered OP_QUERY bulk write, and when ending many pooled sessions at client destruction. * Fix a crash when setting the crl_file TLS option for Secure Channel. * Avoid emitting duplicate ServerChanged events when no change is observed during monitoring. * Properly handle large SASL messages instead of erroring. Notes: * Deprecated "lib" prefixed artifacts are no longer produced when building on Windows. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2020/11/05 09:06:45 ryoon Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.17.3 @ 1.47 log @*: Recursive revbump from textproc/icu-68.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2020/06/25 12:48:00 nia Exp $ d3 1 a3 2 DISTNAME= mongo-c-driver-1.16.2 PKGREVISION= 3 @ 1.46 log @mongo-c-driver: Needs socket library on SunOS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2020/06/02 08:22:34 adam Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.45 log @Revbump for icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2020/05/27 19:37:38 wiz Exp $ d35 2 @ 1.44 log @*: reset MAINTAINER for fhajny on his request @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2020/04/12 08:27:50 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.43 log @Recursive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2020/03/24 14:31:58 adam Exp $ d9 1 a9 1 MAINTAINER= fhajny@@NetBSD.org @ 1.42 log @mongo-c-driver: updated to 1.16.2 mongo-c-driver 1.16.2 libbson No change since 1.16.1; released to keep pace with libmongoc's version. libmongoc It is my pleasure to announce the MongoDB C Driver 1.16.2. Bug fixes: Fix compilation with LibreSSL when configuring with -DENABLE_SSL=AUTO @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2020/02/06 20:20:42 adam Exp $ d4 1 @ 1.41 log @mongo-c-driver: updated to 1.16.1 mongo-c-driver 1.16.1 I'm pleased to announce version 1.16.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver. libbson It is my pleasure to announce libbson 1.16.1. Features: Add bson_isspace, a safer isspace alternative. libmongoc It is my pleasure to announce the MongoDB C Driver 1.16.1. Bug fixes: Fix listed library dependency on mongoc_static target when building with libmongocrypt. Replace a call of free to bson_free. Vendor Sphinx basic theme and correctly list static files for docs. Fix a compilation warning introduced in 1.16.0. mongo-c-driver 1.16.0 I'm pleased to announce version 1.16.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver. libbson It is my pleasure to announce libbson 1.16.0. Bug fixes: Fix crash if an empty BSON binary value is copied and then appended. Fix out-of-bounds read when parsing JSON. Fix out-of-bounds read when parsing base64. libmongoc It is my pleasure to announce the MongoDB C Driver 1.16.0. Features: Support Client-side Field Level Encryption. Support ability to pass an index hint to update operations. Add cmake export targets. Bug fixes: Fix a bug with Windows SSPI failing to authenticate with GSSAPI when using pooled clients for certain operations. Fix behavior for bulk writes that retry to keep track of the successful server. Remove hard limit of 1024 characters for SRV response. Fix racy crash when using client pool against a sharded cluster if a server is invalidated shortly before a new socket is opened against it. Remove unnecessary library dependencies causing overlinking. Ensure server proof has been validated during SCRAM conversation. mongo-c-driver 1.15.3 I'm pleased to announce version 1.15.3 of libbson and libmongoc, the libraries constituting the MongoDB C Driver. libbson It is my pleasure to announce libbson 1.15.3. No changes since 1.15.2; release to keep pace with libmongoc's version. libmongoc It is my pleasure to announce the MongoDB C Driver 1.15.3. Bug fixes: * Fix a hang on macOS when connecting to a server over TLS * Add zstd as a dependency when libmongoc static library is compiled with zstd support * Fix compilation on AIX 6.1 mongo-c-driver 1.15.2 I'm pleased to announce version 1.15.2 of libbson and libmongoc, the libraries constituting the MongoDB C Driver. libbson No changes since 1.15.1; release to keep pace with libmongoc's version. libmongoc Bug fixes: Prevent mongoc_transaction_opts_set_max_commit_time_ms from applying to subsequent transactions that should be using the default. Do not report the initial error if a retry for a change stream function (mongoc_collection_watch, mongoc_database_watch, or mongoc_client_watch) succeeds mongo-c-driver 1.15.1 I'm pleased to announce version 1.15.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver. libbson No change since 1.15.0; released to keep pace with libmongoc's version. libmongoc It is my pleasure to announce the MongoDB C Driver 1.15.1. Bug fixes: Fix change stream resume logic when no documents received Reduce the required cmake version to build with zstd support Minor fixes to mongos pinning logic Do not resume a change stream on NonResumableChangeStreamError mongo-c-driver 1.15.0 I'm pleased to announce version 1.15.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver. libbson No change since 1.14.1; released to keep pace with libmongoc's version. libmongoc It is my pleasure to announce the MongoDB C Driver 1.15.0. This release adds support for MongoDB 4.2 features. Features: Support for sharded transactions on MongoDB sharded clusters 4.2+. Add convenient transaction runner (mongoc_client_session_with_transaction), which accepts a callback and performs appropriate retry logic. Add a new transaction option to specify maximum time to wait for a commit, mongoc_transaction_opts_set_max_commit_time_ms. Add URI option "retryReads=true" safely and automatically retries certain read operations if the server is a MongoDB 3.6+. Note, this may require applications to adjust any custom retry logic to prevent inadvertently retrying for too long Poll SRV records to mongos servers periodically. Keep connections alive after a primary stepdown detected. Standardizes URI options supported across all spec-compliant MongoDB drivers. "retryWrites" URI option now defaults to true (requires crypto for session support). Send any aggregate with $out or $merge stage to a primary. Add the ability to specify an aggregate pipeline as an update document. Add a database aggregate helper, mongoc_database_aggregate. Add option for change streams, "startAfter". Add mongoc_change_stream_get_resume_token, which returns the resume token which should be used to resume a change stream. Add support for zstd compression. Bug fixes: Correctly report an error in mongoc_change_stream_next if the resume token (_id) is not a document. Previously, an error was only reported if the field was missing. Fix mongoc_collection_update with MONGOC_UPDATE_MULTI_UPDATE, mongoc_collection_remove, and mongoc_collection_delete when retryWrites was enabled. They would fail previously. Command options are now correctly taken into account when batching bulk writes for OP_QUERY. It was possible to exceed the maximum document size before. Fix a crash if a multi-batch bulk write with OP_MSG errored on a batch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2020/01/18 21:47:59 jperkin Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.16.1 d18 1 @ 1.40 log @*: Recursive revision bump for openssl 1.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2019/04/03 00:32:30 ryoon Exp $ d3 1 a3 2 DISTNAME= mongo-c-driver-1.14.0 PKGREVISION= 2 @ 1.39 log @Recursive revbump from textproc/icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2019/03/05 14:24:13 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.38 log @mongo-c-driver: updated to 1.14.0 mongo-c-driver 1.14.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.14.0. Features: * Support for OpenSSL 1.1.1 and its implementation of TLS v1.3. * New function mongoc_stream_should_retry. * New accessor mongoc_server_description_last_update_time. * New method mongoc_client_reset to be called after forking. Bug fixes: * OP_MSG with unacknowledged writes (write concern of w:0) would serialize incorrectly on big-endian platforms, causing writes to use the default write concern of w:1. * mongoc_collection_update_many and mongoc_collection_delete_many would fail with the URI option retryWrites=true. * In a transaction, the driver now properly ignores the readConcern configured on a client, database, or collection: only the mongoc_transaction_opt_t's readConcern is used. * Remove timestamp from uninstall scripts to permit reproducible build. * Setting mongoc_ssl_opt_t.pem_file or ca_file to a bad file path caused a hang with Darwin SSL. * Fix the ENABLE_SASL cmake option: * Remove unnecessary GSSAPI value. It was equivalent to specifying ENABLE_SASL=CYRUS. * ENABLE_SASL=AUTO now correctly chooses SSPI on Windows instead of CYRUS. * The client pool failed to set proper apm callbacks for clients created via try_pop(). mongo-c-driver 1.13.1 ===================== It is my pleasure to announce the MongoDB C Driver 1.13.1. Bug fixes: * mongoc_collection_update_many and mongoc_collection_delete_many would fail with the URI option retryWrites=true. * Remove timestamp from uninstall scripts to permit reproducible build. * Add missing header files to the release tarball to fix compilation when configuring with ENABLE_SASL=GSSAPI. * Separate libmongoc and libbson uninstall scripts so they do not overwrite each other. * Fix running make install with DESTDIR. mongo-c-driver 1.13.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.13.0. Features: * Report a new error code, MONGOC_ERROR_GRIDFS_CORRUPT, when a chunk larger than chunkSize is detected. Before, the driver had crashed with an assert. * Restructure of install directory. All mongoc headers are under mongoc/ and all bson headers are under bson/. The preferred way of including the headers are mongoc/mongoc.h and bson/bson.h respectively. Forwarding headers in the root are provided for backwards compatibility. * The default CMake build type had been unspecified, now it is RelWithDebInfo. * Support LibreSSL 2.7+. Bug fixes: * mongoc_collection_replace_one is now a correctly exported symbol. * Fix multiple issues with readConcern and writeConcern inheritance. * Fix rare crash with mongodb+srv URIs on Windows. * mongoc_gridfs_create_file_from_stream ignored errors while writing chunks to the server. * The following functions should not have taken a "bypassDocumentValidation" option in bson_t *opts, the option is now prohibited: - mongoc_bulk_operation_insert_with_opts - mongoc_bulk_operation_update_one_with_opts - mongoc_bulk_operation_update_many_with_opts - mongoc_bulk_operation_replace_one_with_opts * The heartbeat-succeeded and heartbeat-failed events (part of SDAM Monitoring) had uninitialized "duration" fields, they are now set correctly. mongo-c-driver 1.12.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.12.0. Features: * New function mongoc_client_session_in_transaction to check if a multi- document transaction is started. * New examples for change streams and transactions, improved guide for migrating from mongoc_collection_count to mongoc_collection_count_documents Bug fixes: * Fix occasional crash in sharded queries * Retry all retryable write concern errors * mongoc_client_session_commit_transaction sets the correct error label when the primary is unavailable * mongoc_collection_find_with_opts had prohibited read preference "primary" in a transaction * mongoc_collection_aggregate had not inherited its mongoc_collection_t's read preference; only an explicitly provided read preference was used. * Allow unencoded delimiters in username/password if unambiguous mongo-c-driver 1.11.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.11.0. This release adds support for MongoDB 4.0 features. It includes the following additions and improvements: * Multi-document transactions, see mongoc_client_session_start_transaction * New function mongoc_error_has_label to check for specific error labels such as "TransientTransactionError" or "UnknownTransactionCommitResult" in error replies. * New functions to subscribe to changes on an entire client or database: - mongoc_client_watch - mongoc_database_watch * New option for change streams, "startAtOperationTime". * mongoc_collection_count_with_opts is deprecated for two new functions: - mongoc_collection_count_documents - mongoc_collection_estimated_document_count * Support for SCRAM-SHA-256 authentication, including support for non-ASCII passwords using libicu is an optional dependency. * Faster mongoc_database_get_collection_names_with_opts fetches only names, not the entire collection metadata. Additional changes not specific to MongoDB 4.0: * All "destroy" functions such as mongoc_collection_destroy now ignore a NULL argument. * The driver now returns an error if you attempt to use "arrayFilters" in an update with a MongoDB server older than 3.6. * Update functions include a new "upsertedCount" field in the reply document. * Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPS compliance). Bug fixes: * Functions incorrectly marked with the "const" compiler attribute are now marked as "pure", fixes build error when link-time optimization is enabled. mongo-c-driver 1.10.3 ===================== No change since 1.10.2; released to keep pace with libbson's version. mongo-c-driver 1.10.2 ===================== It is my pleasure to announce the MongoDB C Driver 1.10.2. This release fixes the libbson and libmongoc installed library filenames and SONAMEs on Linux. They had changed unintentionally with the switch to CMake in 1.10.0; they are now consistent with 1.9.x and previous releases. Thanks to Roberto C. Sánchez for the fix. mongo-c-driver 1.10.1 ===================== It is my pleasure to announce the MongoDB C Driver 1.10.1. This release fixes the following bugs introduced in version 1.10.0: * Client sessions were not prohibited with unacknowledged write concern and mongoc_bulk_operation_execute; now they are prohibited. Client sessions have been prohibited with all other unacknowledged writes since 1.10. * The "arrayFilters" update option, new in MongoDB 3.6 and supported since libmongoc 1.9.0, was inadvertently prohibited by mongoc_bulk_operation_update_one_with_opts and mongoc_bulk_operation_update_many_with_opts in 1.10. The option is now permitted again. * The mongoc-stat tool for displaying shared counters was disabled on Linux and not installed; it is now restored. mongo-c-driver 1.10.0 ===================== It is my pleasure to announce MongoDB C Driver 1.10.0. This version drops support for MongoDB 2.6 and adds the following features and bugfixes: * libbson and libmongoc are now maintained in the mongo-c-driver repository, although they are still built as separate libraries, and libbson can still be used without libmongoc. * Building libbson and libmongoc now requires CMake on all platforms. The Autotools build scripts ("configure" and related scripts) have been deleted. See the "installing" page for updated instructions, including the new ENABLE_MONGOC option and changes to the ENABLE_BSON option. * IPv6 is now fully supported and conforms to RFC-6555. If a hostname has both IPv4 and IPv6 DNS records, the driver tries connecting with IPv6 first. If a connection can't be established after 250ms then IPv4 is tried in parallel. Whichever succeeds connection first cancels the other. The successful DNS result is cached for 10 minutes. * If CMake is configured with ENABLE_SSL=AUTO (the default), libmongoc now uses native TLS libraries on Mac and Windows, and OpenSSL everywhere else. Before, it would search for OpenSSL on all platforms and only use native TLS on Mac and Windows as a fallback. * The driver now handshakes SSL connections to multiple servers in a replica set or sharded cluster in parallel, so long as it uses OpenSSL or Windows SChannel. (SSL handshakes with Apple's Secure Transport are still serial.) A larger receive buffer with SChannel increases performance over slow connections. * All functions that accept read concern now prohibit it, if MongoDB is too old to support it (MongoDB 3.0). * Client sessions are now prohibited with unacknowledged writes. * mongoc_collection_find_and_modify_with_opts now prohibits write concern if MongoDB is too old to support it (MongoDB 3.0). * Other helper functions for commands that write, now prohibit write concern if MongoDB is too old to support it (pre-3.4): mongoc_client_read_write_command_with_opts mongoc_client_write_command_with_opts mongoc_collection_read_write_command_with_opts mongoc_collection_write_command_with_opts mongoc_database_read_write_command_with_opts mongoc_database_write_command_with_opts mongoc_collection_aggregate with $out mongoc_collection_drop_index_with_opts mongoc_collection_drop_with_opts mongoc_collection_rename_with_opts mongoc_database_drop_with_opts Write concern behavior is unchanged for regular CRUD functions. * Setting a negative writeConcern level of -2 or smaller, via the "opts" parameter to functions that accept BSON options, is now prohibited. The special "w" values -2 through -4 are only used internally. The deprecated "w=-1" is still allowed, as a synonym for "w=0". * The Kerberos URI option authMechanismProperties=CANONICALIZE_HOST_NAME:true is now implemented with the Windows Kerberos provider, SSPI. * This repository now includes GDB and LLDB customizations for pretty-printing bson_t structs as JSON while debugging. See the "debugging" page. * The internal preprocessor symbol HAVE_STRINGS_H has been renamed BSON_HAVE_STRINGS_H. If you maintain a handwritten bson-config.h you must rename this symbol. * The following helper functions do not work with mongoc_client_session_t, they are deprecated in favor of running MongoDB commands directly with a function like mongoc_client_read_command_with_opts: mongoc_client_get_server_status mongoc_collection_stats mongoc_collection_validate * mongoc_cursor_is_alive is now deprecated for mongoc_cursor_more, which is functionally equivalent. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2018/12/15 21:12:19 wiz Exp $ d4 1 @ 1.37 log @*: update email for fhajny @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2018/07/30 12:48:48 jperkin Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.9.5 d6 1 d9 1 a9 1 HOMEPAGE= https://github.com/mongodb/mongo-c-driver/ a12 2 GITHUB_RELEASE= ${PKGVERSION_NOREV} d16 2 a17 2 BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx d19 11 a29 14 .include "options.mk" GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= gmake pkg-config CONFIGURE_ARGS+= --enable-man-pages=yes CONFIGURE_ARGS+= --with-libbson=system CONFIGURE_ARGS+= --with-snappy=system CONFIGURE_ARGS+= --with-zlib=system CONFIGURE_ENV+= SPHINX_BUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX} PKGCONFIG_OVERRIDE+= src/libmongoc-1.0.pc.in PKGCONFIG_OVERRIDE+= src/libmongoc-ssl-1.0.pc.in d33 1 a33 3 # Test behaves inconsistently #TEST_MAKE_FLAGS+= MONGOC_TEST_SKIP_LIVE=on #TEST_TARGET= check d35 4 a38 1 PYTHON_FOR_BUILD_ONLY= yes d40 1 a40 1 BUILDLINK_TRANSFORM.SunOS+= rm:-D_XOPEN_SOURCE=1 d42 5 a46 1 .include "../../lang/python/application.mk" a47 3 # libbson and mongo-c-driver released are tied BUILDLINK_API_DEPENDS.libbson+= libbson>=${PKGVERSION_NOREV} .include "../../devel/libbson/buildlink3.mk" d50 1 @ 1.36 log @mongo-c-driver: Remove bogus _XOPEN_SOURCE on SunOS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2018/05/17 14:10:11 fhajny Exp $ d7 1 a7 1 MAINTAINER= filip@@joyent.com @ 1.35 log @databases/mongo-c-driver: Update to 1.9.5. - New change streams API functions were not marked extern "C" - mongoc_collection_watch now accepts a pipeline argument as a BSON array, in addition to accepting a BSON document with a "pipeline" array field - Crashes in several change stream error handling paths - Commands could return false with an empty bson_error_t after a replica set reconfig - Network error messages omitted the command name when using OP_MSG @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2018/04/11 14:02:52 fhajny Exp $ d43 2 @ 1.34 log @databases/mongo-c-driver: Update to 1.9.4. - Compatibility with Sphinx 1.7.0 - Ensure a change stream uses the proper session id while iterating - Fix a rare crash in pooled mode when a replica set member was disconnected @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2018/03/01 12:30:54 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.9.4 @ 1.33 log @databases/mongo-c-driver: Update to 1.9.3. - Fix a session-management bug that could cause an authentication error while connected to MongoDB 3.6+ and iterating a cursor - Permit the $gleStats modifier with mongoc_collection_aggregate. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2018/01/16 12:09:51 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.9.3 @ 1.32 log @Update databases/mongo-c-driver to 1.9.2. - No change since 1.9.1; released to keep pace with libbson's version number. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2018/01/15 12:36:26 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.9.2 @ 1.31 log @Update databases/mongo-c-driver to 1.9.1. - This release fixes a bug that caused session ID to be included in authentication and server monitoring commands. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2018/01/02 10:47:52 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.9.1 @ 1.30 log @Update databases/mongo-c-driver to 1.9.0. This version drops support for MongoDB 2.4 and adds support for MongoDB 3.6 features: - New struct mongoc_change_stream_t to watch a collection for changes. - New struct mongoc_client_session_t represents a MongoDB 3.6 session, which supports causal consistency: you are guaranteed to read your writes and to perform monotonic reads, even when reading from secondaries or in a sharded cluster. - New functions that accept flexible options as a BSON document. These accept a "sessionId" option and any future options. In addition, the two new "update" functions accept the "arrayFilters" option that is new in MongoDB 3.6: - mongoc_collection_insert_one - mongoc_collection_insert_many - mongoc_collection_update_one - mongoc_collection_update_many - mongoc_collection_replace_one - mongoc_collection_delete_one - mongoc_collection_delete_many - mongoc_client_command_with_opts - mongoc_database_command_with_opts - mongoc_collection_command_with_opts - mongoc_client_find_databases_with_opts - mongoc_client_get_database_names_with_opts - mongoc_collection_create_bulk_operation_with_opts - mongoc_collection_find_indexes_with_opts - mongoc_database_find_collections_with_opts - mongoc_database_get_collection_names_with_opts - New URI option "retryWrites=true" safely and automatically retries certain write operations if the server is a MongoDB 3.6 replica set or sharded cluster. - Support for MongoDB OP_MSG wire protocol. Additional changes not specific to MongoDB 3.6: - Support for mongodb+srv URIs to query DNS for SRV and TXT records that configure the connection to MongoDB. - Support LibreSSL with CMake build - The "minPoolSize" URI option is deprecated: it's confusing and not useful. Bug fixes: - mongoc_bulk_operation_execute did not always initialize "reply". - Fix C99 pedantic warnings. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2017/11/20 16:06:11 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.9.0 @ 1.29 log @Update databases/mongo-c-driver to 1.8.2. - Remove option to bundle the Snappy compression library, it caused issues for programs linking to libmongoc - Fix pkg-config and CMake config file flags for programs that statically link to libmongoc when libmongoc is statically linked to zLib - The configure flag "--with-zlib=no" was ignored - Fix crash in authentication when username is NULL @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2017/10/13 14:27:54 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.8.2 @ 1.28 log @Update databases/mongo-c-driver to 1.8.1. - Remove a syntax error in the configure script that affects some shells. - The configure script respects --with-zlib=system and --with-snappy=system. - The internal mongoc_server_description_t struct is properly reinitialized after a network error. - Fix the encoding of this NEWS file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2017/09/26 14:18:21 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.8.1 @ 1.27 log @Update databases/mongo-c-driver to 1.8.0. - The zLib and Snappy compression libraries are bundled if not available. Wire protocol compression is enabled on Windows. - mongoc_collection_find_and_modify_with_opts now respects a "writeConcern" field in the "extra" BSON document in its mongoc_find_and_modify_opts_t. - The command functions mongoc_client_read_write_command_with_opts, mongoc_database_read_write_command_with_opts, and mongoc_collection_read_write_command_with_opts now ignore the "read_prefs" parameter. - mongoc_collection_create_index and mongoc_collection_create_index_with_opts are both now deprecated. Use mongoc_database_write_command_with_opts instead; a guide to creating an index using that function has been added. - Use select, not WSAPoll, on Windows. - Always mark a server "Unknown" after a network error (besides a timeout). - mongoc_client_pool_t sends platform metadata to the server; before, only a single mongoc_client_t did. - New stream method mongoc_stream_timed_out. - Wire version checks introduced in 1.8.0 will prevent the driver from connecting to a future MongoDB server version if its wire protocol is incompatible. - New CMake option ENABLE_MAINTAINER_FLAGS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2017/08/17 17:04:35 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.8.0 d28 2 d48 1 @ 1.26 log @Update databases/mongo-c-driver to 1.7.0. - CMake build now installs .pc files for programs that link to libmongoc using pkg-config. - New CMake option ENABLE_STATIC can be ON, OFF, or AUTO (the default) - Minimum required CMake version has been increased to 3.1. - Support for wire compression. - Support for snappy and zlib. MongoDB 3.4 only supports snappy, while zlib support is expected in MongoDB 3.6. - New functions: mongoc_uri_get_compressors & mongoc_uri_set_compressors, to get and set compressor configuration on mongoc_uri_t - Added support for comma seperated "compressors" connection string option (e.g. mongodb://localhost/?compressors=snappy,zlib) - Added support for configuring zlib compression level in the connection string (e.g. mongodb://localhost/?compressors=zlib&zlibcompressionlevel=8) - Now requires the use of CMake config files for libbson to build libmongoc with CMake - Added pkg-config support for libressl. - New function mongoc_uri_set_auth_mechanism to update the authentication mechanism of a mongoc_uri_t after it is created from a string. - New function mongoc_bulk_operation_insert_with_opts provides immediate error checking. - New function mongoc_uri_new_with_error provides a way to parse a connection string, and retrieve the failure reason, if any. - Support for MongoDB Connection String specification - All connection string options are now represented by MONGOC_URI_xxx macros - Paths to Unix Domain Sockets must be url encoded - Repeated options now issue warnings - Special characters in username, password and other values must be url encoded - Unsupported connection string options now issue warnings - Boolean values can now be represented as true/yes/y/t/1 and false/no/n/f/0. - Case is now preserved in Unix domain paths. - New function mongoc_cursor_error_document provides access to server's error reply if a query or command fails. - New function mongoc_write_concern_is_default determines whether any write concern options have been set, and mongoc_read_concern_is_default checks if read concern options are set. - mongoc_gridfs_find_one_with_opts optimized to use limit 1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2017/07/30 22:32:11 wiz Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.7.0 d46 1 @ 1.25 log @Switch github HOMEPAGEs to https. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2017/06/14 10:27:21 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.6.3 @ 1.24 log @Update databases/mongo-c-driver to 1.6.3. mongo-c-driver 1.6.3 - mongoc_client_pool_t did not apply all TLS options to pooled connections - SNI wasn't provided when allow_invalid_hostname is set mongo-c-driver 1.6.2 - This release further improves HP-UX compatibility, especially when building with CMake, adds missing Windows SSPI files to the distribution tarball, and fixes distribution issues we introduced when porting the documentation from Mallard to Sphinx. mongo-c-driver 1.6.1 - Correct the rules to parse localThresholdMS option from the MongoDB URI. - Prevent crash in mongoc_cursor_destroy if "query" or "filter" are invalid. - Include a file, mongoc-cluster-sspi.c, that had been omitted from the release archive. - Fix logic bugs in mongoc_bulk_operation_t validation code. mongo-c-driver 1.6.0 - Enterprise authentication on Windows now uses the native GSSAPI library; Cyrus SASL is no longer required for enterprise auth on Windows. - BSON documents are more thoroughly validated before insert or update. - New function mongoc_uri_set_mechanism_properties to replace all the authMechanismProperties on an existing URI. - mongoc_uri_get_mechanism_properties asserts its inputs are not NULL. - For consistency with other MongoDB drivers, mongoc_collection_save is deprecated in favor of mongoc_collection_insert or mongoc_collection_update. - The driver is now built and continuously tested with MinGW-W64 on Windows. - Experimental support for HPUX. - The correct operation ids are now passed to Command Monitoring callbacks. - Fix a crash if the driver couldn't connect to the server to create an index. - The documentation is ported from Mallard XML to ReStructured Text, the HTML documentation is restyled, and numerous man page syntax errors fixed. - Getter functions for options in mongoc_find_and_modify_opts_t: * mongoc_find_and_modify_opts_get_bypass_document_validation * mongoc_find_and_modify_opts_get_fields * mongoc_find_and_modify_opts_get_flags * mongoc_find_and_modify_opts_get_max_time_ms * mongoc_find_and_modify_opts_get_sort * mongoc_find_and_modify_opts_get_update - All public functions now have the __cdecl calling convention on Windows. mongo-c-driver 1.5.5 - This release fixes bugs parsing the localThresholdMS option from the MongoDB URI, and a crash in mongoc_cursor_destroy if "query" or "filter" are invalid. mongo-c-driver 1.5.4 - This release fixes an error in cursor iteration when a readConcern is set. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2017/01/12 14:48:15 fhajny Exp $ d8 1 a8 1 HOMEPAGE= http://github.com/mongodb/mongo-c-driver/ @ 1.23 log @Update databases/mongo-c-driver to 1.5.3. Changes since 1.5.0: - allow mixed $ and non-$ query ops. - Missing exports of mongoc_gridfs_file_set_*() functions. - update define constants for "find" opts to be unique. - Windows CA stores should be opened with read-only flag. - Fix SEGFAULT with performance counters on NUMA (thanks to Jonathan Wang). - Prevent rare assertion error in mongoc_cluster_stream_for_server. - Improve error messages from auth failure. - Escape quotes when appending CFLAGS to handshake metadata. - Fix OpenSSL header lookups in non-default paths. - Fix build failure with LibreSSL. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2016/12/17 14:25:30 joerg Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.5.3 d17 3 d28 1 d35 1 a35 1 # Test behaves incosistently a38 2 BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat a39 1 REPLACE_PYTHON+= doc/mallard2man.py @ 1.22 log @Add missing Python build dependency. Deal with MAX/MIN macros on NetBSD and possibly other systems. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2016/12/09 13:54:21 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.5.0 @ 1.21 log @Update databases/mongo-c-driver to 1.5.0. New features and bug fixes: - MongoDB 3.4 Support - New URI and read preference option, "maxStalenessSeconds" - Set MongoDB client handshake data with mongoc_client_set_appname or mongoc_client_pool_set_appname. - writeConcern and readConcern enhancements. - Collation allows users to specify language-specific rules for string comparison when sorting documents. - mongoc_collection_count_with_opts uses the collection's read preference if none is passed in - Improved TLS support - Fixed LibreSSL (libssl) support - Added LibreSSL (libtls) support - Fixed Secure Channel build on VS 2010 - OpenSSL now supports SNI (all others already do) - Additional features for Application Performance Monitoring - New functions accept flexible options as a BSON document. - mongoc_collection_find is now deprecated in favor of mongoc_collection_find_with_opts. - New helper function to include read concern in one of the above function's options parameter: mongoc_read_concern_append. - mongoc_client_command no longer applies the client's read preference and read concern by default. Same change for mongoc_database_command and mongoc_collection_command. - mongoc_collection_count_with_opts now applies the collection's read preference if no read preference is provided - mongoc_collection_create_index and mongoc_collection_drop_index now apply the collection's write concern. - mongoc_collection_create_index_with_opts now applies the collection's write concern if none is specified in "opts" - connectTimeoutMS timer now begins after DNS resolution, and resets for each interface attempted (e.g., if the driver first tries IPv6, then IPv4). - New error code MONGOC_ERROR_DUPLICATE_KEY. - mongoc_collection_find no longer treats the "filter" key specially in queries - querying for a document with a key named "filter" is the same now as any other key. - The server description parameter to the following functions is "const": - mongoc_server_description_host - mongoc_server_description_id - mongoc_server_description_ismaster - mongoc_server_description_round_trip_time - mongoc_server_description_type - Exported symbols are no longer declared in seperate export files. - mongoc no longer crashes when multi roundtrip bulk operation fails. - Added support for the new readConcernLevel "linearizable". - Clients now check for misformatted "readPreferenceTags" in URI. - New CMake option ENABLE_TRACING allows debug output, which before had only been available with "configure --enable-tracing". - Bugfix: "PossiblePrimary"-type replicas could be selected for reads - Bugfixes: The random number generator used to select servers is now properly seeded, and secondary queries are now properly distributed according to localThresholdMS, not just to the lowest-latency secondary. The latency estimate is reset after a connection error. - Fix crashes in mongoc_topology_invalidate_server and mongoc_client_kill_cursor. - mongoc_collection_insert, mongoc_collection_update, mongoc_collection_remove consistently use domain MONGOC_ERROR_BSON, code MONGOC_ERROR_BSON_INVALID if passed oversized BSON, and MONGOC_ERROR_COLLECTION for other errors. mongoc_bulk_operation_execute continues to use MONGOC_ERROR_COMMAND for all errors. - If mongoc_client_pool_t fails to start its scanner thread in the background, it logs and aborts instead of silently continuing, then failing to connect. - The driver now updates its view of the whole topology with information from each new connection handshake. - Improved error reporting when the driver fails to reach the server, and correctly distinguish "connection error" and "connection timeout". Deprecations: - mongoc_collection_find is deprecated for mongoc_collection_find_with_opts. Removed configure flags: - --enable-experimental has been removed. All previously experimental features are now always on. - The configure option "--enable-hardening" had had no effect. It is removed in favor of system-wide compiler configuration. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2016/10/02 09:31:47 fhajny Exp $ d35 7 @ 1.20 log @Update databases/mongo-c-driver to 1.4.2. mongo-c-driver 1.4.2 - Fixes bugs in "minPoolSize" logic, see CDRIVER-1558 for details. mongo-c-driver 1.4.1 - mongoc_client_get_server_descriptions could return a list including NULLs - Tailable cursors on MongoDB 3.2 only worked with MONGOC_QUERY_AWAIT_DATA - Spurious warnings with MONGOC_DISABLE_SHM @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2016/09/05 08:43:10 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.4.2 d23 2 a24 2 CHECK_PORTABILITY_SKIP+= src/libbson/configure CONFIGURE_ARGS+= --with-libbson=system d31 3 a33 3 post-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/mongoc*.3 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 d35 2 a36 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.4.2 @ 1.19 log @Fix PLIST SSL option handling, thanks joerg@@ for the headsup. PKGREVISION++ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2016/08/17 14:11:42 fhajny Exp $ d3 1 a3 2 DISTNAME= mongo-c-driver-1.4.0 PKGREVISION= 1 d35 1 a35 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.4.0 @ 1.18 log @Update databases/mongo-c-driver to 1.4.0. - The driver can now use the native TLS and crypto functions included in Mac OS X and Windows. - The driver implements the MongoDB Command Monitoring Spec. - New functions mongoc_client_set_error_api and mongoc_client_pool_set_error_api allow applications to distinguish client and server errors. - Unacknowledged writes (writes whose mongoc_write_concern_t "w" value is zero) now reply with an empty document instead of one with nInserted: 0, nUpdated: 0, and so on. - Public API For Higher-Level Drivers - New connection string option "localThresholdMS". - zSeries, POWER8, and ARM 64-bit platform support. - Performance enhancements, reduce allocation and copying in command code. - All man page names now begin with "mongoc_" to avoid install conflicts. - New function mongoc_gridfs_file_set_id. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2016/04/05 12:44:47 fhajny Exp $ d4 1 @ 1.17 log @Update databases/mongo-c-driver to 1.3.5. 1.3.5 This release fixes a crash in mongoc_cleanup when an allocator had been set with bson_mem_set_vtable, and introduces a configure option MONGOC_NO_AUTOMATIC_GLOBALS which prevents code built with GCC from automatically calling mongoc_init and mongoc_cleanup when your code does not. 1.3.4 This release fixes a security vulnerability: when a mongoc_client_t uses SSL and is disconnected, it failed to re-verify the server certificate after reconnecting. This flaw affects single clients, not pooled ones. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2016/03/05 11:27:42 jperkin Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.3.5 d35 1 a35 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.3.5 @ 1.16 log @Bump PKGREVISION for security/openssl ABI bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2016/02/16 15:26:30 fhajny Exp $ d3 1 a3 2 DISTNAME= mongo-c-driver-1.3.3 PKGREVISION= 1 d35 1 a35 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.3.3 @ 1.15 log @Update databases/mongo-c-driver to 1.3.3 1.3.3 - Fix a bug where a slightly-oversized bulk write operation was not split into batches; instead, it was sent whole to the server, which rejected it. 1.3.2 - A socket is properly discarded after a network error from a command. - mongoc_database_get_collection now copies the database's read preferences, read concern, and write concern, instead of copying the client's. - mongoc_cursor_t's private struct now allows a negative limit. 1.3.1 - mongoc_client_get_gridfs now copies the client's read preferences, read concern, and write concern to the newly created mongoc_gridfs_t. Before this fix, GridFS operations were always executed with the default config: data was read from the primary, with the read concern level "local", and written with write concern "acknowledged". Now, if you have configured any of these options on the mongoc_client_t, they are respected by the mongoc_gridfs_t. - CMakeLists.txt now includes and installs the pkg-config files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2015/12/08 09:35:24 fhajny Exp $ d4 1 @ 1.14 log @Update databases/mongo-c-driver to 1.3.0. pkgsrc changes: - Release tarballs cannot build man pages any more, use pre-built ones instead. Changes since 1.2.1: - If the driver is compiled without SSL support but a URI with "ssl=true" is passed to mongoc_client_new, mongoc_client_new_from_uri, or mongoc_client_pool_new, the function logs an error and returns NULL. Before, the driver would attempt a non-SSL connection. - mongoc_collection_find_and_modify will now apply the mongoc_collection_t's write_concern_t when talking to MongoDB 3.2. - Support for MongoDB 3.2's "readConcern" feature for queries, counts, and aggregations. The option "readConcernLevel" is now accepted in the MongoDB URI. - Support for MongoDB 3.2's "bypassDocumentValidation" option for writes. - New struct mongoc_bulk_write_flags_t and related functions. - New struct mongoc_find_and_modify_opts_t and related functions. - New functions to copy database and collection handles. - Support for MongoDB 3.2 wire protocol: use commands in place of OP_QUERY, OP_GETMORE, and OP_KILLCURSORS messages. - To explain a query plan with MongoDB 3.2, you must now call the "explain" command, instead of including the "$explain" key in a mongoc_collection_find query. See the mongoc_collection_find documentation page for details. - Configurable wait time on tailable cursors with MongoDB 3.2. - Use electionId to detect a stale replica set primary during a network split. - Disconnect from replica set members whose "me" field does not match the connection address. - The client side matching feature, mongoc_matcher_t and related functions, are deprecated and scheduled for removal in version 2.0. - New CMake options ENABLE_SSL, ENABLE_SASL, ENABLE_TESTS, and ENABLE_EXAMPLES. - Use constant-time comparison when verifying credentials. - Combine environment's CFLAGS with configure options when building. - Improved man page output and "whatis" entries. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2015/11/05 13:44:17 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.3.0 d35 1 a35 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.3.0 @ 1.13 log @Update databases/mongo-c-driver to 1.2.1. - Critical bugfix for SSL connections with mongoc_client_pool_t, and for Unix domain socket connections. - Doc update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2015/10/19 11:42:46 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.2.1 a13 3 BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto a24 1 CONFIGURE_ARGS+= --enable-man-pages=yes d29 7 a35 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.2.0 @ 1.12 log @Update databases/mongo-c-driver to 1.2.0. mongo-c-driver 1.2.0 - Much improved reporting of network errors, unavailable servers, and authentication failure - Destroying an exhaust cursor must close its socket - Various bugs in server reconnection logic - mongoc_collection_aggregate returned invalid cursor after failure - Wrong error message after failed network write on Sparc - Missing JSON test files in release tarball - Enable runtime asserts in release build. - mongoc_client_kill_cursor is now deprecated and will be removed in version 2.0. mongo-c-driver 1.1.11 - Undetected network errors when sending messages to the server - Off-by-one error in mongoc_gridfs_file_seek with mode SEEK_END - Memory leak parsing a URI that contains an invalid option @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2015/08/24 16:06:08 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.2.0 @ 1.11 log @Update databases/mongo-c-driver to 1.1.10. - Occasional crash reconnecting to replica set. - Queries sent to recovering replica set members. - Memory leak when calling ismaster on replica set members. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2015/07/04 15:02:58 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.1.10 d33 1 a33 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.1.10 @ 1.10 log @Update databases/mongo-c-driver to 1.1.9. 1.1.9 * This release fixes a common crash in 1.1.8, which itself was introduced while fixing a rare crash in 1.1.7 1.1.8 * Crash freeing client after a replica set auth error. * Compile error strict C89 mode. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2015/06/10 17:22:57 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.1.9 d33 1 a33 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.1.9 @ 1.9 log @Update databases/mongo-c-driver to 1.1.7. mongo-c-driver 1.1.7 - Thread-safe use of Cyrus SASL library. - Experimental support for building with CMake and SASL. - Faster reconnection to replica set with some hosts down. - Crash iterating a cursor after reconnecting to a replica set. - Unchecked errors decoding invalid UTF-8 in MongoDB URIs. - Fix error reporting from mongoc_client_get_database_names. mongo-c-driver 1.1.6 - mongoc_bulk_operation_execute now coalesces consecutive update operations into a single message to a MongoDB 2.6+ server, yielding huge performance gains. Same for remove operations. (Inserts were always coalesced.) - Large numbers of insert operations are now properly batched according to number of documents and total data size. - GSSAPI / Kerberos auth now works. - The driver no longer tries three times in vain to reconnect to a primary, so socketTimeoutMS and connectTimeoutMS now behave closer to what you expect for replica sets with down members. A full fix awaits 1.2.0. - mongoc_matcher_t now supports basic subdocument and array matching mongo-c-driver 1.1.5 - The fsync and j write concern flags now imply acknowledged writes - Prevent using fsync or j with conflicting w=0 write concern - Obey socket timeout consistently in TLS/SSL mode - Return an error promptly after a network hangup in TLS mode - Prevent crash using SSL in FIPS mode - Always return NULL from mongoc_database_get_collection_names on error - Fix version check for GCC 5 and future versions of Clang - Fix warnings and errors building on various platforms - Add configure flag to enable/disable shared memory performance counters - Minor docs improvements and fix links from C Driver docs to Libbson docs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2015/04/21 07:59:39 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.1.7 d33 1 a33 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.1.7 @ 1.8 log @Update mongo-c-driver to 1.1.4. Fix PLIST for the ssl option enabled. - Fixed client pool concurrency issues - Fixed some scenarios where replica sets would fail to reconnect on primary step down. - Improved write concern handling - Validate port number in URI - Various other fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2015/03/24 13:22:09 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.1.4 d5 1 a5 1 MASTER_SITES= https://github.com/mongodb/mongo-c-driver/releases/download/${PKGVERSION_NOREV}/ d12 2 d33 1 a33 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.1.4 @ 1.7 log @Update databases/mongo-c-driver to 1.1.2. mongo-c-driver 1.1.2 ==================== * Process connectTimeoutMS cast insensitively * Addition of missing trace macros * Improvement of internal error messages * Fix a segfault in OpenSSL cleanup routines * Fix for IPv66 support for replica sets * Coalesce small vectorized TLS writes * MinGW fixups * Fix for a memory leak in get_database_names() * Fixes for patching write concern through the bulk api * Fix to normalize hostnames in uri parsing * Fix for managing connections in the client pool * Various other fixes mongo-c-driver 1.1.0 ==================== * ABI versioning for 1.1 versus 1.0 symbols * additional geo index options * authMechanismProperties in URI * fixes for OS X Yosemite * removal of replica set member limit * SCRAM-SHA-1 SASL mechanism * updated dependency on libbson 1.1 abi * validation for bulk insert * various memory leak fixes * Fixes to documentation typos * "How to Ask For Help" in the README * Removed dependency on sasl for PLAIN authentication * Use provided username, if available, for X.509 auth * Fixed WriteConcern error reporting for some writes * Check for closed sockets before attempting RPCs * Fixes for gridfs file seek * Fixes for mongoc_cursor_clone() * Fixes for unix domain socket support * Fixes for polling on win32 * Improved warnings on failure to connect * Addition of wired tiger options * Fixes for examples Additions to the ABI include: * support for extra option in count - mongoc_collection_count_with_opts * additional index options - mongoc_index_opt_geo_get_default - mongoc_index_opt_geo_init - mongoc_index_opt_wt_get_default - mongoc_index_opt_wt_init * rand interface to seed and verify the strong random number generation needed by some auth mechanisms - mongoc_rand_seed - mongoc_rand_add - mongoc_rand_status * URI additions to support more complicated auth credentials - mongoc_uri_get_credentials - mongoc_uri_get_mechanism_properties * Support for cursor returning metadata crud operations - mongoc_client_find_databases - mongoc_collection_find_indexes - mongoc_database_find_collections * Kill cursor supportp - mongoc_client_kill_cursor * Various get/setters on cursor - mongoc_cursor_get_batch_size - mongoc_cursor_get_id - mongoc_cursor_set_batch_size * More socket/stream options - mongoc_socket_check_closed - mongoc_socket_inet_ntop - mongoc_stream_check_closed - mongoc_stream_write @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2015/01/01 09:50:31 dholland Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.1.2 d31 1 a31 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.1.2 @ 1.6 log @This builds fine on NetBSD; remove bogus NOT_FOR_PLATFORM. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2014/12/12 11:35:05 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.0.2 d31 1 a31 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.0.2 @ 1.5 log @Update mongo-c-driver to 1.0.2. - A variety of fixes for read preference based node selection - Avoided inclusion of getLastError in 2.6 writeConcern - Correct handling of pass through params for collection_aggregate - Improved error reporting in socket connect - Public MONGOC_DEFAULT_CONNECTTIMEOUTMS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2014/10/02 10:23:23 fhajny Exp $ d16 1 a16 1 NOT_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* @ 1.4 log @Update mongo-c-driver to 1.0.0. A new libmongoc-priv.so library is installed that does not have symbols hidden. You can access private headers via the -private.h variants. This means you will need to recompile your project every time the library is changed (if you use those private headers, as they are subject to change). For other minor changes, see commits made since 0.98.0: https://github.com/mongodb/mongo-c-driver/compare/0.98.0...1.0.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/07/18 10:41:43 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-1.0.0 d31 1 a31 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=1.0.0 @ 1.3 log @Update mongo-c-driver to 0.98.0. Changes in 0.98.0: - This release is primarily a bugfix release and stabilization effort as we approach 1.0 of the MongoDB C driver. - This release requires 0.98.0 of Libbson for improvements to the memory management system. You can now setup custom memory allocators at the start of the process. Changes in 0.96.4: - build/mci.sh script for automatically building Debian packages, RPMs, and Solaris packaging based on the host operating system. - Various libbson improvements, now depending on 0.8.4. - Alignment fixes for Solaris Studio C compiler via libbson. - Addition of mongoc_gridfs_remove_by_filename() for removing a file from gridfs by filename. - client command functions can now take a fully qualified namespace. - collections can now support names that indicate a command namespace. - Commands will no longer fail if they do not contain an "ok" field. - OP_QUERY will now set the slaveOk bit in the wire protocol if readPreferences are set to non-PRIMARY. - Various documentation and build fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/06/11 14:31:29 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-0.98.0 d31 1 a31 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=0.98 @ 1.2 log @Update mongo-c-driver to 0.96.2. Changes in 0.96.2 ----------------- * Ensure batchSize is used in cursor GETMORE operations with `aggregate`. * Ensure enough buffer space is allocated for incoming RPC when buffering from a stream. * Require libbson 0.8.2 for more robust `bson_next_power_of_two()` when using `size_t` and BCON compilation fix with C++. * Handle cursor id's that are not 64-bit values in response from `aggregate` command. * Handle upsert on MongoDB < 2.6 when _id does not contain an `ObjectId`. * Use 100 for default batchSize in `aggregate` command. Changes in 0.96.0 ----------------- This release includes much new documentation, which can be found at http://docs.mongodb.org/ecosystem/drivers/c/. Additionally, this release improves support for various exotic systems. Solaris 10 is supported much better on SPARC and x86_64 based systems. Some workarounds for mixed-mode sharded-clusters have been added to improve resiliency when rolling upgrades are performed. Build improvements have been added to help us detect SASL and SSL implementations on platforms that do not support pkg-config. This should simplify building for some of you. We've added some more logging to SASL authentication to help debug authentication failures. A bug causing an abort() when SSL is used and a server is down has been fixed. We've renamed various _delete() functions to _remove() to provide consistency with other MongoDB drivers. You can now specify SSL options for client pools. -D_REENTRANT is always defined now on Solaris to help with errno detection. This may not have been done before if using a non-GCC platform with pthreads. A bug was fixed where timeouts could have been 1000x longer than expected due to failure to convert from microseconds to milliseconds. A bug was fixed with authentication in sharded cluster and replica set scenarios. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/05/07 15:47:00 fhajny Exp $ d3 1 a3 1 DISTNAME= mongo-c-driver-0.96.2 d31 1 a31 1 BUILDLINK_API_DEPENDS.libbson+= libbson>=0.8.2 @ 1.1 log @Import mongo-c-driver as databases/mongo-c-driver. mongo-c-driver is a client library written in C for MongoDB. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= mongo-c-driver-0.94.2 d22 1 a22 1 USE_TOOLS+= pkg-config d26 1 d31 1 @