Index: head/net/Makefile =================================================================== --- head/net/Makefile +++ head/net/Makefile @@ -136,6 +136,7 @@ SUBDIR += exaddos SUBDIR += fb SUBDIR += findmtu + SUBDIR += flower SUBDIR += flowgrep SUBDIR += fonulator SUBDIR += foreman-proxy Index: head/net/flower/Makefile =================================================================== --- head/net/flower/Makefile +++ head/net/flower/Makefile @@ -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 Index: head/net/flower/distinfo =================================================================== --- head/net/flower/distinfo +++ head/net/flower/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1504764102 +SHA256 (NuxiNL-flower-v0.9_GH0.tar.gz) = e712081eb5794245f4e27e591b1a1ea296c1bd6f2941afc2536c04be01355b10 +SIZE (NuxiNL-flower-v0.9_GH0.tar.gz) = 1306944 Index: head/net/flower/pkg-descr =================================================================== --- head/net/flower/pkg-descr +++ head/net/flower/pkg-descr @@ -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 Index: head/net/flower/pkg-plist =================================================================== --- head/net/flower/pkg-plist +++ head/net/flower/pkg-plist @@ -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