git: e7cc77abf575 - main - net-mgmt/bind_exporter: update to 0.6.1

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 30 Jul 2023 22:59:59 UTC
The branch main has been updated by fuz:

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

commit e7cc77abf57583550c560b29c87944071a44dad5
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-07-30 21:32:49 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-07-30 22:59:10 +0000

    net-mgmt/bind_exporter: update to 0.6.1
    
    Maintainer no longer uses FreeBSD and agrees to pass on maintainership.
    Take maintainership and modernise port.
    
    Changelog: https://github.com/prometheus-community/bind_exporter/releases/tag/v0.6.1
    
    PR:             272601
    MFH:            2023Q3
    Approved by:    matt@mattmoriarity.com
    Reported by:    gert@greenie.muc.de
---
 net-mgmt/bind_exporter/Makefile | 34 +++-----------------------
 net-mgmt/bind_exporter/distinfo | 54 ++++-------------------------------------
 2 files changed, 8 insertions(+), 80 deletions(-)

diff --git a/net-mgmt/bind_exporter/Makefile b/net-mgmt/bind_exporter/Makefile
index 939d45acc798..9f41c579586b 100644
--- a/net-mgmt/bind_exporter/Makefile
+++ b/net-mgmt/bind_exporter/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	bind_exporter
-PORTVERSION=	0.4.0
 DISTVERSIONPREFIX=v
-PORTREVISION=	13
+DISTVERSION=	0.6.1
 CATEGORIES=	net-mgmt dns
 
-MAINTAINER=	matt@mattmoriarity.com
+MAINTAINER=	fuz@FreeBSD.org
 COMMENT=	Prometheus exporter for BIND server statistics
 WWW=		https://github.com/prometheus-community/bind_exporter
 
@@ -12,11 +11,9 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
-USE_GITHUB=	yes
-GH_ACCOUNT=	prometheus-community
 USE_RC_SUBR=	bind_exporter
 
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_MODULE=	github.com/prometheus-community/bind_exporter
 GO_BUILDFLAGS=	-v -ldflags "${LD_FLAG_STRING}"
 
 BUILD_USER?=	${USER}
@@ -27,29 +24,4 @@ LD_FLAG_STRING=	${STRIP} \
 		${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER}
 LD_FLAG_X_PREFIX=	-X github.com/prometheus/common/version
 
-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 \
-		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:kit:v0.10.0:go_kit_kit/vendor/github.com/go-kit/kit \
-		go-logfmt:logfmt:v0.5.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
-		go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
-		golang:crypto:5f87f3452ae9:golang_crypto/vendor/golang.org/x/crypto \
-		golang:net:4c5254603344:golang_net/vendor/golang.org/x/net \
-		golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \
-		golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
-		jpillora:backoff:v1.0.0:jpillora_backoff/vendor/github.com/jpillora/backoff \
-		matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
-		mwitkow:go-conntrack:2f068394615f:mwitkow_go_conntrack/vendor/github.com/mwitkow/go-conntrack \
-		pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
-		prometheus:client_golang:v1.9.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.15.0:prometheus_common/vendor/github.com/prometheus/common \
-		prometheus:exporter-toolkit:v0.5.0:prometheus_exporter_toolkit/vendor/github.com/prometheus/exporter-toolkit \
-		prometheus:procfs:v0.2.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
-		protocolbuffers:protobuf-go:v1.23.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf
-
 .include <bsd.port.mk>
diff --git a/net-mgmt/bind_exporter/distinfo b/net-mgmt/bind_exporter/distinfo
index 88fbc171193d..0609bbdc8b67 100644
--- a/net-mgmt/bind_exporter/distinfo
+++ b/net-mgmt/bind_exporter/distinfo
@@ -1,49 +1,5 @@
-TIMESTAMP = 1679409210
-SHA256 (prometheus-community-bind_exporter-v0.4.0_GH0.tar.gz) = d3ae7524cf16b94e47e17c19d943cc59a1679f2846fe685e4448abed62d8ad4f
-SIZE (prometheus-community-bind_exporter-v0.4.0_GH0.tar.gz) = 59975
-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
-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-kit-v0.10.0_GH0.tar.gz) = c0fac2e37b981e4c18e4f210b92e1393bd59dadd7c7fc043ec46d1c9834eba85
-SIZE (go-kit-kit-v0.10.0_GH0.tar.gz) = 274801
-SHA256 (go-logfmt-logfmt-v0.5.0_GH0.tar.gz) = 76727000951c187d058289d8e83d3e2ad480a5d44c7c83b025b78b7eb6bf0258
-SIZE (go-logfmt-logfmt-v0.5.0_GH0.tar.gz) = 11745
-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-5f87f3452ae9_GH0.tar.gz) = 8e905a4ce396416a8c8afd8075b93da404f77a9ec1475ad2814d289a1e21a0ee
-SIZE (golang-crypto-5f87f3452ae9_GH0.tar.gz) = 1721681
-SHA256 (golang-net-4c5254603344_GH0.tar.gz) = 5957e628f2676d9e6c9517890bdcec334e8cac53d0f000b42ed6364a0550e152
-SIZE (golang-net-4c5254603344_GH0.tar.gz) = 1177478
-SHA256 (golang-protobuf-v1.4.3_GH0.tar.gz) = 5736f943f8647362f5559689df6154f3c85d261fb088867c8a68494e2a767610
-SIZE (golang-protobuf-v1.4.3_GH0.tar.gz) = 171969
-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 (jpillora-backoff-v1.0.0_GH0.tar.gz) = 611b29ce95acfa2997e3449762a3df68fcaa773db045535f26eb5c686106351f
-SIZE (jpillora-backoff-v1.0.0_GH0.tar.gz) = 3507
-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 (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 5bb72eaf9a4ffd7d0353fa6944951d244df89d879ac36d4b9860fd159162dd81
-SIZE (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 17140
-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.9.0_GH0.tar.gz) = 92ccfb35268ce2de6beeb45d4b5639e4bce78111b8629bcde5727165f7e1afb1
-SIZE (prometheus-client_golang-v1.9.0_GH0.tar.gz) = 177330
-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.15.0_GH0.tar.gz) = f0957de56c09431076239d27bb85e07841bb832d0c99210087bc6da63a0b2cb6
-SIZE (prometheus-common-v0.15.0_GH0.tar.gz) = 124369
-SHA256 (prometheus-exporter-toolkit-v0.5.0_GH0.tar.gz) = 60472227a183070c7eb008c181fe434bf4986f406c3d1500cdafd118362a49fe
-SIZE (prometheus-exporter-toolkit-v0.5.0_GH0.tar.gz) = 47832
-SHA256 (prometheus-procfs-v0.2.0_GH0.tar.gz) = b6c013031ac8b9f8f9e1595103c48feb80dfe59c37aac73efe724fddbc0b3f50
-SIZE (prometheus-procfs-v0.2.0_GH0.tar.gz) = 157368
-SHA256 (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = e7266bedaa4f110216fce52ae533dc5eba475d3829bb0592e8876684e202ae1f
-SIZE (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = 1214648
+TIMESTAMP = 1690752902
+SHA256 (go/net-mgmt_bind_exporter/bind_exporter-v0.6.1/v0.6.1.mod) = d6c3084f0ea2d295bd45c8b6b7c8deab57d4d7812ef81bf0b3d6b828aa46b289
+SIZE (go/net-mgmt_bind_exporter/bind_exporter-v0.6.1/v0.6.1.mod) = 1417
+SHA256 (go/net-mgmt_bind_exporter/bind_exporter-v0.6.1/v0.6.1.zip) = 62153c3178cf662005696a4456ea4cda1f8e0ef1a74b267b1db0ba24154236f7
+SIZE (go/net-mgmt_bind_exporter/bind_exporter-v0.6.1/v0.6.1.zip) = 58831