git: d50ebac86383 - main - sysutils/terraform-switcher: Update to 1.0.2

From: Gabriel M. Dutra <dutra_at_FreeBSD.org>
Date: Fri, 05 Apr 2024 05:20:57 UTC
The branch main has been updated by dutra:

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

commit d50ebac863831cda93905042eda6121536483d6f
Author:     Gabriel M. Dutra <dutra@FreeBSD.org>
AuthorDate: 2024-04-05 05:18:32 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2024-04-05 05:19:41 +0000

    sysutils/terraform-switcher: Update to 1.0.2
    
    Use go 1.22
    
    changeLog:
    https://github.com/warrensbox/terraform-switcher/releases/tag/1.0.2
    
    Approved by:    garga (mentor, implicit)
---
 sysutils/terraform-switcher/Makefile | 40 ++++++++++---------
 sysutils/terraform-switcher/distinfo | 76 +++++++++++++++++++-----------------
 2 files changed, 62 insertions(+), 54 deletions(-)

diff --git a/sysutils/terraform-switcher/Makefile b/sysutils/terraform-switcher/Makefile
index ec9511701c04..ed1d8c624815 100644
--- a/sysutils/terraform-switcher/Makefile
+++ b/sysutils/terraform-switcher/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	terraform-switcher
-DISTVERSION=	0.13.1308
-PORTREVISION=	10
+DISTVERSION=	1.0.2
 CATEGORIES=	sysutils
 
 MAINTAINER=	dutra@FreeBSD.org
@@ -10,7 +9,7 @@ WWW=		https://tfswitch.warrensbox.com/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	go:modules
+USES=	go:1.22,modules
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	warrensbox
@@ -18,32 +17,35 @@ GH_TUPLE=	\
 		agext:levenshtein:v1.2.2:agext_levenshtein/vendor/github.com/agext/levenshtein \
 		apparentlymart:go-textseg:v1.0.0:apparentlymart_go_textseg/vendor/github.com/apparentlymart/go-textseg \
 		chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \
-		fsnotify:fsnotify:v1.5.4:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
-		go-ini:ini:v1.66.4:go_ini_ini/vendor/gopkg.in/ini.v1 \
-		go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
-		go-yaml:yaml:v3.0.0:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \
-		golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
-		google:go-cmp:v0.5.8:google_go_cmp/vendor/github.com/google/go-cmp \
+		fsnotify:fsnotify:v1.7.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
+		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:exp:921286631fa9:golang_exp/vendor/golang.org/x/exp \
+		golang:sys:v0.18.0:golang_sys/vendor/golang.org/x/sys \
+		golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \
+		google:go-cmp:v0.5.9:google_go_cmp/vendor/github.com/google/go-cmp \
 		hashicorp:go-version:v1.6.0:hashicorp_go_version/vendor/github.com/hashicorp/go-version \
 		hashicorp:hcl2:fb75b3253c80:hashicorp_hcl2/vendor/github.com/hashicorp/hcl2 \
 		hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
 		hashicorp:hcl:v2.0.0:hashicorp_hcl_v2/vendor/github.com/hashicorp/hcl/v2 \
-		hashicorp:terraform-config-inspect:90acf1ca460f:hashicorp_terraform_config_inspect/vendor/github.com/hashicorp/terraform-config-inspect \
-		magiconair:properties:v1.8.6:magiconair_properties/vendor/github.com/magiconair/properties \
+		hashicorp:terraform-config-inspect:a34142ec2a72:hashicorp_terraform_config_inspect/vendor/github.com/hashicorp/terraform-config-inspect \
+		magiconair:properties:v1.8.7:magiconair_properties/vendor/github.com/magiconair/properties \
 		manifoldco:promptui:v0.9.0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \
 		mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \
 		mitchellh:go-wordwrap:v1.0.0:mitchellh_go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \
 		mitchellh:mapstructure:v1.5.0:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
 		pborman:getopt:v1.1.0:pborman_getopt/vendor/github.com/pborman/getopt \
-		pelletier:go-toml:v1.9.5:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
-		pelletier:go-toml:v2.0.1:pelletier_go_toml_v2/vendor/github.com/pelletier/go-toml/v2 \
-		spf13:afero:v1.8.2:spf13_afero/vendor/github.com/spf13/afero \
-		spf13:cast:v1.5.0:spf13_cast/vendor/github.com/spf13/cast \
-		spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \
+		pelletier:go-toml:v2.1.0:pelletier_go_toml_v2/vendor/github.com/pelletier/go-toml/v2 \
+		sagikazarmark:locafero:v0.4.0:sagikazarmark_locafero/vendor/github.com/sagikazarmark/locafero \
+		sagikazarmark:slog-shim:v0.1.0:sagikazarmark_slog_shim/vendor/github.com/sagikazarmark/slog-shim \
+		sourcegraph:conc:v0.3.0:sourcegraph_conc/vendor/github.com/sourcegraph/conc \
+		spf13:afero:v1.11.0:spf13_afero/vendor/github.com/spf13/afero \
+		spf13:cast:v1.6.0:spf13_cast/vendor/github.com/spf13/cast \
 		spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \
-		spf13:viper:v1.12.0:spf13_viper/vendor/github.com/spf13/viper \
-		subosito:gotenv:v1.3.0:subosito_gotenv/vendor/github.com/subosito/gotenv \
+		spf13:viper:v1.18.2:spf13_viper/vendor/github.com/spf13/viper \
+		subosito:gotenv:v1.6.0:subosito_gotenv/vendor/github.com/subosito/gotenv \
+		uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \
+		uber-go:multierr:v1.9.0:uber_go_multierr/vendor/go.uber.org/multierr \
 		zclconf:go-cty:v1.1.0:zclconf_go_cty/vendor/github.com/zclconf/go-cty
 
 PLIST_FILES=	bin/${PORTNAME}
diff --git a/sysutils/terraform-switcher/distinfo b/sysutils/terraform-switcher/distinfo
index 8ab4ebc1ed96..4d2ab170eb6b 100644
--- a/sysutils/terraform-switcher/distinfo
+++ b/sysutils/terraform-switcher/distinfo
@@ -1,26 +1,26 @@
-TIMESTAMP = 1678909758
-SHA256 (warrensbox-terraform-switcher-0.13.1308_GH0.tar.gz) = ca6435b45a658113a8698f0456617167f0fe5e8156af3e2b8e91d113c6581e1a
-SIZE (warrensbox-terraform-switcher-0.13.1308_GH0.tar.gz) = 507151
+TIMESTAMP = 1712294026
+SHA256 (warrensbox-terraform-switcher-1.0.2_GH0.tar.gz) = ed52f5c687720583bbadc8f7dab78edfa5a1bcb459daa161d68c8e8a2225b2de
+SIZE (warrensbox-terraform-switcher-1.0.2_GH0.tar.gz) = 483956
 SHA256 (agext-levenshtein-v1.2.2_GH0.tar.gz) = b238bfd1dce6da173913c27cf2e172d58a55e7e6b7fc11736c7e45bd1af4818f
 SIZE (agext-levenshtein-v1.2.2_GH0.tar.gz) = 13098
 SHA256 (apparentlymart-go-textseg-v1.0.0_GH0.tar.gz) = addc7fbd3684db4b0a56744409b6bd96931387aa0f904ac67340fbbd233b41e0
 SIZE (apparentlymart-go-textseg-v1.0.0_GH0.tar.gz) = 129532
 SHA256 (chzyer-readline-2972be24d48e_GH0.tar.gz) = 8f425cfb33fce61a137866c0a88117c68f49de79a61a341353fc97339c6b74da
 SIZE (chzyer-readline-2972be24d48e_GH0.tar.gz) = 36825
-SHA256 (fsnotify-fsnotify-v1.5.4_GH0.tar.gz) = cb5f0105cb651186795c275271eea30ea151c9f6d4c8d8d9b25b819050531de7
-SIZE (fsnotify-fsnotify-v1.5.4_GH0.tar.gz) = 33771
-SHA256 (go-ini-ini-v1.66.4_GH0.tar.gz) = 6b64578fd951b1654ec09893ba7bf2cb8517c1a6905258aa0e5a85fff3fa3a91
-SIZE (go-ini-ini-v1.66.4_GH0.tar.gz) = 53337
-SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
-SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
-SHA256 (go-yaml-yaml-v3.0.0_GH0.tar.gz) = 6777f98a913c60ba2a1980665883898168674da018bb7447fc55bb33460e4bed
-SIZE (go-yaml-yaml-v3.0.0_GH0.tar.gz) = 91138
-SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
-SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
-SHA256 (golang-text-v0.3.7_GH0.tar.gz) = 7cab2f6c3133ac1d422edd952b0dd2082fa55a73c2663fb2defd9bf83d649b26
-SIZE (golang-text-v0.3.7_GH0.tar.gz) = 8354718
-SHA256 (google-go-cmp-v0.5.8_GH0.tar.gz) = 34b57f44eb6ead7de4988fd91a8605f77ecb4a430ddbba36bada0d0224017222
-SIZE (google-go-cmp-v0.5.8_GH0.tar.gz) = 104647
+SHA256 (fsnotify-fsnotify-v1.7.0_GH0.tar.gz) = ca8175ba6bd3d0cc992200c2f44acabec05367575dc0478c5902971fe7453f35
+SIZE (fsnotify-fsnotify-v1.7.0_GH0.tar.gz) = 57502
+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-exp-921286631fa9_GH0.tar.gz) = b977f1b4423bf62333597c2150bee6312a926abc1f9af59463eb2a34d4c2c8b9
+SIZE (golang-exp-921286631fa9_GH0.tar.gz) = 1634466
+SHA256 (golang-sys-v0.18.0_GH0.tar.gz) = cee1944ab655ddf7eab6301e15cb6d01fdd6cd0a0f0b5896050ee60b124e084c
+SIZE (golang-sys-v0.18.0_GH0.tar.gz) = 1448211
+SHA256 (golang-text-v0.14.0_GH0.tar.gz) = c80295e75bda599d17ccf74038139b0957b9915fae4e60d8b46f89454ef171a0
+SIZE (golang-text-v0.14.0_GH0.tar.gz) = 8974094
+SHA256 (google-go-cmp-v0.5.9_GH0.tar.gz) = 41a074c2fcfc72f813736f8ca8e3116e260a6b79af407d9da0d4c5e4c3f61acf
+SIZE (google-go-cmp-v0.5.9_GH0.tar.gz) = 104427
 SHA256 (hashicorp-go-version-v1.6.0_GH0.tar.gz) = bac1ea761f4f5818f9966d7a3ecbd97d3dcc277ad5f0c4832081d36b4b0b1991
 SIZE (hashicorp-go-version-v1.6.0_GH0.tar.gz) = 15892
 SHA256 (hashicorp-hcl2-fb75b3253c80_GH0.tar.gz) = 829f0de2566a8b12e68b754d96d0a3323fdd9e75fbfdeb0c34da262bc2966929
@@ -29,10 +29,10 @@ SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf8
 SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658
 SHA256 (hashicorp-hcl-v2.0.0_GH0.tar.gz) = bcb08b5b10982ad719b8f3849f2ca45e3fce45a6d6dd1ce82f263d7b8330f369
 SIZE (hashicorp-hcl-v2.0.0_GH0.tar.gz) = 370242
-SHA256 (hashicorp-terraform-config-inspect-90acf1ca460f_GH0.tar.gz) = de57ee86003048ae6c5aab61b258b77058dac259a165354907cdd6bfed9eab3b
-SIZE (hashicorp-terraform-config-inspect-90acf1ca460f_GH0.tar.gz) = 31871
-SHA256 (magiconair-properties-v1.8.6_GH0.tar.gz) = 59b7e9184d83405c09af4ec23ebd20737cce34fa79244ff1f6314085244b9907
-SIZE (magiconair-properties-v1.8.6_GH0.tar.gz) = 30241
+SHA256 (hashicorp-terraform-config-inspect-a34142ec2a72_GH0.tar.gz) = e5a64c790f6e722e35de302d58cc0e2bec2485dbcb16f99715b14c0dffe72027
+SIZE (hashicorp-terraform-config-inspect-a34142ec2a72_GH0.tar.gz) = 32774
+SHA256 (magiconair-properties-v1.8.7_GH0.tar.gz) = 09e950df1970975400edc7f6c2f9e3edace4e1ea49f823006387d130fb0f4f03
+SIZE (magiconair-properties-v1.8.7_GH0.tar.gz) = 31425
 SHA256 (manifoldco-promptui-v0.9.0_GH0.tar.gz) = 84a72dfb56f61436a04fdde28f62b32aa07af75895e3423f199f7872aea43114
 SIZE (manifoldco-promptui-v0.9.0_GH0.tar.gz) = 25926
 SHA256 (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600
@@ -43,21 +43,27 @@ SHA256 (mitchellh-mapstructure-v1.5.0_GH0.tar.gz) = 81106cbac93000812c194b4a2069
 SIZE (mitchellh-mapstructure-v1.5.0_GH0.tar.gz) = 30123
 SHA256 (pborman-getopt-v1.1.0_GH0.tar.gz) = 3018d7168bcafe3e8da21dab9e236cf4d8d6fa80691fb86e19b0d26ef1688567
 SIZE (pborman-getopt-v1.1.0_GH0.tar.gz) = 41186
-SHA256 (pelletier-go-toml-v1.9.5_GH0.tar.gz) = 7ee5ee9344a5c18eebf9487782e00b2dbeaaf19be64b447a1e1d90f8aed710e8
-SIZE (pelletier-go-toml-v1.9.5_GH0.tar.gz) = 106932
-SHA256 (pelletier-go-toml-v2.0.1_GH0.tar.gz) = 3ba7ff6cf4098a7bb5f50783ac12ec7b811ce7ee145e60b8dfcdebaf7f0d310a
-SIZE (pelletier-go-toml-v2.0.1_GH0.tar.gz) = 888067
-SHA256 (spf13-afero-v1.8.2_GH0.tar.gz) = a42e97857af6e66fed79ac636daf79c0c083e55b460adee47b580c07dfb3f9b5
-SIZE (spf13-afero-v1.8.2_GH0.tar.gz) = 91568
-SHA256 (spf13-cast-v1.5.0_GH0.tar.gz) = b5bf72b468a9a9a0509b7d87c984a9b2e653c9b87e9842da385f81c43bd05b9a
-SIZE (spf13-cast-v1.5.0_GH0.tar.gz) = 15287
-SHA256 (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 4fd850a792c5738954c4801cf549d8d0bf53edd17139cd39d179aa5abf7ec68d
-SIZE (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 6871
+SHA256 (pelletier-go-toml-v2.1.0_GH0.tar.gz) = ee61dae04dfb61262f2ab5c1b55dabaec8acb74f9513e4729b72511479eb9fd1
+SIZE (pelletier-go-toml-v2.1.0_GH0.tar.gz) = 899401
+SHA256 (sagikazarmark-locafero-v0.4.0_GH0.tar.gz) = 9ca93b1d037912d27bbd11689c8a14b15f151df2cd2391648df67465423364c1
+SIZE (sagikazarmark-locafero-v0.4.0_GH0.tar.gz) = 9674
+SHA256 (sagikazarmark-slog-shim-v0.1.0_GH0.tar.gz) = a594ec7e138265768a5c23f8ab460724d8215db45dc1bddde4743bca3373803d
+SIZE (sagikazarmark-slog-shim-v0.1.0_GH0.tar.gz) = 10872
+SHA256 (sourcegraph-conc-v0.3.0_GH0.tar.gz) = c20a36ef6e8cd4721b8824d3e0a590d78f56ce72ace53ec7fdd2f7a978e9240f
+SIZE (sourcegraph-conc-v0.3.0_GH0.tar.gz) = 23021
+SHA256 (spf13-afero-v1.11.0_GH0.tar.gz) = f83f67c4a03d8bba2b7fe1a496e848b2b1b7d97d0b951d85d2b401e7488a4ed4
+SIZE (spf13-afero-v1.11.0_GH0.tar.gz) = 89257
+SHA256 (spf13-cast-v1.6.0_GH0.tar.gz) = 8eef6bfd96458f061dd738f6e146b7687bdde18f996258c9bab0f574f8c36ae8
+SIZE (spf13-cast-v1.6.0_GH0.tar.gz) = 15616
 SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
 SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
-SHA256 (spf13-viper-v1.12.0_GH0.tar.gz) = 54b97b03ab6b666771a42ffd3bd0cd6672af87443ffd234a78a3e1c09c2061a1
-SIZE (spf13-viper-v1.12.0_GH0.tar.gz) = 114620
-SHA256 (subosito-gotenv-v1.3.0_GH0.tar.gz) = 04bf4a91fe8c2dba5bcb2a8d89a80d51f914c81bcf42a29e733c0405f99ced3c
-SIZE (subosito-gotenv-v1.3.0_GH0.tar.gz) = 8967
+SHA256 (spf13-viper-v1.18.2_GH0.tar.gz) = eb9223a46c6319b3add6cfe3e7986fde9919bd441d695169d6f1238d19a0d6d4
+SIZE (spf13-viper-v1.18.2_GH0.tar.gz) = 118481
+SHA256 (subosito-gotenv-v1.6.0_GH0.tar.gz) = 51a5a8e36f30ddd97866779e93c4e93b0d4958a60fabd1d17fc2226bfe7823db
+SIZE (subosito-gotenv-v1.6.0_GH0.tar.gz) = 11470
+SHA256 (uber-go-atomic-v1.9.0_GH0.tar.gz) = a6b11bb77c479298cdfdfdf2132975dbd975322b619451378cbdf731facd874a
+SIZE (uber-go-atomic-v1.9.0_GH0.tar.gz) = 21331
+SHA256 (uber-go-multierr-v1.9.0_GH0.tar.gz) = 0664e6c869ca2bef1851b77b9384d8fb1a5f41514b4b174da340e31c616da028
+SIZE (uber-go-multierr-v1.9.0_GH0.tar.gz) = 15662
 SHA256 (zclconf-go-cty-v1.1.0_GH0.tar.gz) = 9545f7bad06e4dc4e066597404d685fc4d935be9b86507d64773305fefc5f6bb
 SIZE (zclconf-go-cty-v1.1.0_GH0.tar.gz) = 138394