From owner-svn-ports-head@freebsd.org Thu Apr 12 12:39:42 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 4FD6FF9227E; Thu, 12 Apr 2018 12:39:42 +0000 (UTC) (envelope-from amdmi3@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 F3F407B3BB; Thu, 12 Apr 2018 12:39:41 +0000 (UTC) (envelope-from amdmi3@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 ED33A324A; Thu, 12 Apr 2018 12:39:41 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3CCdf2T094333; Thu, 12 Apr 2018 12:39:41 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3CCdfEa094328; Thu, 12 Apr 2018 12:39:41 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201804121239.w3CCdfEa094328@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 12 Apr 2018 12:39:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467151 - in head/devel: . protozero X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/devel: . protozero X-SVN-Commit-Revision: 467151 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, 12 Apr 2018 12:39:42 -0000 Author: amdmi3 Date: Thu Apr 12 12:39:41 2018 New Revision: 467151 URL: https://svnweb.freebsd.org/changeset/ports/467151 Log: - Add devel/protozero (needed for devel/osmium update) Minimalistic protocol buffer decoder and encoder in C++. Designed for high performance. Suitable for writing zero copy parsers and encoders with minimal need for run-time allocation of memory. Low-level: this is designed to be a building block for writing a very customized decoder for a stable protobuf schema. If your protobuf schema is changing frequently or lazy decoding is not critical for your application then this approach offers no value: just use the C++ API that can be generated with the Google Protobufs protoc program. WWW: https://github.com/mapbox/protozero Added: head/devel/protozero/ head/devel/protozero/Makefile (contents, props changed) head/devel/protozero/distinfo (contents, props changed) head/devel/protozero/pkg-descr (contents, props changed) head/devel/protozero/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Apr 12 12:38:23 2018 (r467150) +++ head/devel/Makefile Thu Apr 12 12:39:41 2018 (r467151) @@ -4136,6 +4136,7 @@ SUBDIR += protobuf SUBDIR += protobuf-c SUBDIR += protobuf25 + SUBDIR += protozero SUBDIR += pructl SUBDIR += psptoolchain SUBDIR += psptoolchain-binutils Added: head/devel/protozero/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/protozero/Makefile Thu Apr 12 12:39:41 2018 (r467151) @@ -0,0 +1,35 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= protozero +PORTVERSION= 1.6.2 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Minimalist protocol buffer decoder and encoder in C++ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USE_GITHUB= yes +GH_ACCOUNT= mapbox + +USES= cmake +TEST_TARGET= test +NO_ARCH= yes # header only library + +PORTDOCS= CHANGELOG.md README.md UPGRADING.md + +OPTIONS_DEFINE= DOCS TEST +OPTIONS_DEFAULT= TEST # no additional runtime reps +TEST_DESC= Enable additional tests, requires protobuf at build time +TEST_BUILD_DEPENDS= protoc:devel/protobuf + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ +.endfor + +.include Added: head/devel/protozero/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/protozero/distinfo Thu Apr 12 12:39:41 2018 (r467151) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522871786 +SHA256 (mapbox-protozero-v1.6.2_GH0.tar.gz) = 1196441f98932c219e5684248249c5fd404023843b0a862034d5daf24eb74433 +SIZE (mapbox-protozero-v1.6.2_GH0.tar.gz) = 1063745 Added: head/devel/protozero/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/protozero/pkg-descr Thu Apr 12 12:39:41 2018 (r467151) @@ -0,0 +1,13 @@ +Minimalistic protocol buffer decoder and encoder in C++. + +Designed for high performance. Suitable for writing zero copy parsers +and encoders with minimal need for run-time allocation of memory. + +Low-level: this is designed to be a building block for writing a +very customized decoder for a stable protobuf schema. If your +protobuf schema is changing frequently or lazy decoding is not +critical for your application then this approach offers no value: +just use the C++ API that can be generated with the Google Protobufs +protoc program. + +WWW: https://github.com/mapbox/protozero Added: head/devel/protozero/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/protozero/pkg-plist Thu Apr 12 12:39:41 2018 (r467151) @@ -0,0 +1,12 @@ +include/protozero/byteswap.hpp +include/protozero/config.hpp +include/protozero/data_view.hpp +include/protozero/exception.hpp +include/protozero/iterators.hpp +include/protozero/pbf_builder.hpp +include/protozero/pbf_message.hpp +include/protozero/pbf_reader.hpp +include/protozero/pbf_writer.hpp +include/protozero/types.hpp +include/protozero/varint.hpp +include/protozero/version.hpp