git: e86d0ef03f49 - main - www/vultr-cli: Add new port.

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

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

commit e86d0ef03f492fedd24f7e0f2320756b86ebdba6
Author:     Faraz Vahedi <kfv@kfv.io>
AuthorDate: 2022-02-08 10:04:22 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-02-08 12:35:16 +0000

    www/vultr-cli: Add new port.
    
    The official command line tool for Vultr services.
    
    WWW: https://github.com/vultr/vultr-cli
    
    Differential Revision:  https://reviews.freebsd.org/D33791
---
 www/Makefile            |  1 +
 www/vultr-cli/Makefile  | 53 +++++++++++++++++++++++++++++++++++++++++++++++
 www/vultr-cli/distinfo  | 55 +++++++++++++++++++++++++++++++++++++++++++++++++
 www/vultr-cli/pkg-descr |  3 +++
 4 files changed, 112 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 22b4097b1b56..49dd3c6efe11 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2321,6 +2321,7 @@
     SUBDIR += vimb
     SUBDIR += visitors
     SUBDIR += volta
+    SUBDIR += vultr-cli
     SUBDIR += w3m
     SUBDIR += w3m-img
     SUBDIR += w3mir
diff --git a/www/vultr-cli/Makefile b/www/vultr-cli/Makefile
new file mode 100644
index 000000000000..0877b3819e24
--- /dev/null
+++ b/www/vultr-cli/Makefile
@@ -0,0 +1,53 @@
+PORTNAME=	vultr-cli
+PORTVERSION=	2.11.3
+DISTVERSIONPREFIX=	v
+CATEGORIES=	www
+
+MAINTAINER=	kfv@kfv.io
+COMMENT=	Official command line tool for Vultr services
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+USE_GITHUB=	yes
+GH_ACCOUNT=	vultr
+GH_TUPLE=	\
+		fsnotify:fsnotify:v1.5.1:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
+		go-ini:ini:v1.66.2:go_ini_ini/vendor/gopkg.in/ini.v1 \
+		go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
+		golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \
+		golang:net:60bc85c4be6d:golang_net/vendor/golang.org/x/net \
+		golang:oauth2:d3ed0bb246c8:golang_oauth2/vendor/golang.org/x/oauth2 \
+		golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
+		golang:sys:97ca703d548d:golang_sys/vendor/golang.org/x/sys \
+		golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
+		google:go-querystring:v1.1.0:google_go_querystring/vendor/github.com/google/go-querystring \
+		hashicorp:go-cleanhttp:v0.5.2:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \
+		hashicorp:go-retryablehttp:v0.7.0:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \
+		hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
+		inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
+		magiconair:properties:v1.8.5:magiconair_properties/vendor/github.com/magiconair/properties \
+		mitchellh:mapstructure:v1.4.3:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
+		pelletier:go-toml:v1.9.4:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
+		protocolbuffers:protobuf-go:v1.27.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
+		spf13:afero:v1.6.0:spf13_afero/vendor/github.com/spf13/afero \
+		spf13:cast:v1.4.1:spf13_cast/vendor/github.com/spf13/cast \
+		spf13:cobra:v1.2.1:spf13_cobra/vendor/github.com/spf13/cobra \
+		spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \
+		spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \
+		spf13:viper:v1.10.0:spf13_viper/vendor/github.com/spf13/viper \
+		subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \
+		vultr:govultr:v2.12.0:vultr_govultr_v2/vendor/github.com/vultr/govultr/v2
+
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	CHANGELOG.md README.md
+
+OPTIONS_DEFINE=		DOCS
+OPTIONS_DEFAULT=	DOCS
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/www/vultr-cli/distinfo b/www/vultr-cli/distinfo
new file mode 100644
index 000000000000..50570e11e90b
--- /dev/null
+++ b/www/vultr-cli/distinfo
@@ -0,0 +1,55 @@
+TIMESTAMP = 1641650710
+SHA256 (vultr-vultr-cli-v2.11.3_GH0.tar.gz) = 39da0ace6f8bf842bad41bf36a218a3c91e68a3139a353cd493c5ef476ea9ad5
+SIZE (vultr-vultr-cli-v2.11.3_GH0.tar.gz) = 2155127
+SHA256 (fsnotify-fsnotify-v1.5.1_GH0.tar.gz) = bf4be597aef95796bec7c7def6701581c5e153376ba5a5aa31c2d04470d84f1d
+SIZE (fsnotify-fsnotify-v1.5.1_GH0.tar.gz) = 32691
+SHA256 (go-ini-ini-v1.66.2_GH0.tar.gz) = ffe5847f7eac5c87e5de415c2af8144403b40dc58bca5633d792b91a0f5bd0eb
+SIZE (go-ini-ini-v1.66.2_GH0.tar.gz) = 50660
+SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
+SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
+SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d813337dd57dcc800d7afdb5130e8c321a8f
+SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007
+SHA256 (golang-net-60bc85c4be6d_GH0.tar.gz) = 5a32e5f6bd1baeddef7d84165d704c13b99cddf29d44c4025dfa213d82e3b846
+SIZE (golang-net-60bc85c4be6d_GH0.tar.gz) = 1252997
+SHA256 (golang-oauth2-d3ed0bb246c8_GH0.tar.gz) = 17989d348e2fd423992005229d92c9fc5e25ad5358f72d31361dbf1cdd7c505c
+SIZE (golang-oauth2-d3ed0bb246c8_GH0.tar.gz) = 87604
+SHA256 (golang-protobuf-v1.5.2_GH0.tar.gz) = 088cc0f3ba18fb8f9d00319568ff0af5a06d8925a6e6cb983bb837b4efb703b3
+SIZE (golang-protobuf-v1.5.2_GH0.tar.gz) = 171702
+SHA256 (golang-sys-97ca703d548d_GH0.tar.gz) = 8442ec1ca5eba53626b04367d9c39bc69fb0a2ceef9a2a950e848308b4ef0b15
+SIZE (golang-sys-97ca703d548d_GH0.tar.gz) = 1253842
+SHA256 (golang-text-v0.3.7_GH0.tar.gz) = 7cab2f6c3133ac1d422edd952b0dd2082fa55a73c2663fb2defd9bf83d649b26
+SIZE (golang-text-v0.3.7_GH0.tar.gz) = 8354718
+SHA256 (google-go-querystring-v1.1.0_GH0.tar.gz) = a5641dee688eb2c733608ce5a88d8181c93ad9f5083fd97fadbccb91afad9a56
+SIZE (google-go-querystring-v1.1.0_GH0.tar.gz) = 10423
+SHA256 (hashicorp-go-cleanhttp-v0.5.2_GH0.tar.gz) = 091d90c479401bc9047454c25f91a97a6707e6a279ce778e4881cf6b0191a47f
+SIZE (hashicorp-go-cleanhttp-v0.5.2_GH0.tar.gz) = 8094
+SHA256 (hashicorp-go-retryablehttp-v0.7.0_GH0.tar.gz) = d3abdd848a94001d2a807c10f6ba471b71181d82fe977b3f6cdc151c71076a05
+SIZE (hashicorp-go-retryablehttp-v0.7.0_GH0.tar.gz) = 20394
+SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2
+SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658
+SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
+SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
+SHA256 (magiconair-properties-v1.8.5_GH0.tar.gz) = f85ea629d145006f4df18fd8251fa005d95c311b068848043232f52d247ba45c
+SIZE (magiconair-properties-v1.8.5_GH0.tar.gz) = 30514
+SHA256 (mitchellh-mapstructure-v1.4.3_GH0.tar.gz) = 06198bdaa6782f68990134b88b5f0c1db44757cf81721c619fff5626d97fffc4
+SIZE (mitchellh-mapstructure-v1.4.3_GH0.tar.gz) = 28418
+SHA256 (pelletier-go-toml-v1.9.4_GH0.tar.gz) = 2b00521c81b994a72d0f3bd3aa9273cb17fab61a5e9749aff1108117a8d7c397
+SIZE (pelletier-go-toml-v1.9.4_GH0.tar.gz) = 106507
+SHA256 (protocolbuffers-protobuf-go-v1.27.1_GH0.tar.gz) = 3ec41a8324431e72f85e0dc0c2c098cc14c3cb1ee8820996c8f46afca2d65609
+SIZE (protocolbuffers-protobuf-go-v1.27.1_GH0.tar.gz) = 1278521
+SHA256 (spf13-afero-v1.6.0_GH0.tar.gz) = d1942de010ac7932bd21618aaf478b4f1413980449c061032f18beac7805d068
+SIZE (spf13-afero-v1.6.0_GH0.tar.gz) = 62130
+SHA256 (spf13-cast-v1.4.1_GH0.tar.gz) = 3d099a48b75a66ac52dbb473c93096076dca752af51087b8d163e15e5de721f8
+SIZE (spf13-cast-v1.4.1_GH0.tar.gz) = 13381
+SHA256 (spf13-cobra-v1.2.1_GH0.tar.gz) = 382d414ff7b8f421ae07d32d5a17161718b45bdd00de86dc107a34e639857794
+SIZE (spf13-cobra-v1.2.1_GH0.tar.gz) = 161312
+SHA256 (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 4fd850a792c5738954c4801cf549d8d0bf53edd17139cd39d179aa5abf7ec68d
+SIZE (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 6871
+SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
+SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
+SHA256 (spf13-viper-v1.10.0_GH0.tar.gz) = 8f8b240ab348d80f5eb50c473b1eb3346248dada5fc90ffc8fa6474bb862d9c8
+SIZE (spf13-viper-v1.10.0_GH0.tar.gz) = 106880
+SHA256 (subosito-gotenv-v1.2.0_GH0.tar.gz) = 5f6826992c11981018c77377f33dbc56d0be932e0d38a2f51e795c99725e7ba5
+SIZE (subosito-gotenv-v1.2.0_GH0.tar.gz) = 7359
+SHA256 (vultr-govultr-v2.12.0_GH0.tar.gz) = 6fc9dd8ea48f0e253ab9a140e713d521cf129c81999dc85b6407956045c8194b
+SIZE (vultr-govultr-v2.12.0_GH0.tar.gz) = 52671
diff --git a/www/vultr-cli/pkg-descr b/www/vultr-cli/pkg-descr
new file mode 100644
index 000000000000..13adbc80b128
--- /dev/null
+++ b/www/vultr-cli/pkg-descr
@@ -0,0 +1,3 @@
+The official command line tool for Vultr services.
+
+WWW: https://github.com/vultr/vultr-cli