Skip to content

Commit

Permalink
libcbor: updated to 0.11.0
Browse files Browse the repository at this point in the history
0.11.0 (2024-02-04)
---------------------
- [Updated documentation to refer to RFC 8949](PJK/libcbor#269)
- Improvements to `cbor_describe`
  - [Bytestring data will now be printed as well](PJK/libcbor#281) by  [akallabeth](https://github.com/akallabeth)
  - [Formatting consistency and clarity improvements](PJK/libcbor#285)
- [Fix `cbor_string_set_handle` not setting the codepoint count](PJK/libcbor#286)
- BREAKING: [`cbor_load` will no longer fail on input strings that are well-formed but not valid UTF-8](PJK/libcbor#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](PJK/libcbor#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
  • Loading branch information
adam committed Feb 4, 2024
1 parent a41f3f2 commit ebc93d4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions devel/libcbor/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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"
4 changes: 3 additions & 1 deletion devel/libcbor/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions devel/libcbor/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ebc93d4

Please sign in to comment.