From 4b9535acc08a56baed21e17770a5de93905fce85 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Fri, 7 Aug 2020 09:33:11 +0000 Subject: [PATCH] Add sysutils/bashtop, Linux/OSX/FreeBSD resource monitor --- sysutils/Makefile | 1 + sysutils/bashtop/Makefile | 27 +++++++++++++++++++++++++++ sysutils/bashtop/distinfo | 3 +++ sysutils/bashtop/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) create mode 100644 sysutils/bashtop/Makefile create mode 100644 sysutils/bashtop/distinfo create mode 100644 sysutils/bashtop/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index f64c5e58855c..9761c12ebb6f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -95,6 +95,7 @@ SUBDIR += bareos18-server SUBDIR += bareos18-traymonitor SUBDIR += barrier + SUBDIR += bashtop SUBDIR += bastille SUBDIR += batmon SUBDIR += battmond diff --git a/sysutils/bashtop/Makefile b/sysutils/bashtop/Makefile new file mode 100644 index 000000000000..3a2271fe5bbe --- /dev/null +++ b/sysutils/bashtop/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= bashtop +DISTVERSION= 0.9.25 +CATEGORIES= sysutils + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Linux/OSX/FreeBSD resource monitor + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= coreutils>0:sysutils/coreutils \ + gsed:textproc/gsed + +USES= python:3.5+,run + +USE_GITHUB= yes +GH_ACCOUNT= aristocratos +GH_TAGNAME= d2eb76e + +PLIST_FILES= bin/bashtop + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bashtop ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/sysutils/bashtop/distinfo b/sysutils/bashtop/distinfo new file mode 100644 index 000000000000..f6c98da4d6f4 --- /dev/null +++ b/sysutils/bashtop/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1596792173 +SHA256 (aristocratos-bashtop-0.9.25-d2eb76e_GH0.tar.gz) = 39549e1a7c586bd2c02a9650b0ba79b10d5dcab9287df596ebab0f57922fcec4 +SIZE (aristocratos-bashtop-0.9.25-d2eb76e_GH0.tar.gz) = 453955 diff --git a/sysutils/bashtop/pkg-descr b/sysutils/bashtop/pkg-descr new file mode 100644 index 000000000000..d2243e72b2ab --- /dev/null +++ b/sysutils/bashtop/pkg-descr @@ -0,0 +1,4 @@ +Resource monitor that shows usage and stats for processor, memory, disks, +network and processes. + +WWW: https://github.com/aristocratos/bashtop