From owner-svn-ports-head@freebsd.org Mon Jul 15 18:12:25 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0405C08FA; Mon, 15 Jul 2019 18:12:25 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A08A96FF8D; Mon, 15 Jul 2019 18:12:25 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 868D8216CC; Mon, 15 Jul 2019 18:12:25 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6FICPki041905; Mon, 15 Jul 2019 18:12:25 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6FICObC041901; Mon, 15 Jul 2019 18:12:24 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201907151812.x6FICObC041901@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Mon, 15 Jul 2019 18:12:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506700 - head/net-mgmt/prometheus2 X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/net-mgmt/prometheus2 X-SVN-Commit-Revision: 506700 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A08A96FF8D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2019 18:12:25 -0000 Author: swills Date: Mon Jul 15 18:12:24 2019 New Revision: 506700 URL: https://svnweb.freebsd.org/changeset/ports/506700 Log: net-mgmt/prometheus2: Update to 2.11.0 PR: 239067 Submitted by: David O'Rourke (maintainer) Modified: head/net-mgmt/prometheus2/Makefile (contents, props changed) head/net-mgmt/prometheus2/distinfo (contents, props changed) head/net-mgmt/prometheus2/pkg-message (contents, props changed) head/net-mgmt/prometheus2/pkg-plist (contents, props changed) Modified: head/net-mgmt/prometheus2/Makefile ============================================================================== --- head/net-mgmt/prometheus2/Makefile Mon Jul 15 18:08:37 2019 (r506699) +++ head/net-mgmt/prometheus2/Makefile Mon Jul 15 18:12:24 2019 (r506700) @@ -2,7 +2,7 @@ PORTNAME= prometheus DISTVERSIONPREFIX= v -DISTVERSION= 2.10.0 +DISTVERSION= 2.11.0 CATEGORIES= net-mgmt MAINTAINER= dor.bsd@xm0.uk @@ -11,12 +11,14 @@ COMMENT= Systems monitoring and alerting toolkit LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go gmake +USES= go:modules gmake USE_GITHUB= yes USE_RC_SUBR= prometheus GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} +OPTIONS_DEFINE= DOCS + PROMETHEUS_USER?= prometheus PROMETHEUS_GROUP?= prometheus @@ -55,19 +57,11 @@ 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} + GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" +GO_TARGET= ${PROMETHEUS_BINARIES:S/^/.\/cmd\//} -do-build: -.for bin in ${PROMETHEUS_BINARIES} - ( cd ${GO_WRKSRC}/cmd/${bin} ; \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} \ - ${GO_CMD} install ${GO_BUILDFLAGS} ) -.endfor - -do-install: -.for bin in ${PROMETHEUS_BINARIES} - ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${bin} ${STAGEDIR}${PREFIX}/bin -.endfor +post-install: ${INSTALL_DATA} \ ${WRKSRC}/documentation/examples/prometheus.yml \ ${STAGEDIR}${LOCALBASE}/etc/prometheus.yml.sample @@ -81,5 +75,10 @@ do-install: ( cd ${WRKSRC}/consoles \ && ${COPYTREE_SHARE} . ${STAGEDIR}${PROMETHEUS_CONSOLES_DIR} \ ) + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/docs && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Modified: head/net-mgmt/prometheus2/distinfo ============================================================================== --- head/net-mgmt/prometheus2/distinfo Mon Jul 15 18:08:37 2019 (r506699) +++ head/net-mgmt/prometheus2/distinfo Mon Jul 15 18:12:24 2019 (r506700) @@ -1,3 +1,3 @@ -TIMESTAMP = 1558923211 -SHA256 (prometheus-prometheus-v2.10.0_GH0.tar.gz) = 0362f4aa2fb44cc2c572df140da742bdf99fe9f338157a83f6634694fd693000 -SIZE (prometheus-prometheus-v2.10.0_GH0.tar.gz) = 11752395 +TIMESTAMP = 1562676113 +SHA256 (prometheus-prometheus-v2.11.0_GH0.tar.gz) = b83f490a59292f00ab9679b008e2876ccc3a0c153916e2c141566395c7dcc7ee +SIZE (prometheus-prometheus-v2.11.0_GH0.tar.gz) = 12133603 Modified: head/net-mgmt/prometheus2/pkg-message ============================================================================== --- head/net-mgmt/prometheus2/pkg-message Mon Jul 15 18:08:37 2019 (r506699) +++ head/net-mgmt/prometheus2/pkg-message Mon Jul 15 18:12:24 2019 (r506700) @@ -1,3 +1,44 @@ +[ +{ + message: <