sys-process/psmisc: Sync with Gentoo

It's from Gentoo commit 066bbfa9e69dec6d916954a03167d4f126cd681e.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-03-02 07:30:16 +00:00 committed by Krzesimir Nowak
parent 11551eef3d
commit 43f58e9327
2 changed files with 10 additions and 4 deletions

View File

@ -1,2 +1,3 @@
DIST psmisc-23.6.tar.xz 424736 BLAKE2B 468bf4e84695efcedb832f890b6201b7bc4aca7c5aabaf30e67f4471671421897ee7cd67f01d4b3d60c3e1c63752eb7384e627e75fa7db290cd749da08e2f788 SHA512 4daffbd1726e50d9344f8578dd4c10f0b8f7971929ec667490de31122e5f3828747e1bafb3ed3c37ed7e1758ab9ec43b8f4556b676a416a8efbc7c6c88b6985d
DIST psmisc-23.7.tar.xz 432208 BLAKE2B 5064f929bf320c3fe91d3e665479dcb0913b12f4dddd23e49e296509f89e29b5d147b411c33cca9892a43d955c8e431bccf00872ae86a9c9d2545295f05b69d7 SHA512 8180d24355b3b0f3102044916d078b1aa9a1af3d84f1e14db79e33e505390167012adbb1a8a5f47a692f3a14aba1eb5f1f8f37f328392e8635b89966af9b2128
DIST psmisc-23.7.tar.xz.asc 833 BLAKE2B 3cff09b133cbf134c66a8bfbd2a18f8b051b29e922609f9e7ad590a215d9237c33f22652df3103ba47afb562cb5e0f8824a754bb6c649b020281ab71eee7dd22 SHA512 fa604ead8ed17b114ad6d1cfeddf23b1f05c7f3544b7be6bea0db9424d1b7a2782be8624fdb6e9ba6a47e5f1185908a2ea2d2e3de93fc0ce1c63b6c56cf0e16c

View File

@ -1,13 +1,17 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/craigsmall.asc
inherit toolchain-funcs verify-sig
DESCRIPTION="A set of tools that use the proc filesystem"
HOMEPAGE="http://psmisc.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz"
SRC_URI="
https://downloads.sourceforge.net/${PN}/${P}.tar.xz
verify-sig? ( https://downloads.sourceforge.net/${PN}/${P}.tar.xz.asc )
"
LICENSE="GPL-2+"
SLOT="0"
@ -27,13 +31,14 @@ BDEPEND="
>=dev-build/libtool-2.2.6b
nls? ( sys-devel/gettext )
test? ( dev-util/dejagnu )
verify-sig? ( sec-keys/openpgp-keys-craigsmall )
"
DOCS=( AUTHORS ChangeLog NEWS README )
src_configure() {
if tc-is-cross-compiler ; then
# This isn't ideal but upstream don't provide a placement
# This isn't ideal but upstream don't provide a replacement
# when malloc is missing anyway, leading to errors like:
# pslog.c:(.text.startup+0x108): undefined reference to `rpl_malloc'
# See https://sourceforge.net/p/psmisc/bugs/71/