From e940ec95e01c2bc015ba384774bf8428119580a8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 20 Apr 2022 22:01:02 +0200 Subject: [PATCH] package/wtfutil: new package Some of wtfutils modules (i.e. plugins) can call to external tools, so it needs to fork(), so needs an MMU. Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/wtfutil/Config.in | 8 ++++++++ package/wtfutil/wtfutil.hash | 2 ++ package/wtfutil/wtfutil.mk | 12 ++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 package/wtfutil/Config.in create mode 100644 package/wtfutil/wtfutil.hash create mode 100644 package/wtfutil/wtfutil.mk diff --git a/package/Config.in b/package/Config.in index 24f7af5ea8..bee1590e85 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2499,6 +2499,7 @@ comment "Utilities" source "package/tmux/Config.in" source "package/ttyd/Config.in" source "package/which/Config.in" + source "package/wtfutil/Config.in" source "package/xmlstarlet/Config.in" source "package/xxhash/Config.in" source "package/ytree/Config.in" diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in new file mode 100644 index 0000000000..8c3efcea5d --- /dev/null +++ b/package/wtfutil/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_WTFUTIL + bool "wtfutil" + depends on BR2_USE_MMU # fork() + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + help + WTF is the personal information dashboard for your terminal. + + https://wtfutil.com/ diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash new file mode 100644 index 0000000000..deb162794e --- /dev/null +++ b/package/wtfutil/wtfutil.hash @@ -0,0 +1,2 @@ +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk new file mode 100644 index 0000000000..6e841411a9 --- /dev/null +++ b/package/wtfutil/wtfutil.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# wtfutil +# +################################################################################ + +WTFUTIL_VERSION = 0.41.0 +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION)) +WTFUTIL_LICENSE = MPL-2.0 +WTFUTIL_LICENSE_FILES = LICENSE.md + +$(eval $(golang-package))