[Bug 274327] sysutils/node_exporter: Update to 1.6.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Oct 2023 16:33:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274327

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |fuz@FreeBSD.org
             Status|New                         |In Progress

--- Comment #4 from Robert Clausecker <fuz@FreeBSD.org> ---
Thank you for the explanation.  With this out of the way, the port can be
simplified further.  I propose the following additional changes, are you ok
with them?

--- a/sysutils/node_exporter/Makefile
+++ b/sysutils/node_exporter/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=      node_exporter
-PORTVERSION=   1.6.1
 DISTVERSIONPREFIX=v
+DISTVERSION=   1.6.1
 CATEGORIES=    sysutils

 MAINTAINER=    dor.bsd@xm0.uk
@@ -11,13 +11,9 @@ LICENSE=     APACHE20
 LICENSE_FILE=  ${WRKSRC}/LICENSE

 USES=          gmake go:modules shebangfix
-USE_GITHUB=    yes
-GH_ACCOUNT=    prometheus
-GH_PROJECT=    ${PORTNAME}
 USE_RC_SUBR=   node_exporter

-GO_MODULE=     github.com/${GH_ACCOUNT}/${PORTNAME}
-GO_PKGNAME=    github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_MODULE=     github.com/prometheus/${PORTNAME}
 GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}"

 OPTIONS_DEFINE=        DOCS

-- 
You are receiving this mail because:
You are the assignee for the bug.