Date: Thu, 7 Sep 2017 05:53:27 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449385 - in head/devel: . arpc Message-ID: <201709070553.v875rRF8069974@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed (src committer) Date: Thu Sep 7 05:53:27 2017 New Revision: 449385 URL: https://svnweb.freebsd.org/changeset/ports/449385 Log: Add a package for ARPC. ARPC is an RPC library similar to GRPC. Though a lot simpler than GRPC featurewise, it has transparent support for file descriptor passing. ARPC is used by some applications related to CloudABI, like Flower (CloudABI's networking daemon). Reviewed by: riggs Differential Revision: https://reviews.freebsd.org/D12103 Added: head/devel/arpc/ head/devel/arpc/Makefile (contents, props changed) head/devel/arpc/distinfo (contents, props changed) head/devel/arpc/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Sep 7 04:58:25 2017 (r449384) +++ head/devel/Makefile Thu Sep 7 05:53:27 2017 (r449385) @@ -133,6 +133,7 @@ SUBDIR += arm-none-eabi-gdb SUBDIR += arm-none-eabi-newlib SUBDIR += aros-sdk + SUBDIR += arpc SUBDIR += art SUBDIR += artifactory SUBDIR += as31 Added: head/devel/arpc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arpc/Makefile Thu Sep 7 05:53:27 2017 (r449385) @@ -0,0 +1,39 @@ +# Created by: Ed Schouten <ed@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= arpc +DISTVERSIONPREFIX= v +DISTVERSION= 0.5 +CATEGORIES= devel + +MAINTAINER= ed@FreeBSD.org +COMMENT= GRPC-like RPC library that supports file descriptor passing + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyPEG2>=2.15.2:textproc/py3-pyPEG2 \ + ${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py3-toposort +LIB_DEPENDS= libargdata.so:devel/argdata +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyPEG2>=2.15.2:textproc/py3-pyPEG2 \ + ${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py3-toposort + +USES= cmake localbase:ldflags python:3 tar:xz +USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= NuxiNL + +PLIST_FILES= bin/aprotoc include/arpc++/arpc++.h \ + lib/libarpc.so lib/libarpc.so.1 + +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100511 +IGNORE= requires various C++17 features +.endif + +# Require the unit tests to pass prior to installing. +post-build: + @trap '' PIPE && ${WRKSRC}/arpc_tests + +.include <bsd.port.post.mk> Added: head/devel/arpc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arpc/distinfo Thu Sep 7 05:53:27 2017 (r449385) @@ -0,0 +1,3 @@ +TIMESTAMP = 1502895324 +SHA256 (NuxiNL-arpc-v0.5_GH0.tar.gz) = 754853d37d83138e62f23eff95be8b3fa200238387d83e83453e6a5519458bed +SIZE (NuxiNL-arpc-v0.5_GH0.tar.gz) = 1301060 Added: head/devel/arpc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arpc/pkg-descr Thu Sep 7 05:53:27 2017 (r449385) @@ -0,0 +1,10 @@ +ARPC is a GRPC-like library that supports file descriptor passing. + +ARPC ships with a script, aprotoc, that works similar to Protobuf/GRPC's +protoc. It generates message and service bindings, taking a .proto file +as an input. Where ARPC differs from GRPC is that messages may contain +file descriptors. These file descriptors are passed on to the remote +side transparently. This makes ARPC useful for implementing privilege +separation between processes. + +WWW: https://github.com/NuxiNL/arpc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709070553.v875rRF8069974>