Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2017 12:12:52 +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: r449395 - in head/net: . flower
Message-ID:  <201709071212.v87CCqZp024488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <ed@FreeBSD.org>
+# $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 <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}/flower_unittests
+
+.include <bsd.port.post.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709071212.v87CCqZp024488>