FreeBSD Bugzilla – Attachment 242980 Details for
Bug 272195
[NEW PORT] devel/wasmer WebAssembly Runtime supporting WASIX, WASI and Emscripten
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for new port devel/wasmer
0001-devel-wasmer-add-port.patch (text/plain), 3.27 KB, created by
Krešimir Jozić
on 2023-06-25 00:22:01 UTC
(
hide
)
Description:
Patch for new port devel/wasmer
Filename:
MIME Type:
Creator:
Krešimir Jozić
Created:
2023-06-25 00:22:01 UTC
Size:
3.27 KB
patch
obsolete
>From 32c4708cde453217ce580e768396293541007fc9 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Kre=C5=A1imir=20Jozi=C4=87?= <kjozic@gmail.com> >Date: Sun, 25 Jun 2023 02:18:04 +0200 >Subject: [PATCH] devel/wasmer: add port > >--- > devel/wasmer/Makefile | 27 +++++++++++++++++++++++++++ > devel/wasmer/distinfo | 3 +++ > devel/wasmer/files/patch-Makefile | 11 +++++++++++ > devel/wasmer/pkg-descr | 11 +++++++++++ > devel/wasmer/pkg-plist | 1 + > 5 files changed, 53 insertions(+) > create mode 100644 devel/wasmer/Makefile > create mode 100644 devel/wasmer/distinfo > create mode 100644 devel/wasmer/files/patch-Makefile > create mode 100644 devel/wasmer/pkg-descr > create mode 100644 devel/wasmer/pkg-plist > >diff --git a/devel/wasmer/Makefile b/devel/wasmer/Makefile >new file mode 100644 >index 000000000000..931a8ce2b4e0 >--- /dev/null >+++ b/devel/wasmer/Makefile >@@ -0,0 +1,27 @@ >+PORTNAME= wasmer >+DISTVERSIONPREFIX= v >+DISTVERSION= 4.0.0 >+CATEGORIES= devel >+ >+MAINTAINER= kjozic@gmail.com >+COMMENT= WebAssembly Runtime supporting WASIX, WASI and Emscripten >+WWW= https://wasmer.io/ >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+ONLY_FOR_ARCHS= aarch64 amd64 >+ONLY_FOR_ARCHS_REASON= only aarch64 and amd64 are supported so far >+ >+BUILD_DEPENDS= rust>=1.67.0:lang/rust >+ >+USES= gmake >+USE_GITHUB= yes >+GH_ACCOUNT= wasmerio >+ >+ALL_TARGET= build-wasmer >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/wasmer ${STAGEDIR}${PREFIX}/bin/ >+ >+.include <bsd.port.mk> >diff --git a/devel/wasmer/distinfo b/devel/wasmer/distinfo >new file mode 100644 >index 000000000000..40f7bc91e087 >--- /dev/null >+++ b/devel/wasmer/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1687627001 >+SHA256 (wasmerio-wasmer-v4.0.0_GH0.tar.gz) = fcac7573c6c54e8bed8e2ec9dc3d3973ce1fa949c6c1956b3b6bf7e27bb186bb >+SIZE (wasmerio-wasmer-v4.0.0_GH0.tar.gz) = 49629253 >diff --git a/devel/wasmer/files/patch-Makefile b/devel/wasmer/files/patch-Makefile >new file mode 100644 >index 000000000000..d35b624655e1 >--- /dev/null >+++ b/devel/wasmer/files/patch-Makefile >@@ -0,0 +1,11 @@ >+--- Makefile.orig 2023-06-24 22:58:59 UTC >++++ Makefile >+@@ -312,7 +312,7 @@ ifneq (, $(filter 1, $(IS_DARWIN) $(IS_LINUX) $(IS_FRE >+ reset := $(shell tput sgr0 2>/dev/null || echo -n '') >+ endif >+ >+-HOST_TARGET=$(shell rustup show | grep 'Default host: ' | cut -d':' -f2 | tr -d ' ') >++HOST_TARGET=$(shell rustc -V -v | grep 'host: ' | cut -d':' -f2 | tr -d ' ') >+ >+ TARGET_DIR ?= target/release >+ >diff --git a/devel/wasmer/pkg-descr b/devel/wasmer/pkg-descr >new file mode 100644 >index 000000000000..9dd11e00ab56 >--- /dev/null >+++ b/devel/wasmer/pkg-descr >@@ -0,0 +1,11 @@ >+Wasmer is a fast and secure WebAssembly runtime that enables super lightweight >+containers to run anywhere: from Desktop to the Cloud, Edge and IoT devices. >+ >+Features: >+-Secure by default. No file, network, or environment access, unless explicitly >+ enabled. >+-Supports WASIX, WASI and Emscripten out of the box. >+-Fast. Run WebAssembly at near-native speeds. >+-Embeddable in multiple programming languages >+-Compliant with latest WebAssembly Proposals (SIMD, Reference Types, Threads, >+ ...). >diff --git a/devel/wasmer/pkg-plist b/devel/wasmer/pkg-plist >new file mode 100644 >index 000000000000..c23b55da879b >--- /dev/null >+++ b/devel/wasmer/pkg-plist >@@ -0,0 +1 @@ >+bin/wasmer >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272195
:
242980
|
243561
|
243595
|
243664
|
243942
|
244198