mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
sysutils/packer: update to v1.8.6
PR: 270254 Reported by: ohauer@FreeBSD.org Approved by: brad@facefault.org (maintainer)
This commit is contained in:
parent
cd50986126
commit
294de7bf6b
3 changed files with 6 additions and 48 deletions
|
@ -1,7 +1,6 @@
|
|||
PORTNAME= packer
|
||||
PORTVERSION= 1.7.10
|
||||
PORTVERSION= 1.8.6
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= brad@facefault.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
TIMESTAMP = 1644133813
|
||||
SHA256 (go/sysutils_packer/packer-v1.7.10/v1.7.10.mod) = c0497db47ef8d24b1812ae4d395c20bc574ad15b29603de51900dcc217e68203
|
||||
SIZE (go/sysutils_packer/packer-v1.7.10/v1.7.10.mod) = 14034
|
||||
SHA256 (go/sysutils_packer/packer-v1.7.10/v1.7.10.zip) = ac42570acb9133b5601f5a80746d79a1efbd3765159d78c669c6a0466cb1b6b4
|
||||
SIZE (go/sysutils_packer/packer-v1.7.10/v1.7.10.zip) = 2914932
|
||||
TIMESTAMP = 1678912562
|
||||
SHA256 (go/sysutils_packer/packer-v1.8.6/v1.8.6.mod) = 9761a8a1390bff2ad78945f330d69f817e61c619ba0fcdc776920e6f2b117c31
|
||||
SIZE (go/sysutils_packer/packer-v1.8.6/v1.8.6.mod) = 14037
|
||||
SHA256 (go/sysutils_packer/packer-v1.8.6/v1.8.6.zip) = 502ab1aff0d34e46c898e18aee057b52d3f6f8afb2dece29bee7bd9727b5404f
|
||||
SIZE (go/sysutils_packer/packer-v1.8.6/v1.8.6.zip) = 2767002
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
https://github.com/rconde01/govmomi/commit/f6cd1b1a345750afe81c43a5b00855dd6bf84d8b
|
||||
|
||||
From f6cd1b1a345750afe81c43a5b00855dd6bf84d8b Mon Sep 17 00:00:00 2001
|
||||
From: Rob Conde <Rob.Conde@ai-solutions.com>
|
||||
Date: Mon, 5 Jul 2021 16:24:31 -0400
|
||||
Subject: [PATCH] fix: make processing of mac addresses case insensitive
|
||||
|
||||
Closes: #2509
|
||||
|
||||
--- vendor/github.com/vmware/govmomi/object/virtual_machine.go.orig 2021-08-31 16:00:45 UTC
|
||||
+++ vendor/github.com/vmware/govmomi/object/virtual_machine.go
|
||||
@@ -22,6 +22,7 @@ import (
|
||||
"fmt"
|
||||
"net"
|
||||
"path"
|
||||
+ "strings"
|
||||
|
||||
"github.com/vmware/govmomi/nfc"
|
||||
"github.com/vmware/govmomi/property"
|
||||
@@ -333,7 +334,9 @@ func (v VirtualMachine) WaitForNetIP(ctx context.Conte
|
||||
devices := VirtualDeviceList(c.Val.(types.ArrayOfVirtualDevice).VirtualDevice)
|
||||
for _, d := range devices {
|
||||
if nic, ok := d.(types.BaseVirtualEthernetCard); ok {
|
||||
- mac := nic.GetVirtualEthernetCard().MacAddress
|
||||
+ // Convert to lower so that e.g. 00:50:56:83:3A:5D is treated the
|
||||
+ // same as 00:50:56:83:3a:5d
|
||||
+ mac := strings.ToLower(nic.GetVirtualEthernetCard().MacAddress)
|
||||
if mac == "" {
|
||||
return false
|
||||
}
|
||||
@@ -369,7 +372,9 @@ func (v VirtualMachine) WaitForNetIP(ctx context.Conte
|
||||
|
||||
nics := c.Val.(types.ArrayOfGuestNicInfo).GuestNicInfo
|
||||
for _, nic := range nics {
|
||||
- mac := nic.MacAddress
|
||||
+ // Convert to lower so that e.g. 00:50:56:83:3A:5D is treated the
|
||||
+ // same as 00:50:56:83:3a:5d
|
||||
+ mac := strings.ToLower(nic.MacAddress)
|
||||
if mac == "" || nic.IpConfig == nil {
|
||||
continue
|
||||
}
|
Loading…
Add table
Reference in a new issue