svn commit: r528643 - head/net-mgmt/prometheus1
Mikael Urankar
mikael at FreeBSD.org
Wed Mar 18 11:02:05 UTC 2020
Author: mikael
Date: Wed Mar 18 11:02:04 2020
New Revision: 528643
URL: https://svnweb.freebsd.org/changeset/ports/528643
Log:
net-mgmt/prometheus1: unbreak on aarch64
Update golang.org/x/sys to fix build on aarch64
PR: 244200
Approved by: ports at ecadlabs.com (maintainer timeout), manu (mentor)
Modified:
head/net-mgmt/prometheus1/Makefile
head/net-mgmt/prometheus1/distinfo
head/net-mgmt/prometheus1/pkg-descr
Modified: head/net-mgmt/prometheus1/Makefile
==============================================================================
--- head/net-mgmt/prometheus1/Makefile Wed Mar 18 10:51:19 2020 (r528642)
+++ head/net-mgmt/prometheus1/Makefile Wed Mar 18 11:02:04 2020 (r528643)
@@ -4,7 +4,7 @@
PORTNAME= prometheus
PORTVERSION= 1.8.2
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt
PKGNAMESUFFIX= 1
@@ -16,6 +16,7 @@ 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}
@@ -34,6 +35,10 @@ GO_BUILDFLAGS= -ldflags "\
${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
Modified: head/net-mgmt/prometheus1/distinfo
==============================================================================
--- head/net-mgmt/prometheus1/distinfo Wed Mar 18 10:51:19 2020 (r528642)
+++ head/net-mgmt/prometheus1/distinfo Wed Mar 18 11:02:04 2020 (r528643)
@@ -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
Modified: head/net-mgmt/prometheus1/pkg-descr
==============================================================================
--- head/net-mgmt/prometheus1/pkg-descr Wed Mar 18 10:51:19 2020 (r528642)
+++ head/net-mgmt/prometheus1/pkg-descr Wed Mar 18 11:02:04 2020 (r528643)
@@ -7,8 +7,8 @@ Prometheus' main distinguishing features as compared t
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
More information about the svn-ports-head
mailing list