dev-debug/systemtap: rename dtrace manpage too

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-05-04 19:21:29 +01:00
parent dfaa7bd5f7
commit 01fb33e9dc
2 changed files with 16 additions and 4 deletions
+2
View File
@@ -164,8 +164,10 @@ src_install() {
# Avoid file collision with dev-debug/dtrace
mv "${ED}"/usr/bin/dtrace "${ED}"/usr/bin/stap-dtrace || die
mv "${ED}"/usr/share/man/man1/dtrace.1 "${ED}"/usr/share/man/man1/stap-dtrace.1 || die
if use dtrace-symlink ; then
dosym stap-dtrace /usr/bin/dtrace
newman - dtrace.1 <<<".so stap-dtrace.1"
fi
}
+14 -4
View File
@@ -1,20 +1,28 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/fche.asc
inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
DESCRIPTION="Linux trace/probe tool"
HOMEPAGE="https://sourceware.org/systemtap/ https://sourceware.org/systemtap/wiki"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://sourceware.org/git/systemtap.git"
inherit git-r3
else
SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
inherit verify-sig
SRC_URI="
https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz
verify-sig? ( https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz.asc )
"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-fche )"
fi
LICENSE="GPL-2"
@@ -54,7 +62,7 @@ RDEPEND="
acct-group/stapusr
"
# which: https://sourceware.org/PR32106
BDEPEND="
BDEPEND+="
$(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
test? (
dev-util/dejagnu
@@ -156,8 +164,10 @@ src_install() {
# Avoid file collision with dev-debug/dtrace
mv "${ED}"/usr/bin/dtrace "${ED}"/usr/bin/stap-dtrace || die
mv "${ED}"/usr/share/man/man1/dtrace.1 "${ED}"/usr/share/man/man1/stap-dtrace.1 || die
if use dtrace-symlink ; then
dosym stap-dtrace /usr/bin/dtrace
newman - dtrace.1 <<<".so stap-dtrace.1"
fi
}