From owner-svn-ports-head@freebsd.org Thu Sep 7 12:12:54 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 A22B2E1B8C8; Thu, 7 Sep 2017 12:12:54 +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 2DE2483CCE; Thu, 7 Sep 2017 12:12:54 +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 v87CCr8M024493; Thu, 7 Sep 2017 12:12:53 GMT (envelope-from ed@FreeBSD.org) Received: (from ed@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v87CCqZp024488; Thu, 7 Sep 2017 12:12:52 GMT (envelope-from ed@FreeBSD.org) Message-Id: <201709071212.v87CCqZp024488@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ed set sender to ed@FreeBSD.org using -f From: Ed Schouten Date: Thu, 7 Sep 2017 12:12:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449395 - in head/net: . flower X-SVN-Group: ports-head X-SVN-Commit-Author: ed X-SVN-Commit-Paths: in head/net: . flower X-SVN-Commit-Revision: 449395 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: Thu, 07 Sep 2017 12:12:54 -0000 Author: ed (src committer) Date: Thu Sep 7 12:12:52 2017 New Revision: 449395 URL: https://svnweb.freebsd.org/changeset/ports/449395 Log: Add net/flower. The latest versions of CloudABI make use of a separate daemon to facilitate connecting/listening on the network, called Flower. Add a package for this daemon, as it is a build dependency for the latest version of cloudabi-utils. Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D12264 Added: head/net/flower/ head/net/flower/Makefile (contents, props changed) head/net/flower/distinfo (contents, props changed) head/net/flower/pkg-descr (contents, props changed) head/net/flower/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Thu Sep 7 12:10:52 2017 (r449394) +++ head/net/Makefile Thu Sep 7 12:12:52 2017 (r449395) @@ -136,6 +136,7 @@ SUBDIR += exaddos SUBDIR += fb SUBDIR += findmtu + SUBDIR += flower SUBDIR += flowgrep SUBDIR += fonulator SUBDIR += foreman-proxy Added: head/net/flower/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/flower/Makefile Thu Sep 7 12:12:52 2017 (r449395) @@ -0,0 +1,34 @@ +# Created by: Ed Schouten +# $FreeBSD$ + +PORTNAME= flower +DISTVERSIONPREFIX= v +DISTVERSION= 0.9 +CATEGORIES= net + +MAINTAINER= ed@FreeBSD.org +COMMENT= Label-based networking daemon + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libarpc.so:devel/arpc \ + libjsoncpp.so:devel/jsoncpp + +USES= cmake localbase:ldflags tar:xz +USE_GITHUB= yes +GH_ACCOUNT= NuxiNL + +CFLAGS+= -I${LOCALBASE}/include/jsoncpp + +.include + +.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}/flower_unittests + +.include Added: head/net/flower/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/flower/distinfo Thu Sep 7 12:12:52 2017 (r449395) @@ -0,0 +1,3 @@ +TIMESTAMP = 1504764102 +SHA256 (NuxiNL-flower-v0.9_GH0.tar.gz) = e712081eb5794245f4e27e591b1a1ea296c1bd6f2941afc2536c04be01355b10 +SIZE (NuxiNL-flower-v0.9_GH0.tar.gz) = 1306944 Added: head/net/flower/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/flower/pkg-descr Thu Sep 7 12:12:52 2017 (r449395) @@ -0,0 +1,13 @@ +Flower is a label-based networking daemon. + +CloudABI applications are not permitted to call bind or connect on +sockets directly, as that would conflict with CloudABI's security model. +Instead, they can send RPCs to fulfill such requests to a separate +daemon, called Flower. + +Like CloudABI, Flower makes use of a capability-based security model. +This makes it easy to spawn applications in such a way that they can +only have a limited view of the network, without requiring separate +users or complex access control policies. + +WWW: https://github.com/NuxiNL/flower Added: head/net/flower/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/flower/pkg-plist Thu Sep 7 12:12:52 2017 (r449395) @@ -0,0 +1,19 @@ +bin/flower_cat +bin/flower_egress_connect +bin/flower_ingress_accept +bin/flower_resolver_getaddrinfo +bin/flower_switchboard +include/flower/cat/configuration.proto +include/flower/cat/configuration.ad.h +include/flower/ingress/accept/configuration.proto +include/flower/ingress/accept/configuration.ad.h +include/flower/protocol/egress.proto +include/flower/protocol/egress.ad.h +include/flower/protocol/resolver.proto +include/flower/protocol/resolver.ad.h +include/flower/protocol/server.proto +include/flower/protocol/server.ad.h +include/flower/protocol/switchboard.proto +include/flower/protocol/switchboard.ad.h +include/flower/switchboard/configuration.proto +include/flower/switchboard/configuration.ad.h