From ebc93d4d5561df49e643474aa1e6950e4744abcd Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 4 Feb 2024 08:16:38 +0000 Subject: [PATCH] libcbor: updated to 0.11.0 0.11.0 (2024-02-04) --------------------- - [Updated documentation to refer to RFC 8949](https://github.com/PJK/libcbor/issues/269) - Improvements to `cbor_describe` - [Bytestring data will now be printed as well](https://github.com/PJK/libcbor/pull/281) by [akallabeth](https://github.com/akallabeth) - [Formatting consistency and clarity improvements](https://github.com/PJK/libcbor/pull/285) - [Fix `cbor_string_set_handle` not setting the codepoint count](https://github.com/PJK/libcbor/pull/286) - BREAKING: [`cbor_load` will no longer fail on input strings that are well-formed but not valid UTF-8](https://github.com/PJK/libcbor/pull/286) - If you were relying on the validation, please check the result using `cbor_string_codepoint_count` instead - BREAKING: [All decoders like `cbor_load` and `cbor_stream_decode` will accept all well-formed tag values](https://github.com/PJK/libcbor/pull/308) (bug discovered by [dskern-github](https://github.com/dskern-github)) - Previously, decoding of certain values would fail with `CBOR_ERR_MALFORMATED` or `CBOR_DECODER_ERROR` - This also makes decoding symmetrical with serialization, which already accepts all values --- devel/libcbor/Makefile | 8 ++++---- devel/libcbor/PLIST | 4 +++- devel/libcbor/distinfo | 8 ++++---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/devel/libcbor/Makefile b/devel/libcbor/Makefile index 029d577eeafd..6e716b4ec83f 100644 --- a/devel/libcbor/Makefile +++ b/devel/libcbor/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2023/03/15 14:34:45 adam Exp $ +# $NetBSD: Makefile,v 1.9 2024/02/04 08:16:38 adam Exp $ -DISTNAME= libcbor-0.10.2 +DISTNAME= libcbor-0.11.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=PJK/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -10,11 +10,11 @@ HOMEPAGE= https://github.com/PJK/libcbor COMMENT= Parsing and generate schema-less binary data format LICENSE= mit -USE_LANGUAGES+= c c++ -USE_CMAKE= yes +USE_LANGUAGES= c c++ CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON CMAKE_ARGS+= -DWITH_EXAMPLES=OFF CHECK_PORTABILITY_SKIP+= misc/hooks/* +.include "../../devel/cmake/build.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/libcbor/PLIST b/devel/libcbor/PLIST index 93cf3e9da793..bf47af8d072a 100644 --- a/devel/libcbor/PLIST +++ b/devel/libcbor/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2023/03/15 14:34:45 adam Exp $ +@comment $NetBSD: PLIST,v 1.5 2024/02/04 08:16:38 adam Exp $ include/cbor.h include/cbor/arrays.h include/cbor/bytestrings.h @@ -21,6 +21,8 @@ include/cbor/serialization.h include/cbor/streaming.h include/cbor/strings.h include/cbor/tags.h +lib/cmake/libcbor/libcborConfig.cmake +lib/cmake/libcbor/libcborConfigVersion.cmake lib/libcbor.so lib/libcbor.so.${PKGVERSION} lib/libcbor.so.0.10 diff --git a/devel/libcbor/distinfo b/devel/libcbor/distinfo index 3990c00b2248..a58981780f68 100644 --- a/devel/libcbor/distinfo +++ b/devel/libcbor/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2023/03/15 14:34:45 adam Exp $ +$NetBSD: distinfo,v 1.7 2024/02/04 08:16:38 adam Exp $ -BLAKE2s (libcbor-0.10.2.tar.gz) = faf8b2890531b674f24ecf856cfc04ab3e3a067f6ca6eb0dc4100d4356713cdc -SHA512 (libcbor-0.10.2.tar.gz) = 23c6177443778d4b4833ec7ed0d0e639a0d4863372e3a38d772fdce2673eae6d5cb2a31a2a021d1a699082ea53494977c907fd0e94149b97cb23a4b6d039228a -Size (libcbor-0.10.2.tar.gz) = 289450 bytes +BLAKE2s (libcbor-0.11.0.tar.gz) = e5c08054f24264452f1cc01247a14809089c9bb22eb7587e2d56a42ad38b725a +SHA512 (libcbor-0.11.0.tar.gz) = c14aaa55c0c82e09b9eb2cc6847951d1bac8a081a247776c507d5450367da5717b1056bad09fb0f0178311de8754e8f89c060e0fc0f400fafdc42de441421e66 +Size (libcbor-0.11.0.tar.gz) = 293563 bytes