Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 22:04:21 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488351 - in head/sysutils/minikube: . files
Message-ID:  <201812252204.wBPM4L5o038653@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Dec 25 22:04:20 2018
New Revision: 488351
URL: https://svnweb.freebsd.org/changeset/ports/488351

Log:
  - Update to 0.32.0
  - Use symlinks for OS dependent files which don't need changes instead of keep them in files/

Added:
  head/sysutils/minikube/files/patch-vendor_github.com_pkg_browser_browser__unsupported.go   (contents, props changed)
Deleted:
  head/sysutils/minikube/files/patch-pkg_minikube_cluster_cluster__freebsd.go
  head/sysutils/minikube/files/patch-third__party_go9p_srv__pipe__freebsd.go
Modified:
  head/sysutils/minikube/Makefile
  head/sysutils/minikube/distinfo

Modified: head/sysutils/minikube/Makefile
==============================================================================
--- head/sysutils/minikube/Makefile	Tue Dec 25 21:57:58 2018	(r488350)
+++ head/sysutils/minikube/Makefile	Tue Dec 25 22:04:20 2018	(r488351)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	minikube
-PORTVERSION=	0.30.0
+PORTVERSION=	0.32.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 
@@ -22,13 +22,22 @@ GH_ACCOUNT=	kubernetes
 GO_PKGNAME=	k8s.io/${PORTNAME}
 GO_TARGET=	${GO_PKGNAME}/cmd/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags="-X k8s.io/minikube/pkg/version.version=v${PORTVERSION} \
-		-X k8s.io/minikube/pkg/version.isoVersion=v0.30.0 \
+		-X k8s.io/minikube/pkg/version.isoVersion=v0.32.0 \
 		-X k8s.io/minikube/pkg/version.isoPath=minikube/iso"
 
 PLIST_FILES=	bin/${PORTNAME}
 
 SUB_FILES=	pkg-message
 
+post-patch:
+	cd ${WRKSRC}/pkg/minikube/tunnel && \
+		${LN} -s route_darwin.go route_freebsd.go
+	cd ${WRKSRC}/vendor/github.com/pkg/browser && \
+		${LN} -s browser_linux.go browser_freebsd.go
+	cd ${WRKSRC}/pkg/minikube/cluster && \
+		${LN} -s cluster_linux.go cluster_freebsd.go
+	cd ${WRKSRC}/third_party/go9p && \
+		${LN} -s srv_pipe_linux.go srv_pipe_freebsd.go
 pre-build:
 	cd ${WRKSRC} && \
 		${LOCALBASE}/bin/go-bindata -nomemcopy \

Modified: head/sysutils/minikube/distinfo
==============================================================================
--- head/sysutils/minikube/distinfo	Tue Dec 25 21:57:58 2018	(r488350)
+++ head/sysutils/minikube/distinfo	Tue Dec 25 22:04:20 2018	(r488351)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1538816046
-SHA256 (kubernetes-minikube-v0.30.0_GH0.tar.gz) = 6bc598b9ca46ecc168cbcc8594fed04d841c146050ce7f891910e3ccfa9b76ad
-SIZE (kubernetes-minikube-v0.30.0_GH0.tar.gz) = 9180859
+TIMESTAMP = 1545599458
+SHA256 (kubernetes-minikube-v0.32.0_GH0.tar.gz) = 0b6bd102460c551159c26b5c56a5be97d39b614c0b1b8afa43f3dfed0c20a02c
+SIZE (kubernetes-minikube-v0.32.0_GH0.tar.gz) = 9216759

Added: head/sysutils/minikube/files/patch-vendor_github.com_pkg_browser_browser__unsupported.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/minikube/files/patch-vendor_github.com_pkg_browser_browser__unsupported.go	Tue Dec 25 22:04:20 2018	(r488351)
@@ -0,0 +1,8 @@
+--- vendor/github.com/pkg/browser/browser_unsupported.go.orig	2018-12-25 00:08:26 UTC
++++ vendor/github.com/pkg/browser/browser_unsupported.go
+@@ -1,4 +1,4 @@
+-// +build !linux,!windows,!darwin
++// +build !linux,!windows,!darwin,!freebsd
+ 
+ package browser
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812252204.wBPM4L5o038653>