summaryrefslogtreecommitdiff
blob: d203b7a74287a35dd776d4c4e3cc154def5c5fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2020 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."

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="+module +tools"

RDEPEND="
	tools? ( net-vpn/wireguard-tools )
	module? ( net-vpn/wireguard-modules )
"

pkg_postinst() {
	ewarn
	ewarn "This package, ${CATEGORY}/${PN}, has been deprecated, in favor of explicitly"
	ewarn "merging the tools and the modules separately. You may accomplish this by"
	ewarn "running:"
	ewarn
	ewarn "    emerge -nO net-vpn/wireguard-tools net-vpn/wireguard-modules"
	ewarn "    emerge -C virtual/wireguard"
	ewarn
	ewarn "When Linux 5.6 comes out, net-vpn/wireguard-modules itself will be deprecated,"
	ewarn "with its functionality having moved directly into Linux."
	ewarn
}