<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/72a34f80b258e89721fa4de1ac1c7f10d079f213">https://github.com/macports/macports-ports/commit/72a34f80b258e89721fa4de1ac1c7f10d079f213</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 72a34f80b258e89721fa4de1ac1c7f10d079f213
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri May 1 00:17:16 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> noah: New port, version 0.5.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/60417
</span>---
emulators/noah/Portfile | 48 ++++++++++++++++++++++++++++++++++++++
emulators/noah/files/noah.in.patch | 12 ++++++++++
2 files changed, 60 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/noah/Portfile b/emulators/noah/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..67becbb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/noah/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,48 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup linux-noah noah 0.5.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 85823bb389f84a17a573584cb8d1b82beee98267 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 452c00b1baeafca73e6566b552c9d63dc304504be95296f6568274cd74073660 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 49644147
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories emulators
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {MIT GPL-2+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Per the Portfile included in the upstream repository.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Linux ABI implementation for macOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Noah is a Darwin subsystem for Linux. Noah is \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implemented as a hypervisor that traps Linux \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system calls and translates them into Darwin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system calls. Noah also has an interpreter of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ELF files so that Linux binary executables run \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ directly and flawlessly without any \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ modifications. It's effectively a macOS Linux \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ execution flavor, similar to that of FreeBSD \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Linuxolator, a.k.a. Linux emulation, a.k.a. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Linux ABI. In other words, it's the reverse of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ the Linux Darling project.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:noahstrap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles noah.in.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Noah uses the Hypervisor framework introduced in OS X Yosemite but the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# readme says it requires Sierra or later. (This has not been verified.)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} ne "darwin" || ${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} @${version} requires macOS Sierra or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "unsupported OS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/noah/files/noah.in.patch b/emulators/noah/files/noah.in.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8d24b2a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/noah/files/noah.in.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Use MacPorts noahstrap.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- bin/noah.in.orig 2018-03-04 22:20:42.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ bin/noah.in 2020-05-01 00:07:50.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -34,7 +34,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $root = "$noahdir/tree";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (! -d $root) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prompt_yn("Noah is installing the initial filesystem in ~/.noah/tree. Proceed? [Y/n]", "y") or exit 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- system "sudo noahstrap -p ubuntu $root";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ system "sudo @CMAKE_INSTALL_PREFIX@/bin/noahstrap -p ubuntu $root";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>