Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2018 09:48:40 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482339 - head/net/wireguard-go
Message-ID:  <201810180948.w9I9meAA069623@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Thu Oct 18 09:48:40 2018
New Revision: 482339
URL: https://svnweb.freebsd.org/changeset/ports/482339

Log:
  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).

Modified:
  head/net/wireguard-go/Makefile
  head/net/wireguard-go/distinfo

Modified: head/net/wireguard-go/Makefile
==============================================================================
--- head/net/wireguard-go/Makefile	Thu Oct 18 09:30:09 2018	(r482338)
+++ head/net/wireguard-go/Makefile	Thu Oct 18 09:48:40 2018	(r482339)
@@ -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>

Modified: head/net/wireguard-go/distinfo
==============================================================================
--- head/net/wireguard-go/distinfo	Thu Oct 18 09:30:09 2018	(r482338)
+++ head/net/wireguard-go/distinfo	Thu Oct 18 09:48:40 2018	(r482339)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810180948.w9I9meAA069623>