summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2019-12-28 00:01:04 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2019-12-28 00:03:31 +0100
commitb9ae06f1d322f00d7a40eaf9bc7dc0d848311b3c (patch)
tree473d75791132a1a092618dabcf404a4715911712 /virtual
parentmedia-gfx/iscan: Biggish version bump (diff)
downloadgentoo-b9ae06f1d322f00d7a40eaf9bc7dc0d848311b3c.tar.gz
gentoo-b9ae06f1d322f00d7a40eaf9bc7dc0d848311b3c.tar.bz2
gentoo-b9ae06f1d322f00d7a40eaf9bc7dc0d848311b3c.zip
virtual/wireguard: move into proper virtual category
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'virtual')
-rw-r--r--virtual/wireguard/metadata.xml14
-rw-r--r--virtual/wireguard/wireguard-1.ebuild17
2 files changed, 31 insertions, 0 deletions
diff --git a/virtual/wireguard/metadata.xml b/virtual/wireguard/metadata.xml
new file mode 100644
index 000000000000..d5c30b1930c0
--- /dev/null
+++ b/virtual/wireguard/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zx2c4@gentoo.org</email>
+ <name>Jason A. Donenfeld</name>
+ </maintainer>
+ <use>
+ <flag name="tools">Compile the wg(8) tool and related helpers. You probably want this enabled.</flag>
+ <flag name="module">Compile the actual WireGuard kernel module. Most certainly you want this enabled, unless you're doing something strange.</flag>
+ <flag name="module-src">Install the module source code to /usr/src, in case you like building kernel modules yourself.</flag>
+ <flag name="debug">Enable verbose debug reporting in dmesg of various WireGuard peer and device information.</flag>
+ </use>
+</pkgmetadata>
diff --git a/virtual/wireguard/wireguard-1.ebuild b/virtual/wireguard/wireguard-1.ebuild
new file mode 100644
index 000000000000..a1825d736146
--- /dev/null
+++ b/virtual/wireguard/wireguard-1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography."
+HOMEPAGE="https://www.wireguard.com/"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="debug +module +tools module-src"
+
+RDEPEND="
+ tools? ( net-vpn/wireguard-tools )
+ module? ( net-vpn/wireguard-modules[module,debug?] )
+ module-src? ( net-vpn/wireguard-modules[module-src] )
+"