pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wasi-libc: Import wasi-libc-v0.1 as wip/wasi-libc-git
Module Name: pkgsrc-wip
Committed By: Dan Cîrnaț <dan%alt.md@localhost>
Pushed By: cirnatdan
Date: Wed Jan 6 16:47:57 2021 +0100
Changeset: c02ed3cbac188385d71dde8205fff576c72f1d59
Added Files:
wasi-libc-git/DESCR
wasi-libc-git/Makefile
wasi-libc-git/PLIST
Log Message:
wasi-libc: Import wasi-libc-v0.1 as wip/wasi-libc-git
WASI libc implementation for WebAssembly
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c02ed3cbac188385d71dde8205fff576c72f1d59
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
wasi-libc-git/DESCR | 4 +
wasi-libc-git/Makefile | 30 +++++++
wasi-libc-git/PLIST | 218 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 252 insertions(+)
diffs:
diff --git a/wasi-libc-git/DESCR b/wasi-libc-git/DESCR
new file mode 100644
index 0000000000..7ee88bafc2
--- /dev/null
+++ b/wasi-libc-git/DESCR
@@ -0,0 +1,4 @@
+WASI Libc is a libc for WebAssembly programs built on top of WASI system
+calls. It provides a wide array of POSIX-compatible C APIs, including
+support for standard I/O, file I/O, filesystem manipulation, memory management,
+ time, string, environment variables, program startup, and many other APIs.
diff --git a/wasi-libc-git/Makefile b/wasi-libc-git/Makefile
new file mode 100644
index 0000000000..6cf083bfa0
--- /dev/null
+++ b/wasi-libc-git/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME= wasi-libc
+PKGNAME= wasi-libc-0.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=WebAssembly/}
+
+GIT_REPOSITORIES= wasi-libc
+GIT_REPO.wasi-libc= https://github.com/WebAssembly/wasi-libc.git
+GIT_BRANCH.wasi-libc= master
+WRKSRC= ${WRKDIR}/wasi-libc
+
+BUILD_DEPENDS+= clang-[0-9]*:../../lang/clang # webassembly backend required
+
+MAINTAINER= dan%alt.md@localhost
+HOMEPAGE= https://wasi.dev/
+COMMENT= WASI libc implementation for WebAssembly
+LICENSE= mit
+
+USE_TOOLS+= gmake
+BUILD_TARGET= default
+
+MAKE_FLAGS+= WASM_CC=${PREFIX}/bin/clang
+MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX}/wasi
+
+post-configure:
+ mkdir ${WRKSRC}/build
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wasi-libc-git/PLIST b/wasi-libc-git/PLIST
new file mode 100644
index 0000000000..20c383c4d8
--- /dev/null
+++ b/wasi-libc-git/PLIST
@@ -0,0 +1,218 @@
+@comment $NetBSD$
+wasi/include/__errno.h
+wasi/include/__errno_values.h
+wasi/include/__fd_set.h
+wasi/include/__function___isatty.h
+wasi/include/__functions_malloc.h
+wasi/include/__functions_memcpy.h
+wasi/include/__header_dirent.h
+wasi/include/__header_fcntl.h
+wasi/include/__header_inttypes.h
+wasi/include/__header_netinet_in.h
+wasi/include/__header_poll.h
+wasi/include/__header_stdlib.h
+wasi/include/__header_string.h
+wasi/include/__header_sys_ioctl.h
+wasi/include/__header_sys_resource.h
+wasi/include/__header_sys_socket.h
+wasi/include/__header_sys_stat.h
+wasi/include/__header_time.h
+wasi/include/__header_unistd.h
+wasi/include/__macro_FD_SETSIZE.h
+wasi/include/__macro_PAGESIZE.h
+wasi/include/__mode_t.h
+wasi/include/__seek.h
+wasi/include/__struct_dirent.h
+wasi/include/__struct_in6_addr.h
+wasi/include/__struct_in_addr.h
+wasi/include/__struct_iovec.h
+wasi/include/__struct_msghdr.h
+wasi/include/__struct_pollfd.h
+wasi/include/__struct_rusage.h
+wasi/include/__struct_sockaddr.h
+wasi/include/__struct_sockaddr_in.h
+wasi/include/__struct_sockaddr_in6.h
+wasi/include/__struct_sockaddr_storage.h
+wasi/include/__struct_sockaddr_un.h
+wasi/include/__struct_stat.h
+wasi/include/__struct_timespec.h
+wasi/include/__struct_timeval.h
+wasi/include/__struct_tm.h
+wasi/include/__struct_tms.h
+wasi/include/__typedef_DIR.h
+wasi/include/__typedef_blkcnt_t.h
+wasi/include/__typedef_blksize_t.h
+wasi/include/__typedef_clock_t.h
+wasi/include/__typedef_clockid_t.h
+wasi/include/__typedef_dev_t.h
+wasi/include/__typedef_fd_set.h
+wasi/include/__typedef_gid_t.h
+wasi/include/__typedef_in_addr_t.h
+wasi/include/__typedef_in_port_t.h
+wasi/include/__typedef_ino_t.h
+wasi/include/__typedef_mode_t.h
+wasi/include/__typedef_nfds_t.h
+wasi/include/__typedef_nlink_t.h
+wasi/include/__typedef_off_t.h
+wasi/include/__typedef_sa_family_t.h
+wasi/include/__typedef_sigset_t.h
+wasi/include/__typedef_socklen_t.h
+wasi/include/__typedef_ssize_t.h
+wasi/include/__typedef_suseconds_t.h
+wasi/include/__typedef_time_t.h
+wasi/include/__typedef_uid_t.h
+wasi/include/alloca.h
+wasi/include/ar.h
+wasi/include/arpa/ftp.h
+wasi/include/arpa/inet.h
+wasi/include/arpa/nameser.h
+wasi/include/arpa/nameser_compat.h
+wasi/include/arpa/telnet.h
+wasi/include/arpa/tftp.h
+wasi/include/assert.h
+wasi/include/bits/alltypes.h
+wasi/include/bits/dirent.h
+wasi/include/bits/fcntl.h
+wasi/include/bits/fenv.h
+wasi/include/bits/float.h
+wasi/include/bits/hwcap.h
+wasi/include/bits/io.h
+wasi/include/bits/ioctl.h
+wasi/include/bits/ioctl_fix.h
+wasi/include/bits/ipcstat.h
+wasi/include/bits/limits.h
+wasi/include/bits/mman.h
+wasi/include/bits/poll.h
+wasi/include/bits/posix.h
+wasi/include/bits/reg.h
+wasi/include/bits/resource.h
+wasi/include/bits/signal.h
+wasi/include/bits/socket.h
+wasi/include/bits/stat.h
+wasi/include/bits/stdint.h
+wasi/include/byteswap.h
+wasi/include/complex.h
+wasi/include/cpio.h
+wasi/include/crypt.h
+wasi/include/ctype.h
+wasi/include/dirent.h
+wasi/include/endian.h
+wasi/include/err.h
+wasi/include/errno.h
+wasi/include/fcntl.h
+wasi/include/features.h
+wasi/include/fenv.h
+wasi/include/float.h
+wasi/include/fmtmsg.h
+wasi/include/fnmatch.h
+wasi/include/ftw.h
+wasi/include/getopt.h
+wasi/include/glob.h
+wasi/include/iconv.h
+wasi/include/ifaddrs.h
+wasi/include/inttypes.h
+wasi/include/iso646.h
+wasi/include/langinfo.h
+wasi/include/libgen.h
+wasi/include/limits.h
+wasi/include/locale.h
+wasi/include/malloc.h
+wasi/include/math.h
+wasi/include/memory.h
+wasi/include/monetary.h
+wasi/include/mqueue.h
+wasi/include/netinet/icmp6.h
+wasi/include/netinet/igmp.h
+wasi/include/netinet/in.h
+wasi/include/netinet/in_systm.h
+wasi/include/netinet/ip.h
+wasi/include/netinet/ip6.h
+wasi/include/netinet/ip_icmp.h
+wasi/include/netinet/tcp.h
+wasi/include/netinet/udp.h
+wasi/include/netpacket/packet.h
+wasi/include/nl_types.h
+wasi/include/poll.h
+wasi/include/regex.h
+wasi/include/sched.h
+wasi/include/search.h
+wasi/include/semaphore.h
+wasi/include/signal.h
+wasi/include/stdalign.h
+wasi/include/stdbool.h
+wasi/include/stdc-predef.h
+wasi/include/stdint.h
+wasi/include/stdio.h
+wasi/include/stdio_ext.h
+wasi/include/stdlib.h
+wasi/include/stdnoreturn.h
+wasi/include/string.h
+wasi/include/strings.h
+wasi/include/stropts.h
+wasi/include/sys/dir.h
+wasi/include/sys/errno.h
+wasi/include/sys/eventfd.h
+wasi/include/sys/fcntl.h
+wasi/include/sys/file.h
+wasi/include/sys/ioctl.h
+wasi/include/sys/mman.h
+wasi/include/sys/param.h
+wasi/include/sys/poll.h
+wasi/include/sys/random.h
+wasi/include/sys/reg.h
+wasi/include/sys/resource.h
+wasi/include/sys/select.h
+wasi/include/sys/signal.h
+wasi/include/sys/socket.h
+wasi/include/sys/stat.h
+wasi/include/sys/stropts.h
+wasi/include/sys/syscall.h
+wasi/include/sys/sysinfo.h
+wasi/include/sys/time.h
+wasi/include/sys/timeb.h
+wasi/include/sys/times.h
+wasi/include/sys/timex.h
+wasi/include/sys/ttydefaults.h
+wasi/include/sys/types.h
+wasi/include/sys/uio.h
+wasi/include/sys/un.h
+wasi/include/sys/utsname.h
+wasi/include/syscall.h
+wasi/include/sysexits.h
+wasi/include/tar.h
+wasi/include/tgmath.h
+wasi/include/threads.h
+wasi/include/time.h
+wasi/include/uchar.h
+wasi/include/unistd.h
+wasi/include/utime.h
+wasi/include/values.h
+wasi/include/wasi/api.h
+wasi/include/wasi/libc-environ.h
+wasi/include/wasi/libc-find-relpath.h
+wasi/include/wasi/libc.h
+wasi/include/wchar.h
+wasi/include/wctype.h
+wasi/lib/wasm32-wasi/crt1-command.o
+wasi/lib/wasm32-wasi/crt1-reactor.o
+wasi/lib/wasm32-wasi/crt1.o
+wasi/lib/wasm32-wasi/libc-printscan-long-double.a
+wasi/lib/wasm32-wasi/libc-printscan-no-floating-point.a
+wasi/lib/wasm32-wasi/libc.a
+wasi/lib/wasm32-wasi/libc.imports
+wasi/lib/wasm32-wasi/libcrypt.a
+wasi/lib/wasm32-wasi/libdl.a
+wasi/lib/wasm32-wasi/libm.a
+wasi/lib/wasm32-wasi/libpthread.a
+wasi/lib/wasm32-wasi/libresolv.a
+wasi/lib/wasm32-wasi/librt.a
+wasi/lib/wasm32-wasi/libutil.a
+wasi/lib/wasm32-wasi/libwasi-emulated-mman.a
+wasi/lib/wasm32-wasi/libwasi-emulated-signal.a
+wasi/lib/wasm32-wasi/libxnet.a
+wasi/share/wasm32-wasi/defined-symbols.txt
+wasi/share/wasm32-wasi/include-all.c
+wasi/share/wasm32-wasi/predefined-macros.txt
+wasi/share/wasm32-wasi/undefined-symbols.txt
+@pkgdir wasi/include/scsi
+@pkgdir wasi/include/net
Home |
Main Index |
Thread Index |
Old Index