git: aa7d1992a8cf - main - security/nebula: fix build on riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 12:55:11 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa7d1992a8cf1071b4bd8425c10124a2ad48f9a7 commit aa7d1992a8cf1071b4bd8425c10124a2ad48f9a7 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-03-18 15:42:51 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-03-21 12:53:51 +0000 security/nebula: fix build on riscv64 Bump golang.org/x/{net,term,sys} dependencies to a version recent enough to support a build on riscv64-freebsd. Sponsored by: Berliner Linux User Group e.V. Approved by: portmgr (build fix blanket) Differential Revision: https://reviews.freebsd.org/D39162 --- security/nebula/Makefile | 13 ++++++++++++- security/nebula/distinfo | 8 +++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/security/nebula/Makefile b/security/nebula/Makefile index 0c8f514e5eca..503ab13a05a8 100644 --- a/security/nebula/Makefile +++ b/security/nebula/Makefile @@ -1,7 +1,7 @@ PORTNAME= nebula DISTVERSIONPREFIX= v DISTVERSION= 1.6.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= security MAINTAINER= ashish@FreeBSD.org @@ -12,6 +12,11 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go:modules +USE_GITHUB= nodefault +GH_TUPLE= golang:net:v0.8.0:net \ + golang:term:v0.6.0:term \ + golang:sys:v0.6.0:sys + CPE_VENDOR= slack GO_MODULE= github.com/slackhq/nebula GO_TARGET= ./cmd/nebula ./cmd/nebula-cert @@ -21,6 +26,12 @@ PLIST_FILES= bin/nebula \ bin/nebula-cert \ etc/${PORTNAME}/config.yml.example +pre-patch: +.for m in net term sys + ${RM} -r ${WRKSRC}/vendor/golang.org/x/$m + ${LN} -s ${WRKDIR}/$m-* ${WRKSRC}/vendor/golang.org/x/$m +.endfor + post-patch: ${REINPLACE_CMD} -e s,/etc/nebula,${PREFIX}/etc/${PORTNAME}, \ -e /dev:/s/nebula1/tun1/ \ diff --git a/security/nebula/distinfo b/security/nebula/distinfo index 1e769a768e74..fb71d9c0f964 100644 --- a/security/nebula/distinfo +++ b/security/nebula/distinfo @@ -1,5 +1,11 @@ -TIMESTAMP = 1664250466 +TIMESTAMP = 1679153823 SHA256 (go/security_nebula/nebula-v1.6.1/v1.6.1.mod) = b555f4be50246ff2d5373474de23bffccbea76514879dc2400fc5031cde73c3c SIZE (go/security_nebula/nebula-v1.6.1/v1.6.1.mod) = 2042 SHA256 (go/security_nebula/nebula-v1.6.1/v1.6.1.zip) = d0e28bf9e41484276be9da78530b1ba97b87fdd6b624fe4fd31505c4c12d0afe SIZE (go/security_nebula/nebula-v1.6.1/v1.6.1.zip) = 1059841 +SHA256 (go/security_nebula/nebula-v1.6.1/golang-net-v0.8.0_GH0.tar.gz) = f9e2128a2d6861db0595428c7cce62fe5a131348a6c7651b6efa8b03d0b10831 +SIZE (go/security_nebula/nebula-v1.6.1/golang-net-v0.8.0_GH0.tar.gz) = 1244302 +SHA256 (go/security_nebula/nebula-v1.6.1/golang-term-v0.6.0_GH0.tar.gz) = 4fdff852a658e927e7886629ef7cd88874a11ddf0c8b3633a50961afc8902093 +SIZE (go/security_nebula/nebula-v1.6.1/golang-term-v0.6.0_GH0.tar.gz) = 14795 +SHA256 (go/security_nebula/nebula-v1.6.1/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54 +SIZE (go/security_nebula/nebula-v1.6.1/golang-sys-v0.6.0_GH0.tar.gz) = 1434234