Update libbson to 0.8.2.

Changes in 0.8.2
----------------
 * A fix for BCON when used from C++.
 * Change bson_next_power_of_two() to accept size_t. This should not be
   an ABI break since it is static inline.

Changes in 0.8.0
----------------
This cycle includes much, much more documentation for your perusing. There is
much more cross-referencing and structure for your navigation pleasure.

We've improved support for Libbson on a few more exotic platforms. SPARC
support is looking pretty good these days.

You'll also find some new examples in this release to help you get started a
bit faster. If there is something you'd like to see, just ask!

There are a few ABI breaks this cycle, as we are well on the road to a 1.0 and
would like things as clean as possible. I anticipate a few more during the next
couple of cycles, but we will try to keep them to a minimum.  With that said,
you *WILL* need to recompile your application against 0.8.0.
This commit is contained in:
fhajny 2014-06-11 13:50:19 +00:00
parent 5da7bdaf84
commit 2eb16428e4
4 changed files with 68 additions and 12 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2014/05/18 21:19:36 joerg Exp $ # $NetBSD: Makefile,v 1.3 2014/06/11 13:50:19 fhajny Exp $
DISTNAME= libbson-0.6.8 DISTNAME= libbson-0.8.2
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= http://github.com/mongodb/libbson/releases/download/${PKGVERSION_NOREV}/ MASTER_SITES= http://github.com/mongodb/libbson/releases/download/${PKGVERSION_NOREV}/
@ -15,7 +15,9 @@ BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_LANGUAGES= c c++ USE_LANGUAGES= c c++
USE_LIBTOOL= yes USE_LIBTOOL= yes
USE_TOOLS+= pkg-config USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --enable-man-pages=yes
PKGCONFIG_OVERRIDE+= src/libbson-1.0.pc.in PKGCONFIG_OVERRIDE+= src/libbson-1.0.pc.in

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2014/05/07 15:43:59 fhajny Exp $ @comment $NetBSD: PLIST,v 1.2 2014/06/11 13:50:19 fhajny Exp $
include/libbson-1.0/bcon.h include/libbson-1.0/bcon.h
include/libbson-1.0/bson-atomic.h include/libbson-1.0/bson-atomic.h
include/libbson-1.0/bson-clock.h include/libbson-1.0/bson-clock.h
@ -26,12 +26,17 @@ include/libbson-1.0/bson.h
lib/libbson-1.0.la lib/libbson-1.0.la
lib/pkgconfig/libbson-1.0.pc lib/pkgconfig/libbson-1.0.pc
man/man3/bson_append_array.3 man/man3/bson_append_array.3
man/man3/bson_append_array_begin.3
man/man3/bson_append_array_end.3
man/man3/bson_append_binary.3 man/man3/bson_append_binary.3
man/man3/bson_append_bool.3 man/man3/bson_append_bool.3
man/man3/bson_append_code.3 man/man3/bson_append_code.3
man/man3/bson_append_code_with_scope.3
man/man3/bson_append_date_time.3 man/man3/bson_append_date_time.3
man/man3/bson_append_dbpointer.3 man/man3/bson_append_dbpointer.3
man/man3/bson_append_document.3 man/man3/bson_append_document.3
man/man3/bson_append_document_begin.3
man/man3/bson_append_document_end.3
man/man3/bson_append_double.3 man/man3/bson_append_double.3
man/man3/bson_append_int32.3 man/man3/bson_append_int32.3
man/man3/bson_append_int64.3 man/man3/bson_append_int64.3
@ -43,26 +48,35 @@ man/man3/bson_append_null.3
man/man3/bson_append_oid.3 man/man3/bson_append_oid.3
man/man3/bson_append_regex.3 man/man3/bson_append_regex.3
man/man3/bson_append_symbol.3 man/man3/bson_append_symbol.3
man/man3/bson_append_time_t.3
man/man3/bson_append_timestamp.3 man/man3/bson_append_timestamp.3
man/man3/bson_append_timeval.3
man/man3/bson_append_undefined.3 man/man3/bson_append_undefined.3
man/man3/bson_append_utf8.3 man/man3/bson_append_utf8.3
man/man3/bson_append_value.3
man/man3/bson_as_json.3 man/man3/bson_as_json.3
man/man3/bson_compare.3 man/man3/bson_compare.3
man/man3/bson_concat.3 man/man3/bson_concat.3
man/man3/bson_context_destroy.3 man/man3/bson_context_destroy.3
man/man3/bson_context_get_default.3 man/man3/bson_context_get_default.3
man/man3/bson_context_new.3 man/man3/bson_context_new.3
man/man3/bson_context_t.3
man/man3/bson_copy.3 man/man3/bson_copy.3
man/man3/bson_copy_to.3 man/man3/bson_copy_to.3
man/man3/bson_copy_to_excluding.3 man/man3/bson_copy_to_excluding.3
man/man3/bson_count_keys.3 man/man3/bson_count_keys.3
man/man3/bson_destroy.3 man/man3/bson_destroy.3
man/man3/bson_destroy_with_steal.3
man/man3/bson_equal.3 man/man3/bson_equal.3
man/man3/bson_error_t.3
man/man3/bson_free.3 man/man3/bson_free.3
man/man3/bson_get_data.3 man/man3/bson_get_data.3
man/man3/bson_get_monotonic_time.3 man/man3/bson_get_major_version.3
man/man3/bson_get_micro_version.3
man/man3/bson_get_minor_version.3
man/man3/bson_has_field.3 man/man3/bson_has_field.3
man/man3/bson_init.3 man/man3/bson_init.3
man/man3/bson_init_from_json.3
man/man3/bson_init_static.3 man/man3/bson_init_static.3
man/man3/bson_iter_array.3 man/man3/bson_iter_array.3
man/man3/bson_iter_as_bool.3 man/man3/bson_iter_as_bool.3
@ -79,6 +93,9 @@ man/man3/bson_iter_dup_utf8.3
man/man3/bson_iter_find.3 man/man3/bson_iter_find.3
man/man3/bson_iter_find_case.3 man/man3/bson_iter_find_case.3
man/man3/bson_iter_find_descendant.3 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_int32.3 man/man3/bson_iter_int32.3
man/man3/bson_iter_int64.3 man/man3/bson_iter_int64.3
man/man3/bson_iter_key.3 man/man3/bson_iter_key.3
@ -97,49 +114,87 @@ man/man3/bson_iter_timestamp.3
man/man3/bson_iter_timeval.3 man/man3/bson_iter_timeval.3
man/man3/bson_iter_type.3 man/man3/bson_iter_type.3
man/man3/bson_iter_utf8.3 man/man3/bson_iter_utf8.3
man/man3/bson_iter_value.3
man/man3/bson_iter_visit_all.3 man/man3/bson_iter_visit_all.3
man/man3/bson_json_data_reader_ingest.3
man/man3/bson_json_data_reader_new.3
man/man3/bson_json_reader_destroy.3
man/man3/bson_json_reader_new.3
man/man3/bson_json_reader_new_from_fd.3
man/man3/bson_json_reader_new_from_file.3
man/man3/bson_json_reader_read.3
man/man3/bson_json_reader_t.3
man/man3/bson_malloc.3 man/man3/bson_malloc.3
man/man3/bson_malloc0.3 man/man3/bson_malloc0.3
man/man3/bson_md5_append.3
man/man3/bson_md5_finish.3
man/man3/bson_md5_init.3
man/man3/bson_md5_t.3
man/man3/bson_new.3 man/man3/bson_new.3
man/man3/bson_new_from_buffer.3 man/man3/bson_new_from_buffer.3
man/man3/bson_new_from_data.3 man/man3/bson_new_from_data.3
man/man3/bson_new_from_json.3
man/man3/bson_oid_compare.3 man/man3/bson_oid_compare.3
man/man3/bson_oid_copy.3 man/man3/bson_oid_copy.3
man/man3/bson_oid_equal.3 man/man3/bson_oid_equal.3
man/man3/bson_oid_get_time_t.3 man/man3/bson_oid_get_time_t.3
man/man3/bson_oid_hash.3 man/man3/bson_oid_hash.3
man/man3/bson_oid_init.3
man/man3/bson_oid_init_from_data.3
man/man3/bson_oid_init_from_string.3
man/man3/bson_oid_init_sequence.3
man/man3/bson_oid_is_valid.3 man/man3/bson_oid_is_valid.3
man/man3/bson_oid_t.3 man/man3/bson_oid_t.3
man/man3/bson_oid_to_string.3 man/man3/bson_oid_to_string.3
man/man3/bson_reader_destroy.3 man/man3/bson_reader_destroy.3
man/man3/bson_reader_new_from_data.3 man/man3/bson_reader_new_from_data.3
man/man3/bson_reader_new_from_fd.3 man/man3/bson_reader_new_from_fd.3
man/man3/bson_reader_new_from_file.3
man/man3/bson_reader_new_from_handle.3
man/man3/bson_reader_read.3 man/man3/bson_reader_read.3
man/man3/bson_reader_set_destroy_func.3
man/man3/bson_reader_set_read_func.3 man/man3/bson_reader_set_read_func.3
man/man3/bson_reader_t.3
man/man3/bson_reader_tell.3 man/man3/bson_reader_tell.3
man/man3/bson_realloc.3 man/man3/bson_realloc.3
man/man3/bson_realloc_ctx.3 man/man3/bson_realloc_ctx.3
man/man3/bson_realloc_func.3
man/man3/bson_reinit.3 man/man3/bson_reinit.3
man/man3/bson_set_error.3
man/man3/bson_sized_new.3 man/man3/bson_sized_new.3
man/man3/bson_snprintf.3
man/man3/bson_strdup.3 man/man3/bson_strdup.3
man/man3/bson_strdup_printf.3 man/man3/bson_strdup_printf.3
man/man3/bson_strdupv_printf.3 man/man3/bson_strdupv_printf.3
man/man3/bson_strerror_r.3
man/man3/bson_strfreev.3
man/man3/bson_string_append.3 man/man3/bson_string_append.3
man/man3/bson_string_append_c.3 man/man3/bson_string_append_c.3
man/man3/bson_string_append_printf.3 man/man3/bson_string_append_printf.3
man/man3/bson_string_append_unichar.3 man/man3/bson_string_append_unichar.3
man/man3/bson_string_free.3 man/man3/bson_string_free.3
man/man3/bson_string_new.3 man/man3/bson_string_new.3
man/man3/bson_string_t.3
man/man3/bson_string_truncate.3 man/man3/bson_string_truncate.3
man/man3/bson_strncpy.3
man/man3/bson_strndup.3 man/man3/bson_strndup.3
man/man3/bson_strnlen.3
man/man3/bson_subtype_t.3
man/man3/bson_t.3
man/man3/bson_type_t.3
man/man3/bson_uint32_to_string.3 man/man3/bson_uint32_to_string.3
man/man3/bson_unichar_t.3
man/man3/bson_utf8_escape_for_json.3 man/man3/bson_utf8_escape_for_json.3
man/man3/bson_utf8_from_unichar.3 man/man3/bson_utf8_from_unichar.3
man/man3/bson_utf8_get_char.3 man/man3/bson_utf8_get_char.3
man/man3/bson_utf8_next_char.3 man/man3/bson_utf8_next_char.3
man/man3/bson_utf8_validate.3 man/man3/bson_utf8_validate.3
man/man3/bson_validate.3 man/man3/bson_validate.3
man/man3/bson_value_copy.3
man/man3/bson_value_destroy.3
man/man3/bson_value_t.3
man/man3/bson_visitor_t.3 man/man3/bson_visitor_t.3
man/man3/bson_vsnprintf.3
man/man3/bson_writer_begin.3 man/man3/bson_writer_begin.3
man/man3/bson_writer_destroy.3 man/man3/bson_writer_destroy.3
man/man3/bson_writer_end.3 man/man3/bson_writer_end.3
@ -148,7 +203,6 @@ man/man3/bson_writer_new.3
man/man3/bson_writer_rollback.3 man/man3/bson_writer_rollback.3
man/man3/bson_writer_t.3 man/man3/bson_writer_t.3
man/man3/bson_zero_free.3 man/man3/bson_zero_free.3
man/man7/libbson.7
share/doc/libbson/COPYING share/doc/libbson/COPYING
share/doc/libbson/NEWS share/doc/libbson/NEWS
share/doc/libbson/README share/doc/libbson/README

View file

@ -1,11 +1,11 @@
# $NetBSD: buildlink3.mk,v 1.1 2014/05/07 15:43:59 fhajny Exp $ # $NetBSD: buildlink3.mk,v 1.2 2014/06/11 13:50:19 fhajny Exp $
BUILDLINK_TREE+= libbson BUILDLINK_TREE+= libbson
.if !defined(LIBBSON_BUILDLINK3_MK) .if !defined(LIBBSON_BUILDLINK3_MK)
LIBBSON_BUILDLINK3_MK:= LIBBSON_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libbson+= libbson>=0.6.8 BUILDLINK_API_DEPENDS.libbson+= libbson>=0.8.0
BUILDLINK_PKGSRCDIR.libbson?= ../../devel/libbson BUILDLINK_PKGSRCDIR.libbson?= ../../devel/libbson
.endif # LIBBSON_BUILDLINK3_MK .endif # LIBBSON_BUILDLINK3_MK

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1 2014/05/07 15:43:59 fhajny Exp $ $NetBSD: distinfo,v 1.2 2014/06/11 13:50:19 fhajny Exp $
SHA1 (libbson-0.6.8.tar.gz) = 96f7bb4bcc6a5b1e40e1c9179d96212f8846c1dc SHA1 (libbson-0.8.2.tar.gz) = d55efe111e7fc9e62ae6cd1eb09d88ac6dc78149
RMD160 (libbson-0.6.8.tar.gz) = 5f8dd76462314e3bc3747491e71d2819031c69ff RMD160 (libbson-0.8.2.tar.gz) = 80393f17eb15680199aa7237e1f2cfbbd18fa3ff
Size (libbson-0.6.8.tar.gz) = 4467230 bytes Size (libbson-0.8.2.tar.gz) = 4467000 bytes
SHA1 (patch-configure) = 9ffba2df753b7b210bb44846a9600480634a9c3b SHA1 (patch-configure) = 9ffba2df753b7b210bb44846a9600480634a9c3b