<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c1d8f1058befb69c51a55e470d6b5cc4468a4d18">https://github.com/macports/macports-ports/commit/c1d8f1058befb69c51a55e470d6b5cc4468a4d18</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c1d8f10 yggdrasil-go: new port
</span>c1d8f10 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c1d8f1058befb69c51a55e470d6b5cc4468a4d18
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sat Jun 22 18:13:06 2019 +0000
<span style='display:block; white-space:pre;color:#404040;'> yggdrasil-go: new port
</span>---
net/yggdrasil-go/Portfile | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/yggdrasil-go/Portfile b/net/yggdrasil-go/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..554a47b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/yggdrasil-go/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,44 @@
</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 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 yggdrasil-network yggdrasil-go 0.3.5 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {l2dy @l2dy} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description An experiment in scalable routing as an encrypted IPv6 overlay network
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Yggdrasil is an early-stage implementation of a fully \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end-to-end encrypted IPv6 network. It is lightweight, self-arranging, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported on multiple platforms and allows pretty much any \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IPv6-capable application to communicate securely with other Yggdrasil \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nodes.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 54398f96af7f27ea1f2217e568afeebc1640d790 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4c045a7f9b1ef1b5b1a5d39f7b879f2cabde2629efb67ef72051f13016e22509 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 139442
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd "./build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env-append PKGNAME=yggdrasil PKGVER=${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -W ${worksrcpath} {*}[glob -tails -directory ${worksrcpath}/cmd/ *] ${destroot}${prefix}/bin
</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;'>+startupitem.create yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.name yggdrasil
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.executable "${prefix}/bin/yggdrasil -useconffile ${prefix}/etc/yggdrasil.conf"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+To launch yggdrasil at startup, generate default config with the following command first:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+umask 0077 && yggdrasil -genconf | sudo tee ${prefix}/etc/yggdrasil.conf >/dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span></pre><pre style='margin:0'>
</pre>