public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, virtual/wireguard/
@ 2019-12-30 14:00 Jason A. Donenfeld
  0 siblings, 0 replies; only message in thread
From: Jason A. Donenfeld @ 2019-12-30 14:00 UTC (permalink / raw
  To: gentoo-commits

commit:     595b2a8d790ba68ec9d69a094e6a0f0aa1a06d7b
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 13:55:47 2019 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 14:00:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595b2a8d

virtual/wireguard: mark for deprecation

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 profiles/package.deprecated          |  7 +++++++
 virtual/wireguard/wireguard-1.ebuild | 14 ++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/profiles/package.deprecated b/profiles/package.deprecated
index 55f871b9b66..93679901fd6 100644
--- a/profiles/package.deprecated
+++ b/profiles/package.deprecated
@@ -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.

diff --git a/virtual/wireguard/wireguard-1.ebuild b/virtual/wireguard/wireguard-1.ebuild
index a4ccb1517ed..4fa639117c9 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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-30 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-30 14:00 [gentoo-commits] repo/gentoo:master commit in: profiles/, virtual/wireguard/ Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox