1 |
commit: 595b2a8d790ba68ec9d69a094e6a0f0aa1a06d7b |
2 |
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 30 13:55:47 2019 +0000 |
4 |
Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 14:00:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595b2a8d |
7 |
|
8 |
virtual/wireguard: mark for deprecation |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org> |
12 |
|
13 |
profiles/package.deprecated | 7 +++++++ |
14 |
virtual/wireguard/wireguard-1.ebuild | 14 ++++++++++++++ |
15 |
2 files changed, 21 insertions(+) |
16 |
|
17 |
diff --git a/profiles/package.deprecated b/profiles/package.deprecated |
18 |
index 55f871b9b66..93679901fd6 100644 |
19 |
--- a/profiles/package.deprecated |
20 |
+++ b/profiles/package.deprecated |
21 |
@@ -17,6 +17,13 @@ |
22 |
|
23 |
#--- END OF EXAMPLES --- |
24 |
|
25 |
+# Jason A. Donenfeld <zx2c4@g.o> (2019-12-30) |
26 |
+# Directly install net-vpn/wireguard-tools and net-vpn/wireguard-modules. |
27 |
+# This may be accomplished by running: |
28 |
+# emerge -nO net-vpn/wireguard-tools net-vpn/wireguard-modules |
29 |
+# emerge -C virtual/wireguard |
30 |
+virtual/wireguard |
31 |
+ |
32 |
# Michał Górny <mgorny@g.o> (2019-12-30) |
33 |
# PyPy packages have been restructured, and the virtual is no longer |
34 |
# necessary. Depend on dev-python/pypy{,3} instead. |
35 |
|
36 |
diff --git a/virtual/wireguard/wireguard-1.ebuild b/virtual/wireguard/wireguard-1.ebuild |
37 |
index a4ccb1517ed..4fa639117c9 100644 |
38 |
--- a/virtual/wireguard/wireguard-1.ebuild |
39 |
+++ b/virtual/wireguard/wireguard-1.ebuild |
40 |
@@ -13,3 +13,17 @@ RDEPEND=" |
41 |
tools? ( net-vpn/wireguard-tools ) |
42 |
module? ( net-vpn/wireguard-modules ) |
43 |
" |
44 |
+ |
45 |
+pkg_postinst() { |
46 |
+ ewarn |
47 |
+ ewarn "This package, ${CATEGORY}/${PN}, has been deprecated, in favor of explicitly" |
48 |
+ ewarn "merging the tools and the modules separately. You may accomplish this by" |
49 |
+ ewarn "running:" |
50 |
+ ewarn |
51 |
+ ewarn " emerge -nO net-vpn/wireguard-tools net-vpn/wireguard-modules" |
52 |
+ ewarn " emerge -C virtual/wireguard" |
53 |
+ ewarn |
54 |
+ ewarn "When Linux 5.6 comes out, net-vpn/wireguard-modules itself will be deprecated," |
55 |
+ ewarn "with its functionality having moved directly into Linux." |
56 |
+ ewarn |
57 |
+} |