1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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
This commit is contained in:
Bernhard Froehlich 2018-05-24 08:44:56 +00:00
parent 936b23c632
commit d4a99699df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470763
5 changed files with 52 additions and 0 deletions

View File

@ -1520,6 +1520,7 @@
SUBDIR += wakeonlan
SUBDIR += whois
SUBDIR += widentd
SUBDIR += wireguard
SUBDIR += wireguard-go
SUBDIR += wireshark
SUBDIR += wireshark-lite

33
net/wireguard/Makefile Normal file
View File

@ -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>

3
net/wireguard/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1527145408
SHA256 (WireGuard-0.0.20180524.tar.xz) = 57614239c1f1a99a367f2c816153acda5bffada66a3b8e3b8215f1625784abc9
SIZE (WireGuard-0.0.20180524.tar.xz) = 268996

8
net/wireguard/pkg-descr Normal file
View File

@ -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

7
net/wireguard/pkg-plist Normal file
View File

@ -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