<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/b48e9e74601669b5465ebae0411a3da718b5a081">https://github.com/macports/macports-ports/commit/b48e9e74601669b5465ebae0411a3da718b5a081</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 b48e9e74601 ssh-askpass-mac: submission
</span>b48e9e74601 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b48e9e74601669b5465ebae0411a3da718b5a081
</span>Author: Steven Stallion <sstallion@gmail.com>
AuthorDate: Mon Jul 18 14:41:19 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> ssh-askpass-mac: submission
</span>---
aqua/ssh-askpass-mac/Portfile | 54 ++++++++++++++++++++++
.../files/org.macports.ssh-askpass-mac.plist | 23 +++++++++
2 files changed, 77 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/ssh-askpass-mac/Portfile b/aqua/ssh-askpass-mac/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..81bab53becc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/ssh-askpass-mac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,54 @@
</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 xcode 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup lukas-zronek ssh-askpass-mac 1.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@sstallion gmail.com:sstallion} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A macOS front-end of ssh-askpass with keychain support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ssh-askpass-mac is a graphical front-end for ssh-add on macOS, which can \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ store the password of a private key in the keychain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xcode yes
</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;'>+checksums rmd160 2f0e11cbe34da1f854fd7852d8bb066bb8073cd5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a1f3aad9eb908fd3f2e82422e67fff3c64ad97d09c20b669d0f2e46632ca9438 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 17932
</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;'>+ xinstall -d -m 0755 ${destroot}${prefix}/Library/LaunchAgents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${filespath}/org.macports.ssh-askpass-mac.plist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/Library/LaunchAgents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/Library/LaunchAgents/org.macports.ssh-askpass-mac.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${startupitem.install} && [geteuid] == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}/Library/LaunchAgents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/Library/LaunchAgents/org.macports.ssh-askpass-mac.plist ${destroot}/Library/LaunchAgents
</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;'>+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.machports.ssh-askpass-mac.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On macOS < 12 (Monterey) or OpenSSH < 8.3 add the following line to the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startup file of your shell:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ssh-add $@ < /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+You can also disable the keychain with the following command:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ defaults write at.zronek.lukas.ssh-askpass useKeychain -bool false
</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.install yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.location LaunchAgents
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/ssh-askpass-mac/files/org.macports.ssh-askpass-mac.plist b/aqua/ssh-askpass-mac/files/org.macports.ssh-askpass-mac.plist
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..baf4b74c9ad
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/ssh-askpass-mac/files/org.macports.ssh-askpass-mac.plist
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<?xml version="1.0" encoding="UTF-8"?>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<plist version="1.0">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<dict>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>Label</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>org.macports.ssh-askpass-mac</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>ProgramArguments</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <array>
</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>-c</string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ launchctl setenv SSH_ASKPASS @APPLICATIONS_DIR@/ssh-askpass.app/Contents/MacOS/ssh-askpass
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ launchctl setenv SSH_ASKPASS_REQUIRE force
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [[ -z "${DISPLAY+set}" ]] && launchctl setenv DISPLAY invalid # required by OpenSSH lower than 8.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ launchctl stop com.openssh.ssh-agent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </array>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <key>RunAtLoad</key>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <true/>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+</dict>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+</plist>
</span></pre><pre style='margin:0'>
</pre>