From b6d1ff96fa289a1248c95d31c92187343b623095 Mon Sep 17 00:00:00 2001 From: Dave Cottlehuber Date: Wed, 16 Nov 2022 23:07:42 +0000 Subject: [PATCH] sysutils/equinix-metal-cli: update to 0.11.0 - convert to GO_MODULE simplicity Reported by: portscout Sponsored by: SkunkWerks, GmbH --- sysutils/equinix-metal-cli/Makefile | 10 +-- sysutils/equinix-metal-cli/Makefile.deps | 36 ----------- sysutils/equinix-metal-cli/distinfo | 78 ++---------------------- 3 files changed, 7 insertions(+), 117 deletions(-) delete mode 100644 sysutils/equinix-metal-cli/Makefile.deps diff --git a/sysutils/equinix-metal-cli/Makefile b/sysutils/equinix-metal-cli/Makefile index d160346dcc21..7724a74784e8 100644 --- a/sysutils/equinix-metal-cli/Makefile +++ b/sysutils/equinix-metal-cli/Makefile @@ -1,7 +1,6 @@ PORTNAME= equinix-metal-cli DISTVERSIONPREFIX= v -DISTVERSION= 0.7.4 -PORTREVISION= 5 +DISTVERSION= 0.11.0 CATEGORIES= sysutils MAINTAINER= dch@FreeBSD.org @@ -12,13 +11,8 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules -USE_GITHUB= yes -GH_ACCOUNT= equinix -GH_PROJECT= metal-cli - -.include "${.CURDIR}/Makefile.deps" - GO_BUILDFLAGS= -ldflags "-X github.com/equinix/metal-cli/cmd.Version=v$(DISTVERSION)" +GO_MODULE= github.com/equinix/metal-cli GO_TARGET= ./cmd/metal PLIST_FILES= bin/metal diff --git a/sysutils/equinix-metal-cli/Makefile.deps b/sysutils/equinix-metal-cli/Makefile.deps deleted file mode 100644 index bf5a75cefe8c..000000000000 --- a/sysutils/equinix-metal-cli/Makefile.deps +++ /dev/null @@ -1,36 +0,0 @@ -GH_TUPLE= \ - chzyer:logex:v1.1.10:chzyer_logex/vendor/github.com/chzyer/logex \ - chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \ - chzyer:test:a1ea475d72b1:chzyer_test/vendor/github.com/chzyer/test \ - cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ - fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ - go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ - go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ - golang:crypto:eec23a3978ad:golang_crypto/vendor/golang.org/x/crypto \ - golang:sys:665e8c7367d1:golang_sys/vendor/golang.org/x/sys \ - golang:term:6886f2dfbf5b:golang_term/vendor/golang.org/x/term \ - golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \ - hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ - inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ - juju:ansiterm:720a0952cc2a:juju_ansiterm/vendor/github.com/juju/ansiterm \ - kubernetes-sigs:yaml:v1.2.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml \ - lunixbochs:vtclean:d14193dfc626:lunixbochs_vtclean/vendor/github.com/lunixbochs/vtclean \ - magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ - manifoldco:promptui:v0.3.0: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 \ - mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ - mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ - olekukonko:tablewriter:v0.0.5:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \ - packethost:packngo:v0.20.0:packethost_packngo/vendor/github.com/packethost/packngo \ - pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ - pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ - russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ - shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ - spf13:afero:v1.1.2:spf13_afero/vendor/github.com/spf13/afero \ - spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ - spf13:cobra:v1.1.3:spf13_cobra/vendor/github.com/spf13/cobra \ - spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ - spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ - spf13:viper:v1.7.1:spf13_viper/vendor/github.com/spf13/viper \ - subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv diff --git a/sysutils/equinix-metal-cli/distinfo b/sysutils/equinix-metal-cli/distinfo index 50d60fe44837..66b483045349 100644 --- a/sysutils/equinix-metal-cli/distinfo +++ b/sysutils/equinix-metal-cli/distinfo @@ -1,73 +1,5 @@ -TIMESTAMP = 1652778754 -SHA256 (equinix-metal-cli-v0.7.4_GH0.tar.gz) = 06a1d802e3ab6012ab58ebc780ada20a46a2e70aaf5fd34449d864b8b0d56432 -SIZE (equinix-metal-cli-v0.7.4_GH0.tar.gz) = 72232 -SHA256 (chzyer-logex-v1.1.10_GH0.tar.gz) = 578a6e2cc10cd9e188b9edbd9dfb762dae7d49e47c4f46637e6c7626641a5cef -SIZE (chzyer-logex-v1.1.10_GH0.tar.gz) = 4343 -SHA256 (chzyer-readline-2972be24d48e_GH0.tar.gz) = 8f425cfb33fce61a137866c0a88117c68f49de79a61a341353fc97339c6b74da -SIZE (chzyer-readline-2972be24d48e_GH0.tar.gz) = 36825 -SHA256 (chzyer-test-a1ea475d72b1_GH0.tar.gz) = fe176a7cdbf71ade6977f351b411da51a69f9ac9e75278e69f6e6303dad0b68d -SIZE (chzyer-test-a1ea475d72b1_GH0.tar.gz) = 4006 -SHA256 (cpuguy83-go-md2man-v2.0.0_GH0.tar.gz) = 50537880d42fc28b9c2e9aaa36b137349d43cc73d46436a499f8c928cd2fc576 -SIZE (cpuguy83-go-md2man-v2.0.0_GH0.tar.gz) = 52021 -SHA256 (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = b7530d973d0ab0e58ad8ce1b9a4b963d6f57b3d72f2f9e13d49846976361b1cd -SIZE (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = 31139 -SHA256 (go-ini-ini-v1.51.0_GH0.tar.gz) = 6c98311d375afbe36a246c5d29acb5cb428634a4186e591ce9b7fe2fa4f2a471 -SIZE (go-ini-ini-v1.51.0_GH0.tar.gz) = 43536 -SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0 -SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209 -SHA256 (golang-crypto-eec23a3978ad_GH0.tar.gz) = bd882536660d6b65619c9d9b9334e9a5c55557613e56e1b485323a2293dfa2f8 -SIZE (golang-crypto-eec23a3978ad_GH0.tar.gz) = 1725798 -SHA256 (golang-sys-665e8c7367d1_GH0.tar.gz) = 19c3498496d91ac9c0c0226c9b832c23a0b042b9a707be811ef976e801d373f4 -SIZE (golang-sys-665e8c7367d1_GH0.tar.gz) = 1200405 -SHA256 (golang-term-6886f2dfbf5b_GH0.tar.gz) = e2e151fcf388487e6d70ce589408f9848a78843a790e3bae5409c86b10493bf9 -SIZE (golang-term-6886f2dfbf5b_GH0.tar.gz) = 14933 -SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22 -SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069 -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 (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 5595c2dc8973aab36a69648d4d94cac75a9ff4a28eb074a7b82b030fc7edbf64 -SIZE (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 15417 -SHA256 (kubernetes-sigs-yaml-v1.2.0_GH0.tar.gz) = 80612b8cc63863556906f04df7eca89179bf81e5b3d1133c082bd7e5e35d5514 -SIZE (kubernetes-sigs-yaml-v1.2.0_GH0.tar.gz) = 92574 -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-v0.3.0_GH0.tar.gz) = 29f4a02ff6aca3e89c9f7e2e7b36f93d6a9280ba721411c6727205b162532bfd -SIZE (manifoldco-promptui-v0.3.0_GH0.tar.gz) = 19133 -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 (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 4f20a337ad06e071f29535afe9c5207d3e8840c8c86672bbc5f9837c6229c835 -SIZE (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 16714 -SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b -SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980 -SHA256 (olekukonko-tablewriter-v0.0.5_GH0.tar.gz) = 14a1294a8267facc9bc99a230b8871517e6db284ccc7e39030313befa124677f -SIZE (olekukonko-tablewriter-v0.0.5_GH0.tar.gz) = 19568 -SHA256 (packethost-packngo-v0.20.0_GH0.tar.gz) = 01189dcd872a9577826e72db34ff3eeb0a43310667381dcd91aaa09b5c0110bd -SIZE (packethost-packngo-v0.20.0_GH0.tar.gz) = 78597 -SHA256 (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 1a5a620f680033f17e34148bee8f26d96d8c27ff1d7f56f0fe1c7253595b5244 -SIZE (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 57496 -SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608 -SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415 -SHA256 (russross-blackfriday-v2.0.1_GH0.tar.gz) = 5a0f38a36b6f3b2d59b72d713451a895a4d3a4406b3533882483782e37797cff -SIZE (russross-blackfriday-v2.0.1_GH0.tar.gz) = 79613 -SHA256 (shurcooL-sanitized_anchor_name-v1.0.0_GH0.tar.gz) = 7e11964980f9b8595c17bc8970f0174621afe464920e38df7f8d77e45058388f -SIZE (shurcooL-sanitized_anchor_name-v1.0.0_GH0.tar.gz) = 2143 -SHA256 (spf13-afero-v1.1.2_GH0.tar.gz) = 66554a6b09b0009340ae77c119d5a14e2460bb3aea56e75e138c87e621f3803b -SIZE (spf13-afero-v1.1.2_GH0.tar.gz) = 45309 -SHA256 (spf13-cast-v1.3.0_GH0.tar.gz) = e685282ea33f89e9354d148ad1886f532bcebe86b0b60a167988f7c6d081085f -SIZE (spf13-cast-v1.3.0_GH0.tar.gz) = 11085 -SHA256 (spf13-cobra-v1.1.3_GH0.tar.gz) = e5f93c61e1236e61c7fc45882d2a03b81f46ebebdf70628ebb64b0b5fe34f6fa -SIZE (spf13-cobra-v1.1.3_GH0.tar.gz) = 146580 -SHA256 (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 2ece12b964e0d230b10851555185d42d3c81b401efda044265ae716eb1d0bc2d -SIZE (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 6392 -SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808 -SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796 -SHA256 (spf13-viper-v1.7.1_GH0.tar.gz) = de85215b50e9fbb2cdf63b0aa9df826a866dff8f718ba2dc3f5866e98d5bd39a -SIZE (spf13-viper-v1.7.1_GH0.tar.gz) = 82641 -SHA256 (subosito-gotenv-v1.2.0_GH0.tar.gz) = 5f6826992c11981018c77377f33dbc56d0be932e0d38a2f51e795c99725e7ba5 -SIZE (subosito-gotenv-v1.2.0_GH0.tar.gz) = 7359 +TIMESTAMP = 1668618712 +SHA256 (go/sysutils_equinix-metal-cli/equinix-metal-cli-v0.11.0/v0.11.0.mod) = 2070cf69b03d4fe86aa254139dba374b62b9c8c07955173b76f46b5d553f18e9 +SIZE (go/sysutils_equinix-metal-cli/equinix-metal-cli-v0.11.0/v0.11.0.mod) = 1425 +SHA256 (go/sysutils_equinix-metal-cli/equinix-metal-cli-v0.11.0/v0.11.0.zip) = 35c0242faf4bb05a0a238ddfc222c19d006b256269af31b976aaa599347f879a +SIZE (go/sysutils_equinix-metal-cli/equinix-metal-cli-v0.11.0/v0.11.0.zip) = 245240