From patchwork Wed Jun 3 11:04:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1302926 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49cQzr3cnZz9sRR for ; Wed, 3 Jun 2020 21:05:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BEA45228DF; Wed, 3 Jun 2020 11:05:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FMXVxUAWs3Ob; Wed, 3 Jun 2020 11:05:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CBC94228B0; Wed, 3 Jun 2020 11:05:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D6ADE1BF410 for ; Wed, 3 Jun 2020 11:05:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D373D883AD for ; Wed, 3 Jun 2020 11:05:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MszqwIW8voCj for ; Wed, 3 Jun 2020 11:05:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs05.rockwellcollins.com (secvs05.rockwellcollins.com [205.175.225.131]) by hemlock.osuosl.org (Postfix) with ESMTPS id 7BB7F87670 for ; Wed, 3 Jun 2020 11:05:00 +0000 (UTC) IronPort-SDR: EgAVLWLc9ImYJ9geC/hi7kldhjG1dtox9WqTW/t94Dcdj/WptssNsmM1PtuEuRjDzlk1Mzh0q7 k/vPd51eQhn1r2r8KOs/k74mJop9ZMIgl/B3WzA1n/3bX8ovdgSk6e65zAal4JZPtno5LQsxsr 3rWpLbZ8WQV0d4OWyE32DLi99zL5Ov2PPKL1kS9IHHv4zCTTM2ebAjLcajIgslNReQLe1CRvm8 87AJOzOUodppcbu6lziC9eJe+IRzbViJzwOFwf8Ac/thNO1iJ8toEoUiUArdrnLpUqeG8UBOAf 3h8= Received: from ofwgwc03.rockwellcollins.com (HELO ciulimr01.rockwellcollins.com) ([205.175.225.12]) by secvs05.rockwellcollins.com with ESMTP; 03 Jun 2020 06:04:59 -0500 X-Received: from biscuits.rockwellcollins.com (biscuits.rockwellcollins.lab [10.148.119.137]) by ciulimr01.rockwellcollins.com (Postfix) with ESMTP id 31CEA601CA; Wed, 3 Jun 2020 06:04:59 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Wed, 3 Jun 2020 06:04:58 -0500 Message-Id: <20200603110458.18125-1-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH v2] package/ethtool: bump to 5.6 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - Now by default ethtool depends on libmnl so make this optional Signed-off-by: Matthew Weber --- Changes v1 -> v2 [Thomas - Noted that the libmnl is conditional and the pkgconfig dependency is part of the libmnl being enabled AC_ARG_ENABLE(netlink, [ --enable-netlink enable netlink interface (enabled by default)], , enable_netlink=yes) if test x$enable_netlink = xyes; then PKG_PROG_PKG_CONFIG PKG_CHECK_MODULES([MNL], [libmnl]) AC_DEFINE(ETHTOOL_ENABLE_NETLINK, 1, Define this to support netlink interface to talk to kernel.) fi --- package/ethtool/ethtool.hash | 6 +++--- package/ethtool/ethtool.mk | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 86c71d7380..67fe263315 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 22f81e4927d6eb6a13a259d705248a96005fce2005e15257f639f5a1c8c52b6b ethtool-5.4.tar.xz +sha256 ca0f1b526dad5153f0aa0f1eb3c17c31770c75a74f70af622b1a83ae38043995 ethtool-5.6.tar.xz # Locally calculated -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index ce4f2d862d..c36268544f 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 5.4 +ETHTOOL_VERSION = 5.6 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0 @@ -12,4 +12,11 @@ ETHTOOL_LICENSE_FILES = LICENSE COPYING ETHTOOL_CONF_OPTS = \ $(if $(BR2_PACKAGE_ETHTOOL_PRETTY_PRINT),--enable-pretty-dump,--disable-pretty-dump) +ifeq ($(BR2_PACKAGE_LIBMNL),y) +ETHTOOL_DEPENDENCIES += host-pkgconf libmnl +ETHTOOL_CONF_OPTS += --enable-netlink +else +ETHTOOL_CONF_OPTS += --disable-netlink +endif + $(eval $(autotools-package))