Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 16:45:31 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512648 - head/sysutils/kubectl
Message-ID:  <201909231645.x8NGjVHs032612@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Sep 23 16:45:30 2019
New Revision: 512648
URL: https://svnweb.freebsd.org/changeset/ports/512648

Log:
  - Update to 1.16.0
  - Set k8s.io/client-go/pkg/version.gitVersion so the HTTP User-Agent will be set correctly

Modified:
  head/sysutils/kubectl/Makefile
  head/sysutils/kubectl/distinfo

Modified: head/sysutils/kubectl/Makefile
==============================================================================
--- head/sysutils/kubectl/Makefile	Mon Sep 23 16:25:58 2019	(r512647)
+++ head/sysutils/kubectl/Makefile	Mon Sep 23 16:45:30 2019	(r512648)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	kubectl
-PORTVERSION=	1.15.3
+PORTVERSION=	1.16.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 
@@ -19,11 +19,12 @@ GH_PROJECT=	kubernetes
 
 GO_PKGNAME=	k8s.io/kubernetes
 GO_TARGET=	${GO_PKGNAME}/cmd/${PORTNAME}
-GO_BUILDFLAGS=	-ldflags="-X k8s.io/kubernetes/pkg/kubectl/version.gitMajor=${PORTVERSION:R:R} \
-		-X k8s.io/kubernetes/pkg/kubectl/version.gitMinor=${PORTVERSION:R:E} \
-		-X k8s.io/kubernetes/pkg/kubectl/version.buildDate=$$(date +'%Y-%m-%dT%H:%M:%SZ') \
-		-X k8s.io/kubernetes/pkg/kubectl/version.gitCommit="" \
-		-X k8s.io/kubernetes/pkg/kubectl/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}"
+GO_BUILDFLAGS=	-ldflags="-X k8s.io/kubectl/pkg/version.gitMajor=${PORTVERSION:R:R} \
+		-X k8s.io/kubectl/pkg/version.gitMinor=${PORTVERSION:R:E} \
+		-X k8s.io/kubectl/pkg/version.buildDate=$$(date +'%Y-%m-%dT%H:%M:%SZ') \
+		-X k8s.io/kubectl/pkg/version.gitCommit="" \
+		-X k8s.io/kubectl/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \
+		-X k8s.io/client-go/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}"
 
 PLIST_FILES=	bin/${PORTNAME}
 

Modified: head/sysutils/kubectl/distinfo
==============================================================================
--- head/sysutils/kubectl/distinfo	Mon Sep 23 16:25:58 2019	(r512647)
+++ head/sysutils/kubectl/distinfo	Mon Sep 23 16:45:30 2019	(r512648)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1567465150
-SHA256 (kubernetes-kubernetes-v1.15.3_GH0.tar.gz) = 619555fb31eefb232eaa58ba7e16143a482d7fc8c9e38dd0909caa258ac09ff3
-SIZE (kubernetes-kubernetes-v1.15.3_GH0.tar.gz) = 26635140
+TIMESTAMP = 1569147153
+SHA256 (kubernetes-kubernetes-v1.16.0_GH0.tar.gz) = a8b2ee84ce38fa14404d7e56daa87aa2f2fb13e0114fb1150f294c992ab3f36c
+SIZE (kubernetes-kubernetes-v1.16.0_GH0.tar.gz) = 31159351



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909231645.x8NGjVHs032612>