<pre style='margin:0'>
Vadim-Valdis Yudaev (judaew) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c4d1e39865ec30ab13100085ea5fd46f374e99bd">https://github.com/macports/macports-ports/commit/c4d1e39865ec30ab13100085ea5fd46f374e99bd</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 c4d1e39865e ssh-askpass: New port
</span>c4d1e39865e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c4d1e39865ec30ab13100085ea5fd46f374e99bd
</span>Author: Vadim-Valdis Yudaev <judaew@macports.org>
AuthorDate: Sat Feb 12 23:58:59 2022 +0200
<span style='display:block; white-space:pre;color:#404040;'> ssh-askpass: New port
</span>---
security/ssh-askpass/Portfile | 59 ++++++++++++++++++++++++
security/ssh-askpass/files/patch-fix-prefix.diff | 14 ++++++
2 files changed, 73 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/ssh-askpass/Portfile b/security/ssh-askpass/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..dc736408200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/ssh-askpass/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,59 @@
</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 theseal ssh-askpass 1.4.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;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories security devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license ISC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {judaew @judaew} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description ssh-askpass for OS X/macOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5f17a4fa696597b45458bdee9fb3255e23c64649 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9f13178d3856e7b280f8cc07bb7e755d8d1cd4ee4411fd48ffaa3235fcef9c32 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 17291
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-fix-prefix.diff
</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;'>+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/ssh-askpass.plist
</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;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set ssh-askpass.plist ${worksrcpath}/${name}.plist
</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 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set launchd_dir \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/etc/${startupitem.location}/${startupitem.uniquename}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}/${launchd_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${ssh-askpass.plist} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}/${launchd_dir}/${startupitem.plist}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[getuid] == 0 && ${startupitem.install} ne "no"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}/Library/${startupitem.location}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -sf ${launchd_dir}/${startupitem.plist} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}/Library/${startupitem.location}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -sf ${launchd_dir}/${startupitem.plist} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/${startupitem.location}
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.create no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.autostart no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.location LaunchAgents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.executable ${prefix}/bin/${name}
</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;'>+Launch ${name} with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ launchctl load -w \\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /Library/LaunchAgents/org.macports.ssh-askpass.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/ssh-askpass/files/patch-fix-prefix.diff b/security/ssh-askpass/files/patch-fix-prefix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..12ba827f7b2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/ssh-askpass/files/patch-fix-prefix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ssh-askpass.plist.orig 2021-08-26 12:52:19.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ssh-askpass.plist 2022-02-12 22:31:20.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,8 +11,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>/bin/sh</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>-pc</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>#!/bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-launchctl setenv SSH_ASKPASS "${SSH_ASKPASS:=/usr/local/bin/ssh-askpass}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-launchctl setenv SUDO_ASKPASS "${SUDO_ASKPASS:=/usr/local/bin/ssh-askpass}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++launchctl setenv SSH_ASKPASS "${SSH_ASKPASS:=@@PREFIX@@/bin/ssh-askpass}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++launchctl setenv SUDO_ASKPASS "${SUDO_ASKPASS:=@@PREFIX@@/bin/ssh-askpass}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ launchctl list org.xquartz.startx >/dev/null || launchctl setenv DISPLAY "${DISPLAY:=ssh-askpass}" # only if not already set by Xquartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ launchctl stop com.openssh.ssh-agent # to make sure it picks up environment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>