diff options
author | Ed Schouten <ed@FreeBSD.org> | 2017-09-08 22:35:32 +0800 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2017-09-08 22:35:32 +0800 |
commit | 295a657e3af5b85a2efb9acacc3037efefa0819a (patch) | |
tree | 63f9a9142b4f3d13235a11601b63cf192e6f91ac /sysutils | |
parent | 4d30a45c98495130a3bb17e0f0be13bfed36115a (diff) | |
download | freebsd-ports-gnome-295a657e3af5b85a2efb9acacc3037efefa0819a.tar.gz freebsd-ports-gnome-295a657e3af5b85a2efb9acacc3037efefa0819a.tar.zst freebsd-ports-gnome-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
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cloudabi-utils/Makefile | 29 | ||||
-rw-r--r-- | sysutils/cloudabi-utils/distinfo | 6 |
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 |