aboutsummaryrefslogtreecommitdiff
path: root/security/aws-iam-authenticator
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2019-04-22 21:39:28 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2019-04-22 21:39:28 +0000
commitb9f58a7e15b4fdf541c4bddfc57026113154d729 (patch)
tree46341d61cf819233681d9e24a80fb02d0b1f6308 /security/aws-iam-authenticator
parenta738114a06a3b833d6397b87202b773c2ed58412 (diff)
downloadports-b9f58a7e15b4fdf541c4bddfc57026113154d729.tar.gz
ports-b9f58a7e15b4fdf541c4bddfc57026113154d729.zip
Notes
Diffstat (limited to 'security/aws-iam-authenticator')
-rw-r--r--security/aws-iam-authenticator/Makefile13
-rw-r--r--security/aws-iam-authenticator/distinfo6
2 files changed, 7 insertions, 12 deletions
diff --git a/security/aws-iam-authenticator/Makefile b/security/aws-iam-authenticator/Makefile
index 190925c74074..68a65647a689 100644
--- a/security/aws-iam-authenticator/Makefile
+++ b/security/aws-iam-authenticator/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= aws-iam-authenticator
-PORTVERSION= 0.3.0
+PORTVERSION= 0.4.0
DISTVERSIONPREFIX= v
CATEGORIES= security
@@ -15,16 +15,11 @@ USES= go
USE_GITHUB= yes
GH_ACCOUNT= kubernetes-sigs
-GH_SUBDIR= src/github.com/heptio/authenticator
+GH_SUBDIR= src/github.com/kubernetes-sigs/${PORTNAME}
-GO_PKGNAME= github.com/heptio/authenticator
-GO_TARGET= ${GO_PKGNAME}/cmd/heptio-authenticator-aws
+GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
+GO_BUILDFLAGS= -ldflags="-X main.version=${PORTVERSION}"
PLIST_FILES= bin/${PORTNAME}
-do-install:
- ${INSTALL_PROGRAM} \
- ${GO_WRKDIR_BIN}/heptio-authenticator-aws \
- ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
.include <bsd.port.mk>
diff --git a/security/aws-iam-authenticator/distinfo b/security/aws-iam-authenticator/distinfo
index e6a25af64c07..dc056073df07 100644
--- a/security/aws-iam-authenticator/distinfo
+++ b/security/aws-iam-authenticator/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1533258476
-SHA256 (kubernetes-sigs-aws-iam-authenticator-v0.3.0_GH0.tar.gz) = 91e801c1b1c097f663ebd75897cd5ea19e709bc5ab806e1169ffc508c5a79271
-SIZE (kubernetes-sigs-aws-iam-authenticator-v0.3.0_GH0.tar.gz) = 19920237
+TIMESTAMP = 1555959443
+SHA256 (kubernetes-sigs-aws-iam-authenticator-v0.4.0_GH0.tar.gz) = d077ce973e5917fab7cbad46bc2d19264e8d0ae23321afd97b1bc481075a31fa
+SIZE (kubernetes-sigs-aws-iam-authenticator-v0.4.0_GH0.tar.gz) = 23488098