Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2019 23:25:09 +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: r493014 - in head/devel: . libcbor
Message-ID:  <201902152325.x1FNP9BN034117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Feb 15 23:25:09 2019
New Revision: 493014
URL: https://svnweb.freebsd.org/changeset/ports/493014

Log:
  Add libcbor 0.5.0
  
  libcbor is a C library for parsing and generating CBOR, the general-purpose
  schema-less binary data format.
  
  Main features:
  - Complete RFC conformance
  - Robust C99 implementation
  - Layered architecture offers both control and convenience
  - Flexible memory management
  - No shared global state - threading friendly
  - Proper handling of UTF-8
  - Full support for streams & incremental processing
  - Extensive documentation and test suite
  - No runtime dependencies, small footprint
  
  WWW: http://libcbor.org/

Added:
  head/devel/libcbor/
  head/devel/libcbor/Makefile   (contents, props changed)
  head/devel/libcbor/distinfo   (contents, props changed)
  head/devel/libcbor/pkg-descr   (contents, props changed)
  head/devel/libcbor/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Feb 15 23:22:05 2019	(r493013)
+++ head/devel/Makefile	Fri Feb 15 23:25:09 2019	(r493014)
@@ -1382,6 +1382,7 @@
     SUBDIR += libbonobo-reference
     SUBDIR += libbson
     SUBDIR += libburn
+    SUBDIR += libcbor
     SUBDIR += libccid
     SUBDIR += libcfg
     SUBDIR += libcfu

Added: head/devel/libcbor/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libcbor/Makefile	Fri Feb 15 23:25:09 2019	(r493014)
@@ -0,0 +1,28 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libcbor
+PORTVERSION=	0.5.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	CBOR protocol implementation for C and others
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libcjson.so:devel/libcjson
+
+USES=		cmake
+
+CMAKE_OFF=	CBOR_CUSTOM_ALLOC COVERAGE HUGE_FUZZ PRINT_FUZZ SANE_MALLOC WITH_TESTS
+CMAKE_ON=	CBOR_PRETTY_PRINTER
+
+GH_ACCOUNT=	PJK
+USE_GITHUB=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-flto||; /subdirs(examples)/d' ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>

Added: head/devel/libcbor/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libcbor/distinfo	Fri Feb 15 23:25:09 2019	(r493014)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550248218
+SHA256 (PJK-libcbor-v0.5.0_GH0.tar.gz) = 9bbec94bb385bad3cd2f65482e5d343ddb97e9ffe261123ea0faa3bfea51d320
+SIZE (PJK-libcbor-v0.5.0_GH0.tar.gz) = 719348

Added: head/devel/libcbor/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libcbor/pkg-descr	Fri Feb 15 23:25:09 2019	(r493014)
@@ -0,0 +1,15 @@
+libcbor is a C library for parsing and generating CBOR, the general-purpose
+schema-less binary data format.
+
+Main features:
+- Complete RFC conformance
+- Robust C99 implementation
+- Layered architecture offers both control and convenience
+- Flexible memory management
+- No shared global state - threading friendly
+- Proper handling of UTF-8
+- Full support for streams & incremental processing
+- Extensive documentation and test suite
+- No runtime dependencies, small footprint
+
+WWW: http://libcbor.org/

Added: head/devel/libcbor/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libcbor/pkg-plist	Fri Feb 15 23:25:09 2019	(r493014)
@@ -0,0 +1,26 @@
+include/cbor.h
+include/cbor/arrays.h
+include/cbor/bytestrings.h
+include/cbor/callbacks.h
+include/cbor/common.h
+include/cbor/configuration.h
+include/cbor/data.h
+include/cbor/encoding.h
+include/cbor/floats_ctrls.h
+include/cbor/internal/builder_callbacks.h
+include/cbor/internal/encoders.h
+include/cbor/internal/loaders.h
+include/cbor/internal/memory_utils.h
+include/cbor/internal/stack.h
+include/cbor/internal/unicode.h
+include/cbor/ints.h
+include/cbor/maps.h
+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
+libdata/pkgconfig/libcbor.pc



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