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>
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)
+}
<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: