<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/1296d8eb622dce178f3b50e811258c3e6f0a2e7e">https://github.com/macports/macports-ports/commit/1296d8eb622dce178f3b50e811258c3e6f0a2e7e</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 1296d8eb622 ssh-askpass: Update patch for fix path to terminal icns
</span>1296d8eb622 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1296d8eb622dce178f3b50e811258c3e6f0a2e7e
</span>Author: Vadim-Valdis Yudaev <judaew@macports.org>
AuthorDate: Tue Feb 15 23:31:13 2022 +0200
<span style='display:block; white-space:pre;color:#404040;'> ssh-askpass: Update patch for fix path to terminal icns
</span>---
security/ssh-askpass/Portfile | 9 ++++++---
security/ssh-askpass/files/patch-fix-path-to-icns.diff | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/ssh-askpass/Portfile b/security/ssh-askpass/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6c97b5e5faf..4d1e59cf399 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/ssh-askpass/Portfile
</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;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span>
github.setup theseal ssh-askpass 1.4.0 v
github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
categories security devel
license ISC
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,8 +24,11 @@ post-patch {
</span> reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/ssh-askpass.plist
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} <= 17} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # On macOS 10.13 and below, the terminal icon is in a different path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} < 19} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Before Catalina the /System/Applications/Utilities directory was under
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # /Applications/Utilities. Presumably this was done to put part of the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # system in the read-only partition. This fix returns the correct path for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Mojave and below.
</span> patchfiles patch-fix-path-to-icns.diff
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/ssh-askpass/files/patch-fix-path-to-icns.diff b/security/ssh-askpass/files/patch-fix-path-to-icns.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index bcf1ace4a34..1b92a255653 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/ssh-askpass/files/patch-fix-path-to-icns.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/ssh-askpass/files/patch-fix-path-to-icns.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@
</span> set args to argv as text
launch application "System Events"
- set agent to POSIX file "/System/Applications/Utilities/Terminal.app/Contents/Resources/Terminal.icns"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set agent to POSIX file "/Volumes/macOS/Applications/Utilities/Terminal.app/Contents/Resources/Terminal.icns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set agent to POSIX file "/Applications/Utilities/Terminal.app/Contents/Resources/Terminal.icns"
</span> set dialog_timeout to 15
try
tell application "System Events"
</pre><pre style='margin:0'>
</pre>