Index: head/net/wireguard/Makefile =================================================================== --- head/net/wireguard/Makefile (revision 498270) +++ head/net/wireguard/Makefile (revision 498271) @@ -1,34 +1,33 @@ # $FreeBSD$ PORTNAME= wireguard -PORTVERSION= 0.0.20190227 -PORTREVISION= 3 +PORTVERSION= 0.0.20190406 CATEGORIES= net MASTER_SITES= https://git.zx2c4.com/WireGuard/snapshot/ DISTNAME= WireGuard-${PORTVERSION} MAINTAINER= decke@FreeBSD.org COMMENT= Fast, modern and secure VPN Tunnel LICENSE= GPLv2 LICENSE_FILE= ${WRKDIR}/${DISTNAME}/COPYING RUN_DEPENDS= bash:shells/bash \ wireguard-go:net/wireguard-go USES= gmake tar:xz USE_RC_SUBR= ${PORTNAME} WRKSRC= ${WRKDIR}/${DISTNAME}/src/tools ALL_TARGET= MAKE_ARGS= WITH_WGQUICK=yes WITH_BASHCOMPLETION=yes MAKE_ENV+= MANDIR="${MANPREFIX}/man" \ SYSCONFDIR="${PREFIX}/etc" post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/completion/wg-quick.bash-completion \ ${WRKSRC}/wg-quick/freebsd.bash .include Index: head/net/wireguard/distinfo =================================================================== --- head/net/wireguard/distinfo (revision 498270) +++ head/net/wireguard/distinfo (revision 498271) @@ -1,3 +1,3 @@ -TIMESTAMP = 1551336442 -SHA256 (WireGuard-0.0.20190227.tar.xz) = fcdb26fd2692d9e1dee54d14418603c38fbb973a06ce89d08fbe45292ff37f79 -SIZE (WireGuard-0.0.20190227.tar.xz) = 323788 +TIMESTAMP = 1554633410 +SHA256 (WireGuard-0.0.20190406.tar.xz) = 2f06f3adf70b95e74a7736a22dcf6e9ef623b311a15b7d55b5474e57c3d0415b +SIZE (WireGuard-0.0.20190406.tar.xz) = 324112 Index: head/net/wireguard/files/patch-cba99f16a4ec9a229358ce1ed96080bd5ae04a7e =================================================================== --- head/net/wireguard/files/patch-cba99f16a4ec9a229358ce1ed96080bd5ae04a7e (revision 498270) +++ head/net/wireguard/files/patch-cba99f16a4ec9a229358ce1ed96080bd5ae04a7e (nonexistent) @@ -1,31 +0,0 @@ -From cba99f16a4ec9a229358ce1ed96080bd5ae04a7e Mon Sep 17 00:00:00 2001 -From: "Jason A. Donenfeld" -Date: Thu, 28 Feb 2019 19:03:11 +0100 -Subject: wg-quick: freebsd: rebreak interface loopback, while fixing localhost - -The commit 7c833642 ("wg-quick: freebsd: allow loopback to work") was -supposed to make things better, but actually it just started sending -legitimate localhost traffic over the WireGuard interface, which is -really quite bad. - -This reverts commit 7c833642dfa342218602ab18e7091e86408d2982. ---- - src/tools/wg-quick/freebsd.bash | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/tools/wg-quick/freebsd.bash b/src/tools/wg-quick/freebsd.bash -index 93f1a3b7..e83dbef0 100755 ---- wg-quick/freebsd.bash -+++ wg-quick/freebsd.bash -@@ -158,7 +158,7 @@ add_addr() { - if [[ $1 == *:* ]]; then - cmd ifconfig "$INTERFACE" inet6 "$1" alias - else -- cmd ifconfig "$INTERFACE" inet "$1" 127.0.0.1 alias -+ cmd ifconfig "$INTERFACE" inet "$1" "${1%%/*}" alias - fi - } - --- -cgit v1.2.1-20-gc37e - Property changes on: head/net/wireguard/files/patch-cba99f16a4ec9a229358ce1ed96080bd5ae04a7e ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/wireguard/files/patch-5d60f6beb5ddcda0aee99261d0bb7fa7db934001 =================================================================== --- head/net/wireguard/files/patch-5d60f6beb5ddcda0aee99261d0bb7fa7db934001 (revision 498270) +++ head/net/wireguard/files/patch-5d60f6beb5ddcda0aee99261d0bb7fa7db934001 (nonexistent) @@ -1,28 +0,0 @@ -From 5d60f6beb5ddcda0aee99261d0bb7fa7db934001 Mon Sep 17 00:00:00 2001 -From: "Jason A. Donenfeld" -Date: Mon, 18 Mar 2019 14:41:10 -0600 -Subject: wg-quick: freebsd: export TMPDIR when restoring and don't make empty - -Otherwise mktemp doesn't see it, and if it's empty we wind up in /. ---- - src/tools/wg-quick/freebsd.bash | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/tools/wg-quick/freebsd.bash b/src/tools/wg-quick/freebsd.bash -index e83dbef0..c3fa47a5 100755 ---- wg-quick/freebsd.bash -+++ wg-quick/freebsd.bash -@@ -42,8 +42,9 @@ unset ORIGINAL_TMPDIR - make_temp() { - local old_umask - -- [[ -v ORIGINAL_TMPDIR ]] && TMPDIR="$ORIGINAL_TMPDIR" -+ [[ -v ORIGINAL_TMPDIR ]] && export TMPDIR="$ORIGINAL_TMPDIR" - ORIGINAL_TMPDIR="$TMPDIR" -+ [[ -z $TMPDIR ]] && unset TMPDIR - - old_umask="$(umask)" - umask 077 --- -cgit v1.2.1-20-gc37e - Property changes on: head/net/wireguard/files/patch-5d60f6beb5ddcda0aee99261d0bb7fa7db934001 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property