pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libbson Update devel/libbsob to 1.5.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3e4991d91d93
branches: trunk
changeset: 355666:3e4991d91d93
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Fri Dec 09 10:05:57 2016 +0000
description:
Update devel/libbsob to 1.5.0.
- New BSON Type, Decimal128 (bson_decimal128_t) along with appropriate
new functions and helpers.
- bson_validate and bson_iter_next now validate that BSON boolean values
are 0 or 1.
- bson_append_code_with_scope now preserves the "code with scope" type
if scope is an empty, non-NULL BSON document.
- BSON "code" and "code with scope" types are properly translated to
JSON of the form '{"$code": "...", "$scope": {...}}'.
- bson_json_reader functions now always validate UTF-8.
- JSON parsing now preserves integer width.
- bson_strtoll now matches stroll: it detects range errors, and when
parsing octal it stops at non-octal digits and returns what it parsed
instead of setting errno.
- New flag BSON_VALIDATE_EMPTY_KEYS causes bson_validate to fail if a
document contains zero-length field names.
- The configure option "--enable-hardening" had had no effect. It is
removed in favor of system-wide compiler configuration.
diffstat:
devel/libbson/Makefile | 6 ++++--
devel/libbson/PLIST | 12 ++++++++++--
devel/libbson/distinfo | 11 +++++------
devel/libbson/patches/patch-Makefile.in | 14 --------------
4 files changed, 19 insertions(+), 24 deletions(-)
diffs (126 lines):
diff -r b8d95e7fee3b -r 3e4991d91d93 devel/libbson/Makefile
--- a/devel/libbson/Makefile Fri Dec 09 08:29:21 2016 +0000
+++ b/devel/libbson/Makefile Fri Dec 09 10:05:57 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2016/10/02 09:31:05 fhajny Exp $
+# $NetBSD: Makefile,v 1.21 2016/12/09 10:05:57 fhajny Exp $
-DISTNAME= libbson-1.4.2
+DISTNAME= libbson-1.5.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/}
@@ -20,6 +20,8 @@
INSTALLATION_DIRS+= ${PKGMANDIR}/man3
+TEST_TARGET= test
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/bson_*.3 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
diff -r b8d95e7fee3b -r 3e4991d91d93 devel/libbson/PLIST
--- a/devel/libbson/PLIST Fri Dec 09 08:29:21 2016 +0000
+++ b/devel/libbson/PLIST Fri Dec 09 10:05:57 2016 +0000
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2016/08/17 14:07:08 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.7 2016/12/09 10:05:57 fhajny Exp $
include/libbson-1.0/bcon.h
include/libbson-1.0/bson-atomic.h
include/libbson-1.0/bson-clock.h
include/libbson-1.0/bson-compat.h
include/libbson-1.0/bson-config.h
include/libbson-1.0/bson-context.h
+include/libbson-1.0/bson-decimal128.h
include/libbson-1.0/bson-endian.h
include/libbson-1.0/bson-error.h
include/libbson-1.0/bson-iter.h
@@ -35,6 +36,7 @@
man/man3/bson_append_code_with_scope.3
man/man3/bson_append_date_time.3
man/man3/bson_append_dbpointer.3
+man/man3/bson_append_decimal128.3
man/man3/bson_append_document.3
man/man3/bson_append_document_begin.3
man/man3/bson_append_document_end.3
@@ -57,7 +59,6 @@
man/man3/bson_append_value.3
man/man3/bson_as_json.3
man/man3/bson_check_version.3
-man/man3/bson_clock.3
man/man3/bson_compare.3
man/man3/bson_concat.3
man/man3/bson_context_destroy.3
@@ -69,6 +70,9 @@
man/man3/bson_copy_to_excluding.3
man/man3/bson_count_keys.3
man/man3/bson_creating.3
+man/man3/bson_decimal128_from_string.3
+man/man3/bson_decimal128_t.3
+man/man3/bson_decimal128_to_string.3
man/man3/bson_destroy.3
man/man3/bson_destroy_with_steal.3
man/man3/bson_endianness.3
@@ -80,6 +84,7 @@
man/man3/bson_get_major_version.3
man/man3/bson_get_micro_version.3
man/man3/bson_get_minor_version.3
+man/man3/bson_get_monotonic_time.3
man/man3/bson_get_version.3
man/man3/bson_has_field.3
man/man3/bson_index.3
@@ -96,6 +101,7 @@
man/man3/bson_iter_codewscope.3
man/man3/bson_iter_date_time.3
man/man3/bson_iter_dbpointer.3
+man/man3/bson_iter_decimal128.3
man/man3/bson_iter_document.3
man/man3/bson_iter_double.3
man/man3/bson_iter_dup_utf8.3
@@ -111,6 +117,7 @@
man/man3/bson_iter_next.3
man/man3/bson_iter_oid.3
man/man3/bson_iter_overwrite_bool.3
+man/man3/bson_iter_overwrite_decimal128.3
man/man3/bson_iter_overwrite_double.3
man/man3/bson_iter_overwrite_int32.3
man/man3/bson_iter_overwrite_int64.3
@@ -231,3 +238,4 @@
share/doc/libbson/COPYING
share/doc/libbson/NEWS
share/doc/libbson/README
+share/doc/libbson/THIRD_PARTY_NOTICES
diff -r b8d95e7fee3b -r 3e4991d91d93 devel/libbson/distinfo
--- a/devel/libbson/distinfo Fri Dec 09 08:29:21 2016 +0000
+++ b/devel/libbson/distinfo Fri Dec 09 10:05:57 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.20 2016/10/02 09:31:05 fhajny Exp $
+$NetBSD: distinfo,v 1.21 2016/12/09 10:05:58 fhajny Exp $
-SHA1 (libbson-1.4.2.tar.gz) = 28e65ae2dc7130e1de2e5fc2bc2793571ff4f4d1
-RMD160 (libbson-1.4.2.tar.gz) = 7b0c5640e002e5d40f58985be0e471419096b024
-SHA512 (libbson-1.4.2.tar.gz) = 4cc8f833978483af3dcbc30bede33f2a9b448930fabf7be2d5581c8368e875dc1707d31eae209c747e69be1f82fa525c7362c5ac9c4e0b6b3f3346dd5147860e
-Size (libbson-1.4.2.tar.gz) = 4597816 bytes
-SHA1 (patch-Makefile.in) = 0e63f88b7f6e9df5bbbdd7ee294afa93f23335b0
+SHA1 (libbson-1.5.0.tar.gz) = ac7da3f9aec8984807a71d0a18ffec709f43ab76
+RMD160 (libbson-1.5.0.tar.gz) = aab8309ac421744a13a9db73c3bcee39644d5e8e
+SHA512 (libbson-1.5.0.tar.gz) = b536fa2ec195df79d6027eb0833f5fb7d4f7ac8da72bed000abf6f094fcacdedbabd236654be8fd74933ab60b140c5ba6d3ae3f13ff900c59f3e96040c30dd03
+Size (libbson-1.5.0.tar.gz) = 4643681 bytes
diff -r b8d95e7fee3b -r 3e4991d91d93 devel/libbson/patches/patch-Makefile.in
--- a/devel/libbson/patches/patch-Makefile.in Fri Dec 09 08:29:21 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-Makefile.in,v 1.2 2016/08/17 14:07:09 fhajny Exp $
-
---- Makefile.in.orig 2016-08-10 19:11:28.000000000 +0000
-+++ Makefile.in
-@@ -793,7 +793,8 @@ test_libbson_LDFLAGS = $(COVERAGE_LDFLAG
- test_libbson_LDADD = \
- $(PTHREAD_LIBS) \
- libbson-1.0.la \
-- libbson.la
-+ libbson.la \
-+ libyajl.la
-
- @OS_DARWIN_FALSE@DEBUGGER = gdb --args
- @OS_DARWIN_TRUE@DEBUGGER = lldb --
Home |
Main Index |
Thread Index |
Old Index