git: 0a3a4ece4139 - main - www/nginx-prometheus-exporter: Update 1.1.0 → 1.3.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 13 Sep 2024 15:04:19 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a3a4ece413912a9fd818875847e968050d792fd

commit 0a3a4ece413912a9fd818875847e968050d792fd
Author:     Volodymyr Kostyrko <arcade@b1t.name>
AuthorDate: 2024-09-13 15:02:17 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-09-13 15:02:17 +0000

    www/nginx-prometheus-exporter: Update 1.1.0 → 1.3.0
    
    Changelogs:
    https://github.com/nginxinc/nginx-prometheus-exporter/releases/tag/v1.2.0
    https://github.com/nginxinc/nginx-prometheus-exporter/releases/tag/v1.3.0
    
    PR:     281481
---
 www/nginx-prometheus-exporter/Makefile |  7 +++----
 www/nginx-prometheus-exporter/distinfo | 10 +++++-----
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/www/nginx-prometheus-exporter/Makefile b/www/nginx-prometheus-exporter/Makefile
index 17cb426a4675..7ed266f2fbfe 100644
--- a/www/nginx-prometheus-exporter/Makefile
+++ b/www/nginx-prometheus-exporter/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	nginx-prometheus-exporter
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.0
-PORTREVISION=	5
+DISTVERSION=	1.3.0
 CATEGORIES=	www
 
 MAINTAINER=	arcade@b1t.name
@@ -11,14 +10,14 @@ WWW=		https://github.com/nginxinc/nginx-prometheus-exporter
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules,1.21
+USES=		go:modules,1.22
 
 USE_RC_SUBR=	${PORTNAME}
 GO_MODULE=	github.com/nginxinc/nginx-prometheus-exporter
 GO_BUILDFLAGS=	-v -ldflags "${LD_FLAG_STRING}"
 
 LD_FLAG_X_PREFIX=	-X main
-LD_FLAG_STRING=		${STRIP} ${LD_FLAG_X_PREFIX}.version=${PORTVERSION}
+LD_FLAG_STRING=		${STRIP} ${LD_FLAG_X_PREFIX}.version=${DISTVERSION}
 
 PLIST_FILES=	bin/${PORTNAME}
 
diff --git a/www/nginx-prometheus-exporter/distinfo b/www/nginx-prometheus-exporter/distinfo
index 003d69199852..620bc80d2a06 100644
--- a/www/nginx-prometheus-exporter/distinfo
+++ b/www/nginx-prometheus-exporter/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1711972476
-SHA256 (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.1.0/v1.1.0.mod) = ffe0417f1ba8e4dbd9469f19442bdca97573600931231ca12e75d513293f27ae
-SIZE (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.1.0/v1.1.0.mod) = 1388
-SHA256 (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.1.0/v1.1.0.zip) = e01c2e158ce83944cf7981c915c259911eb6370591fbbeedcd97a6fabaa7a4d5
-SIZE (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.1.0/v1.1.0.zip) = 796618
+TIMESTAMP = 1726232084
+SHA256 (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.3.0/v1.3.0.mod) = bdea8165ff1b02024b385264fc227ff515a94c68f64c1b853d5cd7eaf712616d
+SIZE (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.3.0/v1.3.0.mod) = 1298
+SHA256 (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.3.0/v1.3.0.zip) = 88c0882fbb8312bf0dfe1ed4fb25ea1abfc5067da73eaeeb72435b9d783e04a6
+SIZE (go/www_nginx-prometheus-exporter/nginx-prometheus-exporter-v1.3.0/v1.3.0.zip) = 805086