git: f78c8301a07e - main - sysutils/govmomi: Add new port

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Tue, 15 Feb 2022 14:35:15 UTC
The branch main has been updated by mikael:

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

commit f78c8301a07e134b297728d53907632b92d05abd
Author:     Aleksandr Ignatyev <alex@i.org.ua>
AuthorDate: 2022-02-15 14:28:16 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-02-15 14:35:03 +0000

    sysutils/govmomi: Add new port
    
    Go library for the VMware vSphere API.
    
    govc is a vSphere CLI built on top of govmomi.
    The CLI is designed to be a user friendly CLI alternative to the GUI and
    well suited for automation tasks. It also acts as a test harness for the govmomi
    APIs and provides working examples of how to use the APIs.
    
    vcsim - A vCenter and ESXi API based simulator
    This package implements a vSphere Web Services (SOAP) SDK endpoint intended
    for testing consumers of the API. While the mock framework is written in the
    Go language, it can be used by any language that can talk to the vSphere API.
    
    WWW: https://github.com/vmware/govmomi/
    
    PR:     261672
---
 sysutils/Makefile          |  1 +
 sysutils/govmomi/Makefile  | 21 +++++++++++++++++++++
 sysutils/govmomi/distinfo  |  5 +++++
 sysutils/govmomi/pkg-descr | 13 +++++++++++++
 4 files changed, 40 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index ee9f71b5f243..fb12d4ef6954 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -479,6 +479,7 @@
     SUBDIR += gomplate
     SUBDIR += google-compute-engine-oslogin
     SUBDIR += gotop
+    SUBDIR += govmomi
     SUBDIR += gpart
     SUBDIR += graffer
     SUBDIR += graveman
diff --git a/sysutils/govmomi/Makefile b/sysutils/govmomi/Makefile
new file mode 100644
index 000000000000..bdd01f680c63
--- /dev/null
+++ b/sysutils/govmomi/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	govmomi
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.27.4
+CATEGORIES=	sysutils
+
+MAINTAINER=	alex@i.org.ua
+COMMENT=	vSphere CLI and vSphere API mock framework
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		go:modules
+GO_MODULE=	github.com/vmware/govmomi
+
+GO_TARGET=	./govc \
+		./vcsim
+
+PLIST_FILES=	bin/govc \
+		bin/vcsim
+
+.include <bsd.port.mk>
diff --git a/sysutils/govmomi/distinfo b/sysutils/govmomi/distinfo
new file mode 100644
index 000000000000..6b8a0a5848c4
--- /dev/null
+++ b/sysutils/govmomi/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1644908551
+SHA256 (go/sysutils_govmomi/govmomi-v0.27.4/v0.27.4.mod) = b8de90f8068bc9859446115da9ec0053510e446d1ad6bbc7ce496990320ce69c
+SIZE (go/sysutils_govmomi/govmomi-v0.27.4/v0.27.4.mod) = 536
+SHA256 (go/sysutils_govmomi/govmomi-v0.27.4/v0.27.4.zip) = f97456f91822b85c069a7a857ab6a8d5460754e764ed2fbafba0510806b48519
+SIZE (go/sysutils_govmomi/govmomi-v0.27.4/v0.27.4.zip) = 2341022
diff --git a/sysutils/govmomi/pkg-descr b/sysutils/govmomi/pkg-descr
new file mode 100644
index 000000000000..4740c3990d17
--- /dev/null
+++ b/sysutils/govmomi/pkg-descr
@@ -0,0 +1,13 @@
+Go library for the VMware vSphere API.
+
+govc is a vSphere CLI built on top of govmomi.
+The CLI is designed to be a user friendly CLI alternative to the GUI and
+well suited for automation tasks. It also acts as a test harness for the govmomi
+APIs and provides working examples of how to use the APIs.
+
+vcsim - A vCenter and ESXi API based simulator
+This package implements a vSphere Web Services (SOAP) SDK endpoint intended
+for testing consumers of the API. While the mock framework is written in the
+Go language, it can be used by any language that can talk to the vSphere API.
+
+WWW: https://github.com/vmware/govmomi/