summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Torre <torreemanuele6@gmail.com>2024-10-12 17:30:00 +0200
committerMike Gilbert <floppym@gentoo.org>2024-12-08 18:26:33 -0500
commitdc018bdc20e86b9ccb73cdb45a310b98c3893945 (patch)
tree2e03fb75541447ca3af775533ec71fdd10549644 /sys-process/procps
parentsys-apps/systemd-utils: build in release mode (diff)
downloadgentoo-dc018bdc20e86b9ccb73cdb45a310b98c3893945.tar.gz
gentoo-dc018bdc20e86b9ccb73cdb45a310b98c3893945.tar.bz2
gentoo-dc018bdc20e86b9ccb73cdb45a310b98c3893945.zip
sys-process/procps: add "skill" USE flag
This controls installation "skill" and "snice" commands, which can be useful for interactive process management. Signed-off-by: Emanuele Torre <torreemanuele6@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38955 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-process/procps')
-rw-r--r--sys-process/procps/metadata.xml1
-rw-r--r--sys-process/procps/procps-4.0.4-r2.ebuild (renamed from sys-process/procps/procps-4.0.4-r1.ebuild)3
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-process/procps/metadata.xml b/sys-process/procps/metadata.xml
index 7994767907f5..71e073e25d47 100644
--- a/sys-process/procps/metadata.xml
+++ b/sys-process/procps/metadata.xml
@@ -10,6 +10,7 @@
<flag name="kill">Build the kill program</flag>
<flag name="modern-top">Enables new startup defaults of top. Keeps old defaults if disabled</flag>
<flag name="ncurses">Build programs that use ncurses: top, slabtop, watch</flag>
+ <flag name="skill">Build the skill and snice programs</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:procps_project:procps</remote-id>
diff --git a/sys-process/procps/procps-4.0.4-r1.ebuild b/sys-process/procps/procps-4.0.4-r2.ebuild
index 87476649517d..1bfcf8898bdd 100644
--- a/sys-process/procps/procps-4.0.4-r1.ebuild
+++ b/sys-process/procps/procps-4.0.4-r2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-ng-${PV}
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+"
SLOT="0/0-ng"
KEYWORDS="~alpha amd64 arm arm64 hppa ~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 skill systemd test unicode"
RESTRICT="!test? ( test )"
DEPEND="
@@ -77,6 +77,7 @@ multilib_src_configure() {
$(use_enable selinux libselinux)
$(use_enable static-libs static)
$(use_with systemd)
+ $(use_enable skill)
)
if use ncurses; then