Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2016 10:50:28 +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: r413771 - in head: devel devel/cloudabi sysutils/cloudabi-utils
Message-ID:  <201604221050.u3MAoSQD086144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed (src committer)
Date: Fri Apr 22 10:50:27 2016
New Revision: 413771
URL: https://svnweb.freebsd.org/changeset/ports/413771

Log:
  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

Added:
  head/devel/cloudabi/
  head/devel/cloudabi/Makefile   (contents, props changed)
  head/devel/cloudabi/distinfo   (contents, props changed)
  head/devel/cloudabi/pkg-descr   (contents, props changed)
  head/devel/cloudabi/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile
  head/sysutils/cloudabi-utils/Makefile
  head/sysutils/cloudabi-utils/distinfo
  head/sysutils/cloudabi-utils/pkg-plist

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Apr 22 09:50:42 2016	(r413770)
+++ head/devel/Makefile	Fri Apr 22 10:50:27 2016	(r413771)
@@ -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

Added: head/devel/cloudabi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cloudabi/Makefile	Fri Apr 22 10:50:27 2016	(r413771)
@@ -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>

Added: head/devel/cloudabi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cloudabi/distinfo	Fri Apr 22 10:50:27 2016	(r413771)
@@ -0,0 +1,2 @@
+SHA256 (NuxiNL-cloudabi-v0.6_GH0.tar.gz) = 2b3e1ad30e4af3d2cb5560fb25d2bc9d328db7d1ad1f648dbd4bb8dbb3effb50
+SIZE (NuxiNL-cloudabi-v0.6_GH0.tar.gz) = 111250

Added: head/devel/cloudabi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cloudabi/pkg-descr	Fri Apr 22 10:50:27 2016	(r413771)
@@ -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

Added: head/devel/cloudabi/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cloudabi/pkg-plist	Fri Apr 22 10:50:27 2016	(r413771)
@@ -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

Modified: head/sysutils/cloudabi-utils/Makefile
==============================================================================
--- head/sysutils/cloudabi-utils/Makefile	Fri Apr 22 09:50:42 2016	(r413770)
+++ head/sysutils/cloudabi-utils/Makefile	Fri Apr 22 10:50:27 2016	(r413771)
@@ -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:
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR=man
+CFLAGS+=	-I${LOCALBASE}/include
 
 .include <bsd.port.pre.mk>
 

Modified: head/sysutils/cloudabi-utils/distinfo
==============================================================================
--- head/sysutils/cloudabi-utils/distinfo	Fri Apr 22 09:50:42 2016	(r413770)
+++ head/sysutils/cloudabi-utils/distinfo	Fri Apr 22 10:50:27 2016	(r413771)
@@ -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

Modified: head/sysutils/cloudabi-utils/pkg-plist
==============================================================================
--- head/sysutils/cloudabi-utils/pkg-plist	Fri Apr 22 09:50:42 2016	(r413770)
+++ head/sysutils/cloudabi-utils/pkg-plist	Fri Apr 22 10:50:27 2016	(r413771)
@@ -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



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