1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Upgrade cloudabi-utils to the latest version.

The latest version of cloudabi-run now includes an emulator for running
CloudABI executables. Though this emulator has been primarily developed
for Mac OS X, it also works reasonably well on FreeBSD. This means that
FreeBSD users can now experiment with CloudABI even on FreeBSD <11.

The new version of cloudabi-utils now depends on an additional package,
simply called cloudabi. This package installs a set of headers that
describe the actual binary interface that programs can use.

Reviewed by:	beat
Differential Revision:	https://reviews.freebsd.org/D6056
This commit is contained in:
Ed Schouten 2016-04-22 10:50:27 +00:00
parent 2140691265
commit 1502a385bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413771
8 changed files with 56 additions and 5 deletions

View File

@ -270,6 +270,7 @@
SUBDIR += clinfo
SUBDIR += clisp-hyperspec
SUBDIR += clojure-cider
SUBDIR += cloudabi
SUBDIR += cloudabi-binutils-aarch64
SUBDIR += cloudabi-binutils-x86_64
SUBDIR += cloudabi-toolchain

22
devel/cloudabi/Makefile Normal file
View File

@ -0,0 +1,22 @@
# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$
PORTNAME= cloudabi
PORTVERSION= 0.6
DISTVERSIONPREFIX=v
CATEGORIES= devel
MAINTAINER= ed@FreeBSD.org
COMMENT= Constants, types and data structures used by CloudABI
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= NuxiNL
NO_BUILD= yes
do-install:
${INSTALL_DATA} ${WRKSRC}/headers/* ${STAGEDIR}${PREFIX}/include/
.include <bsd.port.mk>

2
devel/cloudabi/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (NuxiNL-cloudabi-v0.6_GH0.tar.gz) = 2b3e1ad30e4af3d2cb5560fb25d2bc9d328db7d1ad1f648dbd4bb8dbb3effb50
SIZE (NuxiNL-cloudabi-v0.6_GH0.tar.gz) = 111250

11
devel/cloudabi/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Nuxi CloudABI is an application binary interface for UNIX-like operating
systems built around the concept of capability-based security. In a
nutshell, it means that you can run processes directly on top of a UNIX
kernel while keeping complete control over the actions the process is
allowed to perform.
This port installs a set of header files that contain the definitions
that describe the ABI itself: all of the constants, types, structures
and system calls.
WWW: https://github.com/NuxiNL/cloudabi

10
devel/cloudabi/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
include/cloudabi32_types.h
include/cloudabi64_types.h
include/cloudabi_syscalls.h
include/cloudabi_syscalls_info.h
include/cloudabi_syscalls_native.h
include/cloudabi_syscalls_native_aarch64.h
include/cloudabi_syscalls_native_x86_64.h
include/cloudabi_syscalls_struct.h
include/cloudabi_types.h
include/cloudabi_types_common.h

View File

@ -2,17 +2,21 @@
# $FreeBSD$
PORTNAME= cloudabi-utils
PORTVERSION= 0.7
PORTVERSION= 0.9
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/
MAINTAINER= ed@FreeBSD.org
COMMENT= Utilities for running CloudABI programs
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/include/cloudabi_types.h:devel/cloudabi
LIB_DEPENDS= libyaml.so:textproc/libyaml
USE_GITHUB= yes
GH_ACCOUNT= NuxiNL
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures
@ -20,6 +24,7 @@ USES= cmake compiler:c11 pkgconfig tar:xz
USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man
CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.pre.mk>

View File

@ -1,2 +1,2 @@
SHA256 (cloudabi-utils-0.7.tar.xz) = 193b115ca195ec56c24679916d7b38f8566a0a49b26b057e1567f1bbfb9ae5a2
SIZE (cloudabi-utils-0.7.tar.xz) = 24496
SHA256 (NuxiNL-cloudabi-utils-v0.9_GH0.tar.gz) = 947346fc15b14bd338613c292897ed9e597d9e1ed5469b64c92962bb9c90635d
SIZE (NuxiNL-cloudabi-utils-v0.9_GH0.tar.gz) = 2044153

View File

@ -2,6 +2,6 @@ bin/cloudabi-run
include/cloudabi/argdata.h
include/cloudabi/program.h
lib/libcloudabi.so
lib/libcloudabi.so.0
lib/libcloudabi.so.1
libexec/cloudabi-reexec
man/man1/cloudabi-run.1.gz