From owner-svn-ports-head@freebsd.org Wed Sep 6 12:00:29 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39813E238BA; Wed, 6 Sep 2017 12:00:29 +0000 (UTC) (envelope-from ed@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 mx1.freebsd.org (Postfix) with ESMTPS id E6D5C6887F; Wed, 6 Sep 2017 12:00:28 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v86C0RC5026521; Wed, 6 Sep 2017 12:00:27 GMT (envelope-from ed@FreeBSD.org) Received: (from ed@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v86C0RZa026516; Wed, 6 Sep 2017 12:00:27 GMT (envelope-from ed@FreeBSD.org) Message-Id: <201709061200.v86C0RZa026516@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ed set sender to ed@FreeBSD.org using -f From: Ed Schouten Date: Wed, 6 Sep 2017 12:00:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449342 - in head/devel: . yaml2argdata X-SVN-Group: ports-head X-SVN-Commit-Author: ed X-SVN-Commit-Paths: in head/devel: . yaml2argdata X-SVN-Commit-Revision: 449342 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.23 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: Wed, 06 Sep 2017 12:00:29 -0000 Author: ed (src committer) Date: Wed Sep 6 12:00:27 2017 New Revision: 449342 URL: https://svnweb.freebsd.org/changeset/ports/449342 Log: New port: devel/yaml2argdata. The latest release of cloudabi-utils has cloudabi-run rewritten from C into C++. It now also has integrated support for attaching processes to CloudABI's networking daemon, Flower. In the process, code specific to parsing YAML configuration files describing process configuration and resource dependencies has been placed into a separate library, called yaml2argdata. This has the advantage that this code can now be used by CloudABI's Kubernetes daemon as well. Add a package for it, so sysutils/cloudabi-utils can make use of it when we bump it. Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D12164 Added: head/devel/yaml2argdata/ head/devel/yaml2argdata/Makefile (contents, props changed) head/devel/yaml2argdata/distinfo (contents, props changed) head/devel/yaml2argdata/pkg-descr (contents, props changed) head/devel/yaml2argdata/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Sep 6 11:49:43 2017 (r449341) +++ head/devel/Makefile Wed Sep 6 12:00:27 2017 (r449342) @@ -6060,6 +6060,7 @@ SUBDIR += yajl-tcl SUBDIR += yaml-cpp SUBDIR += yaml-cpp03 + SUBDIR += yaml2argdata SUBDIR += yasm SUBDIR += yasm-devel SUBDIR += z80-asm Added: head/devel/yaml2argdata/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/yaml2argdata/Makefile Wed Sep 6 12:00:27 2017 (r449342) @@ -0,0 +1,28 @@ +# Created by: Ed Schouten +# $FreeBSD$ + +PORTNAME= yaml2argdata +DISTVERSIONPREFIX= v +DISTVERSION= 0.3 +CATEGORIES= devel + +MAINTAINER= ed@FreeBSD.org +COMMENT= Helper classes for parsing YAML into Argdata + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= argdata>=0:devel/argdata \ + yaml-cpp>=0:devel/yaml-cpp + +USE_GITHUB= yes +GH_ACCOUNT= NuxiNL + +NO_BUILD= yes + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} + cd ${WRKSRC}/${PORTNAME} && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME} + +.include Added: head/devel/yaml2argdata/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/yaml2argdata/distinfo Wed Sep 6 12:00:27 2017 (r449342) @@ -0,0 +1,3 @@ +TIMESTAMP = 1504099311 +SHA256 (NuxiNL-yaml2argdata-v0.3_GH0.tar.gz) = 8b4d3bba51d0c7944dfe4c7d8c9cc8e49cb99f5b538195cc53ef49fd95519909 +SIZE (NuxiNL-yaml2argdata-v0.3_GH0.tar.gz) = 4116 Added: head/devel/yaml2argdata/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/yaml2argdata/pkg-descr Wed Sep 6 12:00:27 2017 (r449342) @@ -0,0 +1,15 @@ +Argdata is a binary serialisation format similar to FreeBSD's nvlists. +It differs from nvlists in that it uses data types that are more similar +to YAML. + +Argdata is used by CloudABI as a replacement for string command line +arguments and environment variables. CloudABI processes can start new +processes by passing them a YAML-like tree of arguments, having file +descriptors of resources annotated to the tree. + +This package provides a series of helper classes that are used by +utilities like cloudabi-run to parse and translate YAML to Argdata. +These classes are useful when building custom utilities for launching +CloudABI processes, such as CloudABI's Kubernetes daemon. + +WWW: https://github.com/NuxiNL/yaml2argdata Added: head/devel/yaml2argdata/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/yaml2argdata/pkg-plist Wed Sep 6 12:00:27 2017 (r449342) @@ -0,0 +1,5 @@ +include/yaml2argdata/yaml_argdata_factory.h +include/yaml2argdata/yaml_builder.h +include/yaml2argdata/yaml_canonicalizing_factory.h +include/yaml2argdata/yaml_error_factory.h +include/yaml2argdata/yaml_factory.h