commit:     50568864fb43367c36a13786f9b896ea923fa167
Author:     Francis Laniel <flaniel <AT> linux <DOT> microsoft <DOT> com>
AuthorDate: Mon Jun 16 10:27:39 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jul  2 09:10:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50568864

app-admin/ig: New package, add 0.41.0

Signed-off-by: Francis Laniel <flaniel <AT> linux.microsoft.com>
Part-of: https://github.com/gentoo/gentoo/pull/42637
Closes: https://github.com/gentoo/gentoo/pull/42637
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-admin/ig/Manifest         |  1 +
 app-admin/ig/ig-0.41.0.ebuild | 28 ++++++++++++++++++++++++++++
 app-admin/ig/metadata.xml     | 14 ++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/app-admin/ig/Manifest b/app-admin/ig/Manifest
new file mode 100644
index 000000000000..93e983906179
--- /dev/null
+++ b/app-admin/ig/Manifest
@@ -0,0 +1 @@
+DIST ig-0.41.0.tar.gz 7927020 BLAKE2B 
476c6eab4add80d5ed276ef1329fb0129f1ba9ee557570a9a3dbb70567da02e042cb578e7a2e65f5cb4936d7bcbd974dbd0264d12e99decedab0922945de8f9b
 SHA512 
4335330b3b990b8fb5a3a313c1c2ad3158b818d5b1df0fc27b4a0de37653a343483ac0a38035a7a2f5c2b2876a413e97fdf179e160a32ebe86764216206af1e7

diff --git a/app-admin/ig/ig-0.41.0.ebuild b/app-admin/ig/ig-0.41.0.ebuild
new file mode 100644
index 000000000000..7137de1c75cc
--- /dev/null
+++ b/app-admin/ig/ig-0.41.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2025 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"
+
+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"
+
+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
+}

diff --git a/app-admin/ig/metadata.xml b/app-admin/ig/metadata.xml
new file mode 100644
index 000000000000..a6c7f68ec48f
--- /dev/null
+++ b/app-admin/ig/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>James Le Cuirot</name>
+  </maintainer>
+  <longdescription lang="en">
+    Inspektor Gadget is a set of tools and framework for data collection and 
system inspection on Kubernetes clusters and Linux hosts using eBPF.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">inspektor-gadget/inspektor-gadget</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to