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
This commit is contained in:
parent
56c5847c80
commit
aa7d1992a8
2 changed files with 19 additions and 2 deletions
|
@ -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/ \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue