sys-process/procps: Sync with Gentoo

It's from Gentoo commit 260b3d10b0781a588e3fb6fef1fc2f7b871ce329.
This commit is contained in:
Flatcar Buildbot 2024-07-01 07:19:43 +00:00 committed by Mathieu Tortuyaux
parent 835bf047ff
commit 07a527cd1a
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
3 changed files with 22 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
@ -9,7 +9,7 @@ inherit flag-o-matic multilib-minimal usr-ldscript
DESCRIPTION="Standard informational utilities and process-handling tools" DESCRIPTION="Standard informational utilities and process-handling tools"
HOMEPAGE="http://procps-ng.sourceforge.net/ https://gitlab.com/procps-ng/procps" HOMEPAGE="http://procps-ng.sourceforge.net/ https://gitlab.com/procps-ng/procps"
SRC_URI="mirror://sourceforge/${PN}-ng/${PN}-ng-${PV}.tar.xz" SRC_URI="https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0/8" # libprocps.so SLOT="0/8" # libprocps.so

View File

@ -9,13 +9,13 @@ DESCRIPTION="Standard informational utilities and process-handling tools"
HOMEPAGE="https://gitlab.com/procps-ng/procps" HOMEPAGE="https://gitlab.com/procps-ng/procps"
# Per e.g. https://gitlab.com/procps-ng/procps/-/releases/v4.0.4, the dist tarballs # Per e.g. https://gitlab.com/procps-ng/procps/-/releases/v4.0.4, the dist tarballs
# are still hosted on SF. # are still hosted on SF.
SRC_URI="mirror://sourceforge/${PN}-ng/${PN}-ng-${PV}.tar.xz" SRC_URI="https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz"
S="${WORKDIR}"/${PN}-ng-${PV} S="${WORKDIR}"/${PN}-ng-${PV}
# See bug #913210 # See bug #913210
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+" LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+"
SLOT="0/0-ng" SLOT="0/0-ng"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test unicode" IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test unicode"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
@ -88,8 +88,14 @@ multilib_src_configure() {
} }
multilib_src_test() { multilib_src_test() {
local ps="${BUILD_DIR}/src/ps/pscommand"
if [[ $("${ps}" --no-headers -o cls -q $$) == IDL ]]; then
# bug 708230
ewarn "Skipping tests due to SCHED_IDLE"
else
# bug #461302 # bug #461302
emake check </dev/null emake check </dev/null
fi
} }
multilib_src_install() { multilib_src_install() {

View File

@ -9,13 +9,13 @@ DESCRIPTION="Standard informational utilities and process-handling tools"
HOMEPAGE="https://gitlab.com/procps-ng/procps" HOMEPAGE="https://gitlab.com/procps-ng/procps"
# Per e.g. https://gitlab.com/procps-ng/procps/-/releases/v4.0.4, the dist tarballs # Per e.g. https://gitlab.com/procps-ng/procps/-/releases/v4.0.4, the dist tarballs
# are still hosted on SF. # are still hosted on SF.
SRC_URI="mirror://sourceforge/${PN}-ng/${PN}-ng-${PV}.tar.xz" SRC_URI="https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz"
S="${WORKDIR}"/${PN}-ng-${PV} S="${WORKDIR}"/${PN}-ng-${PV}
# See bug #913210 # See bug #913210
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+" LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+"
SLOT="0/0-ng" SLOT="0/0-ng"
KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test unicode" IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test unicode"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
@ -88,8 +88,14 @@ multilib_src_configure() {
} }
multilib_src_test() { multilib_src_test() {
local ps="${BUILD_DIR}/src/ps/pscommand"
if [[ $("${ps}" --no-headers -o cls -q $$) == IDL ]]; then
# bug 708230
ewarn "Skipping tests due to SCHED_IDLE"
else
# bug #461302 # bug #461302
emake check </dev/null emake check </dev/null
fi
} }
multilib_src_install() { multilib_src_install() {