aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2018-10-18 16:00:37 +0800
committerdecke <decke@FreeBSD.org>2018-10-18 16:00:37 +0800
commitf6d409cce5f641b9ac3021833e2ccf3ffd495bc5 (patch)
tree736792f081751ae512a47c5f9c8044697fd121ec /net
parent0554340259f7ba500f1d940ca9f6950ef11823c0 (diff)
downloadfreebsd-ports-gnome-f6d409cce5f641b9ac3021833e2ccf3ffd495bc5.tar.gz
freebsd-ports-gnome-f6d409cce5f641b9ac3021833e2ccf3ffd495bc5.tar.zst
freebsd-ports-gnome-f6d409cce5f641b9ac3021833e2ccf3ffd495bc5.zip
net/wireguard-go: Update to 0.0.20181018
- Remove dep dependency because upstream switched to Go 1.11 new modules support. Sadly we still have to enforce oldfashioned vendoring because otherwise "go build" would automatically download stuff from the internet before building. Theoretically it should be possible to get rid of the self generated vendor distfile but practically I did not get it working (yet).
Diffstat (limited to 'net')
-rw-r--r--net/wireguard-go/Makefile7
-rw-r--r--net/wireguard-go/distinfo10
2 files changed, 9 insertions, 8 deletions
diff --git a/net/wireguard-go/Makefile b/net/wireguard-go/Makefile
index 145e91fad450..da1c17d42aa4 100644
--- a/net/wireguard-go/Makefile
+++ b/net/wireguard-go/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= wireguard-go
-PORTVERSION= 0.0.20181001
+PORTVERSION= 0.0.20181018
CATEGORIES= net
MASTER_SITES= https://git.zx2c4.com/wireguard-go/snapshot/ \
LOCAL/decke
@@ -14,11 +14,12 @@ COMMENT= WireGuard implementation in Go
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= go:lang/go \
- dep:devel/dep
+BUILD_DEPENDS= go:lang/go
USES= gmake tar:xz
+MAKE_ENV+= GOFLAGS=-mod=vendor
+
PLIST_FILES= bin/${PORTNAME}
# The vendor tar file is generated with the script from
diff --git a/net/wireguard-go/distinfo b/net/wireguard-go/distinfo
index e200f219e855..3d72182bd615 100644
--- a/net/wireguard-go/distinfo
+++ b/net/wireguard-go/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1538476185
-SHA256 (wireguard-go-0.0.20181001.tar.xz) = 46242e6ddc5f8e2cffbb5cf9634399e1d0f7b9d9634d09c35b65ac8f4bbe222a
-SIZE (wireguard-go-0.0.20181001.tar.xz) = 54388
-SHA256 (wireguard-go-0.0.20181001-vendor.tar.xz) = 622911c638df46ba174212bd9bbbbef9469ff850ce046b499938a1acd81bcdd4
-SIZE (wireguard-go-0.0.20181001-vendor.tar.xz) = 265880
+TIMESTAMP = 1539848196
+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