Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2019 13:15:30 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489681 - head/sysutils/node_exporter
Message-ID:  <201901081315.x08DFUds075577@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Tue Jan  8 13:15:30 2019
New Revision: 489681
URL: https://svnweb.freebsd.org/changeset/ports/489681

Log:
  Update to upstream release 0.17.0
  
  PR:		234707
  Submitted by:	dor.bsd@xm0.uk
  Approved by:	ports@ecadlabs.com (maintainer)
  MFH:		2019Q1

Modified:
  head/sysutils/node_exporter/Makefile
  head/sysutils/node_exporter/distinfo

Modified: head/sysutils/node_exporter/Makefile
==============================================================================
--- head/sysutils/node_exporter/Makefile	Tue Jan  8 13:13:50 2019	(r489680)
+++ head/sysutils/node_exporter/Makefile	Tue Jan  8 13:15:30 2019	(r489681)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	node_exporter
-PORTVERSION=	0.16.0
+PORTVERSION=	0.17.0
 DISTVERSIONPREFIX=v
 CATEGORIES=	sysutils
 
@@ -22,6 +22,15 @@ GO_TARGET=	github.com/${GH_ACCOUNT}/${PORTNAME}
 PLIST_FILES=	bin/node_exporter
 
 USE_RC_SUBR=	node_exporter
+
+BUILD_USER?=	${USER}
+LD_FLAG_X_PREFIX=	-X ${GO_PKGNAME}/vendor/${GO_PKGNAME:H}/common/version
+LD_FLAG_STRING=	-s \
+		${LD_FLAG_X_PREFIX}.Version=${PORTVERSION} \
+		${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \
+		${LD_FLAG_X_PREFIX}.Branch=release-${PORTVERSION:R} \
+		${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER}
+GO_BUILDFLAGS=	-v -ldflags "${LD_FLAG_STRING}"
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/bin/node_exporter ${STAGEDIR}${PREFIX}/bin

Modified: head/sysutils/node_exporter/distinfo
==============================================================================
--- head/sysutils/node_exporter/distinfo	Tue Jan  8 13:13:50 2019	(r489680)
+++ head/sysutils/node_exporter/distinfo	Tue Jan  8 13:15:30 2019	(r489681)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1529087836
-SHA256 (prometheus-node_exporter-v0.16.0_GH0.tar.gz) = 2ed1c1c199e047b1524b49a6662d5969936e81520d6613b8b68cc3effda450cf
-SIZE (prometheus-node_exporter-v0.16.0_GH0.tar.gz) = 1413131
+TIMESTAMP = 1546895206
+SHA256 (prometheus-node_exporter-v0.17.0_GH0.tar.gz) = 763b588b9282a8aa497286f8ab1aab61d085bdd2d258cf3457f23c60752c9a27
+SIZE (prometheus-node_exporter-v0.17.0_GH0.tar.gz) = 1758763



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901081315.x08DFUds075577>