<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/5aea74463909d233334024ba35165692b11cbe80">https://github.com/macports/macports-ports/commit/5aea74463909d233334024ba35165692b11cbe80</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 5aea7446390 step-cli: update to 0.26.0
</span>5aea7446390 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5aea74463909d233334024ba35165692b11cbe80
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Wed Apr 17 13:12:04 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> step-cli: update to 0.26.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - install shell completions
</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/69081
</span>---
security/step-cli/Portfile | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/step-cli/Portfile b/security/step-cli/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fc7b80fbe37..c7810dab9c0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/step-cli/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/step-cli/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,8 @@
</span> PortSystem 1.0
PortGroup golang 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup github.com/smallstep/cli 0.25.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/smallstep/cli 0.26.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build no
</span> github.tarball_from archive
name step-cli
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,26 +22,39 @@ license Apache-2
</span> maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Allow fetching deps at build time
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-go.offline_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 76fcea081dc1a6e909d8b7401c7940c7fbb87b3e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 72629aa3a4a6ec9d3e8488277253e2d23f25eae63bf2e5e1947843a53c05f1aa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1638428
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Mirrors already have a tarball named cli-${version}. Since the tarball
# is versioned, then we don't have to version our dist_subdir. We need only
# create one with the project name just to differentiate from the tarball
# already present.
dist_subdir ${name}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3ade9e6b9541df8aa1d45bfeba62113854a2d337 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 43af34674d0bfec127f07712f7500cb15978f445c7cb439bf7f5f2040472746d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1644299
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.cmd make
build.target binary-${goos}-${goarch}
destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bin_path ${destroot}${prefix}/bin/step
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install executable
</span> xinstall -m 0755 \
${worksrcpath}/output/binary/${goos}-${goarch}/bin/step \
${destroot}${prefix}/bin/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install shell completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bash_completion ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${bash_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${bin_path} completion bash > ${bash_completion}/step"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set zsh_completion ${destroot}${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${zsh_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${bin_path} completion zsh > ${zsh_completion}/_step"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fish_completion ${destroot}${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${fish_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${bin_path} completion fish > ${fish_completion}/step.fish"
</span> }
github.livecheck.regex \
</pre><pre style='margin:0'>
</pre>