diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile index ec749698e5de..f4290e11a9c6 100644 --- a/net-mgmt/prometheus2/Makefile +++ b/net-mgmt/prometheus2/Makefile @@ -2,7 +2,7 @@ PORTNAME= prometheus DISTVERSIONPREFIX= v -DISTVERSION= 2.11.0 +DISTVERSION= 2.11.1 CATEGORIES= net-mgmt MAINTAINER= dor.bsd@xm0.uk @@ -25,7 +25,6 @@ PROMETHEUS_GROUP?= prometheus USERS= ${PROMETHEUS_USER} GROUPS= ${PROMETHEUS_GROUP} -PROMETHEUS_BINARIES= prometheus promtool PROMETHEUS_SHARE_DIR= ${DATADIR} PROMETHEUS_CONSOLES_DIR= ${PROMETHEUS_SHARE_DIR}/consoles PROMETHEUS_CONSOLE_LIBRARIES_DIR= ${PROMETHEUS_SHARE_DIR}/console_libraries @@ -51,7 +50,7 @@ PLIST_SUB+= PORTNAME=${PORTNAME} \ PROMETHEUS_LOG_DIR=${PROMETHEUS_LOG_DIR} BUILD_USER?= ${USER} -LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/vendor/${GO_PKGNAME:H}/common/version +LD_FLAG_X_PREFIX= -X ${GO_PKGNAME:H}/common/version LD_FLAG_STRING= -s \ ${LD_FLAG_X_PREFIX}.Version=${PORTVERSION} \ ${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \ @@ -59,7 +58,8 @@ LD_FLAG_STRING= -s \ ${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER} GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" -GO_TARGET= ${PROMETHEUS_BINARIES:S/^/.\/cmd\//} +GO_TARGET= ./cmd/prometheus \ + ./cmd/promtool post-install: ${INSTALL_DATA} \ diff --git a/net-mgmt/prometheus2/distinfo b/net-mgmt/prometheus2/distinfo index 50443a32833f..b4725dc72d88 100644 --- a/net-mgmt/prometheus2/distinfo +++ b/net-mgmt/prometheus2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1562676113 -SHA256 (prometheus-prometheus-v2.11.0_GH0.tar.gz) = b83f490a59292f00ab9679b008e2876ccc3a0c153916e2c141566395c7dcc7ee -SIZE (prometheus-prometheus-v2.11.0_GH0.tar.gz) = 12133603 +TIMESTAMP = 1563397301 +SHA256 (prometheus-prometheus-v2.11.1_GH0.tar.gz) = 180ce60faae413308db6bb21d83104ed345797a7a3998966869e564717b73347 +SIZE (prometheus-prometheus-v2.11.1_GH0.tar.gz) = 12133604