aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2023-03-17 08:31:03 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-03-20 12:17:38 +0000
commit294de7bf6b52e64b4bf41637be4cd39b6481fff5 (patch)
tree4646cc1ba5ca931c175e4be24c0ff6f02a1fcad3
parentcd50986126f9dafcb400ed2034c87a4cf1e10306 (diff)
downloadports-294de7bf6b52e64b4bf41637be4cd39b6481fff5.tar.gz
ports-294de7bf6b52e64b4bf41637be4cd39b6481fff5.zip
sysutils/packer: update to v1.8.6
PR: 270254 Reported by: ohauer@FreeBSD.org Approved by: brad@facefault.org (maintainer)
-rw-r--r--sysutils/packer/Makefile3
-rw-r--r--sysutils/packer/distinfo10
-rw-r--r--sysutils/packer/files/patch-vendor_github.com_vmware_govmomi_object_virtual__machine.go41
3 files changed, 6 insertions, 48 deletions
diff --git a/sysutils/packer/Makefile b/sysutils/packer/Makefile
index a7a329be0820..ec8d89683d73 100644
--- a/sysutils/packer/Makefile
+++ b/sysutils/packer/Makefile
@@ -1,7 +1,6 @@
PORTNAME= packer
-PORTVERSION= 1.7.10
+PORTVERSION= 1.8.6
DISTVERSIONPREFIX= v
-PORTREVISION= 11
CATEGORIES= sysutils
MAINTAINER= brad@facefault.org
diff --git a/sysutils/packer/distinfo b/sysutils/packer/distinfo
index 4d7c58b6fcf0..0318d7705d2c 100644
--- a/sysutils/packer/distinfo
+++ b/sysutils/packer/distinfo
@@ -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
diff --git a/sysutils/packer/files/patch-vendor_github.com_vmware_govmomi_object_virtual__machine.go b/sysutils/packer/files/patch-vendor_github.com_vmware_govmomi_object_virtual__machine.go
deleted file mode 100644
index e85080cc095e..000000000000
--- a/sysutils/packer/files/patch-vendor_github.com_vmware_govmomi_object_virtual__machine.go
+++ /dev/null
@@ -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
- }