diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-10-26 17:55:11 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-10-26 17:55:11 +0000 |
commit | f86a04d746f5e9b0e5f6bbb66b7258ee244e4e3b (patch) | |
tree | 3f4a66951589a0d91865836e86ee3a0c79c76e09 /net-mgmt/prometheus2 | |
parent | 3acb58b884d56ac92fd3e6910ca3c040f01716b5 (diff) | |
download | ports-f86a04d746f5e9b0e5f6bbb66b7258ee244e4e3b.tar.gz ports-f86a04d746f5e9b0e5f6bbb66b7258ee244e4e3b.zip |
Notes
Diffstat (limited to 'net-mgmt/prometheus2')
-rw-r--r-- | net-mgmt/prometheus2/Makefile | 38 | ||||
-rw-r--r-- | net-mgmt/prometheus2/distinfo | 10 |
2 files changed, 23 insertions, 25 deletions
diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile index 76fca82b9b11..067744d67a34 100644 --- a/net-mgmt/prometheus2/Makefile +++ b/net-mgmt/prometheus2/Makefile @@ -2,7 +2,7 @@ PORTNAME= prometheus DISTVERSIONPREFIX= v -DISTVERSION= 2.21.0 +DISTVERSION= 2.22.0 CATEGORIES= net-mgmt MAINTAINER= dor.bsd@xm0.uk @@ -15,23 +15,11 @@ USES= go:modules gmake USE_GITHUB= yes GH_TUPLE= ports-assets:net-mgmt_prometheus2:${DISTVERSIONFULL}:assets - USE_RC_SUBR= prometheus -OPTIONS_DEFINE= DOCS - -PROMETHEUS_USER?= prometheus -PROMETHEUS_GROUP?= prometheus - -USERS= ${PROMETHEUS_USER} -GROUPS= ${PROMETHEUS_GROUP} - -PROMETHEUS_SHARE_DIR= ${DATADIR} -PROMETHEUS_CONSOLES_DIR= ${PROMETHEUS_SHARE_DIR}/consoles -PROMETHEUS_CONSOLE_LIBRARIES_DIR= ${PROMETHEUS_SHARE_DIR}/console_libraries -PROMETHEUS_DB_DIR= /var/db/${PORTNAME} -PROMETHEUS_LOG_DIR= /var/log/prometheus -PROMETHEUS_LOG_FILE= ${PROMETHEUS_LOG_DIR}/prometheus.log +GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" -tags netgo,builtinassets +GO_TARGET= ./cmd/prometheus \ + ./cmd/promtool SUB_FILES= prometheus @@ -44,25 +32,35 @@ SUB_LIST+= PROMETHEUS_USER=${PROMETHEUS_USER} \ PROMETHEUS_LOG_FILE=${PROMETHEUS_LOG_FILE} \ PROMETHEUS_SHARE_DIR=${PROMETHEUS_SHARE_DIR} +USERS= ${PROMETHEUS_USER} +GROUPS= ${PROMETHEUS_GROUP} + PLIST_SUB+= PORTNAME=${PORTNAME} \ PROMETHEUS_CONSOLE_LIBRARIES_DIR=${PROMETHEUS_CONSOLE_LIBRARIES_DIR} \ PROMETHEUS_CONSOLES_DIR=${PROMETHEUS_CONSOLES_DIR} \ PROMETHEUS_DB_DIR=${PROMETHEUS_DB_DIR} \ PROMETHEUS_LOG_DIR=${PROMETHEUS_LOG_DIR} +OPTIONS_DEFINE= DOCS + BUILD_USER?= ${USER} -LD_FLAG_X_PREFIX= -X github.com/prometheus/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} \ ${LD_FLAG_X_PREFIX}.BuildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} +LD_FLAG_X_PREFIX= -X github.com/prometheus/common/version -GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" -tags netgo,builtinassets +PROMETHEUS_USER?= prometheus +PROMETHEUS_GROUP?= prometheus -GO_TARGET= ./cmd/prometheus \ - ./cmd/promtool +PROMETHEUS_CONSOLES_DIR= ${PROMETHEUS_SHARE_DIR}/consoles +PROMETHEUS_CONSOLE_LIBRARIES_DIR= ${PROMETHEUS_SHARE_DIR}/console_libraries +PROMETHEUS_DB_DIR= /var/db/${PORTNAME} +PROMETHEUS_LOG_DIR= /var/log/prometheus +PROMETHEUS_LOG_FILE= ${PROMETHEUS_LOG_DIR}/prometheus.log +PROMETHEUS_SHARE_DIR= ${DATADIR} # Bring DISTINFO_FILE into scope so we can get the timestamp. .include <bsd.port.pre.mk> diff --git a/net-mgmt/prometheus2/distinfo b/net-mgmt/prometheus2/distinfo index be3b0c93c4ca..e285ac7b4542 100644 --- a/net-mgmt/prometheus2/distinfo +++ b/net-mgmt/prometheus2/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1599842589 -SHA256 (prometheus-prometheus-v2.21.0_GH0.tar.gz) = afafed1be631a53ada60e2b2f12cfdb51dcaee5e539fb65e9983f3276c99f5af -SIZE (prometheus-prometheus-v2.21.0_GH0.tar.gz) = 13971178 -SHA256 (ports-assets-net-mgmt_prometheus2-v2.21.0_GH0.tar.gz) = 76541ed9d617053599f1dfddc1330f4a65dcdee5a9e0f722a820eeb0d1b44f2c -SIZE (ports-assets-net-mgmt_prometheus2-v2.21.0_GH0.tar.gz) = 5062460 +TIMESTAMP = 1603707479 +SHA256 (prometheus-prometheus-v2.22.0_GH0.tar.gz) = 9390cbd338d253956184d0f0a6719d21cb5719f0319fc48ee08d5bd48fc87cc2 +SIZE (prometheus-prometheus-v2.22.0_GH0.tar.gz) = 14140650 +SHA256 (ports-assets-net-mgmt_prometheus2-v2.22.0_GH0.tar.gz) = 3afe554702ff6375dfa10fa047e0e0a02449215dbd9ac42162a5a6b4c23122f3 +SIZE (ports-assets-net-mgmt_prometheus2-v2.22.0_GH0.tar.gz) = 5063407 |