Browse Source

net/wireguard: Update to 0.0.20190406

master
Bernhard Fröhlich 3 months ago
parent
commit
3d1a584968
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333

+ 1
- 2
net/wireguard/Makefile View File

@@ -1,8 +1,7 @@
1 1
 # $FreeBSD$
2 2
 
3 3
 PORTNAME=	wireguard
4
-PORTVERSION=	0.0.20190227
5
-PORTREVISION=	2
4
+PORTVERSION=	0.0.20190406
6 5
 CATEGORIES=	net
7 6
 MASTER_SITES=	https://git.zx2c4.com/WireGuard/snapshot/
8 7
 DISTNAME=	WireGuard-${PORTVERSION}

+ 3
- 3
net/wireguard/distinfo View File

@@ -1,3 +1,3 @@
1
-TIMESTAMP = 1551336442
2
-SHA256 (WireGuard-0.0.20190227.tar.xz) = fcdb26fd2692d9e1dee54d14418603c38fbb973a06ce89d08fbe45292ff37f79
3
-SIZE (WireGuard-0.0.20190227.tar.xz) = 323788
1
+TIMESTAMP = 1554633410
2
+SHA256 (WireGuard-0.0.20190406.tar.xz) = 2f06f3adf70b95e74a7736a22dcf6e9ef623b311a15b7d55b5474e57c3d0415b
3
+SIZE (WireGuard-0.0.20190406.tar.xz) = 324112

+ 0
- 27
net/wireguard/files/patch-5d60f6beb5ddcda0aee99261d0bb7fa7db934001 View File

@@ -1,28 +0,0 @@
1
-From 5d60f6beb5ddcda0aee99261d0bb7fa7db934001 Mon Sep 17 00:00:00 2001
2
-From: "Jason A. Donenfeld" <Jason@zx2c4.com>
3
-Date: Mon, 18 Mar 2019 14:41:10 -0600
4
-Subject: wg-quick: freebsd: export TMPDIR when restoring and don't make empty
5
-
6
-Otherwise mktemp doesn't see it, and if it's empty we wind up in /.
7
----
8
- src/tools/wg-quick/freebsd.bash | 3 ++-
9
- 1 file changed, 2 insertions(+), 1 deletion(-)
10
-
11
-diff --git a/src/tools/wg-quick/freebsd.bash b/src/tools/wg-quick/freebsd.bash
12
-index e83dbef0..c3fa47a5 100755
13
---- wg-quick/freebsd.bash
14
-+++ wg-quick/freebsd.bash
15
-@@ -42,8 +42,9 @@ unset ORIGINAL_TMPDIR
16
- make_temp() {
17
- 	local old_umask
18
- 
19
--	[[ -v ORIGINAL_TMPDIR ]] && TMPDIR="$ORIGINAL_TMPDIR"
20
-+	[[ -v ORIGINAL_TMPDIR ]] && export TMPDIR="$ORIGINAL_TMPDIR"
21
- 	ORIGINAL_TMPDIR="$TMPDIR"
22
-+	[[ -z $TMPDIR ]] && unset TMPDIR
23
- 
24
- 	old_umask="$(umask)"
25
- 	umask 077
26
-cgit v1.2.1-20-gc37e
27
-

+ 0
- 30
net/wireguard/files/patch-cba99f16a4ec9a229358ce1ed96080bd5ae04a7e View File

@@ -1,31 +0,0 @@
1
-From cba99f16a4ec9a229358ce1ed96080bd5ae04a7e Mon Sep 17 00:00:00 2001
2
-From: "Jason A. Donenfeld" <Jason@zx2c4.com>
3
-Date: Thu, 28 Feb 2019 19:03:11 +0100
4
-Subject: wg-quick: freebsd: rebreak interface loopback, while fixing localhost
5
-
6
-The commit 7c833642 ("wg-quick: freebsd: allow loopback to work") was
7
-supposed to make things better, but actually it just started sending
8
-legitimate localhost traffic over the WireGuard interface, which is
9
-really quite bad.
10
-
11
-This reverts commit 7c833642dfa342218602ab18e7091e86408d2982.
12
----
13
- src/tools/wg-quick/freebsd.bash | 2 +-
14
- 1 file changed, 1 insertion(+), 1 deletion(-)
15
-
16
-diff --git a/src/tools/wg-quick/freebsd.bash b/src/tools/wg-quick/freebsd.bash
17
-index 93f1a3b7..e83dbef0 100755
18
---- wg-quick/freebsd.bash
19
-+++ wg-quick/freebsd.bash
20
-@@ -158,7 +158,7 @@ add_addr() {
21
- 	if [[ $1 == *:* ]]; then
22
- 		cmd ifconfig "$INTERFACE" inet6 "$1" alias
23
- 	else
24
--		cmd ifconfig "$INTERFACE" inet "$1" 127.0.0.1 alias
25
-+		cmd ifconfig "$INTERFACE" inet "$1" "${1%%/*}" alias
26
- 	fi
27
- }
28
- 
29
-cgit v1.2.1-20-gc37e
30
-

Loading…
Cancel
Save