virtual/wireguard: mark for deprecation

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
This commit is contained in:
Jason A. Donenfeld
2019-12-30 15:00:13 +01:00
parent 84e612f4aa
commit 595b2a8d79
2 changed files with 21 additions and 0 deletions
+7
View File
@@ -17,6 +17,13 @@
#--- END OF EXAMPLES ---
# Jason A. Donenfeld <zx2c4@gentoo.org> (2019-12-30)
# Directly install net-vpn/wireguard-tools and net-vpn/wireguard-modules.
# This may be accomplished by running:
# emerge -nO net-vpn/wireguard-tools net-vpn/wireguard-modules
# emerge -C virtual/wireguard
virtual/wireguard
# Michał Górny <mgorny@gentoo.org> (2019-12-30)
# PyPy packages have been restructured, and the virtual is no longer
# necessary. Depend on dev-python/pypy{,3} instead.
+14
View File
@@ -13,3 +13,17 @@ 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
}