From: Jason A. Donenfeld Date: Mon, 30 Dec 2019 13:55:47 +0000 (+0100) Subject: virtual/wireguard: mark for deprecation X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=595b2a8d790ba68ec9d69a094e6a0f0aa1a06d7b;p=gentoo.git virtual/wireguard: mark for deprecation Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jason A. Donenfeld --- diff --git a/profiles/package.deprecated b/profiles/package.deprecated index 55f871b9b664..93679901fd60 100644 --- a/profiles/package.deprecated +++ b/profiles/package.deprecated @@ -17,6 +17,13 @@ #--- END OF EXAMPLES --- +# Jason A. Donenfeld (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 (2019-12-30) # PyPy packages have been restructured, and the virtual is no longer # necessary. Depend on dev-python/pypy{,3} instead. diff --git a/virtual/wireguard/wireguard-1.ebuild b/virtual/wireguard/wireguard-1.ebuild index a4ccb1517ed3..4fa639117c92 100644 --- a/virtual/wireguard/wireguard-1.ebuild +++ b/virtual/wireguard/wireguard-1.ebuild @@ -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 +}