summaryrefslogtreecommitdiff
path: root/databases/mongo-c-driver
diff options
context:
space:
mode:
authorfhajny <fhajny>2015-12-08 09:35:24 +0000
committerfhajny <fhajny>2015-12-08 09:35:24 +0000
commit43620fc199bb8d731309d00235fe3c83e398d6ee (patch)
treed15affd486c30677a55382f8eb3e48120d2207b8 /databases/mongo-c-driver
parentc90d8304a56b53ce96775f545972e33ca027c4c1 (diff)
downloadpkgsrc-43620fc199bb8d731309d00235fe3c83e398d6ee.tar.gz
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.
Diffstat (limited to 'databases/mongo-c-driver')
-rw-r--r--databases/mongo-c-driver/Makefile16
-rw-r--r--databases/mongo-c-driver/PLIST36
-rw-r--r--databases/mongo-c-driver/distinfo10
3 files changed, 49 insertions, 13 deletions
diff --git a/databases/mongo-c-driver/Makefile b/databases/mongo-c-driver/Makefile
index 141e5b0c954..02d9e889a78 100644
--- a/databases/mongo-c-driver/Makefile
+++ b/databases/mongo-c-driver/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2015/11/05 13:44:17 fhajny Exp $
+# $NetBSD: Makefile,v 1.14 2015/12/08 09:35:24 fhajny Exp $
-DISTNAME= mongo-c-driver-1.2.1
+DISTNAME= mongo-c-driver-1.3.0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/}
@@ -11,9 +11,6 @@ LICENSE= apache-2.0
GITHUB_RELEASE= ${PKGVERSION_NOREV}
-BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
-BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
-
# Requires shm_open()
NOT_FOR_PLATFORM+= OpenBSD-*-*
@@ -25,11 +22,16 @@ USE_TOOLS+= gmake pkg-config
CHECK_PORTABILITY_SKIP+= src/libbson/configure
CONFIGURE_ARGS+= --with-libbson=system
-CONFIGURE_ARGS+= --enable-man-pages=yes
PKGCONFIG_OVERRIDE+= src/libmongoc-1.0.pc.in
PKGCONFIG_OVERRIDE+= src/libmongoc-ssl-1.0.pc.in
-BUILDLINK_API_DEPENDS.libbson+= libbson>=1.2.0
+INSTALLATION_DIRS+= ${PKGMANDIR}/man3
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/man/mongoc*.3 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
+
+BUILDLINK_API_DEPENDS.libbson+= libbson>=1.3.0
.include "../../devel/libbson/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/mongo-c-driver/PLIST b/databases/mongo-c-driver/PLIST
index 4fedfdf724e..718b1483220 100644
--- a/databases/mongo-c-driver/PLIST
+++ b/databases/mongo-c-driver/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2015/10/19 11:42:46 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.8 2015/12/08 09:35:24 fhajny Exp $
bin/mongoc-stat
include/libmongoc-1.0/mongoc-array-private.h
include/libmongoc-1.0/mongoc-async-cmd-private.h
@@ -26,6 +26,8 @@ include/libmongoc-1.0/mongoc-database-private.h
include/libmongoc-1.0/mongoc-database.h
include/libmongoc-1.0/mongoc-errno-private.h
include/libmongoc-1.0/mongoc-error.h
+include/libmongoc-1.0/mongoc-find-and-modify-private.h
+include/libmongoc-1.0/mongoc-find-and-modify.h
include/libmongoc-1.0/mongoc-flags.h
include/libmongoc-1.0/mongoc-gridfs-file-list-private.h
include/libmongoc-1.0/mongoc-gridfs-file-list.h
@@ -46,11 +48,14 @@ include/libmongoc-1.0/mongoc-log.h
include/libmongoc-1.0/mongoc-matcher-op-private.h
include/libmongoc-1.0/mongoc-matcher-private.h
include/libmongoc-1.0/mongoc-matcher.h
+include/libmongoc-1.0/mongoc-memcmp-private.h
include/libmongoc-1.0/mongoc-opcode-private.h
include/libmongoc-1.0/mongoc-opcode.h
include/libmongoc-1.0/mongoc-queue-private.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-rand-private.h
${PLIST.ssl}include/libmongoc-1.0/mongoc-rand.h
+include/libmongoc-1.0/mongoc-read-concern-private.h
+include/libmongoc-1.0/mongoc-read-concern.h
include/libmongoc-1.0/mongoc-read-prefs-private.h
include/libmongoc-1.0/mongoc-read-prefs.h
include/libmongoc-1.0/mongoc-rpc-private.h
@@ -58,6 +63,7 @@ include/libmongoc-1.0/mongoc-sasl-private.h
include/libmongoc-1.0/mongoc-scram-private.h
include/libmongoc-1.0/mongoc-server-description-private.h
include/libmongoc-1.0/mongoc-server-description.h
+include/libmongoc-1.0/mongoc-server-stream-private.h
include/libmongoc-1.0/mongoc-set-private.h
include/libmongoc-1.0/mongoc-socket-private.h
include/libmongoc-1.0/mongoc-socket.h
@@ -108,6 +114,7 @@ man/man3/mongoc_bulk_operation_insert.3
man/man3/mongoc_bulk_operation_remove.3
man/man3/mongoc_bulk_operation_remove_one.3
man/man3/mongoc_bulk_operation_replace_one.3
+man/man3/mongoc_bulk_operation_set_bypass_document_validation.3
man/man3/mongoc_bulk_operation_t.3
man/man3/mongoc_bulk_operation_update.3
man/man3/mongoc_bulk_operation_update_one.3
@@ -123,6 +130,7 @@ man/man3/mongoc_client_get_default_database.3
man/man3/mongoc_client_get_gridfs.3
man/man3/mongoc_client_get_max_bson_size.3
man/man3/mongoc_client_get_max_message_size.3
+man/man3/mongoc_client_get_read_concern.3
man/man3/mongoc_client_get_read_prefs.3
man/man3/mongoc_client_get_server_status.3
man/man3/mongoc_client_get_uri.3
@@ -138,6 +146,7 @@ man/man3/mongoc_client_pool_push.3
man/man3/mongoc_client_pool_set_ssl_opts.3
man/man3/mongoc_client_pool_t.3
man/man3/mongoc_client_pool_try_pop.3
+man/man3/mongoc_client_set_read_concern.3
man/man3/mongoc_client_set_read_prefs.3
man/man3/mongoc_client_set_ssl_opts.3
man/man3/mongoc_client_set_stream_initiator.3
@@ -146,6 +155,7 @@ man/man3/mongoc_client_t.3
man/man3/mongoc_collection_aggregate.3
man/man3/mongoc_collection_command.3
man/man3/mongoc_collection_command_simple.3
+man/man3/mongoc_collection_copy.3
man/man3/mongoc_collection_count.3
man/man3/mongoc_collection_count_with_opts.3
man/man3/mongoc_collection_create_bulk_operation.3
@@ -157,9 +167,11 @@ man/man3/mongoc_collection_drop_index.3
man/man3/mongoc_collection_ensure_index.3
man/man3/mongoc_collection_find.3
man/man3/mongoc_collection_find_and_modify.3
+man/man3/mongoc_collection_find_and_modify_with_opts.3
man/man3/mongoc_collection_find_indexes.3
man/man3/mongoc_collection_get_last_error.3
man/man3/mongoc_collection_get_name.3
+man/man3/mongoc_collection_get_read_concern.3
man/man3/mongoc_collection_get_read_prefs.3
man/man3/mongoc_collection_get_write_concern.3
man/man3/mongoc_collection_insert.3
@@ -168,6 +180,7 @@ man/man3/mongoc_collection_keys_to_index_string.3
man/man3/mongoc_collection_remove.3
man/man3/mongoc_collection_rename.3
man/man3/mongoc_collection_save.3
+man/man3/mongoc_collection_set_read_concern.3
man/man3/mongoc_collection_set_read_prefs.3
man/man3/mongoc_collection_set_write_concern.3
man/man3/mongoc_collection_stats.3
@@ -179,13 +192,16 @@ man/man3/mongoc_cursor_current.3
man/man3/mongoc_cursor_destroy.3
man/man3/mongoc_cursor_error.3
man/man3/mongoc_cursor_get_host.3
+man/man3/mongoc_cursor_get_max_await_time_ms.3
man/man3/mongoc_cursor_is_alive.3
man/man3/mongoc_cursor_more.3
man/man3/mongoc_cursor_next.3
+man/man3/mongoc_cursor_set_max_await_time_ms.3
man/man3/mongoc_cursor_t.3
man/man3/mongoc_database_add_user.3
man/man3/mongoc_database_command.3
man/man3/mongoc_database_command_simple.3
+man/man3/mongoc_database_copy.3
man/man3/mongoc_database_create_collection.3
man/man3/mongoc_database_destroy.3
man/man3/mongoc_database_drop.3
@@ -193,15 +209,25 @@ man/man3/mongoc_database_find_collections.3
man/man3/mongoc_database_get_collection.3
man/man3/mongoc_database_get_collection_names.3
man/man3/mongoc_database_get_name.3
+man/man3/mongoc_database_get_read_concern.3
man/man3/mongoc_database_get_read_prefs.3
man/man3/mongoc_database_get_write_concern.3
man/man3/mongoc_database_has_collection.3
man/man3/mongoc_database_remove_all_users.3
man/man3/mongoc_database_remove_user.3
+man/man3/mongoc_database_set_read_concern.3
man/man3/mongoc_database_set_read_prefs.3
man/man3/mongoc_database_set_write_concern.3
man/man3/mongoc_database_t.3
man/man3/mongoc_delete_flags_t.3
+man/man3/mongoc_find_and_modify_opts_destroy.3
+man/man3/mongoc_find_and_modify_opts_new.3
+man/man3/mongoc_find_and_modify_opts_set_bypass_document_validation.3
+man/man3/mongoc_find_and_modify_opts_set_fields.3
+man/man3/mongoc_find_and_modify_opts_set_flags.3
+man/man3/mongoc_find_and_modify_opts_set_sort.3
+man/man3/mongoc_find_and_modify_opts_set_update.3
+man/man3/mongoc_find_and_modify_opts_t.3
man/man3/mongoc_get_major_version.3
man/man3/mongoc_get_micro_version.3
man/man3/mongoc_get_minor_version.3
@@ -245,6 +271,7 @@ man/man3/mongoc_gridfs_get_chunks.3
man/man3/mongoc_gridfs_get_files.3
man/man3/mongoc_gridfs_remove_by_filename.3
man/man3/mongoc_gridfs_t.3
+man/man3/mongoc_host_list_t.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
@@ -266,6 +293,12 @@ man/man3/mongoc_rand.3
man/man3/mongoc_rand_add.3
man/man3/mongoc_rand_seed.3
man/man3/mongoc_rand_status.3
+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_new.3
+man/man3/mongoc_read_concern_set_level.3
+man/man3/mongoc_read_concern_t.3
man/man3/mongoc_read_mode_t.3
man/man3/mongoc_read_prefs_add_tag.3
man/man3/mongoc_read_prefs_copy.3
@@ -337,6 +370,7 @@ man/man3/mongoc_uri_get_database.3
man/man3/mongoc_uri_get_hosts.3
man/man3/mongoc_uri_get_options.3
man/man3/mongoc_uri_get_password.3
+man/man3/mongoc_uri_get_read_concern.3
man/man3/mongoc_uri_get_read_prefs.3
man/man3/mongoc_uri_get_read_prefs_t.3
man/man3/mongoc_uri_get_replica_set.3
diff --git a/databases/mongo-c-driver/distinfo b/databases/mongo-c-driver/distinfo
index 6279ce5e554..4619d44895f 100644
--- a/databases/mongo-c-driver/distinfo
+++ b/databases/mongo-c-driver/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2015/11/05 13:44:17 fhajny Exp $
+$NetBSD: distinfo,v 1.15 2015/12/08 09:35:24 fhajny Exp $
-SHA1 (mongo-c-driver-1.2.1.tar.gz) = 794273caf2ee145d47d891a3d50c02cbb4cded8e
-RMD160 (mongo-c-driver-1.2.1.tar.gz) = 04ec11c3883b13fd5df39d5725daebcb14f2043f
-SHA512 (mongo-c-driver-1.2.1.tar.gz) = 08af2266bac3c9ae30cc4f834e8cf5bb0d9a2bf5094c03d4825ca2d367c987d9fa1504bece0fcbfbb42d20841efb2ad1babff87fbe01053039973ea693905728
-Size (mongo-c-driver-1.2.1.tar.gz) = 5458668 bytes
+SHA1 (mongo-c-driver-1.3.0.tar.gz) = 72bf65c7c8f08d76211134065d68e562cec09c71
+RMD160 (mongo-c-driver-1.3.0.tar.gz) = 31db29f57f4706ee2066ca05aa02fc5f45adf9cd
+SHA512 (mongo-c-driver-1.3.0.tar.gz) = 449be0e99f670087b5cc426d4d0ee6f652ab5ed5c7b11cce4b931f4cc9fb39dba3b0d046dac75ad26633233fc4a15861f36a0c9b2244233b29e49d6b228a4856
+Size (mongo-c-driver-1.3.0.tar.gz) = 5736162 bytes