minikube: update to 1.23.0.

This commit is contained in:
Enno Boland 2021-10-22 10:09:20 +02:00 committed by Enno T. Boland
parent 038c8defaa
commit 28aa87f2ee

View file

@ -1,6 +1,6 @@
# Template file for 'minikube' # Template file for 'minikube'
pkgname=minikube pkgname=minikube
version=1.19.0 version=1.23.0
revision=1 revision=1
build_style=go build_style=go
build_helper=qemu build_helper=qemu
@ -15,7 +15,7 @@ license="Apache-2.0"
homepage="https://github.com/kubernetes/minikube" homepage="https://github.com/kubernetes/minikube"
changelog="https://raw.githubusercontent.com/kubernetes/minikube/master/CHANGELOG.md" changelog="https://raw.githubusercontent.com/kubernetes/minikube/master/CHANGELOG.md"
distfiles="https://github.com/kubernetes/minikube/archive/v$version.tar.gz" distfiles="https://github.com/kubernetes/minikube/archive/v$version.tar.gz"
checksum=89647d2bba64061154ffc15cf393df1834a9f860b618f699e84696992a1654b3 checksum=c40e43a4944cf434e03d2ce520c330bdca209fb08428601e1d453ea124a9c2b3
pre_configure() { pre_configure() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
@ -26,13 +26,14 @@ pre_configure() {
pre_build() { pre_build() {
local storage_provisioner_tag= iso_version= local storage_provisioner_tag= iso_version=
make pkg/minikube/assets/assets.go pkg/minikube/translate/translations.go
storage_provisioner_tag=$(sed -n '/^STORAGE_PROVISIONER_TAG/s/.*=\W*//p' Makefile) storage_provisioner_tag=$(sed -n '/^STORAGE_PROVISIONER_TAG/s/.*=\W*//p' Makefile)
iso_version=$(sed -n '/^ISO_VERSION/s/.*=\W*//p' Makefile) iso_version=$(sed -n '/^ISO_VERSION/s/.*=\W*//p' Makefile)
go_ldflags+=" go_ldflags+="
-X k8s.io/minikube/pkg/version.isoVersion=$iso_version -X k8s.io/minikube/pkg/drivers/kvm.version=${version}
-X k8s.io/minikube/pkg/version.storageProvisionerVersion=$storage_provisioner_tag -X k8s.io/minikube/pkg/version.version=${version}
-X k8s.io/minikube/pkg/version.isoVersion=${iso_version}
-X k8s.io/minikube/pkg/version.storageProvisionerVersion=${storage_provisioner_tag}
" "
} }