mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-debug/systemtap: rename dtrace manpage too
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user