From owner-svn-ports-head@freebsd.org Thu Feb 8 18:50:44 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3593F1B66E; Thu, 8 Feb 2018 18:50:44 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4656E761AA; Thu, 8 Feb 2018 18:50:44 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 413EB19E13; Thu, 8 Feb 2018 18:50:44 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w18IoitI079115; Thu, 8 Feb 2018 18:50:44 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w18IohNc079108; Thu, 8 Feb 2018 18:50:43 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802081850.w18IohNc079108@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 8 Feb 2018 18:50:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461256 - in head/devel: . tinycbor tinycbor/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . tinycbor tinycbor/files X-SVN-Commit-Revision: 461256 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2018 18:50:45 -0000 Author: sunpoet Date: Thu Feb 8 18:50:43 2018 New Revision: 461256 URL: https://svnweb.freebsd.org/changeset/ports/461256 Log: Add tinycbor 0.5.0 The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation. It is defined in IETF RFC 7049. TinyCBOR is Intel's industrial strength C/C++ implementation of CBOR, as used in the IoTivity framework. WWW: https://github.com/intel/tinycbor Added: head/devel/tinycbor/ head/devel/tinycbor/Makefile (contents, props changed) head/devel/tinycbor/distinfo (contents, props changed) head/devel/tinycbor/files/ head/devel/tinycbor/files/patch-Makefile (contents, props changed) head/devel/tinycbor/files/patch-Makefile.configure (contents, props changed) head/devel/tinycbor/pkg-descr (contents, props changed) head/devel/tinycbor/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Feb 8 18:50:17 2018 (r461255) +++ head/devel/Makefile Thu Feb 8 18:50:43 2018 (r461256) @@ -5997,6 +5997,7 @@ SUBDIR += tig SUBDIR += tigcc SUBDIR += tijmp + SUBDIR += tinycbor SUBDIR += tinylaf SUBDIR += tinyq SUBDIR += tkcon Added: head/devel/tinycbor/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tinycbor/Makefile Thu Feb 8 18:50:43 2018 (r461256) @@ -0,0 +1,30 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= tinycbor +PORTVERSION= 0.5.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Concise Binary Object Representation (CBOR) library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libcjson.so:devel/libcjson + +INSTALL_TARGET= install-strip +MAKE_ARGS= SOVERSION=${PORTVERSION:R:R} +USES= gmake localbase pathfix + +GH_ACCOUNT= intel +GH_PROJECT= tinycbor +USE_GITHUB= yes + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so.${PORTVERSION} + ${LN} -fs libtinycbor.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so + ${LN} -fs libtinycbor.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so.${PORTVERSION:R:R} + +.include Added: head/devel/tinycbor/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tinycbor/distinfo Thu Feb 8 18:50:43 2018 (r461256) @@ -0,0 +1,3 @@ +TIMESTAMP = 1518096628 +SHA256 (intel-tinycbor-v0.5.0_GH0.tar.gz) = 5826a284e7f120a8d2c49cb581702be3e851acb4083a4f5af6112975a8b22209 +SIZE (intel-tinycbor-v0.5.0_GH0.tar.gz) = 111948 Added: head/devel/tinycbor/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tinycbor/files/patch-Makefile Thu Feb 8 18:50:43 2018 (r461256) @@ -0,0 +1,11 @@ +--- Makefile.orig 2018-01-30 22:21:35 UTC ++++ Makefile +@@ -103,7 +103,7 @@ ifneq ($(cjson-pass)$(system-cjson-pass) + JSON2CBOR_SOURCES = tools/json2cbor/json2cbor.c + INSTALL_TARGETS += $(bindir)/json2cbor + ifeq ($(system-cjson-pass),1) +- LDFLAGS_CJSON = -lcjson ++ LDFLAGS_CJSON = -L$(LOCALBASE)/lib -lcjson + else + JSON2CBOR_SOURCES += src/cjson/cJSON.c + json2cbor_CCFLAGS = -I$(SRCDIR)src/cjson Added: head/devel/tinycbor/files/patch-Makefile.configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tinycbor/files/patch-Makefile.configure Thu Feb 8 18:50:43 2018 (r461256) @@ -0,0 +1,11 @@ +--- Makefile.configure.orig 2018-01-30 22:21:35 UTC ++++ Makefile.configure +@@ -14,7 +14,7 @@ PROGRAM-cjson += \#include &2 Please run from the top-level Makefile. Added: head/devel/tinycbor/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tinycbor/pkg-descr Thu Feb 8 18:50:43 2018 (r461256) @@ -0,0 +1,9 @@ +The Concise Binary Object Representation (CBOR) is a data format whose design +goals include the possibility of extremely small code size, fairly small message +size, and extensibility without the need for version negotiation. It is defined +in IETF RFC 7049. + +TinyCBOR is Intel's industrial strength C/C++ implementation of CBOR, as used in +the IoTivity framework. + +WWW: https://github.com/intel/tinycbor Added: head/devel/tinycbor/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tinycbor/pkg-plist Thu Feb 8 18:50:43 2018 (r461256) @@ -0,0 +1,9 @@ +bin/cbordump +bin/json2cbor +include/tinycbor/cbor.h +include/tinycbor/cborjson.h +lib/libtinycbor.a +lib/libtinycbor.so +lib/libtinycbor.so.0 +lib/libtinycbor.so.0.5.0 +libdata/pkgconfig/tinycbor.pc