mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
MFH: r542135
net-mgmt/prometheus2: Update to 2.19.2 Changes: https://github.com/prometheus/prometheus/releases/tag/v2.19.2 PR: 247937 Submitted by: David O'Rourke <dor.bsd@xm0.uk> (maintainer) Approved by: ports-secteam blanket (bugfix release)
This commit is contained in:
parent
a09cc9dd5b
commit
9996aecf7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=542136
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= prometheus
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.19.1
|
||||
DISTVERSION= 2.19.2
|
||||
CATEGORIES= net-mgmt
|
||||
|
||||
MAINTAINER= dor.bsd@xm0.uk
|
||||
@ -56,7 +56,8 @@ 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}.BuildUser=${BUILD_USER} \
|
||||
${LD_FLAG_X_PREFIX}.BuildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}}
|
||||
|
||||
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" -tags netgo,builtinassets
|
||||
|
||||
@ -66,6 +67,11 @@ GO_TARGET= ./cmd/prometheus \
|
||||
./cmd/promtool \
|
||||
./tsdb/cmd/tsdb:promtsdb
|
||||
|
||||
# Bring DISTINFO_FILE into scope so we can get the timestamp.
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
SOURCE_DATE_EPOCH_CMD= date -ur $$(${GREP} TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%Y%m%d-%T'
|
||||
|
||||
post-patch:
|
||||
@${LN} -s ${WRKSRC_assets}/web/ui/assets_vfsdata.go \
|
||||
${WRKSRC}/web/ui/assets_vfadata.go
|
||||
@ -90,4 +96,4 @@ post-install-DOCS-on:
|
||||
cd ${WRKSRC}/docs && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
TIMESTAMP = 1592772011
|
||||
SHA256 (prometheus-prometheus-v2.19.1_GH0.tar.gz) = b72b9b6bdbae246dcc29ef354d429425eb3c0a6e1596fc8b29b502578a4ce045
|
||||
SIZE (prometheus-prometheus-v2.19.1_GH0.tar.gz) = 13343138
|
||||
SHA256 (ports-assets-net-mgmt_prometheus2-v2.19.1_GH0.tar.gz) = d4a688dae5116d4df8d4c98d7c193faacde70b9f4055e8ed9cefb7f6aac0639f
|
||||
SIZE (ports-assets-net-mgmt_prometheus2-v2.19.1_GH0.tar.gz) = 5034530
|
||||
TIMESTAMP = 1594572798
|
||||
SHA256 (prometheus-prometheus-v2.19.2_GH0.tar.gz) = d4e84cae2fed6761bb8a80fcc69b6e0e9f274d19dffc0f38fb5845f11da1bbc3
|
||||
SIZE (prometheus-prometheus-v2.19.2_GH0.tar.gz) = 13338606
|
||||
SHA256 (ports-assets-net-mgmt_prometheus2-v2.19.2_GH0.tar.gz) = c95b017152c74d489b608a4689493ebd66b18ad3d1c5451310c2773c18a3bc10
|
||||
SIZE (ports-assets-net-mgmt_prometheus2-v2.19.2_GH0.tar.gz) = 5034529
|
||||
|
Loading…
Reference in New Issue
Block a user