From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/bpftune/
Date: Thu, 27 Feb 2025 11:53:00 +0000 (UTC) [thread overview]
Message-ID: <1740584602.033aed945399ce5e3ac8a98ecb1a37542511eb0c.davidroman@gentoo> (raw)
commit: 033aed945399ce5e3ac8a98ecb1a37542511eb0c
Author: Justin Matthew Kidd <me <AT> justinkidd <DOT> ca>
AuthorDate: Wed Feb 26 15:37:23 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> 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 <me <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>me@justinkidd.ca</email>
+ <name>Justin Kidd</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/oracle/bpftune/issues</bugs-to>
+ <remote-id type="github">oracle/bpftune</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2025-02-27 11:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 11:53 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-28 15:12 [gentoo-commits] repo/proj/guru:master commit in: sys-apps/bpftune/ David Roman
2025-03-03 15:10 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740584602.033aed945399ce5e3ac8a98ecb1a37542511eb0c.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox