mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-process/htop: add dev-debug/strace optfeature
Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/16 Merges: https://codeberg.org/gentoo/gentoo/pulls/16 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -101,6 +101,7 @@ pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
|
||||
optfeature "Viewing processes accessing certain files" sys-process/lsof
|
||||
optfeature "Tracing system calls and signals of processes" dev-debug/strace
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -97,6 +97,7 @@ pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
|
||||
optfeature "Viewing processes accessing certain files" sys-process/lsof
|
||||
optfeature "Tracing system calls and signals of processes" dev-debug/strace
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -100,6 +100,7 @@ pkg_postinst() {
|
||||
fcaps -m '' cap_sys_ptrace usr/bin/htop
|
||||
|
||||
optfeature "Viewing processes accessing certain files" sys-process/lsof
|
||||
optfeature "Tracing system calls and signals of processes" dev-debug/strace
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -100,6 +100,7 @@ pkg_postinst() {
|
||||
fcaps -m '' cap_sys_ptrace usr/bin/htop
|
||||
|
||||
optfeature "Viewing processes accessing certain files" sys-process/lsof
|
||||
optfeature "Tracing system calls and signals of processes" dev-debug/strace
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
Reference in New Issue
Block a user