Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2018 20:31:57 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467016 - head/net-mgmt/prometheus2
Message-ID:  <201804102031.w3AKVvqx090111@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Tue Apr 10 20:31:57 2018
New Revision: 467016
URL: https://svnweb.freebsd.org/changeset/ports/467016

Log:
  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

Modified:
  head/net-mgmt/prometheus2/Makefile   (contents, props changed)
  head/net-mgmt/prometheus2/distinfo   (contents, props changed)

Modified: head/net-mgmt/prometheus2/Makefile
==============================================================================
--- head/net-mgmt/prometheus2/Makefile	Tue Apr 10 20:24:01 2018	(r467015)
+++ head/net-mgmt/prometheus2/Makefile	Tue Apr 10 20:31:57 2018	(r467016)
@@ -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

Modified: head/net-mgmt/prometheus2/distinfo
==============================================================================
--- head/net-mgmt/prometheus2/distinfo	Tue Apr 10 20:24:01 2018	(r467015)
+++ head/net-mgmt/prometheus2/distinfo	Tue Apr 10 20:31:57 2018	(r467016)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804102031.w3AKVvqx090111>