Received: by mail.netbsd.org (Postfix, from userid 605) id 3ACC084D43; Thu, 17 Aug 2017 17:00:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C223784D3D for ; Thu, 17 Aug 2017 17:00:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id M4OPy_5TyfeA for ; Thu, 17 Aug 2017 17:00:48 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1B0D984D36 for ; Thu, 17 Aug 2017 17:00:48 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 15CABFAD0; Thu, 17 Aug 2017 17:00:48 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1502989248288620" MIME-Version: 1.0 Date: Thu, 17 Aug 2017 17:00:48 +0000 From: "Filip Hajny" Subject: CVS commit: pkgsrc/devel/libbson To: pkgsrc-changes@NetBSD.org Reply-To: fhajny@netbsd.org X-Mailer: log_accum Message-Id: <20170817170048.15CABFAD0@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1502989248288620 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: fhajny Date: Thu Aug 17 17:00:48 UTC 2017 Modified Files: pkgsrc/devel/libbson: Makefile PLIST distinfo Log Message: Update devel/libbson to 1.7.0. - Changes to JSON encoding and decoding: - New functions bson_as_canonical_extended_json and bson_as_relaxed_extended_json convert BSON to canonical and relaxed extended JSON according to MongoDB Extended JSON Spec. - When parsing JSON type wrappers like "$timestamp", any missing or extra keys are an error. - The JSON format for BSON regular expressions is now "$regularExpression": {"pattern": "...", "options": "..."}. - The JSON format for BSON binary elements is now "$binary": {"base64": "...", "subType": "..."}. - BSON dates can be parsed from "$date" as an ISO8601 date or "$numberLong" as milliseconds since the epoch: "t": {"$date": {"$numberLong": "1234"}}. - The non-numbers NaN, Infinity, and -Infinity are now recognized (regardless of case) when parsing JSON. - CMake build now installs .pc files for programs that link to libbson using pkg-config. Both the CMake and Autotools build systems now install .cmake - New CMake option, "ENABLE_STATIC", defaults to ON. - Minimum required CMake version has been increased to 3.1. - New functions - bson_strcasecmp, a portable equivalent of strcasecmp. - bson_iter_as_double, cast the current value to double. - bson_iter_init_from_data, creates an iterator from BSON string. - bson_validate_with_error, checks a document like bson_validate does but also reports which key was invalid - New convenience macros - BSON_ITER_HOLDS_INT, checks if iterator holds int32 or int64 - BSON_ITER_HOLDS_NUMBER, checks if iterator holds int32, int64 or double - Raised BSON recursion limit to 200 To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/libbson/Makefile \ pkgsrc/devel/libbson/distinfo cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/libbson/PLIST Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1502989248288620 Content-Disposition: inline Content-Length: 4771 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/libbson/Makefile diff -u pkgsrc/devel/libbson/Makefile:1.24 pkgsrc/devel/libbson/Makefile:1.25 --- pkgsrc/devel/libbson/Makefile:1.24 Sun Jul 30 22:32:15 2017 +++ pkgsrc/devel/libbson/Makefile Thu Aug 17 17:00:47 2017 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.24 2017/07/30 22:32:15 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2017/08/17 17:00:47 fhajny Exp $ -DISTNAME= libbson-1.6.3 +DISTNAME= libbson-1.7.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/} Index: pkgsrc/devel/libbson/distinfo diff -u pkgsrc/devel/libbson/distinfo:1.24 pkgsrc/devel/libbson/distinfo:1.25 --- pkgsrc/devel/libbson/distinfo:1.24 Mon Jul 3 18:11:27 2017 +++ pkgsrc/devel/libbson/distinfo Thu Aug 17 17:00:47 2017 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.24 2017/07/03 18:11:27 joerg Exp $ +$NetBSD: distinfo,v 1.25 2017/08/17 17:00:47 fhajny Exp $ -SHA1 (libbson-1.6.3.tar.gz) = 3571026b7d1819f8ff64dec238e58e44d826021b -RMD160 (libbson-1.6.3.tar.gz) = 3c81ea50475c889c960dd7c4d7eb636da4e3273e -SHA512 (libbson-1.6.3.tar.gz) = 602f700dbb268e5eeeb36d39f63499ce9a253f915042ef2f620b3cceddf449284eab583ac2e950e150a2edb75ade189e3624b2cbe96097db501e1359d0b9c1d9 -Size (libbson-1.6.3.tar.gz) = 4831170 bytes +SHA1 (libbson-1.7.0.tar.gz) = 5c8119a7500a9131e0a6b0c7357bbac4069ade56 +RMD160 (libbson-1.7.0.tar.gz) = bfb70baec15a93838f0ecaa83db80c3ef7e844d3 +SHA512 (libbson-1.7.0.tar.gz) = af304348c4bdc0f6da0003283454814a0540ed38801d0a58f664a80195aa85b850861bdaae2e6845058b7dde2814b6ca808b97ce37a31dde44baf19b0b74e022 +Size (libbson-1.7.0.tar.gz) = 4916222 bytes SHA1 (patch-configure) = fc1e56e8e0d823801446440e59926b11caa388a8 Index: pkgsrc/devel/libbson/PLIST diff -u pkgsrc/devel/libbson/PLIST:1.8 pkgsrc/devel/libbson/PLIST:1.9 --- pkgsrc/devel/libbson/PLIST:1.8 Wed Jun 14 10:24:15 2017 +++ pkgsrc/devel/libbson/PLIST Thu Aug 17 17:00:47 2017 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2017/06/14 10:24:15 fhajny Exp $ +@comment $NetBSD: PLIST,v 1.9 2017/08/17 17:00:47 fhajny Exp $ include/libbson-1.0/bcon.h include/libbson-1.0/bson-atomic.h include/libbson-1.0/bson-clock.h @@ -25,9 +25,10 @@ include/libbson-1.0/bson-version-functio include/libbson-1.0/bson-version.h include/libbson-1.0/bson-writer.h include/libbson-1.0/bson.h +lib/cmake/libbson-1.0/libbson-1.0-config-version.cmake +lib/cmake/libbson-1.0/libbson-1.0-config.cmake lib/libbson-1.0.la lib/pkgconfig/libbson-1.0.pc -man/man3/bson_api.3 man/man3/bson_append_array.3 man/man3/bson_append_array_begin.3 man/man3/bson_append_array_end.3 @@ -58,7 +59,12 @@ man/man3/bson_append_timeval.3 man/man3/bson_append_undefined.3 man/man3/bson_append_utf8.3 man/man3/bson_append_value.3 +man/man3/bson_array_as_json.3 +man/man3/bson_as_canonical_extended_json.3 man/man3/bson_as_json.3 +man/man3/bson_as_relaxed_extended_json.3 +man/man3/bson_ascii_strtoll.3 +man/man3/bson_character_and_string_routines.3 man/man3/bson_check_version.3 man/man3/bson_compare.3 man/man3/bson_concat.3 @@ -69,6 +75,7 @@ man/man3/bson_context_t.3 man/man3/bson_copy.3 man/man3/bson_copy_to.3 man/man3/bson_copy_to_excluding.3 +man/man3/bson_copy_to_excluding_noinit.3 man/man3/bson_count_keys.3 man/man3/bson_creating.3 man/man3/bson_cross_platform_notes.3 @@ -90,13 +97,14 @@ man/man3/bson_get_monotonic_time.3 man/man3/bson_get_version.3 man/man3/bson_guides.3 man/man3/bson_has_field.3 -man/man3/bson_index.3 +man/man3/bson_include_and_link.3 man/man3/bson_init.3 man/man3/bson_init_from_json.3 man/man3/bson_init_static.3 man/man3/bson_installing.3 man/man3/bson_iter_array.3 man/man3/bson_iter_as_bool.3 +man/man3/bson_iter_as_double.3 man/man3/bson_iter_as_int64.3 man/man3/bson_iter_binary.3 man/man3/bson_iter_bool.3 @@ -114,6 +122,7 @@ man/man3/bson_iter_find_descendant.3 man/man3/bson_iter_init.3 man/man3/bson_iter_init_find.3 man/man3/bson_iter_init_find_case.3 +man/man3/bson_iter_init_from_data.3 man/man3/bson_iter_int32.3 man/man3/bson_iter_int64.3 man/man3/bson_iter_key.3 @@ -171,7 +180,6 @@ man/man3/bson_oid_is_valid.3 man/man3/bson_oid_t.3 man/man3/bson_oid_to_string.3 man/man3/bson_parsing.3 -man/man3/bson_performance.3 man/man3/bson_reader_destroy.3 man/man3/bson_reader_destroy_func_t.3 man/man3/bson_reader_new_from_data.3 @@ -195,6 +203,7 @@ man/man3/bson_set_error.3 man/man3/bson_sized_new.3 man/man3/bson_snprintf.3 man/man3/bson_steal.3 +man/man3/bson_strcasecmp.3 man/man3/bson_strdup.3 man/man3/bson_strdup_printf.3 man/man3/bson_strdupv_printf.3 @@ -226,6 +235,7 @@ man/man3/bson_utf8_get_char.3 man/man3/bson_utf8_next_char.3 man/man3/bson_utf8_validate.3 man/man3/bson_validate.3 +man/man3/bson_validate_with_error.3 man/man3/bson_value_copy.3 man/man3/bson_value_destroy.3 man/man3/bson_value_t.3 --_----------=_1502989248288620--