All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/kmon: new package
@ 2024-05-12  7:44 Yu Chien Peter Lin via buildroot
  2024-07-14 16:11 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Yu Chien Peter Lin via buildroot @ 2024-05-12  7:44 UTC (permalink / raw)
  To: buildroot; +Cc: Yu Chien Peter Lin

Add Kmon, a Rust-based, text-UI tool for managing Linux kernel
modules and monitoring kernel activities, providing a single
interface for various tools like dmesg and kmod.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
---
 package/Config.in      |  1 +
 package/kmon/Config.in |  9 +++++++++
 package/kmon/kmon.hash |  4 ++++
 package/kmon/kmon.mk   | 12 ++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/kmon/Config.in
 create mode 100644 package/kmon/kmon.hash
 create mode 100644 package/kmon/kmon.mk

diff --git a/package/Config.in b/package/Config.in
index 0c17154877..f17547775e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2753,6 +2753,7 @@ menu "System tools"
 	source "package/jailhouse/Config.in"
 	source "package/keyutils/Config.in"
 	source "package/kmod/Config.in"
+	source "package/kmon/Config.in"
 	source "package/kvmtool/Config.in"
 	source "package/libostree/Config.in"
 	source "package/libvirt/Config.in"
diff --git a/package/kmon/Config.in b/package/kmon/Config.in
new file mode 100644
index 0000000000..7c56f387fa
--- /dev/null
+++ b/package/kmon/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_KMON
+	bool "kmon"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	select BR2_PACKAGE_HOST_RUSTC
+	help
+	  kmon provides a terminal UI for managing kernel modules
+	  and monitoring kernel activities.
+
+	  https://github.com/orhun/kmon
diff --git a/package/kmon/kmon.hash b/package/kmon/kmon.hash
new file mode 100644
index 0000000000..87b7ab5986
--- /dev/null
+++ b/package/kmon/kmon.hash
@@ -0,0 +1,4 @@
+# Locally calculated
+sha256  bc2d495bfca48cdfe4d4e3cab1dafd887ebbca9310a99613182b4f26c530acc5  kmon-v1.6.5.tar.gz
+sha256  f1d7ca1381b10a10523fbde322ffcd54245328b1b442a9d3e348c800279a29de  kmon-v1.6.5-cargo2.tar.gz
+sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  LICENSE
diff --git a/package/kmon/kmon.mk b/package/kmon/kmon.mk
new file mode 100644
index 0000000000..5208124223
--- /dev/null
+++ b/package/kmon/kmon.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# kmon
+#
+################################################################################
+
+KMON_VERSION = v1.6.5
+KMON_SITE = $(call github,orhun,kmon,$(KMON_VERSION))
+KMON_LICENSE = GPL-3.0
+KMON_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-14 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-12  7:44 [Buildroot] [PATCH] package/kmon: new package Yu Chien Peter Lin via buildroot
2024-07-14 16:11 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.