View | Details | Raw Unified | Return to bug 277467
Collapse All | Expand All

(-)b/net-mgmt/unbound_exporter/Makefile (-9 / +19 lines)
Lines 1-7 Link Here
1
PORTNAME=		unbound_exporter
1
PORTNAME=		unbound_exporter
2
PORTVERSION=		0.4.6
2
DISTVERSIONPREFIX=	v
3
DISTVERSIONPREFIX=	v
3
DISTVERSION=		0.4.1
4
PORTREVISION=		10
5
CATEGORIES=		net-mgmt
4
CATEGORIES=		net-mgmt
6
5
7
MAINTAINER=		aduitsis@cpan.org
6
MAINTAINER=		aduitsis@cpan.org
Lines 11-20 WWW= https://github.com/letsencrypt/unbound_exporter Link Here
11
LICENSE=		APACHE20
10
LICENSE=		APACHE20
12
11
13
USES=			go:modules
12
USES=			go:modules
14
USE_GITHUB=		nodefault
13
USE_GITHUB=		yes
15
GH_TUPLE=		golang:sys:v0.6.0:sys
14
GH_ACCOUNT=		letsencrypt
15
16
GH_TUPLE=	\
17
		beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
18
		cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
19
		go-kit:log:v0.2.1:go_kit_log/vendor/github.com/go-kit/log \
20
		go-logfmt:logfmt:v0.6.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
21
		golang:sys:v0.14.0:golang_sys/vendor/golang.org/x/sys \
22
		matttproud:golang_protobuf_extensions:v2.0.0:matttproud_golang_protobuf_extensions_v2/vendor/github.com/matttproud/golang_protobuf_extensions/v2 \
23
		prometheus:client_golang:v1.17.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
24
		prometheus:client_model:v0.5.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
25
		prometheus:common:v0.45.0:prometheus_common/vendor/github.com/prometheus/common \
26
		prometheus:procfs:v0.12.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
27
		protocolbuffers:protobuf-go:v1.31.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf
28
29
16
USE_RC_SUBR=		unbound_exporter
30
USE_RC_SUBR=		unbound_exporter
17
GO_MODULE=		github.com/letsencrypt/unbound_exporter
31
GO_MODULES=		github.com/letsencrypt/unbound_exporter
18
32
19
SUB_FILES=		pkg-message
33
SUB_FILES=		pkg-message
20
SUB_LIST=		USERS=${USERS} GROUPS=${GROUPS}
34
SUB_LIST=		USERS=${USERS} GROUPS=${GROUPS}
Lines 24-31 GROUPS= unbound Link Here
24
38
25
PLIST_FILES=		bin/unbound_exporter
39
PLIST_FILES=		bin/unbound_exporter
26
40
27
pre-patch:
28
	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
29
	${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
30
31
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)b/net-mgmt/unbound_exporter/distinfo (-7 / +25 lines)
Lines 1-7 Link Here
1
TIMESTAMP = 1679566149
1
TIMESTAMP = 1709533586
2
SHA256 (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.mod) = 1bd03db78e5d0be6f7e91fdb7f1c689c811529a74c0e7988ed1e13bf63fff2dd
2
SHA256 (letsencrypt-unbound_exporter-v0.4.6_GH0.tar.gz) = 6ab5933f67a87025fb744dec4a3ae328a4c9fada623222aa28df8b85105e5311
3
SIZE (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.mod) = 485
3
SIZE (letsencrypt-unbound_exporter-v0.4.6_GH0.tar.gz) = 16620
4
SHA256 (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.zip) = 596d8f658e7f8a67ea2a5e36566a664168641fa5e793a170032df30a7c2d1092
4
SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
5
SIZE (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/v0.4.1.zip) = 28044
5
SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867
6
SHA256 (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
6
SHA256 (cespare-xxhash-v2.2.0_GH0.tar.gz) = b8c684b9e5e136510913727e6a845b28f8176e55db827b11f17769fba970fe13
7
SIZE (go/net-mgmt_unbound_exporter/unbound_exporter-v0.4.1/golang-sys-v0.6.0_GH0.tar.gz) = 1434234
7
SIZE (cespare-xxhash-v2.2.0_GH0.tar.gz) = 12334
8
SHA256 (go-kit-log-v0.2.1_GH0.tar.gz) = b37718967f9cbdb3eea4aa2fa9420b7d329b6bab7f9b85f970db197257226152
9
SIZE (go-kit-log-v0.2.1_GH0.tar.gz) = 30579
10
SHA256 (go-logfmt-logfmt-v0.6.0_GH0.tar.gz) = e4c26af3226cee1486004da7ebb1f0b8485df62513cca6671edf7c4d420fadfd
11
SIZE (go-logfmt-logfmt-v0.6.0_GH0.tar.gz) = 12609
12
SHA256 (golang-sys-v0.14.0_GH0.tar.gz) = e1866095878c2ccf02d0eceff29d2563f7af56b771e7b98248a63d6ab6465771
13
SIZE (golang-sys-v0.14.0_GH0.tar.gz) = 1441800
14
SHA256 (matttproud-golang_protobuf_extensions-v2.0.0_GH0.tar.gz) = 69fd83cb3002df3359128c2748c8f319fc63ce0493d43a3dcd7a94a4f487f742
15
SIZE (matttproud-golang_protobuf_extensions-v2.0.0_GH0.tar.gz) = 12099
16
SHA256 (prometheus-client_golang-v1.17.0_GH0.tar.gz) = 258222e5193b551ab8adeb2e02c415038795839cb4fa5d7d0181377017d19d3a
17
SIZE (prometheus-client_golang-v1.17.0_GH0.tar.gz) = 1077705
18
SHA256 (prometheus-client_model-v0.5.0_GH0.tar.gz) = 170873e0b91cab5da6634af1498b88876842ff3e01212e2dabf6b4e6512c948d
19
SIZE (prometheus-client_model-v0.5.0_GH0.tar.gz) = 17333
20
SHA256 (prometheus-common-v0.45.0_GH0.tar.gz) = 775ce5c074b5261d85227d13c61075f9c36e6d3cf9ab2c5a7d90f4006ad24c40
21
SIZE (prometheus-common-v0.45.0_GH0.tar.gz) = 133098
22
SHA256 (prometheus-procfs-v0.12.0_GH0.tar.gz) = 2e10f60725a5905d6cfaeffd0bc1441171aa694236a6c7031aad5a87ff841495
23
SIZE (prometheus-procfs-v0.12.0_GH0.tar.gz) = 237430
24
SHA256 (protocolbuffers-protobuf-go-v1.31.0_GH0.tar.gz) = 96d670e9bae145ff2dd0f48a3693edb1f45ec3ee56d5f50a5f01cc7e060314bc
25
SIZE (protocolbuffers-protobuf-go-v1.31.0_GH0.tar.gz) = 1311732
(-)a/net-mgmt/unbound_exporter/files/patch-go.mod (-31 lines)
Removed Link Here
1
--- go.mod.orig	2023-03-23 10:12:21 UTC
2
+++ go.mod
3
@@ -1,15 +1,23 @@
4
 module github.com/letsencrypt/unbound_exporter
5
 
6
-go 1.16
7
+go 1.17
8
 
9
 require (
10
-	github.com/cespare/xxhash/v2 v2.1.2 // indirect
11
 	github.com/go-kit/log v0.2.0
12
-	github.com/golang/protobuf v1.5.2 // indirect
13
-	github.com/google/go-cmp v0.5.6 // indirect
14
 	github.com/prometheus/client_golang v1.11.0
15
 	github.com/prometheus/common v0.32.1
16
+)
17
+
18
+require (
19
+	github.com/beorn7/perks v1.0.1 // indirect
20
+	github.com/cespare/xxhash/v2 v2.1.2 // indirect
21
+	github.com/go-logfmt/logfmt v0.5.1 // indirect
22
+	github.com/golang/protobuf v1.5.2 // indirect
23
+	github.com/google/go-cmp v0.5.6 // indirect
24
+	github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
25
+	github.com/pkg/errors v0.9.1 // indirect
26
+	github.com/prometheus/client_model v0.2.0 // indirect
27
 	github.com/prometheus/procfs v0.7.3 // indirect
28
-	golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b // indirect
29
+	golang.org/x/sys v0.6.0 // indirect
30
 	google.golang.org/protobuf v1.27.1 // indirect
31
 )
(-)a/net-mgmt/unbound_exporter/files/patch-go.sum (-11 lines)
Removed Link Here
1
--- go.sum.orig	2023-03-23 10:12:24 UTC
2
+++ go.sum
3
@@ -312,6 +312,8 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go
4
 golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5
 golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b h1:uo+9AuR+gDt/gdj+1BaLhdOHsaGI6YU6585IiDcLrFE=
6
 golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7
+golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
8
+golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
9
 golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
10
 golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
11
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
(-)a/net-mgmt/unbound_exporter/files/patch-vendor_modules.txt (-70 lines)
Removed Link Here
1
--- vendor/modules.txt.orig	2023-03-23 10:12:52 UTC
2
+++ vendor/modules.txt
3
@@ -1,52 +1,57 @@
4
 # github.com/beorn7/perks v1.0.1
5
+## explicit; go 1.11
6
 github.com/beorn7/perks/quantile
7
 # github.com/cespare/xxhash/v2 v2.1.2
8
-## explicit
9
+## explicit; go 1.11
10
 github.com/cespare/xxhash/v2
11
 # github.com/go-kit/log v0.2.0
12
-## explicit
13
+## explicit; go 1.17
14
 github.com/go-kit/log
15
 github.com/go-kit/log/level
16
 # github.com/go-logfmt/logfmt v0.5.1
17
+## explicit; go 1.17
18
 github.com/go-logfmt/logfmt
19
 # github.com/golang/protobuf v1.5.2
20
-## explicit
21
+## explicit; go 1.9
22
 github.com/golang/protobuf/proto
23
 github.com/golang/protobuf/ptypes
24
 github.com/golang/protobuf/ptypes/any
25
 github.com/golang/protobuf/ptypes/duration
26
 github.com/golang/protobuf/ptypes/timestamp
27
 # github.com/google/go-cmp v0.5.6
28
-## explicit
29
+## explicit; go 1.8
30
 # github.com/matttproud/golang_protobuf_extensions v1.0.1
31
+## explicit
32
 github.com/matttproud/golang_protobuf_extensions/pbutil
33
 # github.com/pkg/errors v0.9.1
34
+## explicit
35
 github.com/pkg/errors
36
 # github.com/prometheus/client_golang v1.11.0
37
-## explicit
38
+## explicit; go 1.13
39
 github.com/prometheus/client_golang/prometheus
40
 github.com/prometheus/client_golang/prometheus/internal
41
 github.com/prometheus/client_golang/prometheus/promhttp
42
 # github.com/prometheus/client_model v0.2.0
43
+## explicit; go 1.9
44
 github.com/prometheus/client_model/go
45
 # github.com/prometheus/common v0.32.1
46
-## explicit
47
+## explicit; go 1.13
48
 github.com/prometheus/common/expfmt
49
 github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
50
 github.com/prometheus/common/model
51
 github.com/prometheus/common/promlog
52
 # github.com/prometheus/procfs v0.7.3
53
-## explicit
54
+## explicit; go 1.13
55
 github.com/prometheus/procfs
56
 github.com/prometheus/procfs/internal/fs
57
 github.com/prometheus/procfs/internal/util
58
-# golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b
59
-## explicit
60
+# golang.org/x/sys v0.6.0
61
+## explicit; go 1.17
62
 golang.org/x/sys/internal/unsafeheader
63
 golang.org/x/sys/unix
64
 golang.org/x/sys/windows
65
 # google.golang.org/protobuf v1.27.1
66
-## explicit
67
+## explicit; go 1.9
68
 google.golang.org/protobuf/encoding/prototext
69
 google.golang.org/protobuf/encoding/protowire
70
 google.golang.org/protobuf/internal/descfmt
(-)b/net-mgmt/unbound_exporter/files/unbound_exporter.in (-2 / +1 lines)
Lines 44-50 command_args="-c -f -P ${pidfile} -u ${unbound_exporter_user} \ Link Here
44
	${unbound_exporter_cert:+-unbound.cert $unbound_exporter_cert} \
44
	${unbound_exporter_cert:+-unbound.cert $unbound_exporter_cert} \
45
	${unbound_exporter_host:+-unbound.host $unbound_exporter_host} \
45
	${unbound_exporter_host:+-unbound.host $unbound_exporter_host} \
46
	${unbound_exporter_key:+-unbound.key $unbound_exporter_key} \
46
	${unbound_exporter_key:+-unbound.key $unbound_exporter_key} \
47
	${unbound_exporter_bind:+-web.listen-adress $unbound_exporter_bin}
47
	${unbound_exporter_bind:+-web.listen-address $unbound_exporter_bind}
48
	${unbound_exporter_path:+-web.telemetry-patch $unbound_exporter_path}
48
	${unbound_exporter_path:+-web.telemetry-patch $unbound_exporter_path}
49
	${unbound_exporter_args}"
49
	${unbound_exporter_args}"
50
50
51
- 

Return to bug 277467