mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
sys-apps/bpftune: new package, add 9999
Signed-off-by: Justin Matthew Kidd <me@justinkidd.ca>
This commit is contained in:
45
sys-apps/bpftune/bpftune-9999.ebuild
Normal file
45
sys-apps/bpftune/bpftune-9999.ebuild
Normal file
@@ -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
|
||||
}
|
||||
12
sys-apps/bpftune/metadata.xml
Normal file
12
sys-apps/bpftune/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user