aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cloudabi-utils
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2017-09-08 14:35:32 +0000
committerEd Schouten <ed@FreeBSD.org>2017-09-08 14:35:32 +0000
commit295a657e3af5b85a2efb9acacc3037efefa0819a (patch)
tree63f9a9142b4f3d13235a11601b63cf192e6f91ac /sysutils/cloudabi-utils
parent4d30a45c98495130a3bb17e0f0be13bfed36115a (diff)
downloadports-295a657e3af5b85a2efb9acacc3037efefa0819a.tar.gz
ports-295a657e3af5b85a2efb9acacc3037efefa0819a.zip
Upgrade cloudabi-utils and related packages to the latest version.
Now that we have ARPC, Flower and yaml2argdata packaged, we can conclude this series of commits by upgrading cloudabi-utils to the latest upstream version again. This version of cloudabi-utils now has integrated support for starting sandboxed processes that perform network communication using Flower. As cloudabi-utils has partially been rewritten in C++, drop the dependency on libyaml. We now make use of yaml-cpp. Also apply some minor cleanups (e.g., use DISTVERISON as opposed to PORTVERSION). Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D12265
Notes
Notes: svn path=/head/; revision=449457
Diffstat (limited to 'sysutils/cloudabi-utils')
-rw-r--r--sysutils/cloudabi-utils/Makefile29
-rw-r--r--sysutils/cloudabi-utils/distinfo6
2 files changed, 21 insertions, 14 deletions
diff --git a/sysutils/cloudabi-utils/Makefile b/sysutils/cloudabi-utils/Makefile
index 22d814d56542..fd9117dede3e 100644
--- a/sysutils/cloudabi-utils/Makefile
+++ b/sysutils/cloudabi-utils/Makefile
@@ -2,28 +2,35 @@
# $FreeBSD$
PORTNAME= cloudabi-utils
-PORTVERSION= 0.26
-DISTVERSIONPREFIX=v
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.30
CATEGORIES= sysutils
MAINTAINER= ed@FreeBSD.org
COMMENT= Utilities for running CloudABI programs
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${LOCALBASE}/include/cloudabi_types.h:devel/cloudabi
+ONLY_FOR_ARCHS= aarch64 amd64 armv6 i386
+ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures
+
+BUILD_DEPENDS= ${LOCALBASE}/include/cloudabi_types.h:devel/cloudabi \
+ ${LOCALBASE}/include/flower/protocol/switchboard.ad.h:net/flower \
+ ${LOCALBASE}/include/yaml2argdata/yaml_builder.h:devel/yaml2argdata
LIB_DEPENDS= libargdata.so:devel/argdata \
- libyaml.so:textproc/libyaml
+ libarpc.so:devel/arpc \
+ libyaml-cpp.so:devel/yaml-cpp
+USES= cmake localbase:ldflags pkgconfig tar:xz
+USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= NuxiNL
-ONLY_FOR_ARCHS= aarch64 amd64 armv6 i386
-ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures
-
-USES= cmake compiler:c11 pkgconfig tar:xz
-USE_LDCONFIG= yes
+.include <bsd.port.pre.mk>
-CFLAGS+= -I${LOCALBASE}/include
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100511
+IGNORE= requires various C++17 features
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/cloudabi-utils/distinfo b/sysutils/cloudabi-utils/distinfo
index 27f65d912b00..3bd5376a78d9 100644
--- a/sysutils/cloudabi-utils/distinfo
+++ b/sysutils/cloudabi-utils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1500995361
-SHA256 (NuxiNL-cloudabi-utils-v0.26_GH0.tar.gz) = b48449fa0623b71a25f365a2b7e7f938190d33825113c8948b19f0b9ceac350c
-SIZE (NuxiNL-cloudabi-utils-v0.26_GH0.tar.gz) = 227599
+TIMESTAMP = 1504787087
+SHA256 (NuxiNL-cloudabi-utils-v0.30_GH0.tar.gz) = 7e1483348b322dec8ce1d31202e9d635dbfdfa3a1e46f0675b5e997aa28c0a93
+SIZE (NuxiNL-cloudabi-utils-v0.30_GH0.tar.gz) = 221541