svn commit: r390359 - in head/devel: . cloudabi-cloudlibc
Ed Schouten
ed at FreeBSD.org
Tue Jun 23 08:41:57 UTC 2015
Author: ed (src committer)
Date: Tue Jun 23 08:41:55 2015
New Revision: 390359
URL: https://svnweb.freebsd.org/changeset/ports/390359
Log:
Add devel/cloudabi-cloudlibc.
CloudABI uses a C library called cloudlibc. It's similar to a standard
UNIX C library, except that all features that use global namespaces have
been removed. The advantage is that this causes compiler errors when
trying to use existing software, instead of causing it to fail in
unpredictable ways at runtime.
This package installs a copy of cloudlibc for CloudABI/x86-64 (the only
supported platform for now). It is installed in the right place, so that
Clang and Binutils can find the headers/library archives.
Differential Revision: https://reviews.freebsd.org/D2886
Approved by: bapt
Added:
head/devel/cloudabi-cloudlibc/
head/devel/cloudabi-cloudlibc/Makefile (contents, props changed)
head/devel/cloudabi-cloudlibc/distinfo (contents, props changed)
head/devel/cloudabi-cloudlibc/pkg-descr (contents, props changed)
head/devel/cloudabi-cloudlibc/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Jun 23 08:38:00 2015 (r390358)
+++ head/devel/Makefile Tue Jun 23 08:41:55 2015 (r390359)
@@ -249,6 +249,7 @@
SUBDIR += clisp-hyperspec
SUBDIR += clojure-cider
SUBDIR += cloudabi-binutils
+ SUBDIR += cloudabi-cloudlibc
SUBDIR += cmake
SUBDIR += cmake-fedora
SUBDIR += cmake-gui
Added: head/devel/cloudabi-cloudlibc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cloudabi-cloudlibc/Makefile Tue Jun 23 08:41:55 2015 (r390359)
@@ -0,0 +1,31 @@
+# Created by: Ed Schouten <ed at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cloudlibc
+PORTVERSION= 0.1
+CATEGORIES= devel
+MASTER_SITES= https://nuxi.nl/distfiles/cloudlibc/
+PKGNAMEPREFIX= cloudabi-
+
+MAINTAINER= ed at FreeBSD.org
+COMMENT= C library for CloudABI
+
+LICENSE= BSD2CLAUSE
+
+BUILD_DEPENDS= x86_64-unknown-cloudabi-ar:${PORTSDIR}/devel/cloudabi-binutils \
+ x86_64-unknown-cloudabi-cc:${PORTSDIR}/lang/cloudabi-clang
+
+USES= tar:xz
+
+do-build:
+ @cd ${WRKSRC} && \
+ AR=${LOCALBASE}/bin/x86_64-unknown-cloudabi-ar \
+ CC=${LOCALBASE}/bin/x86_64-unknown-cloudabi-cc \
+ ${SH} build
+
+do-install:
+ @cd ${WRKSRC} && \
+ PREFIX=${STAGEDIR}${PREFIX}/x86_64-unknown-cloudabi \
+ ${SH} install
+
+.include <bsd.port.mk>
Added: head/devel/cloudabi-cloudlibc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cloudabi-cloudlibc/distinfo Tue Jun 23 08:41:55 2015 (r390359)
@@ -0,0 +1,2 @@
+SHA256 (cloudlibc-0.1.tar.xz) = e1849c8861148a47bfb193fb063bbf37578a1b1dd64f42a963d849143dac37e4
+SIZE (cloudlibc-0.1.tar.xz) = 617924
Added: head/devel/cloudabi-cloudlibc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cloudabi-cloudlibc/pkg-descr Tue Jun 23 08:41:55 2015 (r390359)
@@ -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.
+
+cloudlibc is a standard C library built on top of CloudABI. It
+implements almost all features of the C11 standard, but also a large
+part of POSIX.1-2008.
+
+WWW: https://github.com/NuxiNL/cloudlibc
Added: head/devel/cloudabi-cloudlibc/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cloudabi-cloudlibc/pkg-plist Tue Jun 23 08:41:55 2015 (r390359)
@@ -0,0 +1,79 @@
+x86_64-unknown-cloudabi/include/_/arch/x86-64/fenv.h
+x86_64-unknown-cloudabi/include/_/arch/x86-64/setjmp.h
+x86_64-unknown-cloudabi/include/_/cdefs.h
+x86_64-unknown-cloudabi/include/_/limits.h
+x86_64-unknown-cloudabi/include/_/struct/in_addr.h
+x86_64-unknown-cloudabi/include/_/struct/iovec.h
+x86_64-unknown-cloudabi/include/_/struct/timespec.h
+x86_64-unknown-cloudabi/include/_/types.h
+x86_64-unknown-cloudabi/include/aio.h
+x86_64-unknown-cloudabi/include/arpa/inet.h
+x86_64-unknown-cloudabi/include/assert.h
+x86_64-unknown-cloudabi/include/complex.h
+x86_64-unknown-cloudabi/include/cpio.h
+x86_64-unknown-cloudabi/include/ctype.h
+x86_64-unknown-cloudabi/include/dirent.h
+x86_64-unknown-cloudabi/include/dlfcn.h
+x86_64-unknown-cloudabi/include/elf.h
+x86_64-unknown-cloudabi/include/errno.h
+x86_64-unknown-cloudabi/include/fcntl.h
+x86_64-unknown-cloudabi/include/fenv.h
+x86_64-unknown-cloudabi/include/float.h
+x86_64-unknown-cloudabi/include/fnmatch.h
+x86_64-unknown-cloudabi/include/iconv.h
+x86_64-unknown-cloudabi/include/inttypes.h
+x86_64-unknown-cloudabi/include/iso646.h
+x86_64-unknown-cloudabi/include/langinfo.h
+x86_64-unknown-cloudabi/include/libgen.h
+x86_64-unknown-cloudabi/include/limits.h
+x86_64-unknown-cloudabi/include/link.h
+x86_64-unknown-cloudabi/include/locale.h
+x86_64-unknown-cloudabi/include/math.h
+x86_64-unknown-cloudabi/include/monetary.h
+x86_64-unknown-cloudabi/include/netdb.h
+x86_64-unknown-cloudabi/include/netinet/in.h
+x86_64-unknown-cloudabi/include/poll.h
+x86_64-unknown-cloudabi/include/program.h
+x86_64-unknown-cloudabi/include/pthread.h
+x86_64-unknown-cloudabi/include/regex.h
+x86_64-unknown-cloudabi/include/sched.h
+x86_64-unknown-cloudabi/include/semaphore.h
+x86_64-unknown-cloudabi/include/setjmp.h
+x86_64-unknown-cloudabi/include/signal.h
+x86_64-unknown-cloudabi/include/stdalign.h
+x86_64-unknown-cloudabi/include/stdarg.h
+x86_64-unknown-cloudabi/include/stdatomic.h
+x86_64-unknown-cloudabi/include/stdbool.h
+x86_64-unknown-cloudabi/include/stddef.h
+x86_64-unknown-cloudabi/include/stdint.h
+x86_64-unknown-cloudabi/include/stdio.h
+x86_64-unknown-cloudabi/include/stdlib.h
+x86_64-unknown-cloudabi/include/stdnoreturn.h
+x86_64-unknown-cloudabi/include/string.h
+x86_64-unknown-cloudabi/include/strings.h
+x86_64-unknown-cloudabi/include/sys/capsicum.h
+x86_64-unknown-cloudabi/include/sys/event.h
+x86_64-unknown-cloudabi/include/sys/mman.h
+x86_64-unknown-cloudabi/include/sys/procdesc.h
+x86_64-unknown-cloudabi/include/sys/socket.h
+x86_64-unknown-cloudabi/include/sys/stat.h
+x86_64-unknown-cloudabi/include/sys/time.h
+x86_64-unknown-cloudabi/include/sys/types.h
+x86_64-unknown-cloudabi/include/sys/uio.h
+x86_64-unknown-cloudabi/include/sys/un.h
+x86_64-unknown-cloudabi/include/syslog.h
+x86_64-unknown-cloudabi/include/tar.h
+x86_64-unknown-cloudabi/include/testing.h
+x86_64-unknown-cloudabi/include/tgmath.h
+x86_64-unknown-cloudabi/include/threads.h
+x86_64-unknown-cloudabi/include/time.h
+x86_64-unknown-cloudabi/include/uchar.h
+x86_64-unknown-cloudabi/include/unistd.h
+x86_64-unknown-cloudabi/include/wchar.h
+x86_64-unknown-cloudabi/include/wctype.h
+x86_64-unknown-cloudabi/lib/crt0.o
+x86_64-unknown-cloudabi/lib/crtbegin.o
+x86_64-unknown-cloudabi/lib/crtend.o
+x86_64-unknown-cloudabi/lib/libc.a
+x86_64-unknown-cloudabi/lib/libm.a
+x86_64-unknown-cloudabi/lib/libpthread.a
More information about the svn-ports-all
mailing list