git: deb8d70ec579 - main - sysutils/envconsul: Update version 0.11.0=>0.13.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 17 May 2023 04:53:15 UTC
The branch main has been updated by bofh:

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

commit deb8d70ec579b093426a2a5fc75a0341168410fd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-16 18:42:31 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-17 04:53:03 +0000

    sysutils/envconsul: Update version 0.11.0=>0.13.1
    
    Changelog: https://github.com/hashicorp/envconsul/releases/tag/v0.13.1
---
 sysutils/envconsul/Makefile | 67 +++++------------------------------
 sysutils/envconsul/distinfo | 86 +++------------------------------------------
 2 files changed, 14 insertions(+), 139 deletions(-)

diff --git a/sysutils/envconsul/Makefile b/sysutils/envconsul/Makefile
index 07521e1fa5bc..6e0e10734065 100644
--- a/sysutils/envconsul/Makefile
+++ b/sysutils/envconsul/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	envconsul
-PORTVERSION=	0.11.0
+PORTVERSION=	0.13.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	13
 CATEGORIES=	sysutils
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -13,71 +12,23 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
 
-USE_GITHUB=	yes
-GH_TUPLE=	hashicorp:${PORTNAME}:${DISTVERSIONPREFIX}${PORTVERSION}:DEFAULT/src/github.com/hashicorp/${PORTNAME} \
-		BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
-		armon:go-metrics:ec5e00d3c878:armon_go_metrics/vendor/github.com/armon/go-metrics \
-		fatih:color:v1.9.0:fatih_color/vendor/github.com/fatih/color \
-		go-yaml:yaml:v2.2.8:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
-		golang:crypto:4def268fd1a4:golang_crypto/vendor/golang.org/x/crypto \
-		golang:net:ca1201d0de80:golang_net/vendor/golang.org/x/net \
-		golang:snappy:v0.0.1:golang_snappy/vendor/github.com/golang/snappy \
-		golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
-		golang:time:9d24e82272b4:golang_time/vendor/golang.org/x/time \
-		hashicorp:consul-template:v0.25.1:hashicorp_consul_template/vendor/github.com/hashicorp/consul-template \
-		hashicorp:consul:api/v1.4.0:hashicorp_consul_api/vendor/github.com/hashicorp/consul_api \
-		hashicorp:consul:sdk/v0.4.0:hashicorp_consul_sdk/vendor/github.com/hashicorp/consul_sdk \
-		hashicorp:errwrap:v1.0.0:hashicorp_errwrap/vendor/github.com/hashicorp/errwrap \
-		hashicorp:go-cleanhttp:v0.5.1:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \
-		hashicorp:go-gatedio:v0.5.0:hashicorp_go_gatedio/vendor/github.com/hashicorp/go-gatedio \
-		hashicorp:go-hclog:v0.12.0:hashicorp_go_hclog/vendor/github.com/hashicorp/go-hclog \
-		hashicorp:go-immutable-radix:v1.1.0:hashicorp_go_immutable_radix/vendor/github.com/hashicorp/go-immutable-radix \
-		hashicorp:go-multierror:v1.0.0:hashicorp_go_multierror/vendor/github.com/hashicorp/go-multierror \
-		hashicorp:go-retryablehttp:v0.5.4:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \
-		hashicorp:go-rootcerts:v1.0.2:hashicorp_go_rootcerts/vendor/github.com/hashicorp/go-rootcerts \
-		hashicorp:go-sockaddr:v1.0.2:hashicorp_go_sockaddr/vendor/github.com/hashicorp/go-sockaddr \
-		hashicorp:go-syslog:v1.0.0:hashicorp_go_syslog/vendor/github.com/hashicorp/go-syslog \
-		hashicorp:golang-lru:v0.5.3:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \
-		hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
-		hashicorp:logutils:v1.0.0:hashicorp_logutils/vendor/github.com/hashicorp/logutils \
-		hashicorp:serf:v0.8.3:hashicorp_serf/vendor/github.com/hashicorp/serf \
-		hashicorp:vault:0dc007d98cc8:hashicorp_vault_sdk/vendor/github.com/hashicorp/vault \
-		hashicorp:vault:746c0b111519:hashicorp_vault_api \
-		mattn:go-colorable:v0.1.4:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
-		mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
-		mattn:go-shellwords:v1.0.5:mattn_go_shellwords/vendor/github.com/mattn/go-shellwords \
-		mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \
-		mitchellh:hashstructure:v1.0.0:mitchellh_hashstructure/vendor/github.com/mitchellh/hashstructure \
-		mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
-		pierrec:lz4:v2.2.5:pierrec_lz4/vendor/github.com/pierrec/lz4 \
-		pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \
-		ryanuber:go-glob:v1.0.0:ryanuber_go_glob/vendor/github.com/ryanuber/go-glob \
-		square:go-jose:v2.3.1:square_go_jose/vendor/gopkg.in/square/go-jose.v2
-
-PLIST_FILES=	bin/envconsul
-
-OPTIONS_DEFINE=	DOCS
-
-PORTDOCS=	README.md
-GHTAG=		9f66f6c5
-
+GO_MODULE=	github.com/hashicorp/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags='\
 		-s -w \
 		-X github.com/hashicorp/envconsul/version.Name=${PORTNAME} \
 		-X github.com/hashicorp/envconsul/version.GitCommit=${GHTAG}'
 
-post-extract:
-	@${RM} -r ${WRKSRC}/vendor/github.com/hashicorp/vault/api
-	@${RLN} ${WRKSRC_hashicorp_vault_api}/api ${WRKSRC}/vendor/github.com/hashicorp/vault/api
-	@${MKDIR} ${WRKSRC}/vendor/github.com/hashicorp/consul
-	@${RLN} ${WRKSRC_hashicorp_consul_api}/api ${WRKSRC}/vendor/github.com/hashicorp/consul/api
-	@${RLN} ${WRKSRC_hashicorp_consul_sdk} ${WRKSRC}/vendor/github.com/hashicorp/consul/sdk
+PLIST_FILES=	bin/envconsul
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+GHTAG=	3111d81
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in ${PORTDOCS}
-	${CP} ${WRKSRC}/src/github.com/hashicorp/envconsul/${doc} ${STAGEDIR}${DOCSDIR}
+	${CP} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
 
 .include <bsd.port.mk>
diff --git a/sysutils/envconsul/distinfo b/sysutils/envconsul/distinfo
index 113ef4c5174f..df08a82475c7 100644
--- a/sysutils/envconsul/distinfo
+++ b/sysutils/envconsul/distinfo
@@ -1,81 +1,5 @@
-TIMESTAMP = 1679330507
-SHA256 (hashicorp-envconsul-v0.11.0_GH0.tar.gz) = 9b3dc7e34bbc07abc0f5b81d50224ea12917e991ff053f71ad20fdcbe517998f
-SIZE (hashicorp-envconsul-v0.11.0_GH0.tar.gz) = 60630
-SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f
-SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077
-SHA256 (armon-go-metrics-ec5e00d3c878_GH0.tar.gz) = de6df8b15d119c393073fb1ddc53c4859d58d7163caddffe2a78b90034fb5876
-SIZE (armon-go-metrics-ec5e00d3c878_GH0.tar.gz) = 27431
-SHA256 (fatih-color-v1.9.0_GH0.tar.gz) = f5a6372ff7c87d22baaa2089e5cdd8a218fb3a9be047195c0ab421d5340f6f3f
-SIZE (fatih-color-v1.9.0_GH0.tar.gz) = 1230941
-SHA256 (go-yaml-yaml-v2.2.8_GH0.tar.gz) = 9632d0760e9a07c414f2b2b6cd453d6225e42ecea77906883b23f1f1d0546045
-SIZE (go-yaml-yaml-v2.2.8_GH0.tar.gz) = 72732
-SHA256 (golang-crypto-4def268fd1a4_GH0.tar.gz) = eaf2ba9df95911f41a340478d1fbb540d7bc21939e4688273995dabf58e8c7b0
-SIZE (golang-crypto-4def268fd1a4_GH0.tar.gz) = 1693117
-SHA256 (golang-net-ca1201d0de80_GH0.tar.gz) = 1d0b1f44b64c6248ce65f4d78add4228f15ffbdbe4a559a6d1effa410ce01071
-SIZE (golang-net-ca1201d0de80_GH0.tar.gz) = 1099216
-SHA256 (golang-snappy-v0.0.1_GH0.tar.gz) = b1d97f47fcb61cb0cdd54bc424eda980c47838effb0ec9e322506514a50fee85
-SIZE (golang-snappy-v0.0.1_GH0.tar.gz) = 62605
-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.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
-SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069
-SHA256 (golang-time-9d24e82272b4_GH0.tar.gz) = 7452a7b879ee5984709b2165f6212ad9464977f06d440140b8690e61695aa404
-SIZE (golang-time-9d24e82272b4_GH0.tar.gz) = 9313
-SHA256 (hashicorp-consul-template-v0.25.1_GH0.tar.gz) = f8d214733961ef3333493ce912180c5c0311c87e4b1a116308f31283b6c77419
-SIZE (hashicorp-consul-template-v0.25.1_GH0.tar.gz) = 198375
-SHA256 (hashicorp-consul-api-v1.4.0_GH0.tar.gz) = c8ce7d3e19f95362d55083ce3f376a3ea9e6edae05b8f4b5c6ab30ca7613c704
-SIZE (hashicorp-consul-api-v1.4.0_GH0.tar.gz) = 22792797
-SHA256 (hashicorp-consul-sdk-v0.4.0_GH0.tar.gz) = 7ea2ae250b6e2ae93bd37c3bad565bc63b8bd279826e00284f225c8b38b77d57
-SIZE (hashicorp-consul-sdk-v0.4.0_GH0.tar.gz) = 22792595
-SHA256 (hashicorp-errwrap-v1.0.0_GH0.tar.gz) = 26afc0e5895c6ce87c881c5c02c682ccc9a08174a9c27ca26d4a1e72dbf78128
-SIZE (hashicorp-errwrap-v1.0.0_GH0.tar.gz) = 8346
-SHA256 (hashicorp-go-cleanhttp-v0.5.1_GH0.tar.gz) = 24dedefe5edc4698dfa7e15a472369078a3447e8096e6d856549341c873c4a0b
-SIZE (hashicorp-go-cleanhttp-v0.5.1_GH0.tar.gz) = 8069
-SHA256 (hashicorp-go-gatedio-v0.5.0_GH0.tar.gz) = e31af667617112541f3c79999defaea9eee316969ab867674dfd2fa6f3dc5b77
-SIZE (hashicorp-go-gatedio-v0.5.0_GH0.tar.gz) = 8250
-SHA256 (hashicorp-go-hclog-v0.12.0_GH0.tar.gz) = 5e6e0bb93e825397507bc55b4bdeba5f5a4d47d606eb8df84c24fd6997340c93
-SIZE (hashicorp-go-hclog-v0.12.0_GH0.tar.gz) = 31223
-SHA256 (hashicorp-go-immutable-radix-v1.1.0_GH0.tar.gz) = 7c8eb6ecabcf4428e2f3b6bbb99c74d6c5e568ea1c42a029b284ae96dbccd57f
-SIZE (hashicorp-go-immutable-radix-v1.1.0_GH0.tar.gz) = 22073
-SHA256 (hashicorp-go-multierror-v1.0.0_GH0.tar.gz) = 5ae83eea62b2c845d41087c38c878741337e092db114b9a7ca9aebe5bf1dd264
-SIZE (hashicorp-go-multierror-v1.0.0_GH0.tar.gz) = 10066
-SHA256 (hashicorp-go-retryablehttp-v0.5.4_GH0.tar.gz) = 78e41c14e041a83878fc57d4d90e3642f91ea8031cbba348bd07f656085be69e
-SIZE (hashicorp-go-retryablehttp-v0.5.4_GH0.tar.gz) = 15129
-SHA256 (hashicorp-go-rootcerts-v1.0.2_GH0.tar.gz) = dca11d5ff16f3d29f632a7bf3c13cb9c87f021a5363faf22e4c45c8e073bf64c
-SIZE (hashicorp-go-rootcerts-v1.0.2_GH0.tar.gz) = 12242
-SHA256 (hashicorp-go-sockaddr-v1.0.2_GH0.tar.gz) = ce70228b6c0ac432b97c2a98697600668bf7ac8b4cd21e7c6767bed1e755ae7f
-SIZE (hashicorp-go-sockaddr-v1.0.2_GH0.tar.gz) = 663049
-SHA256 (hashicorp-go-syslog-v1.0.0_GH0.tar.gz) = be4bda814c068311ea8e185e2d108077f167897cfa868ada7f56d97a10f3d602
-SIZE (hashicorp-go-syslog-v1.0.0_GH0.tar.gz) = 4517
-SHA256 (hashicorp-golang-lru-v0.5.3_GH0.tar.gz) = dd98197fc84fbf636b6811ff3c14ef1ea0fe732fe782b8034cf082b3ff274af3
-SIZE (hashicorp-golang-lru-v0.5.3_GH0.tar.gz) = 13348
-SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2
-SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658
-SHA256 (hashicorp-logutils-v1.0.0_GH0.tar.gz) = 9e3c7cee3552acacd2ad1d212f87c682d227179e34b306afdce945b41799e4b6
-SIZE (hashicorp-logutils-v1.0.0_GH0.tar.gz) = 7753
-SHA256 (hashicorp-serf-v0.8.3_GH0.tar.gz) = 9437b8b1a7f7c2e43e5df5ccd1385134e3e7dd33ca34771e461490daf1beefce
-SIZE (hashicorp-serf-v0.8.3_GH0.tar.gz) = 1970313
-SHA256 (hashicorp-vault-0dc007d98cc8_GH0.tar.gz) = 31da33941b4ea386591da1c0ef2ec7738583dfbfde615eb6d1e7d23033d0dcd9
-SIZE (hashicorp-vault-0dc007d98cc8_GH0.tar.gz) = 27588167
-SHA256 (hashicorp-vault-746c0b111519_GH0.tar.gz) = cc03f8337a6d36904f080a891e5e69a22168f1c904076864317d3d32ea99ba4b
-SIZE (hashicorp-vault-746c0b111519_GH0.tar.gz) = 27586132
-SHA256 (mattn-go-colorable-v0.1.4_GH0.tar.gz) = 157806ad8125e6bef4d9b58c9125ccb98a8343136f93faf442ab0cc6e7c24c11
-SIZE (mattn-go-colorable-v0.1.4_GH0.tar.gz) = 8981
-SHA256 (mattn-go-isatty-v0.0.12_GH0.tar.gz) = addbdc341d7685ed4cc8d2d8a8fd2bd9b784bde00d0ea99fb251039fc10c611c
-SIZE (mattn-go-isatty-v0.0.12_GH0.tar.gz) = 4548
-SHA256 (mattn-go-shellwords-v1.0.5_GH0.tar.gz) = 58b3312528c83d57fca0b56f19a2af48de36403e450ac0339e961efdab17482f
-SIZE (mattn-go-shellwords-v1.0.5_GH0.tar.gz) = 4261
-SHA256 (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600
-SIZE (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 3362
-SHA256 (mitchellh-hashstructure-v1.0.0_GH0.tar.gz) = 48cad81434c28dc8c04518e8d80ccc387dfaac25e0412021ba048cc9a4683424
-SIZE (mitchellh-hashstructure-v1.0.0_GH0.tar.gz) = 6507
-SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b
-SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980
-SHA256 (pierrec-lz4-v2.2.5_GH0.tar.gz) = 59d3ef5e5c19e62b5dcad92ba9210145cfe26cd8777f1dad6dac75707b13aa5e
-SIZE (pierrec-lz4-v2.2.5_GH0.tar.gz) = 20499382
-SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13493ba6294322a933a5a7e356
-SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009
-SHA256 (ryanuber-go-glob-v1.0.0_GH0.tar.gz) = 4e2b03027a6de87825fcf450a728c86b83d9c30b062310323c6009e298da6711
-SIZE (ryanuber-go-glob-v1.0.0_GH0.tar.gz) = 2969
-SHA256 (square-go-jose-v2.3.1_GH0.tar.gz) = 325bc36d91cc97d724c5c7d107adb7d75c1de32a18e9ff75a3b8341a995c3b6a
-SIZE (square-go-jose-v2.3.1_GH0.tar.gz) = 299480
+TIMESTAMP = 1684261621
+SHA256 (go/sysutils_envconsul/envconsul-v0.13.1/v0.13.1.mod) = afe2c2e269e88735ab2c55563f60351dea8f21965d3a6c93e5b38b4f0cff1e81
+SIZE (go/sysutils_envconsul/envconsul-v0.13.1/v0.13.1.mod) = 3408
+SHA256 (go/sysutils_envconsul/envconsul-v0.13.1/v0.13.1.zip) = 192650c4f63a9de725ebe2280a820675e6abcdfe1795edce16606f9323a4d13b
+SIZE (go/sysutils_envconsul/envconsul-v0.13.1/v0.13.1.zip) = 86535