git: 3cb52aaab346 - main - www/vultr-cli: Update to 2.17.0

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 30 Jul 2023 22:59:46 UTC
The branch main has been updated by fuz:

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

commit 3cb52aaab346050ff5c327a2116545f642050f39
Author:     Pat Maddox <pat@patmaddox.com>
AuthorDate: 2023-07-29 07:11:22 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-07-30 22:59:07 +0000

    www/vultr-cli: Update to 2.17.0
    
    Re-introduce dependencies since upstream no longer vendors them.
    
    Changelog: https://github.com/vultr/vultr-cli/blob/v2.17.0/CHANGELOG.md
    
    PR:             272458
    Approved by:    mandrews@bit0.com (maintainer timeout, 2 weeks)
---
 www/vultr-cli/Makefile | 36 +++++++++++++++++++++++------
 www/vultr-cli/distinfo | 62 ++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 86 insertions(+), 12 deletions(-)

diff --git a/www/vultr-cli/Makefile b/www/vultr-cli/Makefile
index 7cefc548f656..6e8878868e01 100644
--- a/www/vultr-cli/Makefile
+++ b/www/vultr-cli/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	vultr-cli
-PORTVERSION=	2.14.2
-PORTREVISION=	11
 DISTVERSIONPREFIX=	v
+DISTVERSION=	2.17.0
 CATEGORIES=	www
 
 MAINTAINER=	antranigv@freebsd.am
@@ -14,7 +13,34 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		go:modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	vultr
-GH_TUPLE=	golang:sys:v0.6.0:sys
+GH_TUPLE=	\
+		fsnotify:fsnotify:v1.6.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
+		go-check:check:10cb98267c6c:go_check_check/vendor/gopkg.in/check.v1 \
+		go-ini:ini:v1.67.0:go_ini_ini/vendor/gopkg.in/ini.v1 \
+		go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
+		golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \
+		golang:net:v0.11.0:golang_net/vendor/golang.org/x/net \
+		golang:oauth2:v0.9.0:golang_oauth2/vendor/golang.org/x/oauth2 \
+		golang:protobuf:v1.5.3:golang_protobuf/vendor/github.com/golang/protobuf \
+		golang:sys:v0.9.0:golang_sys/vendor/golang.org/x/sys \
+		golang:text:v0.10.0: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.4:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \
+		hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
+		inconshreveable:mousetrap:v1.1.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
+		magiconair:properties:v1.8.7:magiconair_properties/vendor/github.com/magiconair/properties \
+		mitchellh:mapstructure:v1.5.0:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
+		pelletier:go-toml:v2.0.8:pelletier_go_toml_v2/vendor/github.com/pelletier/go-toml/v2 \
+		protocolbuffers:protobuf-go:v1.30.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
+		spf13:afero:v1.9.5:spf13_afero/vendor/github.com/spf13/afero \
+		spf13:cast:v1.5.1:spf13_cast/vendor/github.com/spf13/cast \
+		spf13:cobra:v1.7.0: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.16.0:spf13_viper/vendor/github.com/spf13/viper \
+		subosito:gotenv:v1.4.2:subosito_gotenv/vendor/github.com/subosito/gotenv \
+		vultr:govultr:v3.0.3:vultr_govultr_v3/vendor/github.com/vultr/govultr/v3
 
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	CHANGELOG.md README.md
@@ -22,10 +48,6 @@ PORTDOCS=	CHANGELOG.md README.md
 OPTIONS_DEFINE=		DOCS
 OPTIONS_DEFAULT=	DOCS
 
-pre-patch:
-	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
-	${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
-
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/www/vultr-cli/distinfo b/www/vultr-cli/distinfo
index dc00c11c1aac..9f2c380cc674 100644
--- a/www/vultr-cli/distinfo
+++ b/www/vultr-cli/distinfo
@@ -1,5 +1,57 @@
-TIMESTAMP = 1679506932
-SHA256 (vultr-vultr-cli-v2.14.2_GH0.tar.gz) = 5971378e60249d274e3712ca17d3dbdb7b1a70e1c5ea424e21592eadb5880c3b
-SIZE (vultr-vultr-cli-v2.14.2_GH0.tar.gz) = 2247349
-SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
-SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
+TIMESTAMP = 1690616586
+SHA256 (vultr-vultr-cli-v2.17.0_GH0.tar.gz) = b8ebad96ed9f3377756c8dabbf058db9a3acbac83a46bc55b447a0b5c9093290
+SIZE (vultr-vultr-cli-v2.17.0_GH0.tar.gz) = 84918
+SHA256 (fsnotify-fsnotify-v1.6.0_GH0.tar.gz) = 583b2b399709d04807c5c3185e7d4dc0543d532af91fdeb85eeaf803a0b7703b
+SIZE (fsnotify-fsnotify-v1.6.0_GH0.tar.gz) = 46044
+SHA256 (go-check-check-10cb98267c6c_GH0.tar.gz) = 0a42d9d5a49ebc30174e5840238e446f5fb16899bfaa6a6f63d12ab9953df293
+SIZE (go-check-check-10cb98267c6c_GH0.tar.gz) = 32375
+SHA256 (go-ini-ini-v1.67.0_GH0.tar.gz) = 06ba51234140118d1b6064f1817aa89cc971c6e7ce04cb9d286e6660d89296c8
+SIZE (go-ini-ini-v1.67.0_GH0.tar.gz) = 53531
+SHA256 (go-yaml-yaml-v3.0.1_GH0.tar.gz) = cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5
+SIZE (go-yaml-yaml-v3.0.1_GH0.tar.gz) = 91173
+SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d813337dd57dcc800d7afdb5130e8c321a8f
+SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007
+SHA256 (golang-net-v0.11.0_GH0.tar.gz) = 9e1d564ac60aab2eee5e9fc6ceae0e6f6bd72d7d9c1bb461c9027b7205788a07
+SIZE (golang-net-v0.11.0_GH0.tar.gz) = 1283925
+SHA256 (golang-oauth2-v0.9.0_GH0.tar.gz) = 4bbdcba2ded2a4aeaec73148bfe26151a0cd7a853a5d1aaa0f1fa7e278fe675d
+SIZE (golang-oauth2-v0.9.0_GH0.tar.gz) = 88633
+SHA256 (golang-protobuf-v1.5.3_GH0.tar.gz) = 48457a6a9e8c78a7556ff5ff4a4c77d7df9bf70e882491ee0f3f1ff06db2bfaa
+SIZE (golang-protobuf-v1.5.3_GH0.tar.gz) = 171822
+SHA256 (golang-sys-v0.9.0_GH0.tar.gz) = c729ead5fa2667cff07132a153ae965ba315c97d8ea39eaa4f9bf91f73a50eac
+SIZE (golang-sys-v0.9.0_GH0.tar.gz) = 1439449
+SHA256 (golang-text-v0.10.0_GH0.tar.gz) = 4ee3d9f4113c817f4aad05195f1642e1122266c369013d38d72967b13ba9b118
+SIZE (golang-text-v0.10.0_GH0.tar.gz) = 8360805
+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.4_GH0.tar.gz) = ec50511b4cfb20bc8f5538a40d96194dc36d2496abec752f95bb2c5292ebeca4
+SIZE (hashicorp-go-retryablehttp-v0.7.4_GH0.tar.gz) = 22115
+SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2
+SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658
+SHA256 (inconshreveable-mousetrap-v1.1.0_GH0.tar.gz) = ab23e7c5cbf42564eb0190ee051b7217c04fd2599d2f26e9ebe205db75963141
+SIZE (inconshreveable-mousetrap-v1.1.0_GH0.tar.gz) = 5338
+SHA256 (magiconair-properties-v1.8.7_GH0.tar.gz) = 09e950df1970975400edc7f6c2f9e3edace4e1ea49f823006387d130fb0f4f03
+SIZE (magiconair-properties-v1.8.7_GH0.tar.gz) = 31425
+SHA256 (mitchellh-mapstructure-v1.5.0_GH0.tar.gz) = 81106cbac93000812c194b4a2069dd32913ec18819b1e99e8436595ce4939413
+SIZE (mitchellh-mapstructure-v1.5.0_GH0.tar.gz) = 30123
+SHA256 (pelletier-go-toml-v2.0.8_GH0.tar.gz) = d310cafad463460c8a5e64147c163afcaa824ea776627cd247edca03870a7d77
+SIZE (pelletier-go-toml-v2.0.8_GH0.tar.gz) = 896130
+SHA256 (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 3279a16ec3bdd7c53fe1599134de298ed90d9f3b6ec1c1eb5f3b76ba5aaa9f0c
+SIZE (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 1298988
+SHA256 (spf13-afero-v1.9.5_GH0.tar.gz) = e5cfd78a03a3137fe206580f6c01625df02e087fccf5ec520986ecdfbc583e20
+SIZE (spf13-afero-v1.9.5_GH0.tar.gz) = 94085
+SHA256 (spf13-cast-v1.5.1_GH0.tar.gz) = 445aa5b0e61b67ccd0d14fe38cd473d73775f1bec4b58fe83b16e3b0cab08a9a
+SIZE (spf13-cast-v1.5.1_GH0.tar.gz) = 15524
+SHA256 (spf13-cobra-v1.7.0_GH0.tar.gz) = efce686c813c787d8fc650f5bd1bbe903c168c8400003c3eafb8724a4a2d65c8
+SIZE (spf13-cobra-v1.7.0_GH0.tar.gz) = 187161
+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.16.0_GH0.tar.gz) = 337d52e795d94faf2b2188ee378ce3a58d97a3b53133f354de099e68b1447100
+SIZE (spf13-viper-v1.16.0_GH0.tar.gz) = 163952
+SHA256 (subosito-gotenv-v1.4.2_GH0.tar.gz) = b7bafced91bfb64f2f80a78b7c343f0a16099aa0a4049ea6e4d0fa5d62be1741
+SIZE (subosito-gotenv-v1.4.2_GH0.tar.gz) = 10641
+SHA256 (vultr-govultr-v3.0.3_GH0.tar.gz) = 564f55c7c63f764e472bb28301a5ed5bdc26f4dffcdb885963c8aa3163f79c43
+SIZE (vultr-govultr-v3.0.3_GH0.tar.gz) = 65756