Diff psmisc-23.6 with a psmisc-23.7
| /usr/portage/sys-process/psmisc/psmisc-23.7.ebuild 2026-03-17 11:46:09.049303101 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit toolchain-funcs |
|
| 6 |
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/craigsmall.asc |
|
| 7 |
inherit toolchain-funcs verify-sig |
|
| 7 | 8 | |
| 8 | 9 |
DESCRIPTION="A set of tools that use the proc filesystem" |
| 9 | 10 |
HOMEPAGE="http://psmisc.sourceforge.net/" |
| 10 |
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz"
|
|
| 11 |
SRC_URI=" |
|
| 12 |
https://downloads.sourceforge.net/${PN}/${P}.tar.xz
|
|
| 13 |
verify-sig? ( https://downloads.sourceforge.net/${PN}/${P}.tar.xz.asc )
|
|
| 14 |
" |
|
| 11 | 15 | |
| 12 | 16 |
LICENSE="GPL-2+" |
| 13 | 17 |
SLOT="0" |
| ... | ... | |
| 27 | 31 |
>=dev-build/libtool-2.2.6b |
| 28 | 32 |
nls? ( sys-devel/gettext ) |
| 29 | 33 |
test? ( dev-util/dejagnu ) |
| 34 |
verify-sig? ( sec-keys/openpgp-keys-craigsmall ) |
|
| 30 | 35 |
" |
| 31 | 36 | |
| 32 | 37 |
DOCS=( AUTHORS ChangeLog NEWS README ) |
| 33 | 38 | |
| 34 | 39 |
src_configure() {
|
| 35 | 40 |
if tc-is-cross-compiler ; then |
| 36 |
# This isn't ideal but upstream don't provide a placement |
|
| 41 |
# This isn't ideal but upstream don't provide a replacement |
|
| 37 | 42 |
# when malloc is missing anyway, leading to errors like: |
| 38 | 43 |
# pslog.c:(.text.startup+0x108): undefined reference to `rpl_malloc' |
| 39 | 44 |
# See https://sourceforge.net/p/psmisc/bugs/71/ |
| ... | ... | |
| 63 | 68 |
[[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1
|
| 64 | 69 | |
| 65 | 70 |
# fuser is needed by init.d scripts; use * wildcard for #458250 |
| 66 |
dodir /bin |
|
| 67 |
mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die
|
|
| 71 |
if use kernel_linux ; then |
|
| 72 |
dodir /bin |
|
| 73 |
mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die
|
|
| 74 |
fi |
|
| 68 | 75 |
} |