Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2018 12:39:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467151 - in head/devel: . protozero
Message-ID:  <201804121239.w3CCdfEa094328@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <amdmi3@FreeBSD.org>
+# $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 <bsd.port.mk>

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



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