mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
sys-apps/ethtool: Add "netlink" USE flag
Thanks-to: Thomas Masper <thomas.masper@gmail.com> Closes: https://bugs.gentoo.org/723292 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -10,5 +10,11 @@ SRC_URI="https://www.kernel.org/pub/software/network/ethtool/${P}.tar.xz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+netlink"
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
RDEPEND="netlink? ( net-libs/libmnl )"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable netlink)
|
||||
}
|
||||
@@ -5,6 +5,9 @@
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="netlink">Enable netlink interface via <pkg>net-libs/libmnl</pkg></flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
ethtool is a Linux utility for controlling network drivers and hardware,
|
||||
particularly for wired Ethernet devices. It can be used to:
|
||||
|
||||
Reference in New Issue
Block a user