git: 4171ed08f1f4 - main - net-mgmt/blackbox_exporter: Adopt/Update to 0.21.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Jun 2022 22:37:36 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=4171ed08f1f40ae46b97d5a2fa9c46f0ce8b2f65 commit 4171ed08f1f40ae46b97d5a2fa9c46f0ce8b2f65 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-06-25 22:34:27 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> 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 <bsam@FreeBSDD.org> 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