summaryrefslogtreecommitdiff
path: root/dev-debug
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-01 12:11:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-01 12:11:11 +0000
commitef5d772cb212bb9d3049523be8a7bd2e01301090 (patch)
tree8345c2730a3aa49abe87d32a748203d81b1a7454 /dev-debug
parentd5751b1260fda1bd00ddfc78bb34b3c7afd9b343 (diff)
downloadbaldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.gz
baldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.xz
baldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.zip
Adding metadata
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/strace/Manifest2
-rw-r--r--dev-debug/strace/strace-6.17.ebuild120
2 files changed, 122 insertions, 0 deletions
diff --git a/dev-debug/strace/Manifest b/dev-debug/strace/Manifest
index e7aac512a604..c4a1aba65128 100644
--- a/dev-debug/strace/Manifest
+++ b/dev-debug/strace/Manifest
@@ -6,3 +6,5 @@ DIST strace-6.15.tar.xz 2662388 BLAKE2B 73bac2016b3a92e88c1bfcdf4b0ce7a273c07554
DIST strace-6.15.tar.xz.asc 801 BLAKE2B 08eb7aac938ab8f0fbb1f37b3072a3243b4a97e9206d2f6e23202d1494a0917e061a814a1a55cec5264dd828dbc2480a9ed63cc8b55fe68945d00a52c85e5bbf SHA512 c2c0098d9b415950c6f0591e2b8c59b96bb929df9270f5e256078d27e93b791f3bca2bf52f36d8ddf3b7354e711a94b4588b78a94da3327a35777c859808d993
DIST strace-6.16.tar.xz 2674064 BLAKE2B 42155b733d18de50e38b95847a018b315ab36622823ba1113d1a58666de9eda373cc4110b2acdc0c4173520eb55859ff4493fa4a01df1b7c4c1902b11afaa88e SHA512 47d806e7a91537977a41b0289f896c4e36a2c2715554ea31df6c416de581b974d8826be1abf02999fd3ca2f90af122cfefe7c4f20c935026b84421aa8a516f96
DIST strace-6.16.tar.xz.asc 801 BLAKE2B bcf1729906866c7d92a6672ffe4f89946b27fbdf9963775f1a6703c7fa297f62f1fef80a029f5e0caa117f2c7094fb959dba967ff628117785b934b28ececb79 SHA512 cb4c71780a817ec6e0dcd0f994e91870b8a1ee26b2062fe51000414624343d05dce799c8677683264d9c051a20d4a40e028159282e979e4f3307447cecc16446
+DIST strace-6.17.tar.xz 2682684 BLAKE2B 273bc58a555dda92e34fa242ce9072214d110797974e5023717a8f80f9a0ec8b482a74af1196c3e3be2c44afdac51f30b2e1bb7d7104b07c9ceeecc9d1aa65bf SHA512 05788501420c6dc29cfa9b974c96ade4db0830e80636538fdb7c8306a8821c59a45781a3dac9fd0e8f2e0fb0710ab2c80c5d96b6d37522fb917e51815f8c88de
+DIST strace-6.17.tar.xz.asc 801 BLAKE2B 69883e1a1bd1bebfd1e800d5a921cd1dfe7d86cf0de6744c696f42d6fafce823f0b757e4be00ff2c4efb7882b2b942c8c931bd2d53f869e71cc7ddc2895dbc47 SHA512 d025ae6ebbfed219b2629b2c25713f04de3774bbabe8ebea3e070f0df645cceeeb58943f93bb2ca542e6b73fc580be090ee8b2501e65778de249ef2a4f69a90f
diff --git a/dev-debug/strace/strace-6.17.ebuild b/dev-debug/strace/strace-6.17.ebuild
new file mode 100644
index 000000000000..196f558d280a
--- /dev/null
+++ b/dev-debug/strace/strace-6.17.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools edo flag-o-matic toolchain-funcs verify-sig
+
+DESCRIPTION="Useful diagnostic, instructional, and debugging tool"
+HOMEPAGE="https://strace.io/"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/strace/strace.git"
+ inherit git-r3
+else
+ SRC_URI="
+ 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 ~amd64-linux ~x86-linux"
+fi
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strace.asc
+
+LICENSE="LGPL-2.1+ test? ( GPL-2+ )"
+SLOT="0"
+IUSE="aio perl selinux static test unwind elfutils"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="?? ( unwind elfutils )"
+
+BDEPEND="
+ virtual/pkgconfig
+ verify-sig? ( >=sec-keys/openpgp-keys-strace-20151021 )
+"
+LIB_DEPEND="
+ unwind? ( sys-libs/libunwind[static-libs(+)] )
+ elfutils? ( dev-libs/elfutils[static-libs(+)] )
+ selinux? ( sys-libs/libselinux[static-libs(+)] )
+"
+# strace only uses the header from libaio to decode structs
+DEPEND="
+ static? ( ${LIB_DEPEND} )
+ aio? ( >=dev-libs/libaio-0.3.106 )
+"
+RDEPEND="
+ !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ perl? ( dev-lang/perl )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-6.5-static.patch"
+)
+
+src_prepare() {
+ default
+
+ if [[ ! -e configure ]] ; then
+ # git generation
+ sed /autoreconf/d -i bootstrap || die
+ edo ./bootstrap
+ [[ ! -e CREDITS ]] && cp CREDITS{.in,}
+ fi
+
+ eautoreconf
+
+ # Stub out the -k test since it's known to be flaky. bug #545812
+ sed -i '1iexit 77' tests*/strace-k.test || die
+}
+
+src_configure() {
+ # Set up the default build settings, and then use the names strace expects.
+ tc-export_build_env BUILD_{CC,CPP}
+ local v bv
+ for v in CC CPP {C,CPP,LD}FLAGS ; do
+ bv="BUILD_${v}"
+ export "${v}_FOR_BUILD=${!bv}"
+ done
+
+ filter-lfs-flags # configure handles this sanely
+
+ export ac_cv_header_libaio_h=$(usex aio)
+ use elibc_musl && export ac_cv_header_stdc=no
+
+ local myeconfargs=(
+ --disable-gcc-Werror
+
+ # Don't require mpers support on non-multilib systems. #649560
+ --enable-mpers=check
+
+ # We don't want to pin to exact linux-headers versions (bug #950309)
+ --enable-bundled=yes
+
+ $(use_enable static)
+ $(use_with unwind libunwind)
+ $(use_with elfutils libdw)
+ $(use_with selinux libselinux)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ if has usersandbox ${FEATURES} ; then
+ # bug #643044
+ ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..."
+ return 0
+ fi
+
+ default
+}
+
+src_install() {
+ default
+
+ if use perl ; then
+ exeinto /usr/bin
+ doexe src/strace-graph
+ fi
+
+ dodoc CREDITS
+}