Update to upstream release 0.17.0

PR:		234707
Submitted by:	dor.bsd@xm0.uk
Approved by:	ports@ecadlabs.com (maintainer)
MFH:		2019Q1
This commit is contained in:
Thomas Zander 2019-01-08 13:15:30 +00:00
parent 5422d2a79c
commit 65e8656391
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489681
2 changed files with 13 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= node_exporter
PORTVERSION= 0.16.0
PORTVERSION= 0.17.0
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
@ -23,6 +23,15 @@ 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

View File

@ -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