<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/0002d023f80d6eb0b81446be1172527bae0e05a8">https://github.com/macports/macports-ports/commit/0002d023f80d6eb0b81446be1172527bae0e05a8</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 0002d02 ssh-copy-id: deactivate hack
</span>0002d02 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0002d023f80d6eb0b81446be1172527bae0e05a8
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Wed Sep 6 02:11:22 2017 +0000
<span style='display:block; white-space:pre;color:#404040;'> ssh-copy-id: deactivate hack
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/54761
</span>---
net/ssh-copy-id/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/ssh-copy-id/Portfile b/net/ssh-copy-id/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3792738..fcd4147 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/ssh-copy-id/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/ssh-copy-id/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +29,17 @@ destroot {
</span> xinstall -m 644 ${worksrcpath}/contrib/ssh-copy-id.1 ${destroot}${prefix}/share/man/man1
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![catch {set installed [lindex [registry_active openssh] 0]}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set _version [lindex $installed 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set _revision [lindex $installed 2]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp $_version 7.3p1] < 0 || ([vercmp $_version 7.3p1] == 0 && $_revision < 1)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # openssh @7.3p1 and earlier used to install some files now provided by ssh-copy-id
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ registry_deactivate_composite openssh "" [list ports_nodepcheck 1]
</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;'>+
</span> livecheck.type regex
livecheck.url https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
livecheck.regex openssh-(\[5-9\].\[0-9\]p\[0-9\])[quotemeta ${extract.suffix}]
</pre><pre style='margin:0'>
</pre>