<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/002587060ea3a595a83ac4e0c7854d868735f5e0">https://github.com/macports/macports-ports/commit/002587060ea3a595a83ac4e0c7854d868735f5e0</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 002587060ea openiked: new port
</span>002587060ea is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 002587060ea3a595a83ac4e0c7854d868735f5e0
</span>Author: Ryan Kavanagh <rak@rak.ac>
AuthorDate: Tue Nov 2 15:42:42 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> openiked: new port
</span>---
net/openiked/Portfile | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/openiked/Portfile b/net/openiked/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b553f5d355e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/openiked/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,55 @@
</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;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup openssl 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name openiked
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup openiked openiked-portable 7.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</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;'>+license ISC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@ryanakca debian.org:rak} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Internet Key Exchange (IKEv2) daemon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description A free implementation of the Internet Key Exchange (IKEv2) protocol \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ which performs mutual authentication and which establishes and maintains\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IPsec VPN security policies and associations (SAs) between peers. It is \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ intended to be a lean, clean, secure, better configurable and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ interoperable implementation that focusses on supporting the main standards \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and most important features of IKEv2.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.openiked.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e1a82859835e74d86fc01fca1c4148e4f39ec5e8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4588d28471d20e491e616a44c71cf392e6cca8ea3af793a1f24c32d44101194c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 302067
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:libevent
</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.executable ${prefix}/sbin/iked -d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+add_users _iked group=_iked realname=OpenIKED\ Daemon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set sysconfdir ${prefix}/etc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_SYSCONFDIR=${sysconfdir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_MANDIR=${prefix}/share/man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openssl_install_area [openssl::install_area]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/local/opt/openssl@1.1|${openssl_install_area}|g" ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/CMakeLists.txt
</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;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${destroot}${sysconfdir}/iked.conf ${destroot}${sysconfdir}/iked.conf.dist
</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;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${sysconfdir}/iked.conf]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${sysconfdir}/iked.conf.dist ${sysconfdir}/iked.conf
</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>