From nobody Sat Jun 25 22:37:36 2022 X-Original-To: dev-commits-ports-all@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 F28F4863594; Sat, 25 Jun 2022 22:37:36 +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 4LVplh64T6z4Z5B; Sat, 25 Jun 2022 22:37:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656196656; 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=Zg8GGu/TDGvsrsqz3a9lkKSEHNi3Ksg/bKkOR9dhbKg=; b=ZZaPGDt0R3K3jcYBVxhncpJr/tBxcQhl9rAC1u/T981MfftWozmNZFS0p2brSq+M3xEh7P HaZdB0W9wivc70EK4uuTQoSkJuMF9CCoH+wGDGsZZamzChXB4DslkC8OgW34IMff4VGgIu U+3NZX9BOS1ZQ04SxGX0lPY09oem0igH7J1kTbIkMIkxFtGgl7HsuN/oriTfZkaEGDD2gt CW7+CLTQn2mEgV1i57tqXnMmBNaOX4xL71mTc0TZYfPpqAXDhHz9CPluHGF4XyvCedZRW8 ovPc7z25rqZHoYbLEM6Tb0V5jU7wz5/tQbTme1hJ29HwA+LpBPmUc0S2JNlHYA== 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 AF8C7568C; Sat, 25 Jun 2022 22:37:36 +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 25PMbaDq090612; Sat, 25 Jun 2022 22:37:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25PMbaRR090611; Sat, 25 Jun 2022 22:37:36 GMT (envelope-from git) Date: Sat, 25 Jun 2022 22:37:36 GMT Message-Id: <202206252237.25PMbaRR090611@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 4171ed08f1f4 - main - net-mgmt/blackbox_exporter: Adopt/Update to 0.21.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4171ed08f1f40ae46b97d5a2fa9c46f0ce8b2f65 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656196656; 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=Zg8GGu/TDGvsrsqz3a9lkKSEHNi3Ksg/bKkOR9dhbKg=; b=kLEcP6AL2f7zaIpsdu+EoiJY8MfbbMOxvct3zpDdr59vArNPfAc/pNZ/o163gea0ntULH1 ltMAXnX06wf6+RVDbZ/V3U6ulRi1HXQ+5g22W2IYoizRHfqsbUkeBUFCDcC8aQLm7B4eEt lVK5A2baXkxYzXTN/pgWHn+kdGNl9mtTv/MIy+nHmJ6FBstrV3AlLrE+alt1jYWhb+73q0 wI8by0ZSwsL8OaewjaXe06GTiJ4Z5PtkJlWObRnG4vV7hMToVAa5O/5l/9ijKF5x/6833Q qxOyV7fgaL+ML3LueXOJMonNmKnx/Ti+X67UfmlLLWcKntRKDMNo/0Aw51QnRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656196656; a=rsa-sha256; cv=none; b=aSpHSMAlRWbvB42vxUG4QW9VrWj5Pun1iDKv6BiQloJe0IA8qAxudek1MtxJ9oVdHHVe79 NL+Vhua1BRjmbfr75jgI1z7BHjrmVtyxGNB0/5XswaicoVcUCL3a5XkRPatGxGvRM610qo J1t5n9tKhZCHJn7UvMkA8rG23H4eGO6OweH9HP8ObOzR+9sOBR1SBzZSJYBUVvBIe2cRHg L7EpojfIdwh//jmKCKwiUp6pc4QA/DhGK3X/nbYO13xJgkqwE/eY1dzFUhkAO5KtRIgYx+ pJTxlf/wKZAcUtbeAoUUZ0+7GKDyywUFxbfGe5+g+el73YwAXzSxLqJTBAGkYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=4171ed08f1f40ae46b97d5a2fa9c46f0ce8b2f65 commit 4171ed08f1f40ae46b97d5a2fa9c46f0ce8b2f65 Author: Nuno Teixeira AuthorDate: 2022-06-25 22:34:27 +0000 Commit: Nuno Teixeira CommitDate: 2022-06-25 22:37:04 +0000 net-mgmt/blackbox_exporter: Adopt/Update to 0.21.1 - take maintainership - switch to DISTVERSION - switch to GO_MODULE ChangeLog: https://github.com/prometheus/blackbox_exporter/blob/master/CHANGELOG.md --- net-mgmt/blackbox_exporter/Makefile | 23 ++++++++--------------- net-mgmt/blackbox_exporter/distinfo | 10 +++++----- net-mgmt/blackbox_exporter/files/pkg-message.in | 2 +- 3 files changed, 14 insertions(+), 21 deletions(-) diff --git a/net-mgmt/blackbox_exporter/Makefile b/net-mgmt/blackbox_exporter/Makefile index cf610b0b5ffa..5a38d4f72f17 100644 --- a/net-mgmt/blackbox_exporter/Makefile +++ b/net-mgmt/blackbox_exporter/Makefile @@ -1,12 +1,11 @@ # Created by: Boris Samorodov PORTNAME= blackbox_exporter -PORTVERSION= 0.17.0 -PORTREVISION= 3 -DISTVERSIONPREFIX=v +DISTVERSIONPREFIX= v +DISTVERSION= 0.21.1 CATEGORIES= net-mgmt -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= Prometheus exporter for endpoints over HTTP(S), DNS, TCP and ICMP LICENSE= APACHE20 @@ -14,12 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go:modules CPE_VENDOR= prometheus - -USE_GITHUB= yes -GH_ACCOUNT= prometheus -GH_TUPLE= golang:net:83d349e8ac1a:golang_net/vendor/golang.org/x/net_83d349e8ac1a USE_RC_SUBR= blackbox_exporter +GO_MODULE= github.com/prometheus/blackbox_exporter + +SUB_FILES= pkg-message +SUB_LIST= DISTVERSIONFULL=${DISTVERSIONFULL} + USERS= prometheus GROUPS= prometheus @@ -27,13 +27,6 @@ PORTEXAMPLES= ${WRKSRC}/*.yml OPTIONS_DEFINE= EXAMPLES -SUB_FILES= pkg-message -SUB_LIST= GH_TAGNAME=${GH_TAGNAME} - -post-extract: - ${RM} -r ${WRKSRC}/vendor/golang.org/x/net - ${MV} ${WRKSRC}/vendor/golang.org/x/net_83d349e8ac1a ${WRKSRC}/vendor/golang.org/x/net - post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/*.yml ${STAGEDIR}${EXAMPLESDIR} diff --git a/net-mgmt/blackbox_exporter/distinfo b/net-mgmt/blackbox_exporter/distinfo index ea2aa50a4cf7..44e0d213e5ed 100644 --- a/net-mgmt/blackbox_exporter/distinfo +++ b/net-mgmt/blackbox_exporter/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1593011494 -SHA256 (prometheus-blackbox_exporter-v0.17.0_GH0.tar.gz) = 6877bbf524dbd946ee03788dffd7bae88140fa356ad97a079eb6ea2ca83b976b -SIZE (prometheus-blackbox_exporter-v0.17.0_GH0.tar.gz) = 2615179 -SHA256 (golang-net-83d349e8ac1a_GH0.tar.gz) = 5752c376bc6383bf2055281336101c062b881f17ded2e960d718c8256023f9c7 -SIZE (golang-net-83d349e8ac1a_GH0.tar.gz) = 1103298 +TIMESTAMP = 1656187483 +SHA256 (go/net-mgmt_blackbox_exporter/blackbox_exporter-v0.21.1/v0.21.1.mod) = b016cdb1d61e07a76700ca52fe41cff3f3bf1c9a0eb382a0e7ca584b141f3554 +SIZE (go/net-mgmt_blackbox_exporter/blackbox_exporter-v0.21.1/v0.21.1.mod) = 1747 +SHA256 (go/net-mgmt_blackbox_exporter/blackbox_exporter-v0.21.1/v0.21.1.zip) = 46a7c5d8c6b08742b8a00927f2e24cc27ceb275a256d635043d100e60f8a8f64 +SIZE (go/net-mgmt_blackbox_exporter/blackbox_exporter-v0.21.1/v0.21.1.zip) = 108318 diff --git a/net-mgmt/blackbox_exporter/files/pkg-message.in b/net-mgmt/blackbox_exporter/files/pkg-message.in index ae772601a782..2352b7e1c10c 100644 --- a/net-mgmt/blackbox_exporter/files/pkg-message.in +++ b/net-mgmt/blackbox_exporter/files/pkg-message.in @@ -6,7 +6,7 @@ To start blackbox_exporter, create a configuration file at "sysrc blackbox_exporter_enable=yes". For details about the configuration file format, visit -https://github.com/prometheus/blackbox_exporter/blob/%%GH_TAGNAME%%/CONFIGURATION.md +https://github.com/prometheus/blackbox_exporter/blob/%%DISTVERSIONFULL%%/CONFIGURATION.md Since blackbox_exporter allows setting arbitrary probe targets via HTTP parameters, it is set to listen on localhost