git: 8bb1be11dfef - main - sysutils/nut_exporter: Update to 3.0.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 08 Apr 2023 18:38:16 UTC
The branch main has been updated by eduardo:

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

commit 8bb1be11dfef2a4688e3fce9ee831d0b3984b5e8
Author:     Jony Hudson <bsd@j-star.org>
AuthorDate: 2023-04-08 18:36:38 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-04-08 18:38:00 +0000

    sysutils/nut_exporter: Update to 3.0.0
    
    ChangeLog:      https://github.com/DRuggeri/nut_exporter/releases/tag/v3.0.0
                    https://github.com/DRuggeri/nut_exporter/releases/tag/v2.5.3
    PR:             270700
---
 sysutils/nut_exporter/Makefile | 44 ++++++++++++++---------
 sysutils/nut_exporter/distinfo | 82 +++++++++++++++++++++++++++---------------
 2 files changed, 80 insertions(+), 46 deletions(-)

diff --git a/sysutils/nut_exporter/Makefile b/sysutils/nut_exporter/Makefile
index ad493e2f8709..214012e139e0 100644
--- a/sysutils/nut_exporter/Makefile
+++ b/sysutils/nut_exporter/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	nut_exporter
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.5.2
-PORTREVISION=	5
+DISTVERSION=	3.0.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	bsd@j-star.org
@@ -14,24 +13,35 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		go:modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	DRuggeri
-GH_TUPLE=	alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \
-		alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \
-		alecthomas:units:f65c72e2690d:alecthomas_units/vendor/github.com/alecthomas/units \
+GH_TUPLE=	alecthomas:kingpin:v2.3.2:alecthomas_kingpin_v2/vendor/github.com/alecthomas/kingpin/v2 \
+		alecthomas:units:b94a6e3cc137:alecthomas_units/vendor/github.com/alecthomas/units \
 		beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
-		cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
-		go-kit:log:v0.2.0:go_kit_log/vendor/github.com/go-kit/log \
+		cespare:xxhash:v2.1.2:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
+		coreos:go-systemd:v22.5.0:coreos_go_systemd_v22/vendor/github.com/coreos/go-systemd/v22 \
+		go-kit:log:v0.2.1:go_kit_log/vendor/github.com/go-kit/log \
 		go-logfmt:logfmt:v0.5.1:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
-		golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \
+		go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
+		golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \
+		golang:crypto:v0.7.0:golang_crypto/vendor/golang.org/x/crypto \
+		golang:net:v0.8.0:golang_net/vendor/golang.org/x/net \
+		golang:oauth2:v0.6.0:golang_oauth2/vendor/golang.org/x/oauth2 \
+		golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
+		golang:sync:v0.1.0:golang_sync/vendor/golang.org/x/sync \
 		golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
-		matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
-		pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
-		prometheus:client_golang:v1.11.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
-		prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
-		prometheus:common:v0.32.1:prometheus_common/vendor/github.com/prometheus/common \
-		prometheus:procfs:v0.6.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
-		protocolbuffers:protobuf-go:v1.26.0-rc.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
-		robbiet480:go.nut:bd8f121e1fa1:robbiet480_go_nut/vendor/github.com/robbiet480/go.nut
-
+		golang:text:v0.8.0:golang_text/vendor/golang.org/x/text \
+		jpillora:backoff:v1.0.0:jpillora_backoff/vendor/github.com/jpillora/backoff \
+		kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \
+		matttproud:golang_protobuf_extensions:v1.0.4:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
+		mwitkow:go-conntrack:2f068394615f:mwitkow_go_conntrack/vendor/github.com/mwitkow/go-conntrack \
+		prometheus:client_golang:v1.14.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
+		prometheus:client_model:v0.3.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
+		prometheus:common:v0.41.0:prometheus_common/vendor/github.com/prometheus/common \
+		prometheus:exporter-toolkit:feef77d71811:prometheus_exporter_toolkit/vendor/github.com/prometheus/exporter-toolkit \
+		prometheus:procfs:v0.9.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
+		protocolbuffers:protobuf-go:v1.28.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
+		robbiet480:go.nut:bd8f121e1fa1:robbiet480_go_nut/vendor/github.com/robbiet480/go.nut \
+		rogpeppe:go-internal:v1.9.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \
+		xhit:go-str2duration:v2.1.0:xhit_go_str2duration_v2/vendor/github.com/xhit/go-str2duration/v2
 USE_RC_SUBR=	nut_exporter
 PLIST_FILES=	bin/nut_exporter
 
diff --git a/sysutils/nut_exporter/distinfo b/sysutils/nut_exporter/distinfo
index 9201a519cfb7..21ea950d2fdc 100644
--- a/sysutils/nut_exporter/distinfo
+++ b/sysutils/nut_exporter/distinfo
@@ -1,37 +1,61 @@
-TIMESTAMP = 1678527523
-SHA256 (DRuggeri-nut_exporter-v2.5.2_GH0.tar.gz) = eb8d7f3b9bbc0c95549d73b81f773eaacf72c81cd8937e0457c6900ef6a82345
-SIZE (DRuggeri-nut_exporter-v2.5.2_GH0.tar.gz) = 201180
-SHA256 (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 4624eae43489de8a71ea60efaf6744c581b6bd62909f7514c484c1ea0efaba5a
-SIZE (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 44383
-SHA256 (alecthomas-template-fb15b899a751_GH0.tar.gz) = 2e2a44375eca48ce941182504b5d13aa98182b9a3f64ace33bfda52208bd0f5e
-SIZE (alecthomas-template-fb15b899a751_GH0.tar.gz) = 55339
-SHA256 (alecthomas-units-f65c72e2690d_GH0.tar.gz) = ece06024b01821e013bd7158dfe8ec8cc697f586ce8d3cfaa22edde8c2f022c3
-SIZE (alecthomas-units-f65c72e2690d_GH0.tar.gz) = 4925
+TIMESTAMP = 1680949783
+SHA256 (DRuggeri-nut_exporter-v3.0.0_GH0.tar.gz) = 66dfa430fe2d8874a80ae29e26adc71fd2f9390d6fa23a15279c247d9f1764b1
+SIZE (DRuggeri-nut_exporter-v3.0.0_GH0.tar.gz) = 188904
+SHA256 (alecthomas-kingpin-v2.3.2_GH0.tar.gz) = c728098f6d9c9bf2c0eb0f47c3e07babeb6613b2429c43284e8b779e186a92ab
+SIZE (alecthomas-kingpin-v2.3.2_GH0.tar.gz) = 51066
+SHA256 (alecthomas-units-b94a6e3cc137_GH0.tar.gz) = 85363142a53436bea696d297e5b5fcda6bc6a8104b1d7ba0db88ffee455b72e2
+SIZE (alecthomas-units-b94a6e3cc137_GH0.tar.gz) = 6012
 SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
 SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867
-SHA256 (cespare-xxhash-v2.1.1_GH0.tar.gz) = 0ee31178d2c5a1249be4e26294a2f428008dc4e1ecbbfbe47f74e41026df1148
-SIZE (cespare-xxhash-v2.1.1_GH0.tar.gz) = 9292
-SHA256 (go-kit-log-v0.2.0_GH0.tar.gz) = 5dfaf2a831debe95b84ce6e9c889a9cff162720a73fd0ab61cb151d2cc649b5c
-SIZE (go-kit-log-v0.2.0_GH0.tar.gz) = 29069
+SHA256 (cespare-xxhash-v2.1.2_GH0.tar.gz) = 471399cfcf0b1bd188add8d34435b91e7011cedbfe76e29687803a9d74320352
+SIZE (cespare-xxhash-v2.1.2_GH0.tar.gz) = 11244
+SHA256 (coreos-go-systemd-v22.5.0_GH0.tar.gz) = b56f4a5aa5cd8a5a2e8b323fb8e76b4a45c6ea6a319a42d9bb2851c54e97a3a1
+SIZE (coreos-go-systemd-v22.5.0_GH0.tar.gz) = 75550
+SHA256 (go-kit-log-v0.2.1_GH0.tar.gz) = b37718967f9cbdb3eea4aa2fa9420b7d329b6bab7f9b85f970db197257226152
+SIZE (go-kit-log-v0.2.1_GH0.tar.gz) = 30579
 SHA256 (go-logfmt-logfmt-v0.5.1_GH0.tar.gz) = a9a93f7cbb92a53a587fda196bc040264a625e76064495e95cb3e907f9a93499
 SIZE (go-logfmt-logfmt-v0.5.1_GH0.tar.gz) = 12115
-SHA256 (golang-protobuf-v1.4.3_GH0.tar.gz) = 5736f943f8647362f5559689df6154f3c85d261fb088867c8a68494e2a767610
-SIZE (golang-protobuf-v1.4.3_GH0.tar.gz) = 171969
+SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
+SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
+SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d813337dd57dcc800d7afdb5130e8c321a8f
+SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007
+SHA256 (golang-crypto-v0.7.0_GH0.tar.gz) = a7e73081a33f1bf496753a0cfd374052fb52da16d00600ca411d086a23da6178
+SIZE (golang-crypto-v0.7.0_GH0.tar.gz) = 1634438
+SHA256 (golang-net-v0.8.0_GH0.tar.gz) = f9e2128a2d6861db0595428c7cce62fe5a131348a6c7651b6efa8b03d0b10831
+SIZE (golang-net-v0.8.0_GH0.tar.gz) = 1244302
+SHA256 (golang-oauth2-v0.6.0_GH0.tar.gz) = 9114431a99c6b75b1d0d738dba462edb9ba618b6735710e2d9164cebaadaee77
+SIZE (golang-oauth2-v0.6.0_GH0.tar.gz) = 86646
+SHA256 (golang-protobuf-v1.5.2_GH0.tar.gz) = 088cc0f3ba18fb8f9d00319568ff0af5a06d8925a6e6cb983bb837b4efb703b3
+SIZE (golang-protobuf-v1.5.2_GH0.tar.gz) = 171702
+SHA256 (golang-sync-v0.1.0_GH0.tar.gz) = 81056c07b5dc1077f2d6ac0f7ce3d4ef199a3ff85c319ab03dcff22fa9ba2183
+SIZE (golang-sync-v0.1.0_GH0.tar.gz) = 19356
 SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
 SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
-SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b
-SIZE (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 37184
-SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608
-SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415
-SHA256 (prometheus-client_golang-v1.11.0_GH0.tar.gz) = a3bc3312bde4182e507042ca0e7ca88aac6656bbf8d516d732e34c3f14bb612a
-SIZE (prometheus-client_golang-v1.11.0_GH0.tar.gz) = 168706
-SHA256 (prometheus-client_model-v0.2.0_GH0.tar.gz) = 4ab1be9cdfa702d7f49beeb09a256bcc6a2aad55e8a0a37e7732a46934264e12
-SIZE (prometheus-client_model-v0.2.0_GH0.tar.gz) = 10986
-SHA256 (prometheus-common-v0.32.1_GH0.tar.gz) = de06f354e24dec3bfeba9a3bd43bd3170b4231dfff3cd338b688a6e8c8050af6
-SIZE (prometheus-common-v0.32.1_GH0.tar.gz) = 146585
-SHA256 (prometheus-procfs-v0.6.0_GH0.tar.gz) = 6ad7a23cf4db9fa5dbf2c5d8fbd0fbf5ffe48e3ddb7bf15f9359813d764ce73c
-SIZE (prometheus-procfs-v0.6.0_GH0.tar.gz) = 169898
-SHA256 (protocolbuffers-protobuf-go-v1.26.0-rc.1_GH0.tar.gz) = a2b3581fb291ffdfe080cc16eb7b0b13295105a441fc0554a105368b7e208e66
-SIZE (protocolbuffers-protobuf-go-v1.26.0-rc.1_GH0.tar.gz) = 1270311
+SHA256 (golang-text-v0.8.0_GH0.tar.gz) = aeaec799a8e0b02523c80fed03383da04bf1b9c9ef431ed4d34b70488fbeaa64
+SIZE (golang-text-v0.8.0_GH0.tar.gz) = 8359526
+SHA256 (jpillora-backoff-v1.0.0_GH0.tar.gz) = 611b29ce95acfa2997e3449762a3df68fcaa773db045535f26eb5c686106351f
+SIZE (jpillora-backoff-v1.0.0_GH0.tar.gz) = 3507
+SHA256 (kr-text-v0.2.0_GH0.tar.gz) = 59b5e4a7fd4097be87fad0edcaf342fdc971d0c8fdfb4f2d7424561471992e7c
+SIZE (kr-text-v0.2.0_GH0.tar.gz) = 8699
+SHA256 (matttproud-golang_protobuf_extensions-v1.0.4_GH0.tar.gz) = b64cab9cb9ae8b9162c7197aeedc6ed617b4c93e4f5674c3ec6cd2e9b0d9d09c
+SIZE (matttproud-golang_protobuf_extensions-v1.0.4_GH0.tar.gz) = 37510
+SHA256 (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 5bb72eaf9a4ffd7d0353fa6944951d244df89d879ac36d4b9860fd159162dd81
+SIZE (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 17140
+SHA256 (prometheus-client_golang-v1.14.0_GH0.tar.gz) = e774de79b48fcaf27a5b6bbeb6da0e814fee33c5050550625ef9b33f77835049
+SIZE (prometheus-client_golang-v1.14.0_GH0.tar.gz) = 236318
+SHA256 (prometheus-client_model-v0.3.0_GH0.tar.gz) = c71dc6402fe2414dec82c48173fe8d5aa9fc7c43af2f1f1f48d05c1652b965b9
+SIZE (prometheus-client_model-v0.3.0_GH0.tar.gz) = 14941
+SHA256 (prometheus-common-v0.41.0_GH0.tar.gz) = c1f3dee9bba2a64c91b2e0024a669a4bd1f81f771c9b43534ac5cfaf1d5e79fb
+SIZE (prometheus-common-v0.41.0_GH0.tar.gz) = 128928
+SHA256 (prometheus-exporter-toolkit-feef77d71811_GH0.tar.gz) = 6349b7867f590741256b3446933bce779faee2c9b9b1fcedc3b1b02d4412cf96
+SIZE (prometheus-exporter-toolkit-feef77d71811_GH0.tar.gz) = 42247
+SHA256 (prometheus-procfs-v0.9.0_GH0.tar.gz) = 58e339aeb758e502cea6231f82add4924778b0df4544a918786fcf54de20fa95
+SIZE (prometheus-procfs-v0.9.0_GH0.tar.gz) = 220383
+SHA256 (protocolbuffers-protobuf-go-v1.28.1_GH0.tar.gz) = df0b3dceeff0e1b6d029e60f076edd0d852cb8f3c2fe4fe3fe40164f16ec9b6b
+SIZE (protocolbuffers-protobuf-go-v1.28.1_GH0.tar.gz) = 1280756
 SHA256 (robbiet480-go.nut-bd8f121e1fa1_GH0.tar.gz) = 1f8427de879e5d5804292b54d97ffce5c8c5eb94669a4447380cb90a7539a64d
 SIZE (robbiet480-go.nut-bd8f121e1fa1_GH0.tar.gz) = 6790
+SHA256 (rogpeppe-go-internal-v1.9.0_GH0.tar.gz) = a8223943815523c3e49ac1731c323fd7b949b74ecfc151e8201064ab351a6f42
+SIZE (rogpeppe-go-internal-v1.9.0_GH0.tar.gz) = 133671
+SHA256 (xhit-go-str2duration-v2.1.0_GH0.tar.gz) = 6f2e676f5ca8fd54179d9b0c8eb3d51433dcd7c354ac4046fc1f54529c9d101a
+SIZE (xhit-go-str2duration-v2.1.0_GH0.tar.gz) = 5856