Skip to content

Commit

Permalink
net-mgmt/unbound_exporter: upgrade to 0.4.6.
Browse files Browse the repository at this point in the history
PR:		ports/277467, ports/270442, ports/268852
Approved by:	maintainer timeout
  • Loading branch information
delphij committed Mar 24, 2024
1 parent 51818b2 commit 1133b74
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 130 deletions.
28 changes: 19 additions & 9 deletions net-mgmt/unbound_exporter/Makefile
@@ -1,7 +1,6 @@
PORTNAME= unbound_exporter
PORTVERSION= 0.4.6
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.1
PORTREVISION= 11
CATEGORIES= net-mgmt

MAINTAINER= aduitsis@cpan.org
Expand All @@ -11,10 +10,25 @@ WWW= https://github.com/letsencrypt/unbound_exporter
LICENSE= APACHE20

USES= go:modules
USE_GITHUB= nodefault
GH_TUPLE= golang:sys:v0.6.0:sys
USE_GITHUB= yes
GH_ACCOUNT= letsencrypt

GH_TUPLE= \
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
go-kit:log:v0.2.1:go_kit_log/vendor/github.com/go-kit/log \
go-logfmt:logfmt:v0.6.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
golang:sys:v0.14.0:golang_sys/vendor/golang.org/x/sys \
matttproud:golang_protobuf_extensions:v2.0.0:matttproud_golang_protobuf_extensions_v2/vendor/github.com/matttproud/golang_protobuf_extensions/v2 \
prometheus:client_golang:v1.17.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
prometheus:client_model:v0.5.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
prometheus:common:v0.45.0:prometheus_common/vendor/github.com/prometheus/common \
prometheus:procfs:v0.12.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
protocolbuffers:protobuf-go:v1.31.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf


USE_RC_SUBR= unbound_exporter
GO_MODULE= github.com/letsencrypt/unbound_exporter
GO_MODULES= github.com/letsencrypt/unbound_exporter

SUB_FILES= pkg-message
SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
Expand All @@ -24,8 +38,4 @@ GROUPS= unbound

PLIST_FILES= bin/unbound_exporter

pre-patch:
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys

.include <bsd.port.mk>
32 changes: 25 additions & 7 deletions net-mgmt/unbound_exporter/distinfo
@@ -1,7 +1,25 @@
TIMESTAMP = 1679566149
SHA256 (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.mod) = 1bd03db78e5d0be6f7e91fdb7f1c689c811529a74c0e7988ed1e13bf63fff2dd
SIZE (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.mod) = 485
SHA256 (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.zip) = 596d8f658e7f8a67ea2a5e36566a664168641fa5e793a170032df30a7c2d1092
SIZE (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.zip) = 28044
SHA256 (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
SIZE (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/golang-sys-v0.6.0_GH0.tar.gz) = 1434234
TIMESTAMP = 1709533586
SHA256 (letsencrypt-unbound_exporter-v0.4.6_GH0.tar.gz) = 6ab5933f67a87025fb744dec4a3ae328a4c9fada623222aa28df8b85105e5311
SIZE (letsencrypt-unbound_exporter-v0.4.6_GH0.tar.gz) = 16620
SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867
SHA256 (cespare-xxhash-v2.2.0_GH0.tar.gz) = b8c684b9e5e136510913727e6a845b28f8176e55db827b11f17769fba970fe13
SIZE (cespare-xxhash-v2.2.0_GH0.tar.gz) = 12334
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.6.0_GH0.tar.gz) = e4c26af3226cee1486004da7ebb1f0b8485df62513cca6671edf7c4d420fadfd
SIZE (go-logfmt-logfmt-v0.6.0_GH0.tar.gz) = 12609
SHA256 (golang-sys-v0.14.0_GH0.tar.gz) = e1866095878c2ccf02d0eceff29d2563f7af56b771e7b98248a63d6ab6465771
SIZE (golang-sys-v0.14.0_GH0.tar.gz) = 1441800
SHA256 (matttproud-golang_protobuf_extensions-v2.0.0_GH0.tar.gz) = 69fd83cb3002df3359128c2748c8f319fc63ce0493d43a3dcd7a94a4f487f742
SIZE (matttproud-golang_protobuf_extensions-v2.0.0_GH0.tar.gz) = 12099
SHA256 (prometheus-client_golang-v1.17.0_GH0.tar.gz) = 258222e5193b551ab8adeb2e02c415038795839cb4fa5d7d0181377017d19d3a
SIZE (prometheus-client_golang-v1.17.0_GH0.tar.gz) = 1077705
SHA256 (prometheus-client_model-v0.5.0_GH0.tar.gz) = 170873e0b91cab5da6634af1498b88876842ff3e01212e2dabf6b4e6512c948d
SIZE (prometheus-client_model-v0.5.0_GH0.tar.gz) = 17333
SHA256 (prometheus-common-v0.45.0_GH0.tar.gz) = 775ce5c074b5261d85227d13c61075f9c36e6d3cf9ab2c5a7d90f4006ad24c40
SIZE (prometheus-common-v0.45.0_GH0.tar.gz) = 133098
SHA256 (prometheus-procfs-v0.12.0_GH0.tar.gz) = 2e10f60725a5905d6cfaeffd0bc1441171aa694236a6c7031aad5a87ff841495
SIZE (prometheus-procfs-v0.12.0_GH0.tar.gz) = 237430
SHA256 (protocolbuffers-protobuf-go-v1.31.0_GH0.tar.gz) = 96d670e9bae145ff2dd0f48a3693edb1f45ec3ee56d5f50a5f01cc7e060314bc
SIZE (protocolbuffers-protobuf-go-v1.31.0_GH0.tar.gz) = 1311732
31 changes: 0 additions & 31 deletions net-mgmt/unbound_exporter/files/patch-go.mod

This file was deleted.

11 changes: 0 additions & 11 deletions net-mgmt/unbound_exporter/files/patch-go.sum

This file was deleted.

70 changes: 0 additions & 70 deletions net-mgmt/unbound_exporter/files/patch-vendor_modules.txt

This file was deleted.

4 changes: 2 additions & 2 deletions net-mgmt/unbound_exporter/files/unbound_exporter.in
Expand Up @@ -44,8 +44,8 @@ command_args="-c -f -P ${pidfile} -u ${unbound_exporter_user} \
${unbound_exporter_cert:+-unbound.cert $unbound_exporter_cert} \
${unbound_exporter_host:+-unbound.host $unbound_exporter_host} \
${unbound_exporter_key:+-unbound.key $unbound_exporter_key} \
${unbound_exporter_bind:+-web.listen-adress $unbound_exporter_bin}
${unbound_exporter_path:+-web.telemetry-patch $unbound_exporter_path}
${unbound_exporter_bind:+-web.listen-address $unbound_exporter_bind} \
${unbound_exporter_path:+-web.telemetry-path $unbound_exporter_path} \
${unbound_exporter_args}"

# these were used in the past, but now "daemon" takes care of everything and must run as root
Expand Down

0 comments on commit 1133b74

Please sign in to comment.