Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728646 - virtual/wireguard-1 should be smart enough to require wireguard-modules only when the kernel version is lt 5.6
Summary: virtual/wireguard-1 should be smart enough to require wireguard-modules only ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-18 11:09 UTC by Anton Gubarkov
Modified: 2020-06-22 22:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2020-06-18 11:09:10 UTC
I run 5.7.2-gentoo and every time I update @world I face 

 *
 * WireGuard has been merged upstream in Linux 5.6. Therefore,
 * you no longer need this compatibility ebuild. Instead, simply
 * enable CONFIG_WIREGUARD=y in your kernel configuration.
 *
 * ERROR: net-vpn/wireguard-modules-1.0.20200611::gentoo failed (setup phase):
 *   Use CONFIG_WIREGUARD=y for kernels >= 5.6, and do not use this package.
 *
Comment 1 Jason A. Donenfeld gentoo-dev 2020-06-22 22:03:44 UTC
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
}
~