1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

net/wireguard-go: Remove self generated vendor tarball and pull from GH instead

No PORTREVISION bump because the package does not change. Go dependencies have
the same revision and a binary diff of the wireguard-go binaries have no relevant
differences (except some 40 byte string which is different with every build).
This commit is contained in:
Bernhard Froehlich 2018-10-18 09:48:40 +00:00
parent 67cc57bf4d
commit 454f5e0576
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482339
2 changed files with 14 additions and 10 deletions

View File

@ -3,10 +3,8 @@
PORTNAME= wireguard-go
PORTVERSION= 0.0.20181018
CATEGORIES= net
MASTER_SITES= https://git.zx2c4.com/wireguard-go/snapshot/ \
LOCAL/decke
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
${PORTNAME}-${PORTVERSION}-vendor${EXTRACT_SUFX}
MASTER_SITES= https://git.zx2c4.com/wireguard-go/snapshot/
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= decke@FreeBSD.org
COMMENT= WireGuard implementation in Go
@ -18,11 +16,13 @@ BUILD_DEPENDS= go:lang/go
USES= gmake tar:xz
USE_GITHUB= nodefault
GH_TUPLE= golang:crypto:e3636079e1a4:crypto/vendor/golang.org/x/crypto \
golang:net:146acd28ed58:net/vendor/golang.org/x/net \
golang:sys:4497e2df6f9e:sys/vendor/golang.org/x/sys
MAKE_ENV+= GOFLAGS=-mod=vendor
PLIST_FILES= bin/${PORTNAME}
# The vendor tar file is generated with the script from
# https://people.freebsd.org/~decke/wireguard-go-genvendor.sh
.include <bsd.port.mk>

View File

@ -1,5 +1,9 @@
TIMESTAMP = 1539848196
TIMESTAMP = 1539852011
SHA256 (wireguard-go-0.0.20181018.tar.xz) = 6bedec38d12596d55cfba4b3f7dfa99d5c2555c2f0bf3b3c9a26feb7c6b073ff
SIZE (wireguard-go-0.0.20181018.tar.xz) = 54268
SHA256 (wireguard-go-0.0.20181018-vendor.tar.xz) = 37f1edc594fe80b29acca426da3d3062d4c87a23c622e572cabeffe244a75b8e
SIZE (wireguard-go-0.0.20181018-vendor.tar.xz) = 285932
SHA256 (golang-crypto-e3636079e1a4_GH0.tar.gz) = d88bd0b07b0ff25875f191ec7e062d394204a2313ea336d13777e514ef34361b
SIZE (golang-crypto-e3636079e1a4_GH0.tar.gz) = 1639314
SHA256 (golang-net-146acd28ed58_GH0.tar.gz) = 8a981d208401b18cdadb9db9109d348598227fb3772bb1c581ee519d2a4297cb
SIZE (golang-net-146acd28ed58_GH0.tar.gz) = 965417
SHA256 (golang-sys-4497e2df6f9e_GH0.tar.gz) = e45e1fa8ff784916d342bc01ecc5364ae3a0c5a69859e512f02a21c65806c0ff
SIZE (golang-sys-4497e2df6f9e_GH0.tar.gz) = 1093018