From nobody Tue Dec 20 12:44:14 2022 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 4Nbx8v24q3z1H32w; Tue, 20 Dec 2022 12:44:15 +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 4Nbx8v1bg5z45SY; Tue, 20 Dec 2022 12:44:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671540255; 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=UDwWHZV6dkHmu8tzEi2FbQZ/UwkWRxnHhqP4zFneWV8=; b=o1M7Ec7tgvjTIEwTl0E7TSvKcwY5YSR8PaC2nVfb/co0v851Rq+7VXzECRwUYDeLFIUu/M DxnFjyYTuLDvtfbiJabP++7LkdSzSj4fL7AdhzDk7RSTgkkNFndq7y3J5eXiOIkkTTCea3 LknnS+czfbkEsTic0Xk+mLLJEOSA8i2j/wGfA7vTdVOPk80bT6nqUTSOFw1J6tBbeBdA3D lwQ8RgFmViIeK3eWSelFyXcxWY47LCvZyQOJHYXxMksLCfrnWLZhIZutt7eMP33h5IFKC6 tJ7kcJKBwSXxD9i1BSTQYtvKt/xE6u7p8aBBjE8WHzfJ5/UfXBCaXINUCUNH3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671540255; 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=UDwWHZV6dkHmu8tzEi2FbQZ/UwkWRxnHhqP4zFneWV8=; b=TxK1nL8r7gcnJbWevJ7ykIktk+7VIdWJUYgtHHOETz8S+rT7dMEDF+vx589El3VFCIW2Rv rwwh7MdDu9Vvgw/+eyr2gLwTP8f+pbVRwXjnUpZBgFgckP2WsivElVvhtiVRwrxfnLaKa9 nR1UmUfLGikdxCyz3GoQIi5xz3FwngW7C10Myv/K2B7P7YrEJKJ0buAUza6d23cAtrYqlb txDh5CGgdb0SDDJNVU1xBQgd5DfAsjlR09YD4VlDqCuXiFS3ghvPjaj3sLVdZY4mLo5vtX BNUjLtu20jlKmUEVtLokG6R4AUbk+EhG8cpp+mSRZfMhw4+r6LmN0BnPZkGEkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671540255; a=rsa-sha256; cv=none; b=dBWKd1GwN07wseHeAxjn/adALgUhugcVo5Jk7Z7MReExCki/0kfuipgmhVyyLL4t7J7Kx9 d1z83/UCHI/2LJhBYIYbMjcxGEyY7xn8419lPx7cdvmFnB/jf3cRDp5EJaVABWGih0dmyp Ih9l+jJz+Ug9RZ4HXjXyvsgtf/JkOcW4CKB5yHYc+YQ96bN3dbWVl9pc46ZIK5oh0AzzOr a6cI9IwTwLzxJmgCHTNwtwC/mEpQPqVBuIaBUeSUrF+PGeMGXG9NpB+QOpW32xTmKbDiUf 2hpz6YouWtBMoKLPguUzEKZssxonyt39oh2cIHwiEGI4ZaPCGf4toP99QNxueQ== 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 4Nbx8v0jBwzbZt; Tue, 20 Dec 2022 12:44:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BKCiFUV005320; Tue, 20 Dec 2022 12:44:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BKCiEhw005319; Tue, 20 Dec 2022 12:44:14 GMT (envelope-from git) Date: Tue, 20 Dec 2022 12:44:14 GMT Message-Id: <202212201244.2BKCiEhw005319@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: 3574d6718e7f - main - net-mgmt/unbound_exporter: Update to 0.4.1 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: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3574d6718e7ff5f064960914f963801708d21cfd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=3574d6718e7ff5f064960914f963801708d21cfd commit 3574d6718e7ff5f064960914f963801708d21cfd Author: Thomas Morper AuthorDate: 2022-12-20 12:35:55 +0000 Commit: Dmitri Goutnik CommitDate: 2022-12-20 12:43:59 +0000 net-mgmt/unbound_exporter: Update to 0.4.1 * Update to 0.4.1 * Update repo location * Simplify Makefile by using GO_MODULE rather than GH_TUPLE * Add missing SUB_LIST to Makefile * Re-factor init script Changes: https://github.com/letsencrypt/unbound_exporter/releases/tag/v0.4.1 PR: 267609 PR: 265255 Approved by: aduitsis@cpan.org (maintainer timeout, > 1 month) --- UPDATING | 8 +++ net-mgmt/unbound_exporter/Makefile | 24 ++------ net-mgmt/unbound_exporter/distinfo | 28 ++------- net-mgmt/unbound_exporter/files/pkg-message.in | 11 ++++ .../unbound_exporter/files/unbound_exporter.in | 66 +++++++++------------- 5 files changed, 57 insertions(+), 80 deletions(-) diff --git a/UPDATING b/UPDATING index 0f011fb37882..f952518fa59e 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,14 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20221220: + AFFECTS: users of net-mgmt/unbound_exporter + AUTHOR: thomas@beingboiled.info + + The config defaults for the log file and certificates have been changed. + See /usr/local/etc/rc.d/unbound_exporter for possible options and adjust + your rc.conf accordingly. + 20221215: AFFECTS: users of security/clamav AUTHOR: yasu@FreeBSD.org diff --git a/net-mgmt/unbound_exporter/Makefile b/net-mgmt/unbound_exporter/Makefile index 6335625b64c7..f10bfeaa50d2 100644 --- a/net-mgmt/unbound_exporter/Makefile +++ b/net-mgmt/unbound_exporter/Makefile @@ -1,32 +1,20 @@ PORTNAME= unbound_exporter -PORTVERSION= 0.3 +PORTVERSION= 0.4.1 DISTVERSIONPREFIX= v -PORTREVISION= 7 CATEGORIES= net-mgmt MAINTAINER= aduitsis@cpan.org COMMENT= Prometheus metrics exporter for the Unbound DNS resolver -WWW= https://github.com/kumina/unbound_exporter +WWW= https://github.com/letsencrypt/unbound_exporter LICENSE= APACHE20 -USES= go -USE_GITHUB= yes +USES= go:modules USE_RC_SUBR= unbound_exporter +GO_MODULE= github.com/letsencrypt/unbound_exporter -GH_ACCOUNT= kumina -GH_TUPLE= prometheus:client_golang:3fb53d:client_golang/vendor/github.com/prometheus/client_golang \ - prometheus:client_model:6f38060:client_model/vendor/github.com/prometheus/client_model \ - prometheus:common:49fee29:common/vendor/github.com/prometheus/common \ - prometheus:procfs:a1dba9c:procfs/vendor/github.com/prometheus/procfs \ - beorn7:perks:4c0e845:perks/vendor/github.com/beorn7/perks \ - golang:protobuf:2bba060:protobuf/vendor/github.com/golang/protobuf \ - matttproud:golang_protobuf_extensions:c12348c:extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ - sirupsen:logrus:91da99d:logrus/vendor/github.com/Sirupsen/logrus \ - golang:crypto:3d3f9f41:crypto/vendor/golang.org/x/crypto \ - golang:sys:33540a1f6037:sys/vendor/golang.org/x/sys - -GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +SUB_FILES= pkg-message +SUB_LIST= USERS=${USERS} GROUPS=${GROUPS} USERS= unbound GROUPS= unbound diff --git a/net-mgmt/unbound_exporter/distinfo b/net-mgmt/unbound_exporter/distinfo index 2cacd3bdd3f6..6db3e95be3f9 100644 --- a/net-mgmt/unbound_exporter/distinfo +++ b/net-mgmt/unbound_exporter/distinfo @@ -1,23 +1,5 @@ -TIMESTAMP = 1618353057 -SHA256 (kumina-unbound_exporter-v0.3_GH0.tar.gz) = 6fee9aa7c0d1f6310832dcd2d41240f0c198e67a863f1b239c286cc1fd523d0e -SIZE (kumina-unbound_exporter-v0.3_GH0.tar.gz) = 12018 -SHA256 (prometheus-client_golang-3fb53d_GH0.tar.gz) = 778ce90fdb4610cfc7c6382db9455ba15ca63c48c3f0e21cff9f1d0efeef98d3 -SIZE (prometheus-client_golang-3fb53d_GH0.tar.gz) = 129739 -SHA256 (prometheus-client_model-6f38060_GH0.tar.gz) = 6b4cc049a4588d8e93b7acf6cffa6a53034d5410128ae3752263f2bacf9e606c -SIZE (prometheus-client_model-6f38060_GH0.tar.gz) = 54645 -SHA256 (prometheus-common-49fee29_GH0.tar.gz) = c38dd9ce34f65921f8e7604e6be471f4a49626b63e7312db21f98d65085a7be6 -SIZE (prometheus-common-49fee29_GH0.tar.gz) = 59151 -SHA256 (prometheus-procfs-a1dba9c_GH0.tar.gz) = 1702ef1142513b687bd544962828432f88195e12bbb079cbd68670b00c3e2d18 -SIZE (prometheus-procfs-a1dba9c_GH0.tar.gz) = 31615 -SHA256 (beorn7-perks-4c0e845_GH0.tar.gz) = 2d0c7784d2695b09c87710bc8c3c3d5b88ffeece31a650ed901763d215615478 -SIZE (beorn7-perks-4c0e845_GH0.tar.gz) = 10593 -SHA256 (golang-protobuf-2bba060_GH0.tar.gz) = ae917f15fd7de724cdce087b451326e6f364a898f03dc453a912ed7918e87742 -SIZE (golang-protobuf-2bba060_GH0.tar.gz) = 245284 -SHA256 (matttproud-golang_protobuf_extensions-c12348c_GH0.tar.gz) = da165c9275b77a0994b815bc7d761dcb2e4799a90fe49eec08d8bdff3a683f48 -SIZE (matttproud-golang_protobuf_extensions-c12348c_GH0.tar.gz) = 37200 -SHA256 (sirupsen-logrus-91da99d_GH0.tar.gz) = fe1633e0563ba4f1c24ad0a056ba71a0e19731052085470638ca0f6b084f6f1a -SIZE (sirupsen-logrus-91da99d_GH0.tar.gz) = 37938 -SHA256 (golang-crypto-3d3f9f41_GH0.tar.gz) = 4f7727c350599f8254ebbf9bc98ff5a195628e68cb76df4eb7043d2fd9f431c6 -SIZE (golang-crypto-3d3f9f41_GH0.tar.gz) = 1644603 -SHA256 (golang-sys-33540a1f6037_GH0.tar.gz) = 09ebdf007413c2eaddce123137443d08d1848be410c58896e772f0481ec385d5 -SIZE (golang-sys-33540a1f6037_GH0.tar.gz) = 1497659 +TIMESTAMP = 1667511702 +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 diff --git a/net-mgmt/unbound_exporter/files/pkg-message.in b/net-mgmt/unbound_exporter/files/pkg-message.in new file mode 100644 index 000000000000..6eac52ec6758 --- /dev/null +++ b/net-mgmt/unbound_exporter/files/pkg-message.in @@ -0,0 +1,11 @@ +[ +{ + type: upgrade + maximum_version: "0.4.1" + message: <