import wireguard-tools-0.0.20190406

WireGuard is an extremely simple yet fast and modern VPN that utilizes
state-of-the-art cryptography.

based on the initial port by bentley@
ok sthen@
This commit is contained in:
jasper 2019-05-13 15:10:30 +00:00
parent f2cfd1b9bb
commit 5eb5d1277d
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/05/13 15:10:30 jasper Exp $
COMMENT = fast and secure VPN
V = 0.0.20190406
DISTNAME = WireGuard-$V
PKGNAME = wireguard-tools-$V
CATEGORIES = net security
HOMEPAGE = https://www.wireguard.com/
# GPLv2 only
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c
MASTER_SITES = https://git.zx2c4.com/WireGuard/snapshot/
EXTRACT_SUFX = .tar.xz
RUN_DEPENDS = shells/bash
MAKE_FLAGS = WITH_WGQUICK=yes \
WITH_BASHCOMPLETION=yes \
V=1
FAKE_FLAGS = MANDIR=${PREFIX}/man \
PREFIX=${PREFIX}
USE_GMAKE = Yes
NO_TEST = Yes
WRKSRC = ${WRKDIST}/src/tools
ALL_TARGET = wg
post-extract:
sed -i 's/install -v /install /g' ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (WireGuard-0.0.20190406.tar.xz) = LwbzrfcLledKdzaiLc9unvYjsxGhW31VtUdOV8PQQVs=
SIZE (WireGuard-0.0.20190406.tar.xz) = 324112

View File

@ -0,0 +1,2 @@
WireGuard is an extremely simple yet fast and modern VPN that utilizes
state-of-the-art cryptography.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/05/13 15:10:30 jasper Exp $
@bin bin/wg
bin/wg-quick
@man man/man8/wg-quick.8
@man man/man8/wg.8
share/bash-completion/
share/bash-completion/completions/
share/bash-completion/completions/wg
share/bash-completion/completions/wg-quick