git: 55a4ea2ff3c7 - main - devel/libbson: update to 1.24.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jul 2023 06:26:12 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=55a4ea2ff3c7dc3846930df1fa3b534c8f9fe86b commit 55a4ea2ff3c7dc3846930df1fa3b534c8f9fe86b Author: Hiroo Ono <hiroo.ono+freebsd@gmail.com> AuthorDate: 2023-07-26 07:03:27 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-07-27 06:25:58 +0000 devel/libbson: update to 1.24.2 ChangeLog: https://github.com/mongodb/mongo-c-driver/blob/1.24.2/NEWS PR: 272720 Reported by: hiroo.ono+freebsd@gmail.com --- devel/libbson/Makefile | 4 +--- devel/libbson/distinfo | 6 +++--- devel/libbson/files/patch-CMakeLists.txt | 11 ----------- devel/libbson/files/patch-src_libbson_CMakeLists.txt | 10 ++++++++++ devel/libbson/pkg-plist | 17 +++++++---------- 5 files changed, 21 insertions(+), 27 deletions(-) diff --git a/devel/libbson/Makefile b/devel/libbson/Makefile index 66ed74a58ba8..96dcfd96d336 100644 --- a/devel/libbson/Makefile +++ b/devel/libbson/Makefile @@ -1,6 +1,5 @@ PORTNAME= libbson -DISTVERSION= 1.23.2 -PORTREVISION= 2 +DISTVERSION= 1.24.2 CATEGORIES= devel MASTER_SITES= https://github.com/mongodb/mongo-c-driver/releases/download/${DISTVERSION}/ DISTNAME= mongo-c-driver-${DISTVERSION} @@ -16,7 +15,6 @@ USES= cmake cpe pathfix python:env pkgconfig CPE_VENDOR= mongodb USE_LDCONFIG= yes -CFLAGS+= -D__BSD_VISIBLE=1 DOCSDIR= ${PREFIX}/share/doc/mongo-c-driver CMAKE_OFF= BUILD_TESTING \ diff --git a/devel/libbson/distinfo b/devel/libbson/distinfo index 582eb5c9ab30..1215e9b36397 100644 --- a/devel/libbson/distinfo +++ b/devel/libbson/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676631041 -SHA256 (mongo-c-driver-1.23.2.tar.gz) = 123c358827eea07cd76a31c40281bb1c81b6744f6587c96d0cf217be8b1234e3 -SIZE (mongo-c-driver-1.23.2.tar.gz) = 7781649 +TIMESTAMP = 1690288936 +SHA256 (mongo-c-driver-1.24.2.tar.gz) = 25813a220188d40140ca9c36a4b23abfb68fc7cbb37694187cc9852be470abd2 +SIZE (mongo-c-driver-1.24.2.tar.gz) = 8231535 diff --git a/devel/libbson/files/patch-CMakeLists.txt b/devel/libbson/files/patch-CMakeLists.txt deleted file mode 100644 index e53e2b251a7b..000000000000 --- a/devel/libbson/files/patch-CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- CMakeLists.txt.orig 2023-01-03 15:52:56 UTC -+++ CMakeLists.txt -@@ -249,7 +249,7 @@ cmake_policy (SET CMP0042 NEW) - # Both _BSD_SOURCE and _DEFAULT_SOURCE are defined for backwards-compatibility with glibc 2.19 and earlier. - # _BSD_SOURCE and _DEFAULT_SOURCE are required by `getpagesize`, `h_errno`, etc. - # _XOPEN_SOURCE=700 is required by `strnlen`, etc. --add_definitions (-D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE) -+# add_definitions (-D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE) - list (APPEND CMAKE_REQUIRED_DEFINITIONS -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE) - - # https://opensource.apple.com/source/Libc/Libc-1439.40.11/gen/compat.5.auto.html diff --git a/devel/libbson/files/patch-src_libbson_CMakeLists.txt b/devel/libbson/files/patch-src_libbson_CMakeLists.txt new file mode 100644 index 000000000000..e13711e7f138 --- /dev/null +++ b/devel/libbson/files/patch-src_libbson_CMakeLists.txt @@ -0,0 +1,10 @@ +--- src/libbson/CMakeLists.txt.orig 2023-07-25 13:12:56 UTC ++++ src/libbson/CMakeLists.txt +@@ -181,6 +181,7 @@ set (HEADERS + ${PROJECT_SOURCE_DIR}/src/bson/bson-compat.h + ${PROJECT_SOURCE_DIR}/src/bson/bson-context.h + ${PROJECT_SOURCE_DIR}/src/bson/bson-decimal128.h ++ ${PROJECT_SOURCE_DIR}/src/bson/bson-dsl.h + ${PROJECT_SOURCE_DIR}/src/bson/bson-endian.h + ${PROJECT_SOURCE_DIR}/src/bson/bson-error.h + ${PROJECT_SOURCE_DIR}/src/bson/bson.h diff --git a/devel/libbson/pkg-plist b/devel/libbson/pkg-plist index bd98e095de3b..23526ede611c 100644 --- a/devel/libbson/pkg-plist +++ b/devel/libbson/pkg-plist @@ -7,6 +7,7 @@ include/libbson-1.0/bson/bson-compat.h include/libbson-1.0/bson/bson-config.h include/libbson-1.0/bson/bson-context.h include/libbson-1.0/bson/bson-decimal128.h +include/libbson-1.0/bson/bson-dsl.h include/libbson-1.0/bson/bson-endian.h include/libbson-1.0/bson/bson-error.h include/libbson-1.0/bson/bson-iter.h @@ -90,7 +91,9 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_append_undefined.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_append_utf8.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_append_value.html +%%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_array_as_canonical_extended_json.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_array_as_json.html +%%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_array_as_relaxed_extended_json.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_as_canonical_extended_json.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_as_json.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_as_json_with_opts.html @@ -184,6 +187,7 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_mode_t.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_opts_destroy.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_opts_new.html +%%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_opts_set_outermost_array.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_opts_t.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_reader_destroy.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_reader_new.html @@ -193,10 +197,6 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_json_reader_t.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_malloc.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_malloc0.html -%%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_md5_append.html -%%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_md5_finish.html -%%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_md5_init.html -%%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_md5_t.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_mem_restore_vtable.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_mem_set_vtable.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/bson_memory.html @@ -299,7 +299,6 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%%%DOCSDIR%%/libbson/html/threading.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/tutorial.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/utf8.html -%%PORTDOCS%%%%DOCSDIR%%/libbson/html/valgrind.html %%PORTDOCS%%%%DOCSDIR%%/libbson/html/version.html %%PORTDOCS%%share/man/man3/bson_aligned_alloc.3.gz %%PORTDOCS%%share/man/man3/bson_aligned_alloc0.3.gz @@ -334,7 +333,9 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%share/man/man3/bson_append_undefined.3.gz %%PORTDOCS%%share/man/man3/bson_append_utf8.3.gz %%PORTDOCS%%share/man/man3/bson_append_value.3.gz +%%PORTDOCS%%share/man/man3/bson_array_as_canonical_extended_json.3.gz %%PORTDOCS%%share/man/man3/bson_array_as_json.3.gz +%%PORTDOCS%%share/man/man3/bson_array_as_relaxed_extended_json.3.gz %%PORTDOCS%%share/man/man3/bson_as_canonical_extended_json.3.gz %%PORTDOCS%%share/man/man3/bson_as_json.3.gz %%PORTDOCS%%share/man/man3/bson_as_json_with_opts.3.gz @@ -436,6 +437,7 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%share/man/man3/bson_json_mode_t.3.gz %%PORTDOCS%%share/man/man3/bson_json_opts_destroy.3.gz %%PORTDOCS%%share/man/man3/bson_json_opts_new.3.gz +%%PORTDOCS%%share/man/man3/bson_json_opts_set_outermost_array.3.gz %%PORTDOCS%%share/man/man3/bson_json_opts_t.3.gz %%PORTDOCS%%share/man/man3/bson_json_reader_destroy.3.gz %%PORTDOCS%%share/man/man3/bson_json_reader_new.3.gz @@ -445,10 +447,6 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%share/man/man3/bson_json_reader_t.3.gz %%PORTDOCS%%share/man/man3/bson_malloc.3.gz %%PORTDOCS%%share/man/man3/bson_malloc0.3.gz -%%PORTDOCS%%share/man/man3/bson_md5_append.3.gz -%%PORTDOCS%%share/man/man3/bson_md5_finish.3.gz -%%PORTDOCS%%share/man/man3/bson_md5_init.3.gz -%%PORTDOCS%%share/man/man3/bson_md5_t.3.gz %%PORTDOCS%%share/man/man3/bson_mem_restore_vtable.3.gz %%PORTDOCS%%share/man/man3/bson_mem_set_vtable.3.gz %%PORTDOCS%%share/man/man3/bson_memory.3.gz @@ -524,7 +522,6 @@ libdata/pkgconfig/libbson-static-1.0.pc %%PORTDOCS%%share/man/man3/bson_utf8_get_char.3.gz %%PORTDOCS%%share/man/man3/bson_utf8_next_char.3.gz %%PORTDOCS%%share/man/man3/bson_utf8_validate.3.gz -%%PORTDOCS%%share/man/man3/bson_valgrind.3.gz %%PORTDOCS%%share/man/man3/bson_validate.3.gz %%PORTDOCS%%share/man/man3/bson_validate_with_error.3.gz %%PORTDOCS%%share/man/man3/bson_value_copy.3.gz