diff options
author | danilo <danilo@FreeBSD.org> | 2019-09-24 00:45:30 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2019-09-24 00:45:30 +0800 |
commit | a27a7e1ab281538c624a6658dcbb4dbce3075e01 (patch) | |
tree | d79e2298bfb30ce794df271215b7d3bf1fec1ce9 | |
parent | 87705428f28268f18b76a15b889437c1cf7e2e85 (diff) | |
download | freebsd-ports-gnome-a27a7e1ab281538c624a6658dcbb4dbce3075e01.tar.gz freebsd-ports-gnome-a27a7e1ab281538c624a6658dcbb4dbce3075e01.tar.zst freebsd-ports-gnome-a27a7e1ab281538c624a6658dcbb4dbce3075e01.zip |
- Update to 1.16.0
- Set k8s.io/client-go/pkg/version.gitVersion so the HTTP User-Agent will be set correctly
-rw-r--r-- | sysutils/kubectl/Makefile | 13 | ||||
-rw-r--r-- | sysutils/kubectl/distinfo | 6 |
2 files changed, 10 insertions, 9 deletions
diff --git a/sysutils/kubectl/Makefile b/sysutils/kubectl/Makefile index 943fb4ab6a17..0673f5e3bdf3 100644 --- a/sysutils/kubectl/Makefile +++ b/sysutils/kubectl/Makefile @@ -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} diff --git a/sysutils/kubectl/distinfo b/sysutils/kubectl/distinfo index 7d1c794b167f..791e56ef02c7 100644 --- a/sysutils/kubectl/distinfo +++ b/sysutils/kubectl/distinfo @@ -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 |