Add sysutils/terraform-switcher

Tool to switch between different versions of terraform

PR:		250590
Submitted by:	Gabriel Dutra <0xdutra@gmail.com>
This commit is contained in:
Li-Wen Hsu 2020-10-27 04:08:27 +00:00
parent f095e9d025
commit 9a29bd5028
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553410
4 changed files with 114 additions and 0 deletions

View file

@ -1300,6 +1300,7 @@
SUBDIR += terraform-docs
SUBDIR += terraform-provider-gridscale
SUBDIR += terraform-provider-vultr
SUBDIR += terraform-switcher
SUBDIR += terragrunt
SUBDIR += testdisk
SUBDIR += thefish

View file

@ -0,0 +1,51 @@
# Created by: Gabriel M. Dutra <0xdutra@gmail.com>
# $FreeBSD$
PORTNAME= terraform-switcher
PORTVERSION= 0.8.832
CATEGORIES= sysutils
MAINTAINER= 0xdutra@gmail.com
COMMENT= Tool to switch between different versions of terraform
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= warrensbox
GH_TUPLE= \
Masterminds:semver:v1.5.0:masterminds_semver/vendor/github.com/Masterminds/semver \
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:f6d7a1f6fbf3:chzyer_readline/vendor/github.com/chzyer/readline \
fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
golang:sys:a43fa875dd82:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
google:go-cmp:v0.3.0:google_go_cmp/vendor/github.com/google/go-cmp \
hashicorp:hcl2:0c888d1241f6:hashicorp_hcl2/vendor/github.com/hashicorp/hcl2 \
hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
juju:ansiterm:720a0952cc2a:juju_ansiterm/vendor/github.com/juju/ansiterm \
kiranjthomas:terraform-config-inspect:a1d709eb2824:kiranjthomas_terraform_config_inspect/vendor/github.com/kiranjthomas/terraform-config-inspect \
lunixbochs:vtclean:d14193dfc626:lunixbochs_vtclean/vendor/github.com/lunixbochs/vtclean \
magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \
manifoldco:promptui:c0c0d3afc6a0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \
mattn:go-colorable:v0.0.9:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.3:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
mitchellh:go-wordwrap:v1.0.0:mitchellh_go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \
mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
pborman:getopt:7148bc3a4c30:pborman_getopt/vendor/github.com/pborman/getopt \
pelletier:go-toml:v1.4.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
spf13:afero:v1.2.2:spf13_afero/vendor/github.com/spf13/afero \
spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \
spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \
spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \
spf13:viper:v1.4.0:spf13_viper/vendor/github.com/spf13/viper \
zclconf:go-cty:v1.0.0:zclconf_go_cty/vendor/github.com/zclconf/go-cty
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>

View file

@ -0,0 +1,59 @@
TIMESTAMP = 1603767872
SHA256 (warrensbox-terraform-switcher-0.8.832_GH0.tar.gz) = 51e0630f7526a43ae69b60baf9cb43e3e9839884a303cba152ce8363c10ef029
SIZE (warrensbox-terraform-switcher-0.8.832_GH0.tar.gz) = 1817170
SHA256 (Masterminds-semver-v1.5.0_GH0.tar.gz) = c9140eddfb03dc862f826e7761561260b9a840afa7519cc0919e89a43b5be5ba
SIZE (Masterminds-semver-v1.5.0_GH0.tar.gz) = 21188
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-f6d7a1f6fbf3_GH0.tar.gz) = 580a56ae1160535b0f9d76d1de093844403e11c3e8104499541773e01f360906
SIZE (chzyer-readline-f6d7a1f6fbf3_GH0.tar.gz) = 36829
SHA256 (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = b7530d973d0ab0e58ad8ce1b9a4b963d6f57b3d72f2f9e13d49846976361b1cd
SIZE (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = 31139
SHA256 (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 42c3e4ef9eca2860d22b3c6c5582c6c13fb4b417e5ebc1acc56ee5e2c4ddcaff
SIZE (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 70656
SHA256 (golang-sys-a43fa875dd82_GH0.tar.gz) = 21fb8734aa64325999c45695259037a1762ec33152b658cc8fc0c08f5e75fbba
SIZE (golang-sys-a43fa875dd82_GH0.tar.gz) = 1384986
SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069
SHA256 (google-go-cmp-v0.3.0_GH0.tar.gz) = 7a5aa31b9619b0217a3e2af8b206ba0dbcf5c8322ceb5e9fad18ef252ad6b1c5
SIZE (google-go-cmp-v0.3.0_GH0.tar.gz) = 76127
SHA256 (hashicorp-hcl2-0c888d1241f6_GH0.tar.gz) = e969e572bf1d035683f4ecb7da68c97ba1d4db9f29aa8b4d21589755d37081cf
SIZE (hashicorp-hcl2-0c888d1241f6_GH0.tar.gz) = 382664
SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2
SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658
SHA256 (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 5595c2dc8973aab36a69648d4d94cac75a9ff4a28eb074a7b82b030fc7edbf64
SIZE (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 15417
SHA256 (kiranjthomas-terraform-config-inspect-a1d709eb2824_GH0.tar.gz) = cca14a1f91422785fcc7d252080fd29499b03360b8edc769a11b867538263c87
SIZE (kiranjthomas-terraform-config-inspect-a1d709eb2824_GH0.tar.gz) = 26926
SHA256 (lunixbochs-vtclean-d14193dfc626_GH0.tar.gz) = 9e35bb3474791049b2270f191a55ea7c89868ccd6f66e262cd7285a28b7a648d
SIZE (lunixbochs-vtclean-d14193dfc626_GH0.tar.gz) = 4253
SHA256 (magiconair-properties-v1.8.1_GH0.tar.gz) = 4449df3d2be86608bfc997228f66f1cff57bf620cc5bf9ba44339c7e4c5612dd
SIZE (magiconair-properties-v1.8.1_GH0.tar.gz) = 29735
SHA256 (manifoldco-promptui-c0c0d3afc6a0_GH0.tar.gz) = 38cd7221f12ddf5bebf3df7ba047cad885a8ccffe050c092e17ced7ed121f627
SIZE (manifoldco-promptui-c0c0d3afc6a0_GH0.tar.gz) = 19117
SHA256 (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 703db7bd13f84446bb06a7f075cf6b21d65b828cd6831dc9069e28b564bdfb87
SIZE (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 7593
SHA256 (mattn-go-isatty-v0.0.3_GH0.tar.gz) = daf68970a6506650b05bac72082865f88d582ecdb74418b95ac5621d5392b633
SIZE (mattn-go-isatty-v0.0.3_GH0.tar.gz) = 3364
SHA256 (mitchellh-go-wordwrap-v1.0.0_GH0.tar.gz) = 9bcf5c1f8b66594c73f606502bb3d9713d862a71ea66d8641e2a0b7bb66cb252
SIZE (mitchellh-go-wordwrap-v1.0.0_GH0.tar.gz) = 2777
SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b
SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980
SHA256 (pborman-getopt-7148bc3a4c30_GH0.tar.gz) = 1bc9d6aaa4f6b267259f22210d8be705cb4a75311a30f0878e5611254e683bc8
SIZE (pborman-getopt-7148bc3a4c30_GH0.tar.gz) = 37925
SHA256 (pelletier-go-toml-v1.4.0_GH0.tar.gz) = 04fb4855a64495c0c055c83b8a3446cabc6bfa4830eb458816370db38c0e67b0
SIZE (pelletier-go-toml-v1.4.0_GH0.tar.gz) = 73274
SHA256 (spf13-afero-v1.2.2_GH0.tar.gz) = b577afca7e9839aa7cf0ddd712af553aec671b74f97fe0c88c63f911d1020570
SIZE (spf13-afero-v1.2.2_GH0.tar.gz) = 46157
SHA256 (spf13-cast-v1.3.0_GH0.tar.gz) = e685282ea33f89e9354d148ad1886f532bcebe86b0b60a167988f7c6d081085f
SIZE (spf13-cast-v1.3.0_GH0.tar.gz) = 11085
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.3_GH0.tar.gz) = 9e57f86f493f04d9077fccd04e7139ebf243dd544e917ab83d35729b3e54a124
SIZE (spf13-pflag-v1.0.3_GH0.tar.gz) = 46002
SHA256 (spf13-viper-v1.4.0_GH0.tar.gz) = ee522a00960a36db8f83c820a85fce99a177db2b022697e5c1881cd852d9c4c0
SIZE (spf13-viper-v1.4.0_GH0.tar.gz) = 44183
SHA256 (zclconf-go-cty-v1.0.0_GH0.tar.gz) = ac71056841c867b5902b2026d8cc61c7efd9e8a7237c4c808ded9217da61ffb0
SIZE (zclconf-go-cty-v1.0.0_GH0.tar.gz) = 137745

View file

@ -0,0 +1,3 @@
A command line tool to switch between different versions of terraform
WWW: https://tfswitch.warrensbox.com/