From owner-svn-ports-all@freebsd.org Mon Jul 13 12:26:42 2015 Return-Path: Delivered-To: svn-ports-all@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 B1B1A999977; Mon, 13 Jul 2015 12:26:42 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 8C3B283E; Mon, 13 Jul 2015 12:26:42 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6DCQfKH090079; Mon, 13 Jul 2015 12:26:41 GMT (envelope-from ed@FreeBSD.org) Received: (from ed@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6DCQeqW090072; Mon, 13 Jul 2015 12:26:40 GMT (envelope-from ed@FreeBSD.org) Message-Id: <201507131226.t6DCQeqW090072@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ed set sender to ed@FreeBSD.org using -f From: Ed Schouten Date: Mon, 13 Jul 2015 12:26:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391894 - in head/sysutils: . cloudabi-utils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 12:26:42 -0000 Author: ed (src committer) Date: Mon Jul 13 12:26:40 2015 New Revision: 391894 URL: https://svnweb.freebsd.org/changeset/ports/391894 Log: Add sysutils/cloudabi-utils. Summary: Though CloudABI programs can simply be started from the command line like any UNIX process, the preferred way for starting them is using the cloudabi-run utility. cloudabi-run parses a YAML file that contains the configuration for the program that you want to run. Special tags can be used in the YAML file to indicate that the program depends on a resources (a socket or a file). cloudabi-run then attempts to obtain these resources and startes the program for you. The end result is that it's possible to build software that looks like traditional UNIX software (executable + config file), but still gets run in this completely sandboxed environment. Reviewers: bapt Reviewed By: bapt Differential Revision: https://reviews.freebsd.org/D3067 Added: head/sysutils/cloudabi-utils/ head/sysutils/cloudabi-utils/Makefile (contents, props changed) head/sysutils/cloudabi-utils/distinfo (contents, props changed) head/sysutils/cloudabi-utils/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Jul 13 12:14:06 2015 (r391893) +++ head/sysutils/Makefile Mon Jul 13 12:26:40 2015 (r391894) @@ -134,6 +134,7 @@ SUBDIR += clone SUBDIR += clonehdd SUBDIR += cloop-utils + SUBDIR += cloudabi-utils SUBDIR += clsync SUBDIR += cmdwatch SUBDIR += cmockery2 Added: head/sysutils/cloudabi-utils/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/cloudabi-utils/Makefile Mon Jul 13 12:26:40 2015 (r391894) @@ -0,0 +1,37 @@ +# Created by: Ed Schouten +# $FreeBSD$ + +PORTNAME= cloudabi-utils +PORTVERSION= 0.2 +CATEGORIES= sysutils +MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/ + +MAINTAINER= ed@FreeBSD.org +COMMENT= Utilities for running CloudABI programs + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= cloudabi-toolchain>=0:${PORTSDIR}/devel/cloudabi-toolchain +LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml + +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures + +USES= tar:xz + +PLIST_FILES= bin/cloudabi-run \ + libexec/cloudabi-reexec \ + man/man1/cloudabi-run.1.gz + +do-build: + @cd ${WRKSRC} && \ + PREFIX=${LOCALBASE} \ + CLOUDABI_CC=${LOCALBASE}/bin/x86_64-unknown-cloudabi-cc \ + ${SH} build + +do-install: + @cd ${WRKSRC} && \ + PREFIX=${STAGEDIR}${PREFIX} \ + ${SH} install + +.include Added: head/sysutils/cloudabi-utils/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/cloudabi-utils/distinfo Mon Jul 13 12:26:40 2015 (r391894) @@ -0,0 +1,2 @@ +SHA256 (cloudabi-utils-0.2.tar.xz) = 210a15563d7019597b5a5a1b171803c23b4aa57c6fb9bab138d033232710f90e +SIZE (cloudabi-utils-0.2.tar.xz) = 12704 Added: head/sysutils/cloudabi-utils/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/cloudabi-utils/pkg-descr Mon Jul 13 12:26:40 2015 (r391894) @@ -0,0 +1,11 @@ +Nuxi CloudABI is an application binary interface for UNIX-like operating +systems built around the concept of capability-based security. In a +nutshell, it means that you can run processes directly on top of a UNIX +kernel while keeping complete control over the actions the process is +allowed to perform. + +This package installs utilities that are useful when running CloudABI +processes. The cloudabi-run utility can run CloudABI processes, +providing it the resources (sockets and files) that it requires. + +WWW: https://github.com/NuxiNL/cloudabi-utils