Index: head/sysutils/minikube/Makefile =================================================================== --- head/sysutils/minikube/Makefile (revision 488350) +++ head/sysutils/minikube/Makefile (revision 488351) @@ -1,37 +1,46 @@ # Created by: Danilo Egea Gondolfo # $FreeBSD$ PORTNAME= minikube -PORTVERSION= 0.30.0 +PORTVERSION= 0.32.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Run Kubernetes locally LICENSE= APACHE20 BUILD_DEPENDS= go-bindata:devel/go-bindata RUN_DEPENDS= kubectl:sysutils/kubectl USES= go USE_GITHUB= yes 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 \ -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/... .include Index: head/sysutils/minikube/distinfo =================================================================== --- head/sysutils/minikube/distinfo (revision 488350) +++ head/sysutils/minikube/distinfo (revision 488351) @@ -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 Index: head/sysutils/minikube/files/patch-third__party_go9p_srv__pipe__freebsd.go =================================================================== --- head/sysutils/minikube/files/patch-third__party_go9p_srv__pipe__freebsd.go (revision 488350) +++ head/sysutils/minikube/files/patch-third__party_go9p_srv__pipe__freebsd.go (nonexistent) @@ -1,44 +0,0 @@ ---- third_party/go9p/srv_pipe_freebsd.go.orig 2018-08-08 16:59:53 UTC -+++ third_party/go9p/srv_pipe_freebsd.go -@@ -0,0 +1,41 @@ -+// Copyright 2009 The go9p Authors. All rights reserved. -+// Use of this source code is governed by a BSD-style -+// license that can be found in the LICENSE file. -+ -+package go9p -+ -+import ( -+ "fmt" -+ "os" -+ "syscall" -+) -+ -+func (dir *pipeDir) dotu(path string, d os.FileInfo, upool Users, sysMode *syscall.Stat_t) { -+ u := upool.Uid2User(int(sysMode.Uid)) -+ g := upool.Gid2Group(int(sysMode.Gid)) -+ dir.Uid = u.Name() -+ if dir.Uid == "" { -+ dir.Uid = "none" -+ } -+ -+ dir.Gid = g.Name() -+ if dir.Gid == "" { -+ dir.Gid = "none" -+ } -+ dir.Muid = "none" -+ dir.Ext = "" -+ dir.Uidnum = uint32(u.Id()) -+ dir.Gidnum = uint32(g.Id()) -+ dir.Muidnum = NOUID -+ if d.Mode()&os.ModeSymlink != 0 { -+ var err error -+ dir.Ext, err = os.Readlink(path) -+ if err != nil { -+ dir.Ext = "" -+ } -+ } else if isBlock(d) { -+ dir.Ext = fmt.Sprintf("b %d %d", sysMode.Rdev>>24, sysMode.Rdev&0xFFFFFF) -+ } else if isChar(d) { -+ dir.Ext = fmt.Sprintf("c %d %d", sysMode.Rdev>>24, sysMode.Rdev&0xFFFFFF) -+ } -+} Property changes on: head/sysutils/minikube/files/patch-third__party_go9p_srv__pipe__freebsd.go ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/minikube/files/patch-pkg_minikube_cluster_cluster__freebsd.go =================================================================== --- head/sysutils/minikube/files/patch-pkg_minikube_cluster_cluster__freebsd.go (revision 488350) +++ head/sysutils/minikube/files/patch-pkg_minikube_cluster_cluster__freebsd.go (nonexistent) @@ -1,32 +0,0 @@ ---- pkg/minikube/cluster/cluster_freebsd.go.orig 2018-08-08 17:03:34 UTC -+++ pkg/minikube/cluster/cluster_freebsd.go -@@ -0,0 +1,29 @@ -+/* -+Copyright 2016 The Kubernetes Authors All rights reserved. -+ -+Licensed under the Apache License, Version 2.0 (the "License"); -+you may not use this file except in compliance with the License. -+You may obtain a copy of the License at -+ -+ http://www.apache.org/licenses/LICENSE-2.0 -+ -+Unless required by applicable law or agreed to in writing, software -+distributed under the License is distributed on an "AS IS" BASIS, -+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -+See the License for the specific language governing permissions and -+limitations under the License. -+*/ -+ -+package cluster -+ -+import ( -+ "os/exec" -+) -+ -+func detectVBoxManageCmd() string { -+ cmd := "VBoxManage" -+ if path, err := exec.LookPath(cmd); err == nil { -+ return path -+ } -+ return cmd -+} Property changes on: head/sysutils/minikube/files/patch-pkg_minikube_cluster_cluster__freebsd.go ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/minikube/files/patch-vendor_github.com_pkg_browser_browser__unsupported.go =================================================================== --- head/sysutils/minikube/files/patch-vendor_github.com_pkg_browser_browser__unsupported.go (nonexistent) +++ head/sysutils/minikube/files/patch-vendor_github.com_pkg_browser_browser__unsupported.go (revision 488351) @@ -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 + Property changes on: head/sysutils/minikube/files/patch-vendor_github.com_pkg_browser_browser__unsupported.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property