diff --git a/net/Makefile b/net/Makefile --- a/net/Makefile +++ b/net/Makefile @@ -1456,6 +1456,7 @@ SUBDIR += tcpwatch SUBDIR += tcpxd SUBDIR += tcpxtract + SUBDIR += td-system-tools SUBDIR += tdetect SUBDIR += termshark SUBDIR += tftpgrab diff --git a/net/td-system-tools/Makefile b/net/td-system-tools/Makefile new file mode 100644 --- /dev/null +++ b/net/td-system-tools/Makefile @@ -0,0 +1,19 @@ +# Created by: Thomas Dreibholz + +PORTNAME= td-system-tools +PORTVERSION= 1.2.0 +CATEGORIES= net +MASTER_SITES= https://www.uni-due.de/~be0001/system-tools/download/ + +MAINTAINER= dreibh@iem.uni-due.de +COMMENT= Printing basic system information and system maintenance + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= bash:shells/bash + +USES= cmake tar:xz +CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man + +.include diff --git a/net/td-system-tools/distinfo b/net/td-system-tools/distinfo new file mode 100644 --- /dev/null +++ b/net/td-system-tools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1620067262 +SHA256 (td-system-tools-1.2.0.tar.xz) = 974a3d7b49d7b95f4d968aa8cf3e5e3caaf7121572aeed3e09ec52f44c975716 +SIZE (td-system-tools-1.2.0.tar.xz) = 115544 diff --git a/net/td-system-tools/pkg-descr b/net/td-system-tools/pkg-descr new file mode 100644 --- /dev/null +++ b/net/td-system-tools/pkg-descr @@ -0,0 +1,17 @@ +This package contains programs for printing basic system +information and for system maintenance. +System-Info displays basic status information about the +system: hostname, uptime, CPU, memory statistics, disk +space statistics, SSH public key hashes, and networking +information. Furthermore, it can be configured to show +one or more banners (for example, a project name). +System-Info can be configured to be automatically run when +logging in, providing the user an up-to-date overview of +the system. +System-Maintenance runs basic system maintenance tasks: +trying to repair broken package management, updating the +package management databases, installing all available +updates, checking for old kernels and removing them, trim +SSD or unmap unused storage. + +WWW: https://www.uni-due.de/~be0001/system-tools/ diff --git a/net/td-system-tools/pkg-plist b/net/td-system-tools/pkg-plist new file mode 100644 --- /dev/null +++ b/net/td-system-tools/pkg-plist @@ -0,0 +1,10 @@ +bin/System-Info +bin/System-Maintenance +bin/configure-grub +share/man/man1/System-Info.1.gz +share/man/man1/System-Maintenance.1.gz +share/man/man1/configure-grub.1.gz +etc/system-info.d/01-example +etc/system-maintenance.d/XX-example +share/configure-grub/grub-defaults-nornet +share/configure-grub/grub-defaults-standard