mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
net-mgmt/prometheus2: update to 2.4.2
PR: 231586 Submitted by: David O'Rourke <dor.bsd@xm0.uk> (maintainer)
This commit is contained in:
parent
e6a3df92da
commit
28a3e27d08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480443
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user