net-analyzer/pwru-bin - 1.0.12 (gentoo-zh)

Search

Install

Install this version:

emerge -a =net-analyzer/pwru-bin-1.0.12

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-analyzer/pwru-bin-1.0.12

Or alternatively:

emerge --autounmask-write -a =net-analyzer/pwru-bin-1.0.12

Package Information

Description:
eBPF-based Linux kernel networking debugger
Homepage:
https://github.com/cilium/pwru
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.0.12 8 -* ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit linux-info

DESCRIPTION="eBPF-based Linux kernel networking debugger"
HOMEPAGE="https://github.com/cilium/pwru"
SRC_URI="
	amd64? ( https://github.com/cilium/pwru/releases/download/v${PV}/pwru-linux-amd64.tar.gz -> ${P}-amd64.tar.gz )
	arm64? ( https://github.com/cilium/pwru/releases/download/v${PV}/pwru-linux-arm64.tar.gz -> ${P}-arm64.tar.gz )
"
S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
MINKV="5.18"
RESTRICT="strip"

#RDEPEND="!net-analyzer/pwru" // TODO

pkg_pretend() {
	local CONFIG_CHECK="
		~DEBUG_INFO_BTF
		~KPROBES
		~PERF_EVENTS
		~BPF
		~BPF_SYSCALL
		~FUNCTION_TRACER
		~FPROBE
	"

	if kernel_is -lt ${MINKV//./ }; then
		ewarn "Kernel version at least ${MINKV} required"
	fi

	check_extra_config
}

src_install() {
	dobin pwru
}

Inherited Eclasses

Manifest for 1.0.12

Type File Size Source URLs
DIST pwru-bin-1.0.12-amd64.tar.gz 3850308 bytes https://github.com/cilium/pwru/releases/download/v1.0.12/pwru-linux-amd64.tar.gz
DIST pwru-bin-1.0.12-arm64.tar.gz 3455810 bytes https://github.com/cilium/pwru/releases/download/v1.0.12/pwru-linux-arm64.tar.gz