pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libcbor libcbor: update to 0.8.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/4902bd36b1f8
branches: trunk
changeset: 440974:4902bd36b1f8
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Oct 22 20:19:39 2020 +0000
description:
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:
devel/libcbor/Makefile | 11 ++++++-----
devel/libcbor/PLIST | 8 ++++----
devel/libcbor/buildlink3.mk | 12 +++++-------
devel/libcbor/distinfo | 10 +++++-----
4 files changed, 20 insertions(+), 21 deletions(-)
diffs (90 lines):
diff -r be465b8d3e0e -r 4902bd36b1f8 devel/libcbor/Makefile
--- a/devel/libcbor/Makefile Thu Oct 22 18:15:41 2020 +0000
+++ b/devel/libcbor/Makefile Thu Oct 22 20:19:39 2020 +0000
@@ -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@localhost
HOMEPAGE= https://github.com/PJK/libcbor
@@ -15,5 +13,8 @@
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 -r be465b8d3e0e -r 4902bd36b1f8 devel/libcbor/PLIST
--- a/devel/libcbor/PLIST Thu Oct 22 18:15:41 2020 +0000
+++ b/devel/libcbor/PLIST Thu Oct 22 20:19:39 2020 +0000
@@ -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/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 -r be465b8d3e0e -r 4902bd36b1f8 devel/libcbor/buildlink3.mk
--- a/devel/libcbor/buildlink3.mk Thu Oct 22 18:15:41 2020 +0000
+++ b/devel/libcbor/buildlink3.mk Thu Oct 22 20:19:39 2020 +0000
@@ -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 -r be465b8d3e0e -r 4902bd36b1f8 devel/libcbor/distinfo
--- a/devel/libcbor/distinfo Thu Oct 22 18:15:41 2020 +0000
+++ b/devel/libcbor/distinfo Thu Oct 22 20:19:39 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index