Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2020 20:01:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549487 - in head/devel/libcbor: . files
Message-ID:  <202009212001.08LK1iol068772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Sep 21 20:01:43 2020
New Revision: 549487
URL: https://svnweb.freebsd.org/changeset/ports/549487

Log:
  Update to 0.8.0
  
  Changes:	https://github.com/PJK/libcbor/releases

Modified:
  head/devel/libcbor/Makefile
  head/devel/libcbor/distinfo
  head/devel/libcbor/files/patch-src-CMakeLists.txt
  head/devel/libcbor/pkg-plist

Modified: head/devel/libcbor/Makefile
==============================================================================
--- head/devel/libcbor/Makefile	Mon Sep 21 19:47:50 2020	(r549486)
+++ head/devel/libcbor/Makefile	Mon Sep 21 20:01:43 2020	(r549487)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libcbor
-PORTVERSION=	0.7.0
+PORTVERSION=	0.8.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libcjson.so:devel/libcjson
 USES=		cmake
 
 CMAKE_OFF=	CBOR_CUSTOM_ALLOC COVERAGE HUGE_FUZZ PRINT_FUZZ SANE_MALLOC SANITIZE WITH_EXAMPLES WITH_TESTS
-CMAKE_ON=	CBOR_PRETTY_PRINTER
+CMAKE_ON=	BUILD_SHARED_LIBS CBOR_PRETTY_PRINTER
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 

Modified: head/devel/libcbor/distinfo
==============================================================================
--- head/devel/libcbor/distinfo	Mon Sep 21 19:47:50 2020	(r549486)
+++ head/devel/libcbor/distinfo	Mon Sep 21 20:01:43 2020	(r549487)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588013482
-SHA256 (PJK-libcbor-v0.7.0_GH0.tar.gz) = fb731afe0a9980581d85e4b8d4ef128b175f782d92e0cd898935f3d26dd3dde7
-SIZE (PJK-libcbor-v0.7.0_GH0.tar.gz) = 266323
+TIMESTAMP = 1600709920
+SHA256 (PJK-libcbor-v0.8.0_GH0.tar.gz) = 618097166ea4a54499646998ccaa949a5816e6a665cf1d6df383690895217c8b
+SIZE (PJK-libcbor-v0.8.0_GH0.tar.gz) = 267044

Modified: head/devel/libcbor/files/patch-src-CMakeLists.txt
==============================================================================
--- head/devel/libcbor/files/patch-src-CMakeLists.txt	Mon Sep 21 19:47:50 2020	(r549486)
+++ head/devel/libcbor/files/patch-src-CMakeLists.txt	Mon Sep 21 20:01:43 2020	(r549487)
@@ -1,7 +1,7 @@
---- src/CMakeLists.txt.orig	2020-03-26 21:12:22 UTC
+--- src/CMakeLists.txt.orig	2020-09-20 17:15:03 UTC
 +++ src/CMakeLists.txt
-@@ -23,12 +23,12 @@ set_target_properties(cbor_shared PROPERTIES
- 		OUTPUT_NAME cbor
+@@ -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})
@@ -9,9 +9,3 @@
  
  configure_file(libcbor.pc.in libcbor.pc @ONLY)
  
- # http://www.cmake.org/Wiki/CMake:Install_Commands
--install(TARGETS cbor_shared
-+install(TARGETS cbor cbor_shared
- 	ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
- 	LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- 	RUNTIME DESTINATION bin)

Modified: head/devel/libcbor/pkg-plist
==============================================================================
--- head/devel/libcbor/pkg-plist	Mon Sep 21 19:47:50 2020	(r549486)
+++ head/devel/libcbor/pkg-plist	Mon Sep 21 20:01:43 2020	(r549487)
@@ -2,6 +2,7 @@ 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
@@ -19,7 +20,6 @@ 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.%%PORTVERSION%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009212001.08LK1iol068772>