git: 70bc456235d8 - main - devel/libcbor: Update to 0.12.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Apr 2025 14:00:38 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=70bc456235d8f1fa5d96ebf7837ee72ba736d9f4
commit 70bc456235d8f1fa5d96ebf7837ee72ba736d9f4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-09 13:54:20 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-09 13:54:20 +0000
devel/libcbor: Update to 0.12.0
Changes: https://github.com/PJK/libcbor/releases
---
devel/libcbor/Makefile | 2 +-
devel/libcbor/distinfo | 6 +++---
devel/libcbor/files/patch-src-CMakeLists.txt | 18 +++++++++---------
devel/libcbor/pkg-plist | 2 ++
4 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/devel/libcbor/Makefile b/devel/libcbor/Makefile
index 65154979da2a..6e9fd56750fb 100644
--- a/devel/libcbor/Makefile
+++ b/devel/libcbor/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libcbor
-PORTVERSION= 0.11.0
+PORTVERSION= 0.12.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
diff --git a/devel/libcbor/distinfo b/devel/libcbor/distinfo
index c6810eb4c066..943febab56b0 100644
--- a/devel/libcbor/distinfo
+++ b/devel/libcbor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708448900
-SHA256 (PJK-libcbor-v0.11.0_GH0.tar.gz) = 89e0a83d16993ce50651a7501355453f5250e8729dfc8d4a251a78ea23bb26d7
-SIZE (PJK-libcbor-v0.11.0_GH0.tar.gz) = 293563
+TIMESTAMP = 1742405442
+SHA256 (PJK-libcbor-v0.12.0_GH0.tar.gz) = 5368add109db559f546d7ed10f440f39a273b073daa8da4abffc83815069fa7f
+SIZE (PJK-libcbor-v0.12.0_GH0.tar.gz) = 294856
diff --git a/devel/libcbor/files/patch-src-CMakeLists.txt b/devel/libcbor/files/patch-src-CMakeLists.txt
index 9f0cea9eb640..66d7bece4669 100644
--- a/devel/libcbor/files/patch-src-CMakeLists.txt
+++ b/devel/libcbor/files/patch-src-CMakeLists.txt
@@ -1,11 +1,11 @@
---- src/CMakeLists.txt.orig 2020-09-20 17:15:03 UTC
+--- src/CMakeLists.txt.orig 2025-03-16 19:29:33 UTC
+++ src/CMakeLists.txt
-@@ -26,7 +26,7 @@ endif()
- set_target_properties(cbor PROPERTIES
- VERSION ${CBOR_VERSION}
- MACHO_COMPATIBILITY_VERSION ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR}.0
-- SOVERSION ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR})
-+ SOVERSION ${CBOR_VERSION_MAJOR})
-
- configure_file(libcbor.pc.in libcbor.pc @ONLY)
+@@ -62,7 +62,7 @@ set_target_properties(
+ PROPERTIES VERSION ${CBOR_VERSION}
+ MACHO_COMPATIBILITY_VERSION
+ ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR}.0
+- SOVERSION ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR})
++ SOVERSION ${CBOR_VERSION_MAJOR})
+ join_paths(libdir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_LIBDIR}")
+ join_paths(includedir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_INCLUDEDIR}")
diff --git a/devel/libcbor/pkg-plist b/devel/libcbor/pkg-plist
index 215865deaefa..2d3669f157c2 100644
--- a/devel/libcbor/pkg-plist
+++ b/devel/libcbor/pkg-plist
@@ -22,6 +22,8 @@ include/cbor/strings.h
include/cbor/tags.h
lib/cmake/libcbor/libcborConfig.cmake
lib/cmake/libcbor/libcborConfigVersion.cmake
+lib/cmake/libcbor/libcborTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/libcbor/libcborTargets.cmake
lib/libcbor.so
lib/libcbor.so.0
lib/libcbor.so.%%PORTVERSION%%