From nobody Sun Mar 24 17:36:56 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V2jtJ3BQgz5G6tx; Sun, 24 Mar 2024 17:36:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V2jtJ2fGjz4Q1b; Sun, 24 Mar 2024 17:36:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711301816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=saHCxzW9dIRiO7fKtPmxbJR8uXMyYbbO412KmuKBpFs=; b=t992evVRGSUbXMz2/oUUaDmG7vhJ0gKGRghrIN65ZlMJjhtoBSR/5obtx27LAZF0UAxZlI 1tAEa9v8f3AC3Zkk2bs1QCrBuRMNk2BDCEgNwY3Lv+ZZUG0SrIPDsYNcL8GoCMjwRQRftD /xplFCXKo9Zl8834XKTkCOCi7NFxqoKCTSKOMbSaWZKXeGhtxG8/AYbYRIFOh/pb0UCX5O 26jXjs4GDubsG8Kkog+Bh06C95SJhFPzy4XahL99+HfUyStJL+2DAGg+bj+g0bc4fIdMKV SEOPhGFowxJVV1kjfYGlUZ6wPWkFfU7qa1ger4iVAmZp+cB4leQS7UuoSCgWYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711301816; a=rsa-sha256; cv=none; b=d2NA8YgRTUCCZEQuaHKkC3A+n6ZTK+sL2VPbYYmxOqrafnbpKWsVeT7k06MRT3g4PfXic6 zJHhafF1D6sPwAftZDbmZse3L+ZSJi0etRvJUktHTReWyl0ze2RtsGJhxV/Cw/k8retK+P kEmlHiNg/z0PnqyEg7Uuvni9StbSVoJTGKDzDOk//RCFnRhcYfIHnioGBfFEwwbUt4QMtt /b+XYmIuAn/sq24Az30Em8wa/1U9lAlN6uKqKwigM6eXYROqlKwn/vpZvWN2QbDH84s9lS UBhoxEPw0STIb7BsZW1jKqw1fR1vBVuOZ7Jzz8PAJj7ezj96sTkz2Z6wHlCeCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711301816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=saHCxzW9dIRiO7fKtPmxbJR8uXMyYbbO412KmuKBpFs=; b=fhxFz2A3gBoMiW4DdG9O7oJTHfIsSznZad736OkVkNU2ZjzzAzKyoCuVn15SiRU7fezf+w pUG9pcDXgpypaR8RSl1kIHerwKrjPIjgw/0jQ8NmGVcb/F/BJwVWrt47Mev+lQ3ncj9e/r NTNXaVD8bPiRhdgVZCLpISMUpQCdikpuXPnvCzoE4lUvg73CoVW/tlHjj1z+HrNDKO3K12 1Ke+3u0JkrB667cxKiG9iiQ06CVDy5rNzwv6whAPg5uUKoBOQy6vQ+ChDePlV9V5LrNW5F d0VwY5cMj/CGaEZVVHWB1UW8FleXxfRUIVRovCaDZa+YoGeKBdFMUvq8uY1NaQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V2jtJ2Flgzhwg; Sun, 24 Mar 2024 17:36:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42OHauUs013562; Sun, 24 Mar 2024 17:36:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42OHauYY013559; Sun, 24 Mar 2024 17:36:56 GMT (envelope-from git) Date: Sun, 24 Mar 2024 17:36:56 GMT Message-Id: <202403241736.42OHauYY013559@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: 1133b74a3687 - main - net-mgmt/unbound_exporter: upgrade to 0.4.6. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1133b74a3687e4e06df12c7a015fde15f0d41134 Auto-Submitted: auto-generated The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=1133b74a3687e4e06df12c7a015fde15f0d41134 commit 1133b74a3687e4e06df12c7a015fde15f0d41134 Author: Xin LI AuthorDate: 2024-03-04 06:30:56 +0000 Commit: Xin LI CommitDate: 2024-03-24 17:34:51 +0000 net-mgmt/unbound_exporter: upgrade to 0.4.6. PR: ports/277467, ports/270442, ports/268852 Approved by: maintainer timeout --- net-mgmt/unbound_exporter/Makefile | 28 ++++++--- net-mgmt/unbound_exporter/distinfo | 32 +++++++--- net-mgmt/unbound_exporter/files/patch-go.mod | 31 ---------- net-mgmt/unbound_exporter/files/patch-go.sum | 11 ---- .../files/patch-vendor_modules.txt | 70 ---------------------- .../unbound_exporter/files/unbound_exporter.in | 4 +- 6 files changed, 46 insertions(+), 130 deletions(-) diff --git a/net-mgmt/unbound_exporter/Makefile b/net-mgmt/unbound_exporter/Makefile index 04848e063a40..845cdf037aec 100644 --- a/net-mgmt/unbound_exporter/Makefile +++ b/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 @@ -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} @@ -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 diff --git a/net-mgmt/unbound_exporter/distinfo b/net-mgmt/unbound_exporter/distinfo index 779a56468a72..1542ff996043 100644 --- a/net-mgmt/unbound_exporter/distinfo +++ b/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 diff --git a/net-mgmt/unbound_exporter/files/patch-go.mod b/net-mgmt/unbound_exporter/files/patch-go.mod deleted file mode 100644 index 8e42c72fab48..000000000000 --- a/net-mgmt/unbound_exporter/files/patch-go.mod +++ /dev/null @@ -1,31 +0,0 @@ ---- go.mod.orig 2023-03-23 10:12:21 UTC -+++ go.mod -@@ -1,15 +1,23 @@ - module github.com/letsencrypt/unbound_exporter - --go 1.16 -+go 1.17 - - require ( -- github.com/cespare/xxhash/v2 v2.1.2 // indirect - github.com/go-kit/log v0.2.0 -- github.com/golang/protobuf v1.5.2 // indirect -- github.com/google/go-cmp v0.5.6 // indirect - github.com/prometheus/client_golang v1.11.0 - github.com/prometheus/common v0.32.1 -+) -+ -+require ( -+ github.com/beorn7/perks v1.0.1 // indirect -+ github.com/cespare/xxhash/v2 v2.1.2 // indirect -+ github.com/go-logfmt/logfmt v0.5.1 // indirect -+ github.com/golang/protobuf v1.5.2 // indirect -+ github.com/google/go-cmp v0.5.6 // indirect -+ github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect -+ github.com/pkg/errors v0.9.1 // indirect -+ github.com/prometheus/client_model v0.2.0 // indirect - github.com/prometheus/procfs v0.7.3 // indirect -- golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b // indirect -+ golang.org/x/sys v0.6.0 // indirect - google.golang.org/protobuf v1.27.1 // indirect - ) diff --git a/net-mgmt/unbound_exporter/files/patch-go.sum b/net-mgmt/unbound_exporter/files/patch-go.sum deleted file mode 100644 index ecb9e1e9a659..000000000000 --- a/net-mgmt/unbound_exporter/files/patch-go.sum +++ /dev/null @@ -1,11 +0,0 @@ ---- go.sum.orig 2023-03-23 10:12:24 UTC -+++ go.sum -@@ -312,6 +312,8 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go - golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= - golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b h1:uo+9AuR+gDt/gdj+1BaLhdOHsaGI6YU6585IiDcLrFE= - golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -+golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= -+golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= - golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= - golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= - golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/net-mgmt/unbound_exporter/files/patch-vendor_modules.txt b/net-mgmt/unbound_exporter/files/patch-vendor_modules.txt deleted file mode 100644 index da7166da9325..000000000000 --- a/net-mgmt/unbound_exporter/files/patch-vendor_modules.txt +++ /dev/null @@ -1,70 +0,0 @@ ---- vendor/modules.txt.orig 2023-03-23 10:12:52 UTC -+++ vendor/modules.txt -@@ -1,52 +1,57 @@ - # github.com/beorn7/perks v1.0.1 -+## explicit; go 1.11 - github.com/beorn7/perks/quantile - # github.com/cespare/xxhash/v2 v2.1.2 --## explicit -+## explicit; go 1.11 - github.com/cespare/xxhash/v2 - # github.com/go-kit/log v0.2.0 --## explicit -+## explicit; go 1.17 - github.com/go-kit/log - github.com/go-kit/log/level - # github.com/go-logfmt/logfmt v0.5.1 -+## explicit; go 1.17 - github.com/go-logfmt/logfmt - # github.com/golang/protobuf v1.5.2 --## explicit -+## explicit; go 1.9 - github.com/golang/protobuf/proto - github.com/golang/protobuf/ptypes - github.com/golang/protobuf/ptypes/any - github.com/golang/protobuf/ptypes/duration - github.com/golang/protobuf/ptypes/timestamp - # github.com/google/go-cmp v0.5.6 --## explicit -+## explicit; go 1.8 - # github.com/matttproud/golang_protobuf_extensions v1.0.1 -+## explicit - github.com/matttproud/golang_protobuf_extensions/pbutil - # github.com/pkg/errors v0.9.1 -+## explicit - github.com/pkg/errors - # github.com/prometheus/client_golang v1.11.0 --## explicit -+## explicit; go 1.13 - github.com/prometheus/client_golang/prometheus - github.com/prometheus/client_golang/prometheus/internal - github.com/prometheus/client_golang/prometheus/promhttp - # github.com/prometheus/client_model v0.2.0 -+## explicit; go 1.9 - github.com/prometheus/client_model/go - # github.com/prometheus/common v0.32.1 --## explicit -+## explicit; go 1.13 - github.com/prometheus/common/expfmt - github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg - github.com/prometheus/common/model - github.com/prometheus/common/promlog - # github.com/prometheus/procfs v0.7.3 --## explicit -+## explicit; go 1.13 - github.com/prometheus/procfs - github.com/prometheus/procfs/internal/fs - github.com/prometheus/procfs/internal/util --# golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b --## explicit -+# golang.org/x/sys v0.6.0 -+## explicit; go 1.17 - golang.org/x/sys/internal/unsafeheader - golang.org/x/sys/unix - golang.org/x/sys/windows - # google.golang.org/protobuf v1.27.1 --## explicit -+## explicit; go 1.9 - google.golang.org/protobuf/encoding/prototext - google.golang.org/protobuf/encoding/protowire - google.golang.org/protobuf/internal/descfmt diff --git a/net-mgmt/unbound_exporter/files/unbound_exporter.in b/net-mgmt/unbound_exporter/files/unbound_exporter.in index ee0c24cdefc0..786ac85acbf0 100644 --- a/net-mgmt/unbound_exporter/files/unbound_exporter.in +++ b/net-mgmt/unbound_exporter/files/unbound_exporter.in @@ -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