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 23D621382C5 for ; Thu, 1 Feb 2018 22:36:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B0D9E0ACB; Thu, 1 Feb 2018 22:36:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 36BFCE0ACB for ; Thu, 1 Feb 2018 22:36:08 +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 AFC2E335C63 for ; Thu, 1 Feb 2018 22:36:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E92DD1D8 for ; Thu, 1 Feb 2018 22:36:04 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1517524503.cd534eb17c94864a155a6e80b44f8b42ca90480b.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/iproute2/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/iproute2/iproute2-4.15.0.ebuild sys-apps/iproute2/metadata.xml X-VCS-Directories: sys-apps/iproute2/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: cd534eb17c94864a155a6e80b44f8b42ca90480b X-VCS-Branch: master Date: Thu, 1 Feb 2018 22:36:04 +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-Archives-Salt: 6abb0dea-8b93-41d9-a856-6e625fd2df0a X-Archives-Hash: b1b096e58b059e9ddecc824bd5fdcddb commit: cd534eb17c94864a155a6e80b44f8b42ca90480b Author: Mike Frysinger chromium org> AuthorDate: Thu Feb 1 22:35:03 2018 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 1 22:35:03 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd534eb1 sys-apps/iproute2: make libelf usage optional This dep is only needed to load eBPF filters out of ELFs compiled (usually) by LLVM's eBPF backend. There's no need to make this a hard dep on everyone's system. sys-apps/iproute2/iproute2-4.15.0.ebuild | 7 ++++--- sys-apps/iproute2/metadata.xml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sys-apps/iproute2/iproute2-4.15.0.ebuild b/sys-apps/iproute2/iproute2-4.15.0.ebuild index f38e3db1ff8..15efa9acf6c 100644 --- a/sys-apps/iproute2/iproute2-4.15.0.ebuild +++ b/sys-apps/iproute2/iproute2-4.15.0.ebuild @@ -18,12 +18,13 @@ HOMEPAGE="https://wiki.linuxfoundation.org/networking/iproute2" LICENSE="GPL-2" SLOT="0" -IUSE="atm berkdb +iptables ipv6 minimal selinux" +IUSE="atm berkdb elf +iptables ipv6 minimal selinux" # We could make libmnl optional, but it's tiny, so eh RDEPEND=" !net-misc/arpd - !minimal? ( net-libs/libmnl virtual/libelf ) + !minimal? ( net-libs/libmnl ) + elf? ( virtual/libelf ) iptables? ( >=net-firewall/iptables-1.4.20:= ) berkdb? ( sys-libs/db:= ) atm? ( net-dialup/linux-atm ) @@ -101,7 +102,7 @@ src_configure() { TC_CONFIG_IPSET := y HAVE_BERKELEY_DB := $(usex berkdb y n) HAVE_MNL := $(usex minimal n y) - HAVE_ELF := $(usex minimal n y) + HAVE_ELF := $(usex elf y n) HAVE_SELINUX := $(usex selinux y n) IP_CONFIG_SETNS := ${setns} # Use correct iptables dir, #144265 #293709 diff --git a/sys-apps/iproute2/metadata.xml b/sys-apps/iproute2/metadata.xml index 2605d5fd7ce..ad652efcf7e 100644 --- a/sys-apps/iproute2/metadata.xml +++ b/sys-apps/iproute2/metadata.xml @@ -7,6 +7,7 @@ build programs that use berkdb (just arpd) + support loading eBPF programs from ELFs (e.g. LLVM's eBPF backend) include support for iptables filtering only install ip and tc programs, without eBPF support