aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/prometheus2
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2018-09-23 09:00:55 +0800
committerswills <swills@FreeBSD.org>2018-09-23 09:00:55 +0800
commit49e8628cfc8e43d4a8393e7446911485aa49c7bb (patch)
tree57387d421a7e03388c513e328c0367868e64cc36 /net-mgmt/prometheus2
parent7dffbf4eb96e49dda998f1814f1996a417f2a223 (diff)
downloadfreebsd-ports-gnome-49e8628cfc8e43d4a8393e7446911485aa49c7bb.tar.gz
freebsd-ports-gnome-49e8628cfc8e43d4a8393e7446911485aa49c7bb.tar.zst
freebsd-ports-gnome-49e8628cfc8e43d4a8393e7446911485aa49c7bb.zip
net-mgmt/prometheus2: update to 2.4.2
PR: 231586 Submitted by: David O'Rourke <dor.bsd@xm0.uk> (maintainer)
Diffstat (limited to 'net-mgmt/prometheus2')
-rw-r--r--net-mgmt/prometheus2/Makefile8
-rw-r--r--net-mgmt/prometheus2/distinfo6
2 files changed, 7 insertions, 7 deletions
diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile
index f79f7be882ff..85112fdd7357 100644
--- a/net-mgmt/prometheus2/Makefile
+++ b/net-mgmt/prometheus2/Makefile
@@ -2,8 +2,7 @@
PORTNAME= prometheus
DISTVERSIONPREFIX= v
-DISTVERSION= 2.3.2
-PORTREVISION= 1
+DISTVERSION= 2.4.2
CATEGORIES= net-mgmt
MAINTAINER= dor.bsd@xm0.uk
@@ -57,17 +56,18 @@ PLIST_SUB+= PORTNAME=${PORTNAME} \
BUILD_USER?= ${USER}
LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/vendor/${GO_PKGNAME:H}/common/version
-LD_FLAG_STRING= -s \
+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-build:
.for bin in ${PROMETHEUS_BINARIES}
( cd ${GO_WRKSRC}/cmd/${bin} ; \
${SETENV} ${MAKE_ENV} ${GO_ENV} \
- ${GO_CMD} install -v -ldflags "${LD_FLAG_STRING}" )
+ ${GO_CMD} install ${GO_BUILDFLAGS} )
.endfor
do-install:
diff --git a/net-mgmt/prometheus2/distinfo b/net-mgmt/prometheus2/distinfo
index 66cfc025e485..7f71f6421db8 100644
--- a/net-mgmt/prometheus2/distinfo
+++ b/net-mgmt/prometheus2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534659373
-SHA256 (prometheus-prometheus-v2.3.2_GH0.tar.gz) = 008282497e2e85de6fb17a698dfdae4a942026f623d8a9d45b911a765442cb58
-SIZE (prometheus-prometheus-v2.3.2_GH0.tar.gz) = 6175804
+TIMESTAMP = 1537620695
+SHA256 (prometheus-prometheus-v2.4.2_GH0.tar.gz) = 5e327347490410f6c5491971b8e24ac02cf19fdd787354bd0bab90ea89421b76
+SIZE (prometheus-prometheus-v2.4.2_GH0.tar.gz) = 6092847