From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF8BB1382C5 for ; Mon, 18 May 2020 09:14:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1653FE087E; Mon, 18 May 2020 09:14:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECC1BE087E for ; Mon, 18 May 2020 09:14:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27CA834EFEE for ; Mon, 18 May 2020 09:14:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3148E232 for ; Mon, 18 May 2020 09:14:12 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1589793245.84ad1eca5c3aada90155f03ee408efa0a2df4b58.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethtool/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/ethtool/ethtool-5.6-r1.ebuild sys-apps/ethtool/ethtool-5.6.ebuild sys-apps/ethtool/metadata.xml X-VCS-Directories: sys-apps/ethtool/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 84ad1eca5c3aada90155f03ee408efa0a2df4b58 X-VCS-Branch: master Date: Mon, 18 May 2020 09:14:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b097599b-6a46-428c-bc82-9e0521d96700 X-Archives-Hash: 39f0732cf72aecdbb819d00219b543ff commit: 84ad1eca5c3aada90155f03ee408efa0a2df4b58 Author: Lars Wendler gentoo org> AuthorDate: Mon May 18 09:13:28 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon May 18 09:14:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ad1eca sys-apps/ethtool: Add "netlink" USE flag Thanks-to: 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 gentoo.org> sys-apps/ethtool/{ethtool-5.6.ebuild => ethtool-5.6-r1.ebuild} | 6 ++++++ sys-apps/ethtool/metadata.xml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/sys-apps/ethtool/ethtool-5.6.ebuild b/sys-apps/ethtool/ethtool-5.6-r1.ebuild similarity index 81% rename from sys-apps/ethtool/ethtool-5.6.ebuild rename to sys-apps/ethtool/ethtool-5.6-r1.ebuild index 11b54c89968..804cce9dde3 100644 --- a/sys-apps/ethtool/ethtool-5.6.ebuild +++ b/sys-apps/ethtool/ethtool-5.6-r1.ebuild @@ -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) +} diff --git a/sys-apps/ethtool/metadata.xml b/sys-apps/ethtool/metadata.xml index 760ac849b6b..81acd210e0e 100644 --- a/sys-apps/ethtool/metadata.xml +++ b/sys-apps/ethtool/metadata.xml @@ -5,6 +5,9 @@ base-system@gentoo.org Gentoo Base System + + Enable netlink interface via net-libs/libmnl + ethtool is a Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices. It can be used to: