summaryrefslogtreecommitdiff
path: root/dev-debug
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-16 19:18:42 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-16 19:18:42 +0000
commitda26e5c2ef5996cb5bf06adeb42fa47c0b76522d (patch)
treedbcabc755e8eb6ab520fd722b8cb9953b324f952 /dev-debug
parent620116181138534133abab566a07a8668c7de802 (diff)
downloadbaldeagleos-repo-da26e5c2ef5996cb5bf06adeb42fa47c0b76522d.tar.gz
baldeagleos-repo-da26e5c2ef5996cb5bf06adeb42fa47c0b76522d.tar.xz
baldeagleos-repo-da26e5c2ef5996cb5bf06adeb42fa47c0b76522d.zip
Adding metadata
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/dtrace/Manifest5
-rw-r--r--dev-debug/dtrace/dtrace-2.0.3-r2.ebuild236
-rw-r--r--dev-debug/dtrace/dtrace-2.0.4.ebuild9
-rw-r--r--dev-debug/dtrace/dtrace-2.0.5.ebuild7
-rw-r--r--dev-debug/dtrace/dtrace-9999.ebuild1
-rw-r--r--dev-debug/dtrace/files/0001-bpf-compile-BPF-library-functions-with-ffreestanding.patch34
-rw-r--r--dev-debug/gef/gef-2026.01.ebuild2
-rw-r--r--dev-debug/ltrace/ltrace-0.8.1.ebuild2
-rw-r--r--dev-debug/strace/strace-6.19.ebuild2
9 files changed, 12 insertions, 286 deletions
diff --git a/dev-debug/dtrace/Manifest b/dev-debug/dtrace/Manifest
index a6465786219d..c97bd4485f28 100644
--- a/dev-debug/dtrace/Manifest
+++ b/dev-debug/dtrace/Manifest
@@ -1,3 +1,2 @@
-DIST dtrace-2.0.3.tar.gz 1482755 BLAKE2B 8cbf4e0f3c500ae6b022692b3c2ba4a4eacca3feeab88e0712435863a4148217efb6d513a551510bf9e29ba9f8e543fccf5b246ed68c3a04d47259fc5a94f3f9 SHA512 74fe7cd73346a3b1a134128e1f612693739ffa1460fb0d9534cf1d31d70379a717a94ff11d23e1c4be55f3c23b95cc4f940b66a01abf7ac08ca2963049a66210
-DIST dtrace-2.0.4.tar.gz 1699279 BLAKE2B 3fb610e2c233accbe36c372ab8e4f5012cdd314750dd64f7d411955038cdafeaeda038e63a06f6995f8cb89fd2df482f34fd5583f130f21f2b7a03747e33c778 SHA512 63623ce70d21dadf9e1de5d85e6d0a1a3043c0bd5f2255d32793209c1774e9be774699fdd70218a840f7060a1027388bf20d1d6c5e06b9e5671113c133ce390f
-DIST dtrace-2.0.5.tar.gz 1727649 BLAKE2B 387f0de25f04ed884ffbf4184b2c5e42330ea575f62a2c9f23d1413f945906e8ec6ddccdd00755ce2f2c43f41928201782b46519cbafeb17f526bfa06c0e15ab SHA512 131120602147b5cdbf7ac0c53a5c42547f80eeb5239f642bee4ea7083d991070514b838b850ded51b0bc8a31b64062c8102cd41517a6cd9bbc898afc20a87466
+DIST dtrace-2.0.4.renamed.tar.gz 1699313 BLAKE2B 223791d1c39f8c7a116f9141ecf563242f14cd820a01c669463a7dfb402fa6e136dd082fde51b6efbaa6e4ac282f5a94755997cd1465a832bd7620e550ab863e SHA512 cf55236a6130af5783f52487c4226d91eb3402f23eb308e6c2ea15ecaf1ab4ceeed8e7bf7f5b2bf7774229e71ea6fd9c7c0089ea39ca2bab393c1c5c97a6e252
+DIST dtrace-2.0.5.renamed.tar.gz 1727452 BLAKE2B 614d6e54cc7436ef99fd8e94a087fd39bffa44b49465b0992bcb919525a3229e70638da6490b36e15c8520f5f6c4544b96bd52738859c972c944b80083041dcc SHA512 5837c8a937ebed7b044516e00ccd5df154453f71ade8eddfd6c3299d909080509a6d1a31aafe64e5512a9ef51f983a6899344f5f579a118fde18849b6ac9b511
diff --git a/dev-debug/dtrace/dtrace-2.0.3-r2.ebuild b/dev-debug/dtrace/dtrace-2.0.3-r2.ebuild
deleted file mode 100644
index c04226e48754..000000000000
--- a/dev-debug/dtrace/dtrace-2.0.3-r2.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo flag-o-matic linux-info multilib systemd toolchain-funcs udev
-
-DESCRIPTION="Dynamic BPF-based system-wide tracing tool"
-HOMEPAGE="https://github.com/oracle/dtrace-utils https://wiki.gentoo.org/wiki/DTrace"
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_BRANCH="devel"
- EGIT_REPO_URI="https://github.com/oracle/dtrace-utils"
- inherit git-r3
-else
- SRC_URI="https://github.com/oracle/dtrace-utils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/dtrace-utils-${PV}
-
- KEYWORDS="-* amd64 arm64"
-fi
-
-LICENSE="UPL-1.0"
-SLOT="0"
-IUSE="test-install valgrind"
-
-# TODO: can we make the wireshark dep conditional?
-DEPEND="
- dev-libs/elfutils
- dev-libs/libbpf
- dev-libs/libpfm:=
- net-analyzer/wireshark[dumpcap]
- net-libs/libpcap
- >=sys-fs/fuse-3.2.0:3=
- >=sys-libs/binutils-libs-2.42:=
- virtual/zlib:=
-"
-RDEPEND="
- ${DEPEND}
- !dev-debug/systemtap[dtrace-symlink(+)]
- net-analyzer/wireshark
- test-install? (
- app-alternatives/bc
- app-editors/vim-core
- dev-build/make
- dev-lang/perl
- dev-util/perf
- net-fs/nfs-utils
- sys-apps/coreutils
- sys-fs/xfsprogs
- sys-process/time
- virtual/jdk
- )
-"
-BDEPEND="
- dev-build/make
- sys-apps/gawk
- sys-devel/bison
- >=sys-devel/bpf-toolchain-14.1.0
- sys-devel/flex
-"
-DEPEND+=" valgrind? ( dev-debug/valgrind )"
-
-QA_PRESTRIPPED="
- usr/.*/dtrace/testsuite/test/triggers/.*
-"
-QA_FLAGS_IGNORED="
- usr/.*/dtrace/testsuite/test/triggers/.*
-"
-
-# TODO: report upstream (bug #938221) although it seems like it's
-# not relevant given it's a BPF object.
-QA_EXECSTACK="
- usr/*/dtrace/bpf_dlib.*
-"
-
-PATCHES=(
- "${FILESDIR}"/0001-bpf-compile-BPF-library-functions-with-ffreestanding.patch
-)
-
-pkg_pretend() {
- # TODO: optional kernel patches
-
- # Basics for debugging information, BPF
- local CONFIG_CHECK="~BPF ~DEBUG_INFO_BTF ~KALLSYMS_ALL"
-
- CONFIG_CHECK+=" ~CUSE"
-
- # Tracing
- CONFIG_CHECK+=" ~TRACING"
- CONFIG_CHECK+=" ~UPROBES ~UPROBE_EVENTS"
- CONFIG_CHECK+=" ~FTRACE ~FTRACE_SYSCALLS ~DYNAMIC_FTRACE ~FUNCTION_TRACER"
- CONFIG_CHECK+=" ~FPROBE"
- # DTrace can fallback to kprobes for fbt but people often want them off
- # for security and newer kernels work fine with BPF for that, so
- # let's omit it. kprobes are slower and scale poorly.
-
- # https://gcc.gnu.org/PR84052
- CONFIG_CHECK+=" !GCC_PLUGIN_RANDSTRUCT"
-
- if use test-install ; then
- # See test/modules
- CONFIG_CHECK+=" ~EXT4_FS ~ISO9660_FS ~NFS_FS ~RDS ~TUN"
- fi
-
- check_extra_config
-}
-
-pkg_setup() {
- eval unset ${!LC_*} LANG
-}
-
-src_configure() {
- if tc-is-cross-compiler; then
- die "DTrace does not yet support cross-compilation."
- fi
-
- tc-export CC
-
- # lld does this by default, so fix that, although lld fails anyway...
- # 'LIBDTRACE_1.0' to symbol 'dtrace_provider_modules' failed: symbol not defined
- append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
- # mold and lld can't cope with some relocation types used, e.g.
- # 'test-triggers--usdt-tst-forker-prov.o:(.SUNW_dof): unknown relocation: R_X86_64_GLOB_DAT'
- tc-ld-force-bfd
-
- # -fno-semantic-interposition seems to lead to a broken dtrace
- # that can't actually obtain results from probes, even trivial examples
- # just hang.
- filter-flags -fno-semantic-interposition
- # While it builds as of 2025-06-08, it's broken at runtime
- # in the same way as -fno-semantic-interposition (hangs, no probes fire).
- filter-lto
-
- local confargs=(
- # TODO: Maybe we should set the UNPRIV_UID to something? -3 is a bit... kludgy
- --prefix="${EPREFIX}"/usr
- --mandir="${EPREFIX}"/usr/share/man
- --docdir="${EPREFIX}"/usr/share/doc/${PF}
- --with-systemd
- HAVE_LIBCTF=yes
- HAVE_BPFV3=yes
- HAVE_VALGRIND=$(usex valgrind)
- )
-
- edo ./configure "${confargs[@]}"
-}
-
-src_compile() {
- local myemakeargs=(
- verbose=1
- $(usev !test-install TRIGGERS='')
- )
-
- if use amd64 ; then
- ! has_multilib_profile && myemakeargs+=( NATIVE_BITNESS_ONLY=1 )
- fi
-
- # -j1: https://github.com/oracle/dtrace-utils/issues/82
- emake -j1 "${myemakeargs[@]}"
-}
-
-src_test() {
- # Needs root and is also very time-consuming
- :;
-}
-
-src_install() {
- emake DESTDIR="${D}" -j1 install $(usev test-install install-test)
-
- # We want to strip neither the BPF libraries nor libdtrace.so itself
- # as probes attach to some symbols that would get removed otherwise.
- dostrip -x "/usr/$(get_libdir)"
-
- # It's a binary (TODO: move it?)
- docompress -x /usr/share/doc/${PF}/showUSDT
-
- newinitd "${FILESDIR}"/dtprobed.init dtprobed
-}
-
-pkg_postinst() {
- # We need a udev reload to pick up the CUSE device node rules.
- udev_reload
-
- if [[ -n ${REPLACING_VERSIONS} ]]; then
- # TODO: Make this more intelligent wrt comparison
- # One option for this is to detect when it's needed (DOF stash layout changes)
- # and then e.g. sleep and restart for the user.
- if systemd_is_booted ; then
- einfo "Restart the DTrace 'dtprobed' service after upgrades once all dtraces are stopped with:"
- einfo " systemctl try-restart dtprobed"
- else
- einfo "Restart the DTrace 'dtprobed' service after upgrades once all dtraces are stopped with:"
- einfo " /etc/init.d/dtprobed restart"
- fi
- else
- einfo "See https://wiki.gentoo.org/wiki/DTrace for getting started."
-
- # We can't do magic for people with ROOT=.
- if [[ -n ${ROOT} ]] ; then
- einfo "Enable and start the DTrace 'dtprobed' service for systemd with:"
- einfo " systemctl enable --now dtprobed"
- einfo
- einfo "Enable and start the DTrace 'dtprobed' service for OpenRC with:"
- einfo " rc-update add dtprobed"
- einfo " /etc/init.d/dtprobed start"
- return
- fi
-
- # For first installs, we enable the service and start it.
- #
- # This is unusual, but the behaviour without dtprobed running
- # is untested/unsupported. It's not a network service, it
- # has no configuration, reads a single device node, and
- # does all parsing within a seccomp jail. It also leads
- # to hard-to-diagnose issues because USDT probes won't
- # be registered and an application might have already
- # started up which needs to be traced.
- if systemd_is_booted ; then
- ebegin "Enabling & starting DTrace 'dtprobed' service"
- systemctl enable --now dtprobed
- eend $?
- else
- ebegin "Enabling DTrace 'dtprobed' service"
- rc-update add dtprobed
- eend $?
-
- ebegin "Starting DTrace 'dtprobed' service"
- rc-service dtprobed start
- eend $?
- fi
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/dev-debug/dtrace/dtrace-2.0.4.ebuild b/dev-debug/dtrace/dtrace-2.0.4.ebuild
index 0b08fa102763..392ae9b07462 100644
--- a/dev-debug/dtrace/dtrace-2.0.4.ebuild
+++ b/dev-debug/dtrace/dtrace-2.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024-2025 Gentoo Authors
+# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,15 +6,14 @@ EAPI=8
inherit edo flag-o-matic linux-info multilib systemd toolchain-funcs udev
DESCRIPTION="Dynamic BPF-based system-wide tracing tool"
-HOMEPAGE="https://github.com/oracle/dtrace-utils https://wiki.gentoo.org/wiki/DTrace"
+HOMEPAGE="https://github.com/oracle/dtrace https://wiki.gentoo.org/wiki/DTrace"
if [[ ${PV} == 9999 ]]; then
EGIT_BRANCH="devel"
- EGIT_REPO_URI="https://github.com/oracle/dtrace-utils"
+ EGIT_REPO_URI="https://github.com/oracle/dtrace"
inherit git-r3
else
- SRC_URI="https://github.com/oracle/dtrace-utils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/dtrace-utils-${PV}
+ SRC_URI="https://github.com/oracle/dtrace/archive/refs/tags/${PV}.tar.gz -> ${P}.renamed.tar.gz"
KEYWORDS="-* amd64 arm64"
fi
diff --git a/dev-debug/dtrace/dtrace-2.0.5.ebuild b/dev-debug/dtrace/dtrace-2.0.5.ebuild
index 49c3deafd7cc..19ba670ee53f 100644
--- a/dev-debug/dtrace/dtrace-2.0.5.ebuild
+++ b/dev-debug/dtrace/dtrace-2.0.5.ebuild
@@ -6,15 +6,14 @@ EAPI=8
inherit edo flag-o-matic linux-info multilib systemd toolchain-funcs udev
DESCRIPTION="Dynamic BPF-based system-wide tracing tool"
-HOMEPAGE="https://github.com/oracle/dtrace-utils https://wiki.gentoo.org/wiki/DTrace"
+HOMEPAGE="https://github.com/oracle/dtrace https://wiki.gentoo.org/wiki/DTrace"
if [[ ${PV} == 9999 ]]; then
EGIT_BRANCH="devel"
- EGIT_REPO_URI="https://github.com/oracle/dtrace-utils"
+ EGIT_REPO_URI="https://github.com/oracle/dtrace"
inherit git-r3
else
- SRC_URI="https://github.com/oracle/dtrace-utils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/dtrace-utils-${PV}
+ SRC_URI="https://github.com/oracle/dtrace/archive/refs/tags/${PV}.tar.gz -> ${P}.renamed.tar.gz"
KEYWORDS="-* ~amd64 ~arm64"
fi
diff --git a/dev-debug/dtrace/dtrace-9999.ebuild b/dev-debug/dtrace/dtrace-9999.ebuild
index 24c7e6a72267..a048c509f0f0 100644
--- a/dev-debug/dtrace/dtrace-9999.ebuild
+++ b/dev-debug/dtrace/dtrace-9999.ebuild
@@ -14,7 +14,6 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
else
SRC_URI="https://github.com/oracle/dtrace/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/dtrace-${PV}
KEYWORDS="-* ~amd64 ~arm64"
fi
diff --git a/dev-debug/dtrace/files/0001-bpf-compile-BPF-library-functions-with-ffreestanding.patch b/dev-debug/dtrace/files/0001-bpf-compile-BPF-library-functions-with-ffreestanding.patch
deleted file mode 100644
index 67111d6ab740..000000000000
--- a/dev-debug/dtrace/files/0001-bpf-compile-BPF-library-functions-with-ffreestanding.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://lore.kernel.org/dtrace/SJ0PR10MB567217E9DF1F38898F33711BC227A@SJ0PR10MB5672.namprd10.prod.outlook.com/
-https://gcc.gnu.org/PR121259
-https://bugs.gentoo.org/959876
-
-From 2e027482c1bb19597a5f6ed51fac76f621b0163c Mon Sep 17 00:00:00 2001
-Message-ID: <2e027482c1bb19597a5f6ed51fac76f621b0163c.1753935317.git.sam@gentoo.org>
-From: Kris Van Hees <kris.van.hees@oracle.com>
-Date: Wed, 30 Jul 2025 23:09:03 -0400
-Subject: [PATCH] bpf: compile BPF library functions with -ffreestanding
-
-Per Jose, we should be compiling our BPF code with -ffreestanding to
-ensure that BPF-specific standard header files are used instead of
-host-specific ones.
-
-Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
-Tested-by: Sam James <sam@gentoo.org>
-Reviewed-by: Sam James <sam@gentoo.org>
-Reviewed-by: Eugene Loh <eugene.loh@oracle.com>
---- a/GNUmakefile
-+++ b/GNUmakefile
-@@ -127,7 +127,7 @@ PREPROCESS = $(CC) -E
- export BPFC ?= bpf-unknown-none-gcc
-
- BPFCPPFLAGS += -D$(subst sparc64,__sparc,$(subst aarch64,__aarch64__,$(subst x86_64,__amd64,$(ARCH))))
--BPFCFLAGS ?= -O2 -Wall -Wno-unknown-pragmas $(if $(HAVE_BPFV3),-mcpu=v3) $(if $(HAVE_BPFMASM),-masm=normal)
-+BPFCFLAGS ?= -O2 -Wall -Wno-unknown-pragmas $(if $(HAVE_BPFV3),-mcpu=v3) $(if $(HAVE_BPFMASM),-masm=normal) -ffreestanding
- export BPFLD ?= bpf-unknown-none-ld
-
- all::
-
-base-commit: 6642cf0c84de770b93a235581183a644664513a5
---
-2.50.1
-
diff --git a/dev-debug/gef/gef-2026.01.ebuild b/dev-debug/gef/gef-2026.01.ebuild
index 60302eacc80f..156f87844490 100644
--- a/dev-debug/gef/gef-2026.01.ebuild
+++ b/dev-debug/gef/gef-2026.01.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hugsy/gef"
else
SRC_URI="https://github.com/hugsy/gef/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~x86"
+ KEYWORDS="amd64 ~arm64 x86"
fi
LICENSE="MIT"
diff --git a/dev-debug/ltrace/ltrace-0.8.1.ebuild b/dev-debug/ltrace/ltrace-0.8.1.ebuild
index 270b568ca3df..ef3efbf598f0 100644
--- a/dev-debug/ltrace/ltrace-0.8.1.ebuild
+++ b/dev-debug/ltrace/ltrace-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://gitlab.com/cespedes/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~mips ppc ~ppc64 ~sparc x86"
IUSE="debug elfutils selinux test unwind"
REQUIRED_USE="?? ( elfutils unwind )"
diff --git a/dev-debug/strace/strace-6.19.ebuild b/dev-debug/strace/strace-6.19.ebuild
index 36d8df9b14cf..559d09c1bc4e 100644
--- a/dev-debug/strace/strace-6.19.ebuild
+++ b/dev-debug/strace/strace-6.19.ebuild
@@ -16,7 +16,7 @@ else
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz
verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz.asc )
"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
fi
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strace.asc