git: f9d7c90f4570 - main - net-mgmt/prometheus1: fix build on riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Mar 2023 11:27:30 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9d7c90f45701e03d3810bca55c2737fd7c0f163 commit f9d7c90f45701e03d3810bca55c2737fd7c0f163 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-03-25 23:43:09 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-03-27 11:24:59 +0000 net-mgmt/prometheus1: fix build on riscv64 Bump golang.org/x/sys dependency to a version new enough to support riscv64-freebsd. While we are at it, only strip if requested. Sponsored by: Berliner Linux User Group e.V. Approved by: portmgr (build fix blanket) --- net-mgmt/prometheus1/Makefile | 8 ++++---- net-mgmt/prometheus1/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net-mgmt/prometheus1/Makefile b/net-mgmt/prometheus1/Makefile index 079d03a75258..6bc4088f7be9 100644 --- a/net-mgmt/prometheus1/Makefile +++ b/net-mgmt/prometheus1/Makefile @@ -1,7 +1,7 @@ PORTNAME= prometheus PORTVERSION= 1.8.2 DISTVERSIONPREFIX= v -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= net-mgmt PKGNAMESUFFIX= 1 @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go USE_GITHUB= yes -GH_TUPLE= golang:sys:fead79001313:golang_sys/vendor/golang.org/x/sys_fead79001313 +GH_TUPLE= golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys_v0.6.0 GO_PKGNAME= github.com/${PORTNAME}/${PORTNAME} @@ -26,7 +26,7 @@ GROUPS= prometheus BUILD_USER?= ${USER} LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/vendor/github.com/prometheus/common/version GO_BUILDFLAGS= -ldflags "\ - -s \ + ${STRIP} \ ${LD_FLAG_X_PREFIX}.Version=${PORTVERSION} \ ${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \ ${LD_FLAG_X_PREFIX}.Branch=release-${PORTVERSION:R} \ @@ -36,7 +36,7 @@ GO_TARGET= ./cmd/prometheus \ post-patch: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys - ${MV} ${WRKSRC}/vendor/golang.org/x/sys_fead79001313 ${WRKSRC}/vendor/golang.org/x/sys + ${MV} ${WRKSRC}/vendor/golang.org/x/sys_v0.6.0 ${WRKSRC}/vendor/golang.org/x/sys post-install: ${INSTALL_DATA} ${WRKSRC}/documentation/examples/prometheus.yml ${STAGEDIR}${LOCALBASE}/etc/prometheus.yml.sample diff --git a/net-mgmt/prometheus1/distinfo b/net-mgmt/prometheus1/distinfo index 7925f232c4c9..5e7830198b5c 100644 --- a/net-mgmt/prometheus1/distinfo +++ b/net-mgmt/prometheus1/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1580722860 +TIMESTAMP = 1679787035 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 +SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54 +SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234