<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/6bd49cf6d453f3965b7276b2d6caf95cdeae2892">https://github.com/macports/macports-ports/commit/6bd49cf6d453f3965b7276b2d6caf95cdeae2892</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 6bd49cf6d45 aws-iam-authenticator: new port
</span>6bd49cf6d45 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6bd49cf6d453f3965b7276b2d6caf95cdeae2892
</span>Author: Anthony O'Brien <anthony@bearonis.com>
AuthorDate: Thu Mar 25 09:12:39 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> aws-iam-authenticator: new port
</span>---
sysutils/aws-iam-authenticator/Portfile | 47 +++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/aws-iam-authenticator/Portfile b/sysutils/aws-iam-authenticator/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..49c59b6acef
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/aws-iam-authenticator/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,47 @@
</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 golang 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# UPDATE THESE IN SYNC!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set version 0.5.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set commit 292b9b82df69b87af962b92485b254d9f4b10f00
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/kubernetes-sigs/aws-iam-authenticator ${version} v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.package sigs.k8s.io/aws-iam-authenticator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description AWS IAM Authenticator for Kubernetes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Use IAM credentials to authenticate to Kubernetes.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories sysutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers @asobrien \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 0bf5bee637fe3ae2faf96d24d5b95621c8e6c00c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a24cd391de7a5f736d1a9436054188b97fd30e01c0f707afea08c31b41720653 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 6073567
</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;'>+build.args -ldflags=\"-s -w \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -X main.version=${version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -X main.commit=${commit}\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append ./cmd/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Do not build on macOS 10.10 and earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} does not build on macOS 10.10 and earlier"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "unsupported platform version"
</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;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>