diff options
author | tnn <tnn@pkgsrc.org> | 2020-10-22 20:19:39 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2020-10-22 20:19:39 +0000 |
commit | 03b0d5d0332f867b2bc5339b61ebd582003fc2e4 (patch) | |
tree | 4d07ce8da37be10a9b6fc5feb91798e1556500dc /devel/libcbor | |
parent | 74db16c247051ef90b4eb299047ddd9ad8b9c772 (diff) | |
download | pkgsrc-03b0d5d0332f867b2bc5339b61ebd582003fc2e4.tar.gz |
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]
Diffstat (limited to 'devel/libcbor')
-rw-r--r-- | devel/libcbor/Makefile | 11 | ||||
-rw-r--r-- | devel/libcbor/PLIST | 8 | ||||
-rw-r--r-- | devel/libcbor/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/libcbor/distinfo | 10 |
4 files changed, 20 insertions, 21 deletions
diff --git a/devel/libcbor/Makefile b/devel/libcbor/Makefile index 7d828e5e94b..b09ad785d47 100644 --- a/devel/libcbor/Makefile +++ b/devel/libcbor/Makefile @@ -1,11 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2019/11/03 10:39:15 rillig Exp $ +# $NetBSD: Makefile,v 1.3 2020/10/22 20:19:39 tnn Exp $ -DISTNAME= libcbor -PKGNAME= libcbor-${VERSION} -VERSION= 0.5.0 +DISTNAME= libcbor-0.8.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=PJK/} -GITHUB_TAG= v${VERSION} +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@pkgsrc.org HOMEPAGE= https://github.com/PJK/libcbor @@ -15,5 +13,8 @@ LICENSE= mit USE_LANGUAGES+= c c++ USE_CMAKE= yes USE_TOOLS+= pkg-config +CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON + +CHECK_PORTABILITY_SKIP+= misc/hooks/* .include "../../mk/bsd.pkg.mk" diff --git a/devel/libcbor/PLIST b/devel/libcbor/PLIST index 64924cd6f6b..184b811651b 100644 --- a/devel/libcbor/PLIST +++ b/devel/libcbor/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2019/08/23 17:14:45 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/10/22 20:19:39 tnn Exp $ include/cbor.h include/cbor/arrays.h include/cbor/bytestrings.h include/cbor/callbacks.h +include/cbor/cbor_export.h include/cbor/common.h include/cbor/configuration.h include/cbor/data.h @@ -20,8 +21,7 @@ include/cbor/serialization.h include/cbor/streaming.h include/cbor/strings.h include/cbor/tags.h -lib/libcbor.a lib/libcbor.so -lib/libcbor.so.0 -lib/libcbor.so.0.0.0 +lib/libcbor.so.0.8 +lib/libcbor.so.${PKGVERSION} lib/pkgconfig/libcbor.pc diff --git a/devel/libcbor/buildlink3.mk b/devel/libcbor/buildlink3.mk index db91b3935a9..bcd28f8c16b 100644 --- a/devel/libcbor/buildlink3.mk +++ b/devel/libcbor/buildlink3.mk @@ -1,14 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.1 2020/08/19 16:25:19 riastradh Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2020/10/22 20:19:39 tnn Exp $ BUILDLINK_TREE+= libcbor -.if !defined(LIBCBOR_BUILDLINK_MK) -LIBCBOR_BUILDLINK_MK:= +.if !defined(LIBCBOR_BUILDLINK3_MK) +LIBCBOR_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.libcbor+= libcbor>=0.5.0 -BUILDLINK_ABI_DEPENDS.libcbor+= libcbor>=0.5.0 +BUILDLINK_API_DEPENDS.libcbor+= libcbor>=0.8.0 BUILDLINK_PKGSRCDIR.libcbor?= ../../devel/libcbor - -.endif # LIBCBOR_BUILDLINK_MK +.endif # LIBCBOR_BUILDLINK3_MK BUILDLINK_TREE+= -libcbor diff --git a/devel/libcbor/distinfo b/devel/libcbor/distinfo index dc45973e41f..8b4140ee24f 100644 --- a/devel/libcbor/distinfo +++ b/devel/libcbor/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2019/08/23 17:14:45 agc Exp $ +$NetBSD: distinfo,v 1.2 2020/10/22 20:19:39 tnn Exp $ -SHA1 (libcbor.tar.gz) = 1d03ae595a02929861dd2735b2abe20cacaaa707 -RMD160 (libcbor.tar.gz) = 7ccc6309a1757a53ecb7b197c1b3704cd9f38ee3 -SHA512 (libcbor.tar.gz) = 5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c -Size (libcbor.tar.gz) = 719348 bytes +SHA1 (libcbor-0.8.0.tar.gz) = 7ef8ab1d41973da933b27516b3398cbdeade6cb1 +RMD160 (libcbor-0.8.0.tar.gz) = ddd307e64b50f2a777a88e89e10e3891571226a2 +SHA512 (libcbor-0.8.0.tar.gz) = 694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc +Size (libcbor-0.8.0.tar.gz) = 267044 bytes |