diff --git a/sysutils/kubectl/Makefile b/sysutils/kubectl/Makefile index 3f4852fdc5c4..e5bd1e78d7c4 100644 --- a/sysutils/kubectl/Makefile +++ b/sysutils/kubectl/Makefile @@ -1,46 +1,45 @@ PORTNAME= kubectl -PORTVERSION= 1.30.3 +PORTVERSION= 1.31.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Kubernetes command-line tool WWW= https://github.com/kubernetes/kubectl LICENSE= APACHE20 USES= cpe go:1.22,modules CPE_VENDOR= jenkins CPE_PRODUCT= kubernetes USE_GITHUB= yes GH_ACCOUNT= kubernetes GH_PROJECT= kubernetes GO_PKGNAME= k8s.io/kubernetes GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X k8s.io/component-base/version.gitMajor=${PORTVERSION:R:R} \ -X k8s.io/component-base/version.gitMinor=${PORTVERSION:R:E} \ -X k8s.io/component-base/version.buildDate=$$(date +'%Y-%m-%dT%H:%M:%SZ') \ -X k8s.io/component-base/version.gitCommit="" \ -X k8s.io/component-base/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \ -X k8s.io/client-go/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}" PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= BASH ZSH OPTIONS_DEFAULT= BASH ZSH BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME} ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME} post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions ${STAGEDIR}${PREFIX}/bin/${PORTNAME} completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME} post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${STAGEDIR}${PREFIX}/bin/${PORTNAME} completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} .include diff --git a/sysutils/kubectl/distinfo b/sysutils/kubectl/distinfo index 604c4826f4a0..f9304885af8e 100644 --- a/sysutils/kubectl/distinfo +++ b/sysutils/kubectl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1722103944 -SHA256 (kubernetes-kubernetes-v1.30.3_GH0.tar.gz) = 2e57ccaa4d3a8fb9dd0527af61702d6f193ff2f4c3b2fb35362bbf5fed6ce674 -SIZE (kubernetes-kubernetes-v1.30.3_GH0.tar.gz) = 39587795 +TIMESTAMP = 1726090842 +SHA256 (kubernetes-kubernetes-v1.31.0_GH0.tar.gz) = 6679eb90815cc4c3bef6c1b93f7a8451bf3f40d003f45ab57fdc9f8c4e8d4b4f +SIZE (kubernetes-kubernetes-v1.31.0_GH0.tar.gz) = 39255058