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 613651582EF for ; Thu, 27 Feb 2025 11:53:26 +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 4D43D3431D8 for ; Thu, 27 Feb 2025 11:53:26 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8927D110475; Thu, 27 Feb 2025 11:53:04 +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 81706110475 for ; Thu, 27 Feb 2025 11:53:04 +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 3CBAB3431CC for ; Thu, 27 Feb 2025 11:53:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 895792800 for ; Thu, 27 Feb 2025 11:53:00 +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: <1740584602.033aed945399ce5e3ac8a98ecb1a37542511eb0c.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 sys-apps/bpftune/metadata.xml X-VCS-Directories: sys-apps/bpftune/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 033aed945399ce5e3ac8a98ecb1a37542511eb0c X-VCS-Branch: master Date: Thu, 27 Feb 2025 11:53:00 +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: f50b9a78-dc19-43fe-b887-c9d061933b69 X-Archives-Hash: ba0a0a00d75aa47b4c7c27d3c5a25abd commit: 033aed945399ce5e3ac8a98ecb1a37542511eb0c Author: Justin Matthew Kidd justinkidd ca> AuthorDate: Wed Feb 26 15:37:23 2025 +0000 Commit: David Roman gmail com> CommitDate: Wed Feb 26 15:43:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=033aed94 sys-apps/bpftune: new package, add 9999 Signed-off-by: Justin Matthew Kidd justinkidd.ca> sys-apps/bpftune/bpftune-9999.ebuild | 45 ++++++++++++++++++++++++++++++++++++ sys-apps/bpftune/metadata.xml | 12 ++++++++++ 2 files changed, 57 insertions(+) diff --git a/sys-apps/bpftune/bpftune-9999.ebuild b/sys-apps/bpftune/bpftune-9999.ebuild new file mode 100644 index 000000000..29c725315 --- /dev/null +++ b/sys-apps/bpftune/bpftune-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2025 Gentoo Developers +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 systemd + +DESCRIPTION="bpftune uses BPF to auto-tune Linux systems" +HOMEPAGE="https://github.com/oracle/bpftune" +EGIT_REPO_URI="https://github.com/oracle/bpftune.git" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + dev-libs/libbpf + sys-libs/libcap + dev-libs/libnl +" +DEPEND=" + ${RDEPEND} + dev-util/bpftool + llvm-core/clang +" + +src_compile() { + emake libdir="$(get_libdir)" srcdir +} + +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 + + systemd_dounit src/bpftune.service +} diff --git a/sys-apps/bpftune/metadata.xml b/sys-apps/bpftune/metadata.xml new file mode 100644 index 000000000..3efc710ab --- /dev/null +++ b/sys-apps/bpftune/metadata.xml @@ -0,0 +1,12 @@ + + + + + me@justinkidd.ca + Justin Kidd + + + https://github.com/oracle/bpftune/issues + oracle/bpftune + +