dev-debug/mstrace - 0.1.2 (lanodanOverlay)

Search

Install

Install this version:

emerge -a =dev-debug/mstrace-0.1.2

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

autounmask =dev-debug/mstrace-0.1.2

Or alternatively:

emerge --autounmask-write -a =dev-debug/mstrace-0.1.2

Package Information

Description:
Small Linux strace(1) implementation
Homepage:
https://hacktivis.me/projects/mstrace
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
0.1.2 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2025-2026 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

if [[ "${PV}" = 9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://anongit.hacktivis.me/git/mstrace.git"
else
	VERIFY_SIG_METHOD=signify
	inherit verify-sig

	SRC_URI="
		https://distfiles.hacktivis.me/releases/mstrace/${P}.tar.gz
		verify-sig? ( https://distfiles.hacktivis.me/releases/mstrace/${P}.tar.gz.sign )
	"

	KEYWORDS="~amd64 ~arm64"
fi

DESCRIPTION="Small Linux strace(1) implementation"
HOMEPAGE="https://hacktivis.me/projects/mstrace" # permalink
LICENSE="MPL-2.0"
SLOT="0"

if [[ "${PV}" != 9999* ]]
then
	BDEPEND="${BDEPEND} verify-sig? ( sec-keys/signify-keys-lanodan:2026 )"

	VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/signify-keys-lanodan-2026.pub"
fi

src_unpack() {
	if [[ "${PV}" != 9999* ]] && use verify-sig; then
		# Too many levels of symbolic links workaround
		cd "${WORKDIR}" || die
		cp "${DISTDIR}/${P}.tar.gz" "${DISTDIR}/${P}.tar.gz.sign" "${WORKDIR}/" || die
		verify-sig_verify_detached "${P}.tar.gz" "${P}.tar.gz.sign"
		unpack "${WORKDIR}/${P}.tar.gz"
		rm "${WORKDIR}/${P}.tar.gz"
	else
		default
	fi
}

src_configure() {
	tc-export CC
}

src_install() {
	dobin mstrace
}

Inherited Eclasses

Dependencies

BDEPEND

 verify-sig? ( sec-keys/signify-keys-lanodan:2026 )

Manifest for 0.1.2

Type File Size Source URLs
DIST mstrace-0.1.2.tar.gz 11587 bytes https://distfiles.hacktivis.me/releases/mstrace/mstrace-0.1.2.tar.gz
DIST mstrace-0.1.2.tar.gz.sign 141 bytes https://distfiles.hacktivis.me/releases/mstrace/mstrace-0.1.2.tar.gz.sign