<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/79b595d678139ba0440e11a10de5e0c52533c0bf">https://github.com/macports/macports-ports/commit/79b595d678139ba0440e11a10de5e0c52533c0bf</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 79b595d6781 kubectl: new subport for 1.28
</span>79b595d6781 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 79b595d678139ba0440e11a10de5e0c52533c0bf
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Tue Aug 15 13:24:37 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> kubectl: new subport for 1.28
</span>---
sysutils/kubectl/Portfile | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/kubectl/Portfile b/sysutils/kubectl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6797b64a752..fc6165d500e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/kubectl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/kubectl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,13 +18,26 @@ maintainers {@patarra gmail.com:patarra} \
</span> subport kubectl_select {}
set source_build no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set offline_build yes
</span>
# *NOTE* Remember to update `latestVersion` on a version upgrade.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set latestVersion kubectl-1.27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set latestVersion kubectl-1.28
</span>
# When source_build is yes, the checksum should be the one for the
# kubernetes source tarball, instead of the zipped pre-built binary.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+subport kubectl-1.28 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set source_build yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set offline_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64 arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set patchNumber 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 868c47a0bc3fa27fa86db948c18cb3009e5a2126 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f5429e71700f15215cbc052a4b0abd7abaf29067096f633e63c553347a536c74 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 42229948
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> subport kubectl-1.27 {
set source_build yes
supported_archs x86_64 arm64
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -199,7 +212,7 @@ if {${subport} == ${name}} {
</span> PortGroup obsolete 1.0
replaced_by ${latestVersion}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 1.27.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 1.28.0
</span> revision 0
} elseif {${subport} == "kubectl_select"} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -241,6 +254,7 @@ if {${subport} == ${name}} {
</span>
go.setup github.com/kubernetes/kubernetes ${patchVersion} v
go.package k8s.io/kubernetes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ go.offline_build ${offline_build}
</span>
build.cmd make
build.target kubectl
</pre><pre style='margin:0'>
</pre>