git: b3548c8ddc39 - main - sysutils/minikube: Update to 1.31.1

From: Danilo Egea Gondolfo <danilo_at_FreeBSD.org>
Date: Sat, 29 Jul 2023 11:13:18 UTC
The branch main has been updated by danilo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b3548c8ddc397b64392e2dbf941ea2fe02b249e3

commit b3548c8ddc397b64392e2dbf941ea2fe02b249e3
Author:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
AuthorDate: 2023-07-24 09:21:17 +0000
Commit:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
CommitDate: 2023-07-29 11:07:13 +0000

    sysutils/minikube: Update to 1.31.1
    
    - Add a patch to prevent building the VMware driver. It currently
      fails to build and will not work on FreeBSD anyway.
---
 sysutils/minikube/Makefile                                    |  4 ++--
 sysutils/minikube/distinfo                                    | 10 +++++-----
 .../minikube/files/patch-pkg_minikube_registry_drvs_init.go   | 11 +++++++++++
 3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/sysutils/minikube/Makefile b/sysutils/minikube/Makefile
index 89763b67cdc3..09b3755b84b5 100644
--- a/sysutils/minikube/Makefile
+++ b/sysutils/minikube/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	minikube
-PORTVERSION=	1.30.1
+PORTVERSION=	1.31.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 
@@ -18,7 +18,7 @@ GO_MODULE=	github.com/kubernetes/${PORTNAME}
 
 GO_TARGET=	./cmd/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags="-X k8s.io/minikube/pkg/version.version=v${PORTVERSION} \
-		-X k8s.io/minikube/pkg/version.isoVersion=v1.30.1 \
+		-X k8s.io/minikube/pkg/version.isoVersion=v1.31.0 \
 		-X k8s.io/minikube/pkg/version.storageProvisionerVersion=v5 \
 		-X k8s.io/minikube/pkg/version.isoPath=minikube/iso"
 
diff --git a/sysutils/minikube/distinfo b/sysutils/minikube/distinfo
index eb6ac8e8aed2..5943421a08fe 100644
--- a/sysutils/minikube/distinfo
+++ b/sysutils/minikube/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1688309333
-SHA256 (go/sysutils_minikube/minikube-v1.30.1/v1.30.1.mod) = 8cb127f2feab3cbbb632e4dc8149eaacccf2e2e184d101abd4a9bac51fa98aac
-SIZE (go/sysutils_minikube/minikube-v1.30.1/v1.30.1.mod) = 10963
-SHA256 (go/sysutils_minikube/minikube-v1.30.1/v1.30.1.zip) = d21a00b60a58b8c49f2da85f0f4e51533a9b729db404369e4a0430307997a236
-SIZE (go/sysutils_minikube/minikube-v1.30.1/v1.30.1.zip) = 89697972
+TIMESTAMP = 1690187187
+SHA256 (go/sysutils_minikube/minikube-v1.31.1/v1.31.1.mod) = bae93f60ae71320273980e4bbec74d36726233c2b6a863ab37d068440123f0fe
+SIZE (go/sysutils_minikube/minikube-v1.31.1/v1.31.1.mod) = 11597
+SHA256 (go/sysutils_minikube/minikube-v1.31.1/v1.31.1.zip) = 91a1d88b75294e996e8d22bb491c97cabfed7840c4aa41a0a28218ee9c3c7e31
+SIZE (go/sysutils_minikube/minikube-v1.31.1/v1.31.1.zip) = 89828142
diff --git a/sysutils/minikube/files/patch-pkg_minikube_registry_drvs_init.go b/sysutils/minikube/files/patch-pkg_minikube_registry_drvs_init.go
new file mode 100644
index 000000000000..1a7929e8d11c
--- /dev/null
+++ b/sysutils/minikube/files/patch-pkg_minikube_registry_drvs_init.go
@@ -0,0 +1,11 @@
+Remove "vmware" from the list of imported drivers so it will not be built.
+It currently fails to build and we don't support VMware anyway.
+
+--- pkg/minikube/registry/drvs/init.go.orig	2023-07-24 08:47:05 UTC
++++ pkg/minikube/registry/drvs/init.go
+@@ -28,5 +28,4 @@ import (
+ 	_ "k8s.io/minikube/pkg/minikube/registry/drvs/qemu2"
+ 	_ "k8s.io/minikube/pkg/minikube/registry/drvs/ssh"
+ 	_ "k8s.io/minikube/pkg/minikube/registry/drvs/virtualbox"
+-	_ "k8s.io/minikube/pkg/minikube/registry/drvs/vmware"
+ )