From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D9AA31582EF for ; Fri, 28 Feb 2025 15:12:54 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C298334327B for ; Fri, 28 Feb 2025 15:12:54 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1495A110474; Fri, 28 Feb 2025 15:12:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0DF92110474 for ; Fri, 28 Feb 2025 15:12:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8C0E3431C7 for ; Fri, 28 Feb 2025 15:12:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4953B2800 for ; Fri, 28 Feb 2025 15:12:29 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1740753790.2521fb54585b40db423acdf78a35dcc1ee396f4e.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/bpftune/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/bpftune/bpftune-9999.ebuild X-VCS-Directories: sys-apps/bpftune/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 2521fb54585b40db423acdf78a35dcc1ee396f4e X-VCS-Branch: master Date: Fri, 28 Feb 2025 15:12:29 +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: bd3d8300-52e3-4293-8191-2e56e9b63d3d X-Archives-Hash: b9c0b87ba984d9da937248ceb797d7d1 commit: 2521fb54585b40db423acdf78a35dcc1ee396f4e Author: Justin Matthew Kidd justinkidd ca> AuthorDate: Fri Feb 28 14:36:31 2025 +0000 Commit: David Roman gmail com> CommitDate: Fri Feb 28 14:43:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2521fb54 sys-apps/bpftune: simplify & fix dependencies * Simplify ebuild with autotools eclass. * Add pahole dependency. * Add check for Kernel BTF feature. * Move clang and bpftool to BDEPEND. Signed-off-by: Justin Matthew Kidd justinkidd.ca> sys-apps/bpftune/bpftune-9999.ebuild | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/sys-apps/bpftune/bpftune-9999.ebuild b/sys-apps/bpftune/bpftune-9999.ebuild index 29c725315..759b87e74 100644 --- a/sys-apps/bpftune/bpftune-9999.ebuild +++ b/sys-apps/bpftune/bpftune-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit git-r3 systemd +inherit git-r3 systemd linux-info autotools DESCRIPTION="bpftune uses BPF to auto-tune Linux systems" HOMEPAGE="https://github.com/oracle/bpftune" @@ -11,35 +11,23 @@ EGIT_REPO_URI="https://github.com/oracle/bpftune.git" LICENSE="GPL-2" SLOT="0" - -RDEPEND=" +BDEPEND=" + dev-util/bpftool + dev-util/pahole + llvm-core/clang +" +DEPEND=" dev-libs/libbpf sys-libs/libcap dev-libs/libnl " -DEPEND=" - ${RDEPEND} - dev-util/bpftool - llvm-core/clang -" -src_compile() { - emake libdir="$(get_libdir)" srcdir +pkg_setup() { + CONFIG_CHECK="DEBUG_INFO_BTF" + check_extra_config } src_install() { - dobin src/bpftune - dolib.so src/libbpftune.so* - - exeinto "/usr/$(get_libdir)/bpftune" - doexe src/tcp_buffer_tuner.so - doexe src/route_table_tuner.so - doexe src/neigh_table_tuner.so - doexe src/sysctl_tuner.so - doexe src/tcp_conn_tuner.so - doexe src/netns_tuner.so - doexe src/net_buffer_tuner.so - doexe src/ip_frag_tuner.so - + default systemd_dounit src/bpftune.service }