mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Update to 1.16.0
- Set k8s.io/client-go/pkg/version.gitVersion so the HTTP User-Agent will be set correctly
This commit is contained in:
parent
f1b234aed2
commit
c539672a8a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512648
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user