Index: head/net-mgmt/prometheus1/Makefile =================================================================== --- head/net-mgmt/prometheus1/Makefile (revision 528642) +++ head/net-mgmt/prometheus1/Makefile (revision 528643) @@ -1,42 +1,47 @@ # Created by: Jev Björsell # $FreeBSD$ PORTNAME= prometheus PORTVERSION= 1.8.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt PKGNAMESUFFIX= 1 MAINTAINER= ports@ecadlabs.com COMMENT= Systems monitoring and alerting toolkit LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go USE_GITHUB= yes +GH_TUPLE= golang:sys:fead79001313:golang_sys/vendor/golang.org/x/sys_fead79001313 GO_PKGNAME= github.com/${PORTNAME}/${PORTNAME} USE_RC_SUBR= prometheus USERS= prometheus GROUPS= prometheus BUILD_USER?= ${USER} LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/vendor/github.com/prometheus/common/version GO_BUILDFLAGS= -ldflags "\ -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_TARGET= ./cmd/prometheus \ ./cmd/promtool + +post-patch: + ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys + ${MV} ${WRKSRC}/vendor/golang.org/x/sys_fead79001313 ${WRKSRC}/vendor/golang.org/x/sys post-install: ${INSTALL_DATA} ${WRKSRC}/documentation/examples/prometheus.yml ${STAGEDIR}${LOCALBASE}/etc/prometheus.yml.sample ${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/prometheus .include Index: head/net-mgmt/prometheus1/distinfo =================================================================== --- head/net-mgmt/prometheus1/distinfo (revision 528642) +++ head/net-mgmt/prometheus1/distinfo (revision 528643) @@ -1,3 +1,5 @@ -TIMESTAMP = 1510001444 +TIMESTAMP = 1580722860 SHA256 (prometheus-prometheus-v1.8.2_GH0.tar.gz) = 7c8a9c9756790d1c4eb436bb6ebda49e2f671a6319c06a1c63d5df9eff7da0e2 SIZE (prometheus-prometheus-v1.8.2_GH0.tar.gz) = 5238057 +SHA256 (golang-sys-fead79001313_GH0.tar.gz) = c8e102db152c51438f426a92b338f924827b960e75bd9d871ae9438135366073 +SIZE (golang-sys-fead79001313_GH0.tar.gz) = 1258330 Index: head/net-mgmt/prometheus1/pkg-descr =================================================================== --- head/net-mgmt/prometheus1/pkg-descr (revision 528642) +++ head/net-mgmt/prometheus1/pkg-descr (revision 528643) @@ -1,19 +1,19 @@ Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true. Prometheus' main distinguishing features as compared to other monitoring systems are: - a multi-dimensional data model (timeseries defined by metric name and - set of key/value dimensions) -- a flexible query language to leverage this dimensionality + set of key/value dimensions) +- a flexible query language to leverage this dimensionality - no dependency on distributed storage; single server nodes are autonomous - timeseries collection happens via a pull model over HTTP - pushing timeseries is supported via an intermediary gateway - targets are discovered via service discovery or static configuration - multiple modes of graphing and dashboarding support - support for hierarchical and horizontal federation WWW: https://prometheus.io/