app-admin/ig - 0.51.0 (gentoo)

Search

Install

Install this version:

emerge -a =app-admin/ig-0.51.0

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

autounmask =app-admin/ig-0.51.0

Or alternatively:

emerge --autounmask-write -a =app-admin/ig-0.51.0

Package Information

Description:
Tools and framework for data collection and system inspection using eBPF
Homepage:
https://github.com/inspektor-gadget/inspektor-gadget
License:
Apache-2.0 GPL-2 MIT BSD-2 MPL-2.0 ISC imagemagick CC-BY-SA-4.0

Ebuild Details

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

EAPI=8

inherit go-module

DESCRIPTION="Tools and framework for data collection and system inspection using eBPF"
HOMEPAGE="https://github.com/inspektor-gadget/inspektor-gadget"
SRC_URI="https://github.com/inspektor-gadget/inspektor-gadget/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/inspektor-gadget/inspektor-gadget/releases/download/v${PV}/inspektor-gadget-vendor-v${PV}.tar.gz"

S="${WORKDIR}/inspektor-gadget-${PV}"

LICENSE="Apache-2.0 GPL-2 MIT BSD-2 MPL-2.0 ISC imagemagick CC-BY-SA-4.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test" # Not safe to run outside a container.

BDEPEND="
	>=dev-lang/go-1.25:=
"

src_compile() {
	ego build \
		-ldflags "-X github.com/inspektor-gadget/inspektor-gadget/internal/version.version=v${PV} \
		-X github.com/inspektor-gadget/inspektor-gadget/cmd/common/image.builderImage=ghcr.io/inspektor-gadget/gadget-builder:v${PV}" \
		-tags "netgo" \
		./cmd/ig
}

src_install() {
	dobin ig
	einstalldocs
}

Inherited Eclasses

Dependencies

BDEPEND

	>=dev-lang/go-1.25:=

Manifest for 0.51.0

Type File Size Source URLs
DIST ig-0.51.0.tar.gz 5345942 bytes https://github.com/inspektor-gadget/inspektor-gadget/archive/v0.51.0.tar.gz
DIST inspektor-gadget-vendor-v0.51.0.tar.gz 14579076 bytes https://github.com/inspektor-gadget/inspektor-gadget/releases/download/v0.51.0/inspektor-gadget-vendor-v.tar.gz