1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

net-mgmt/prometheus2: Update to version 2.2.1 [1]

Also, tweaks to conform to Porter's Handbook:
 - Set DISTVERSION instead of PORTVERSION directly
 - Update order of blocks/variables

Submitted by:	dor.bsd@xm0.uk (maintainer) [1]
Differential Revision:	https://reviews.freebsd.org/D14657
This commit is contained in:
Joseph Mingrone 2018-04-10 20:31:57 +00:00
parent 4e32dae356
commit ff895ea6b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467016
2 changed files with 5 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= prometheus
PORTVERSION= 2.1.0
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.1
CATEGORIES= net-mgmt
MAINTAINER= dor.bsd@xm0.uk
@ -12,12 +12,8 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go gmake
USE_GITHUB= yes
GH_ACCOUNT= prometheus
GH_PROJECT= prometheus
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
USE_GITHUB= yes
USE_RC_SUBR= prometheus
USERS= prometheus
@ -30,7 +26,6 @@ LD_FLAG_STRING= -s \
${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \
${LD_FLAG_X_PREFIX}.Branch=release-${PORTVERSION:R} \
${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER}
PROMETHEUS_BINARIES= prometheus promtool
do-build:
@ -43,7 +38,6 @@ do-install:
.for bin in ${PROMETHEUS_BINARIES}
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${bin} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_DATA} \
${WRKSRC}/documentation/examples/prometheus.yml \
${STAGEDIR}${LOCALBASE}/etc/prometheus.yml.sample

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1516749966
SHA256 (prometheus-prometheus-v2.1.0_GH0.tar.gz) = c6fc92d695c9af30574eb41af5e0e89f4fde9a04a3169ba58aa2b2f80d5862a4
SIZE (prometheus-prometheus-v2.1.0_GH0.tar.gz) = 5669858
TIMESTAMP = 1523391674
SHA256 (prometheus-prometheus-v2.2.1_GH0.tar.gz) = 4f75427449bb72d1886f6cd46f752fe6300242da48b8bb870dbbd7ffc879ed92
SIZE (prometheus-prometheus-v2.2.1_GH0.tar.gz) = 5629500