pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mongo-c-driver Update databases/mongo-c-driv...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b121c6e67aa9
branches: trunk
changeset: 366801:b121c6e67aa9
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Thu Aug 17 17:04:35 2017 +0000
description:
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.
diffstat:
databases/mongo-c-driver/Makefile | 4 ++--
databases/mongo-c-driver/PLIST | 16 ++++++++++++----
databases/mongo-c-driver/distinfo | 10 +++++-----
3 files changed, 19 insertions(+), 11 deletions(-)
diffs (134 lines):
diff -r a41175857a3f -r b121c6e67aa9 databases/mongo-c-driver/Makefile
--- a/databases/mongo-c-driver/Makefile Thu Aug 17 17:00:57 2017 +0000
+++ b/databases/mongo-c-driver/Makefile Thu Aug 17 17:04:35 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2017/07/30 22:32:11 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2017/08/17 17:04:35 fhajny Exp $
-DISTNAME= mongo-c-driver-1.6.3
+DISTNAME= mongo-c-driver-1.7.0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/}
diff -r a41175857a3f -r b121c6e67aa9 databases/mongo-c-driver/PLIST
--- a/databases/mongo-c-driver/PLIST Thu Aug 17 17:00:57 2017 +0000
+++ b/databases/mongo-c-driver/PLIST Thu Aug 17 17:04:35 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2017/06/14 10:27:21 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.13 2017/08/17 17:04:35 fhajny Exp $
bin/mongoc-stat
include/libmongoc-1.0/mongoc-apm.h
include/libmongoc-1.0/mongoc-bulk-operation.h
@@ -22,6 +22,7 @@
include/libmongoc-1.0/mongoc-init.h
include/libmongoc-1.0/mongoc-iovec.h
include/libmongoc-1.0/mongoc-log.h
+include/libmongoc-1.0/mongoc-macros.h
include/libmongoc-1.0/mongoc-matcher.h
include/libmongoc-1.0/mongoc-opcode.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-rand.h
@@ -34,18 +35,19 @@
include/libmongoc-1.0/mongoc-stream-file.h
include/libmongoc-1.0/mongoc-stream-gridfs.h
include/libmongoc-1.0/mongoc-stream-socket.h
+include/libmongoc-1.0/mongoc-stream.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-stream-tls-libressl.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-stream-tls-openssl.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-stream-tls-secure-channel.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-stream-tls-secure-transport.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-stream-tls.h
-include/libmongoc-1.0/mongoc-stream.h
include/libmongoc-1.0/mongoc-topology-description.h
include/libmongoc-1.0/mongoc-uri.h
include/libmongoc-1.0/mongoc-version-functions.h
include/libmongoc-1.0/mongoc-version.h
include/libmongoc-1.0/mongoc-write-concern.h
include/libmongoc-1.0/mongoc.h
+include/libmongoc-1.0/op-compressed.def
include/libmongoc-1.0/op-delete.def
include/libmongoc-1.0/op-get-more.def
include/libmongoc-1.0/op-header.def
@@ -57,12 +59,13 @@
include/libmongoc-1.0/op-reply.def
include/libmongoc-1.0/op-update.def
include/libmongoc-1.0/utlist.h
+lib/cmake/libmongoc-1.0/libmongoc-1.0-config-version.cmake
+lib/cmake/libmongoc-1.0/libmongoc-1.0-config.cmake
lib/libmongoc-1.0.la
lib/pkgconfig/libmongoc-1.0.pc
${PLIST.ssl}lib/pkgconfig/libmongoc-ssl-1.0.pc
man/man3/mongoc_advanced_connections.3
man/man3/mongoc_aggregate.3
-man/man3/mongoc_api.3
man/man3/mongoc_apm_callbacks_destroy.3
man/man3/mongoc_apm_callbacks_new.3
man/man3/mongoc_apm_callbacks_t.3
@@ -145,6 +148,7 @@
man/man3/mongoc_bulk_operation_get_hint.3
man/man3/mongoc_bulk_operation_get_write_concern.3
man/man3/mongoc_bulk_operation_insert.3
+man/man3/mongoc_bulk_operation_insert_with_opts.3
man/man3/mongoc_bulk_operation_remove.3
man/man3/mongoc_bulk_operation_remove_many_with_opts.3
man/man3/mongoc_bulk_operation_remove_one.3
@@ -249,10 +253,12 @@
man/man3/mongoc_collection_validate.3
man/man3/mongoc_collection_write_command_with_opts.3
man/man3/mongoc_common_task_examples.3
+man/man3/mongoc_connection_pooling.3
man/man3/mongoc_cursor_clone.3
man/man3/mongoc_cursor_current.3
man/man3/mongoc_cursor_destroy.3
man/man3/mongoc_cursor_error.3
+man/man3/mongoc_cursor_error_document.3
man/man3/mongoc_cursor_get_batch_size.3
man/man3/mongoc_cursor_get_hint.3
man/man3/mongoc_cursor_get_host.3
@@ -361,7 +367,6 @@
man/man3/mongoc_gridfs_t.3
man/man3/mongoc_guides.3
man/man3/mongoc_host_list_t.3
-man/man3/mongoc_index.3
man/man3/mongoc_index_opt_geo_get_default.3
man/man3/mongoc_index_opt_geo_init.3
man/man3/mongoc_index_opt_geo_t.3
@@ -391,6 +396,7 @@
man/man3/mongoc_read_concern_copy.3
man/man3/mongoc_read_concern_destroy.3
man/man3/mongoc_read_concern_get_level.3
+man/man3/mongoc_read_concern_is_default.3
man/man3/mongoc_read_concern_new.3
man/man3/mongoc_read_concern_set_level.3
man/man3/mongoc_read_concern_t.3
@@ -492,6 +498,7 @@
man/man3/mongoc_uri_option_is_bool.3
man/man3/mongoc_uri_option_is_int32.3
man/man3/mongoc_uri_option_is_utf8.3
+man/man3/mongoc_uri_set_auth_mechanism.3
man/man3/mongoc_uri_set_auth_source.3
man/man3/mongoc_uri_set_database.3
man/man3/mongoc_uri_set_mechanism_properties.3
@@ -516,6 +523,7 @@
man/man3/mongoc_write_concern_get_wtag.3
man/man3/mongoc_write_concern_get_wtimeout.3
man/man3/mongoc_write_concern_is_acknowledged.3
+man/man3/mongoc_write_concern_is_default.3
man/man3/mongoc_write_concern_is_valid.3
man/man3/mongoc_write_concern_journal_is_set.3
man/man3/mongoc_write_concern_new.3
diff -r a41175857a3f -r b121c6e67aa9 databases/mongo-c-driver/distinfo
--- a/databases/mongo-c-driver/distinfo Thu Aug 17 17:00:57 2017 +0000
+++ b/databases/mongo-c-driver/distinfo Thu Aug 17 17:04:35 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.23 2017/06/14 10:27:21 fhajny Exp $
+$NetBSD: distinfo,v 1.24 2017/08/17 17:04:35 fhajny Exp $
-SHA1 (mongo-c-driver-1.6.3.tar.gz) = 2e173c14a2eb2ef5ac5d447233fd573421551312
-RMD160 (mongo-c-driver-1.6.3.tar.gz) = c52a826b0295791f5297badee6047d76618c495e
-SHA512 (mongo-c-driver-1.6.3.tar.gz) = f2f3c6e8e63a6d1c4e5c7200d11eaea070bbeb400064fe7f66df12682289332383981f95bd8ea763644f294ea36b0aea5925d1ae3626248367e3cce897b7671a
-Size (mongo-c-driver-1.6.3.tar.gz) = 6954627 bytes
+SHA1 (mongo-c-driver-1.7.0.tar.gz) = 92c4a951e3c38ec3ea14d7d545be1afce3b59fb6
+RMD160 (mongo-c-driver-1.7.0.tar.gz) = 703cdf6f76238f5dc7fdc00ca33168958fa923ca
+SHA512 (mongo-c-driver-1.7.0.tar.gz) = 4e383da2d35ad7b09519b14778242ed36703eec31dae1f8bf486dca32b9cfc71ff810faa30b80512c38ef7c9d1bb3643a0153c4a74c102e0a0a8178eb598f46e
+Size (mongo-c-driver-1.7.0.tar.gz) = 7151766 bytes
SHA1 (patch-src_mongoc_mongoc-cursor.c) = 9e0ada19f237972c9671bd90ff656ab9249f694f
Home |
Main Index |
Thread Index |
Old Index