libcbor: update to 0.8.0 This is an ABI breaking update so security/libfido2 must also be updated. v0.8.0 BREAKING: Fix cbor_tag_item not increasing the reference count on the tagged item reference it returns [Fixes #109] (discovered bt JohnGilmour) BREAKING: CBOR_DECODER_EBUFFER removed from cbor_decoder_status Fixed several minor manpage issues [#159] (discovered by kloczek@) v0.7.0 Fix bad encoding of NaN half-floats [Fixes #53] (discovered by BSipos-RKF) Fix potentially bad encoding of negative half-float with exponent < -14 [Fixes #112] (discovered by yami36) BREAKING: Improved bool support [Fixes #63] Fix memory_allocation_test breaking the build without CBOR_CUSTOM_ALLOC [Fixes #128] (by panlinux) Fix a potential build issue where cJSON includes may be misconfigured Breaking: Add a limit on the size of the decoding context stack (by James-ZHANG) Enable LTO/IPO based on CheckIPOSupported [#143] (by xanderlent) v0.6.1 Fix bad shared library version number v0.6.0 Correctly set .so version [Fixes #52]. Fix & prevent heap overflow error in example code [#74] [#76] (by @nevun) Correctly set OSX dynamic library version [Fixes #75] Fix misplaced 0xFF bytes in maps possibly causing memory corruption BREAKING: Fix handling & cleanup of failed memory allocation in constructor and builder helper functions [Fixes #84] Globally enforced code style [Fixes #83] Fix issue possible memory corruption bug on repeated cbor_(byte)string_add_chunk calls with intermittently failing realloc calls Fix possibly misaligned reads and writes when endian.h is uses or when running on a big-endian machine [Fixes #99, #100]diff -r1.2 -r1.3 pkgsrc/devel/libcbor/Makefile
(tnn)
@@ -1,19 +1,20 @@ | @@ -1,19 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2019/11/03 10:39:15 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2020/10/22 20:19:39 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= libcbor | 3 | DISTNAME= libcbor-0.8.0 | |
4 | PKGNAME= libcbor-${VERSION} | |||
5 | VERSION= 0.5.0 | |||
6 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=PJK/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=PJK/} | |
8 | GITHUB_TAG= v${VERSION} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
9 | 7 | |||
10 | MAINTAINER= pkgsrc-users@pkgsrc.org | 8 | MAINTAINER= pkgsrc-users@pkgsrc.org | |
11 | HOMEPAGE= https://github.com/PJK/libcbor | 9 | HOMEPAGE= https://github.com/PJK/libcbor | |
12 | COMMENT= Parsing and generate schema-less binary data format | 10 | COMMENT= Parsing and generate schema-less binary data format | |
13 | LICENSE= mit | 11 | LICENSE= mit | |
14 | 12 | |||
15 | USE_LANGUAGES+= c c++ | 13 | USE_LANGUAGES+= c c++ | |
16 | USE_CMAKE= yes | 14 | USE_CMAKE= yes | |
17 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
16 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | |||
17 | ||||
18 | CHECK_PORTABILITY_SKIP+= misc/hooks/* | |||
18 | 19 | |||
19 | .include "../../mk/bsd.pkg.mk" | 20 | .include "../../mk/bsd.pkg.mk" |
@@ -1,27 +1,27 @@ | @@ -1,27 +1,27 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2019/08/23 17:14:45 agc Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2020/10/22 20:19:39 tnn Exp $ | |
2 | include/cbor.h | 2 | include/cbor.h | |
3 | include/cbor/arrays.h | 3 | include/cbor/arrays.h | |
4 | include/cbor/bytestrings.h | 4 | include/cbor/bytestrings.h | |
5 | include/cbor/callbacks.h | 5 | include/cbor/callbacks.h | |
6 | include/cbor/cbor_export.h | |||
6 | include/cbor/common.h | 7 | include/cbor/common.h | |
7 | include/cbor/configuration.h | 8 | include/cbor/configuration.h | |
8 | include/cbor/data.h | 9 | include/cbor/data.h | |
9 | include/cbor/encoding.h | 10 | include/cbor/encoding.h | |
10 | include/cbor/floats_ctrls.h | 11 | include/cbor/floats_ctrls.h | |
11 | include/cbor/internal/builder_callbacks.h | 12 | include/cbor/internal/builder_callbacks.h | |
12 | include/cbor/internal/encoders.h | 13 | include/cbor/internal/encoders.h | |
13 | include/cbor/internal/loaders.h | 14 | include/cbor/internal/loaders.h | |
14 | include/cbor/internal/memory_utils.h | 15 | include/cbor/internal/memory_utils.h | |
15 | include/cbor/internal/stack.h | 16 | include/cbor/internal/stack.h | |
16 | include/cbor/internal/unicode.h | 17 | include/cbor/internal/unicode.h | |
17 | include/cbor/ints.h | 18 | include/cbor/ints.h | |
18 | include/cbor/maps.h | 19 | include/cbor/maps.h | |
19 | include/cbor/serialization.h | 20 | include/cbor/serialization.h | |
20 | include/cbor/streaming.h | 21 | include/cbor/streaming.h | |
21 | include/cbor/strings.h | 22 | include/cbor/strings.h | |
22 | include/cbor/tags.h | 23 | include/cbor/tags.h | |
23 | lib/libcbor.a | |||
24 | lib/libcbor.so | 24 | lib/libcbor.so | |
25 | lib/libcbor.so.0 | 25 | lib/libcbor.so.0.8 | |
26 | lib/libcbor.so.0.0.0 | 26 | lib/libcbor.so.${PKGVERSION} | |
27 | lib/pkgconfig/libcbor.pc | 27 | lib/pkgconfig/libcbor.pc |
@@ -1,14 +1,12 @@ | @@ -1,14 +1,12 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.1 2020/08/19 16:25:19 riastradh Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.2 2020/10/22 20:19:39 tnn Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= libcbor | 3 | BUILDLINK_TREE+= libcbor | |
4 | 4 | |||
5 | .if !defined(LIBCBOR_BUILDLINK_MK) | 5 | .if !defined(LIBCBOR_BUILDLINK3_MK) | |
6 | LIBCBOR_BUILDLINK_MK:= | 6 | LIBCBOR_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.libcbor+= libcbor>=0.5.0 | 8 | BUILDLINK_API_DEPENDS.libcbor+= libcbor>=0.8.0 | |
9 | BUILDLINK_ABI_DEPENDS.libcbor+= libcbor>=0.5.0 | |||
10 | BUILDLINK_PKGSRCDIR.libcbor?= ../../devel/libcbor | 9 | BUILDLINK_PKGSRCDIR.libcbor?= ../../devel/libcbor | |
11 | 10 | .endif # LIBCBOR_BUILDLINK3_MK | ||
12 | .endif # LIBCBOR_BUILDLINK_MK | |||
13 | 11 | |||
14 | BUILDLINK_TREE+= -libcbor | 12 | BUILDLINK_TREE+= -libcbor |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.1 2019/08/23 17:14:45 agc Exp $ | 1 | $NetBSD: distinfo,v 1.2 2020/10/22 20:19:39 tnn Exp $ | |
2 | 2 | |||
3 | SHA1 (libcbor.tar.gz) = 1d03ae595a02929861dd2735b2abe20cacaaa707 | 3 | SHA1 (libcbor-0.8.0.tar.gz) = 7ef8ab1d41973da933b27516b3398cbdeade6cb1 | |
4 | RMD160 (libcbor.tar.gz) = 7ccc6309a1757a53ecb7b197c1b3704cd9f38ee3 | 4 | RMD160 (libcbor-0.8.0.tar.gz) = ddd307e64b50f2a777a88e89e10e3891571226a2 | |
5 | SHA512 (libcbor.tar.gz) = 5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c | 5 | SHA512 (libcbor-0.8.0.tar.gz) = 694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc | |
6 | Size (libcbor.tar.gz) = 719348 bytes | 6 | Size (libcbor-0.8.0.tar.gz) = 267044 bytes |