Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 08:44:56 +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: r470763 - in head/net: . wireguard
Message-ID:  <201805240844.w4O8iukv031777@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Thu May 24 08:44:56 2018
New Revision: 470763
URL: https://svnweb.freebsd.org/changeset/ports/470763

Log:
  WireGuard is an extremely simple yet fast and modern VPN that utilizes
  state-of-the-art cryptography. It aims to be faster, simpler, leaner,
  and more useful than IPSec, while avoiding the massive headache. It
  intends to be considerably more performant than OpenVPN. WireGuard is
  designed as a general purpose VPN for running on embedded interfaces and
  super computers alike, fit for many different circumstances.
  
  WWW: https://www.wireguard.com

Added:
  head/net/wireguard/
  head/net/wireguard/Makefile   (contents, props changed)
  head/net/wireguard/distinfo   (contents, props changed)
  head/net/wireguard/pkg-descr   (contents, props changed)
  head/net/wireguard/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu May 24 08:43:36 2018	(r470762)
+++ head/net/Makefile	Thu May 24 08:44:56 2018	(r470763)
@@ -1520,6 +1520,7 @@
     SUBDIR += wakeonlan
     SUBDIR += whois
     SUBDIR += widentd
+    SUBDIR += wireguard
     SUBDIR += wireguard-go
     SUBDIR += wireshark
     SUBDIR += wireshark-lite

Added: head/net/wireguard/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireguard/Makefile	Thu May 24 08:44:56 2018	(r470763)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	wireguard
+PORTVERSION=	0.0.20180524
+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
+
+BUILD_DEPENDS=	bash:shells/bash
+RUN_DEPENDS=	bash:shells/bash \
+		wireguard-go:net/wireguard-go
+
+USES=		gmake tar:xz
+
+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 <bsd.port.mk>

Added: head/net/wireguard/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireguard/distinfo	Thu May 24 08:44:56 2018	(r470763)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527145408
+SHA256 (WireGuard-0.0.20180524.tar.xz) = 57614239c1f1a99a367f2c816153acda5bffada66a3b8e3b8215f1625784abc9
+SIZE (WireGuard-0.0.20180524.tar.xz) = 268996

Added: head/net/wireguard/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireguard/pkg-descr	Thu May 24 08:44:56 2018	(r470763)
@@ -0,0 +1,8 @@
+WireGuard is an extremely simple yet fast and modern VPN that utilizes
+state-of-the-art cryptography. It aims to be faster, simpler, leaner,
+and more useful than IPSec, while avoiding the massive headache. It
+intends to be considerably more performant than OpenVPN. WireGuard is
+designed as a general purpose VPN for running on embedded interfaces and
+super computers alike, fit for many different circumstances.
+
+WWW: https://www.wireguard.com

Added: head/net/wireguard/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireguard/pkg-plist	Thu May 24 08:44:56 2018	(r470763)
@@ -0,0 +1,7 @@
+bin/wg
+bin/wg-quick
+man/man8/wg-quick.8.gz
+man/man8/wg.8.gz
+share/bash-completion/completions/wg
+share/bash-completion/completions/wg-quick
+@dir etc/wireguard



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