svn commit: r449342 - in head/devel: . yaml2argdata
Ed Schouten
ed at FreeBSD.org
Wed Sep 6 12:00:29 UTC 2017
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 <ed at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= yaml2argdata
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.3
+CATEGORIES= devel
+
+MAINTAINER= ed at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list