From a13c6c707bcfdb60751428544bd316979470a914 Mon Sep 17 00:00:00 2001 From: Saeed Kazemi Date: Mon, 2 Oct 2023 00:08:41 +0200 Subject: [PATCH] package/procs: new package procs is a modern replacement for ps written in Rust https://github.com/dalance/procs.git Signed-off-by: Saeed Kazemi Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/procs/Config.in | 8 ++++++++ package/procs/procs.hash | 3 +++ package/procs/procs.mk | 12 ++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/procs/Config.in create mode 100644 package/procs/procs.hash create mode 100644 package/procs/procs.mk diff --git a/DEVELOPERS b/DEVELOPERS index de4cd7168e..019516396e 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2634,6 +2634,9 @@ F: package/agent-proxy/ N: Ryan Wilkins F: package/biosdevname/ +N: Saeed Kazemi +F: package/procs/ + N: Sam Lancia F: package/lrzip/ diff --git a/package/Config.in b/package/Config.in index 7e2fccc8b1..9a189a2183 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2733,6 +2733,7 @@ menu "System tools" source "package/powerpc-utils/Config.in" source "package/procps-ng/Config.in" source "package/procrank_linux/Config.in" + source "package/procs/Config.in" source "package/psmisc/Config.in" source "package/pwgen/Config.in" source "package/quota/Config.in" diff --git a/package/procs/Config.in b/package/procs/Config.in new file mode 100644 index 0000000000..946fa68c63 --- /dev/null +++ b/package/procs/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PROCS + bool "procs" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + procs is a modern replacement for ps written in Rust + + https://github.com/dalance/procs.git diff --git a/package/procs/procs.hash b/package/procs/procs.hash new file mode 100644 index 0000000000..1c2fb5c3d5 --- /dev/null +++ b/package/procs/procs.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 643b7ba4b769ee9f336d441ecdac779c3d52e5719a15c14bb0acb3609ce1cd99 procs-0.14.0.tar.gz +sha256 feb87a2e0c305de3464cc44077da5393c52d8ca6362d37427157d04ec6f4510d LICENSE diff --git a/package/procs/procs.mk b/package/procs/procs.mk new file mode 100644 index 0000000000..a074ee1311 --- /dev/null +++ b/package/procs/procs.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# procs +# +################################################################################ + +PROCS_VERSION = 0.14.0 +PROCS_SITE = $(call github,dalance,procs,v$(PROCS_VERSION)) +PROCS_LICENSE = MIT +PROCS_LICENSE_FILES = LICENSE + +$(eval $(cargo-package))