1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

net/td-system-tools: Update 2.4.2 => 2.6.4

While here, populate OPTIONS and update COMMENT.

Changelog:
https://github.com/dreibh/system-tools/blob/td-system-tools-2.6.4/ChangeLog
Commit log:
https://github.com/dreibh/system-tools/compare/td-system-tools-2.4.2...td-system-tools-2.6.4

PR:		295527
Reported by:	Thomas Dreibholz <thomas.dreibholz@gmail.com> (maintainer)
Approved by:	osa, vvd (Mentors, implicit)
This commit is contained in:
Thomas Dreibholz
2026-05-26 13:36:02 +03:00
committed by Yusuf Yaman
parent 8d97a2c025
commit d50ae0c539
4 changed files with 181 additions and 115 deletions
+46 -2
View File
@@ -1,10 +1,10 @@
PORTNAME= td-system-tools
DISTVERSION= 2.4.2
DISTVERSION= 2.6.4
CATEGORIES= net
MASTER_SITES= https://www.nntb.no/~dreibh/system-tools/download/
MAINTAINER= thomas.dreibholz@gmail.com
COMMENT= Printing basic system information and system maintenance
COMMENT= Tools for basic system management and maintenance
WWW= https://www.nntb.no/~dreibh/system-tools/
LICENSE= GPLv3+
@@ -21,4 +21,48 @@ SHEBANG_FILES= src/X509/generate-test-certificates
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man
CFLAGS+= -std=c23
OPTIONS_DEFINE= I18N \
SYSTEM_INFO \
SYSTEM_MAINTENANCE \
PRINT_UTF8 \
TEXT_BLOCK \
FINGERPRINT_SSH_KEYS \
CONFIGURE_GRUB \
RESET_MACHINE_ID \
TRY_HARD \
RANDOM_SLEEP \
UNIX_TIMESTAMP_TOOLS \
X509_TOOLS
OPTIONS_DEFAULT=${OPTIONS_DEFINE:NCONFIGURE_GRUB}
OPTIONS_SUB= yes
CONFIGURE_GRUB_DESC= Include Configure-GRUB
FINGERPRINT_SSH_KEYS_DESC= Include Fingerprint-SSH-Keys
I18N_DESC= Build with Internationalization (i18n) support
PRINT_UTF8_DESC= Include Print-UTF8
RANDOM_SLEEP_DESC= Include Random-Sleep
RESET_MACHINE_ID_DESC= Include Reset-Machine-ID
SYSTEM_INFO_DESC= Include System-Info
SYSTEM_MAINTENANCE_DESC= Include System-Maintenance
TEXT_BLOCK_DESC= Include Text-Block
TRY_HARD_DESC= Include Try-Hard
UNIX_TIMESTAMP_TOOLS_DESC= Include Unix-Timestamp Tools
X509_TOOLS_DESC= Include X.509 Tools
CONFIGURE_GRUB_CMAKE_BOOL= WITH_CONFIGURE_GRUB
FINGERPRINT_SSH_KEYS_CMAKE_BOOL= WITH_FINGERPRINT_SSH_KEYS
I18N_CMAKE_BOOL= WITH_I18N
PRINT_UTF8_CMAKE_BOOL= WITH_PRINT_UTF8
RANDOM_SLEEP_CMAKE_BOOL= WITH_RANDOM_SLEEP
RESET_MACHINE_ID_CMAKE_BOOL= WITH_RESET_MACHINE_ID
SYSTEM_INFO_CMAKE_BOOL= WITH_SYSTEM_INFO
SYSTEM_MAINTENANCE_CMAKE_BOOL= WITH_SYSTEM_MAINTENANCE
TEXT_BLOCK_CMAKE_BOOL= WITH_TEXT_BLOCK
TRY_HARD_CMAKE_BOOL= WITH_TRY_HARD
UNIX_TIMESTAMP_TOOLS_CMAKE_BOOL= WITH_UNIX_TIMESTAMP_TOOLS
X509_TOOLS_CMAKE_BOOL= WITH_X509_TOOLS
.include <bsd.port.mk>
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1777234073
SHA256 (td-system-tools-2.4.2.tar.xz) = 689a6e653d9f3c343ff1969cb10a2342e578b3d63e708f96edb61ec030f228d1
SIZE (td-system-tools-2.4.2.tar.xz) = 1024636
TIMESTAMP = 1779564711
SHA256 (td-system-tools-2.6.4.tar.xz) = f3641359bd1a70cbe84df924f0cc89edd390a85f33b17a4e4993a9ab2c727d77
SIZE (td-system-tools-2.6.4.tar.xz) = 1056956
+27 -15
View File
@@ -1,15 +1,27 @@
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.
System-Tools is a collection of utilities for system management and
maintenance.
The package includes:
- System-Info: Displays system status (CPU, memory, storage, network)
and configurable login banners.
- System-Maintenance: Automates package updates, old kernel removal,
and storage cleanup (e.g., SSD trimming).
- Reset-Machine-ID: Resets machine IDs, hostnames, and SSH keys for
cloned machines.
- Fingerprint-SSH-Keys: Shows the machine's SSH public key fingerprints
in different formats.
- Configure-GRUB: Configures options for the GRUB boot loader.
- Print-UTF8: Prints UTF-8 text with options for centering,
adjusting, etc.
- Text-Block: Edits files or streams by inserting, replacing, or
removing text blocks.
- Unix-Timestamp-Tools: Convert Unix timestamps (s, ms, us, ns) to
and from date/time strings.
- Try-Hard: Retries commands with a configurable backoff.
- Random-Sleep: Waits for a random time span, with support for
fractional seconds.
- X.509-Tools: Provide utilities for viewing, verifying, and
converting X.509 certificates, and testing TLS connections.
The utilities are suitable for non-interactive use in shell scripts and
feature native internationalization support via GNU gettext.
+105 -95
View File
@@ -1,95 +1,105 @@
bin/Fingerprint-SSH-Keys
bin/Reset-Machine-ID
bin/System-Info
bin/System-Maintenance
bin/check-certificate
bin/configure-grub
bin/der2pem
bin/extract-pem
bin/get-system-info
bin/pem2der
bin/print-utf8
bin/random-sleep
bin/test-tls-connection
bin/text-block
bin/try-hard
bin/view-certificate
bin/view-crl
etc/profile.d/system-info.csh
etc/profile.d/system-info.sh
etc/system-info.d/01-example
etc/system-info.d/banner-helper
etc/system-maintenance.d/XX-example
share/System-Info/01-example
share/System-Info/09-hostname-example
share/System-Info/10-company-logo-example
share/System-Info/banner-helper
share/bash-completion/completions/Fingerprint-SSH-Keys
share/bash-completion/completions/Reset-Machine-ID
share/bash-completion/completions/System-Info
share/bash-completion/completions/System-Maintenance
share/bash-completion/completions/check-certificate
share/bash-completion/completions/configure-grub
share/bash-completion/completions/der2pem
share/bash-completion/completions/extract-pem
share/bash-completion/completions/get-system-info
share/bash-completion/completions/pem2der
share/bash-completion/completions/print-utf8
share/bash-completion/completions/random-sleep
share/bash-completion/completions/test-tls-connection
share/bash-completion/completions/text-block
share/bash-completion/completions/try-hard
share/bash-completion/completions/view-certificate
share/bash-completion/completions/view-crl
share/configure-grub/grub-defaults-nornet
share/configure-grub/grub-defaults-standard
share/locale/de/LC_MESSAGES/Fingerprint-SSH-Keys.mo
share/locale/de/LC_MESSAGES/Reset-Machine-ID.mo
share/locale/de/LC_MESSAGES/System-Info.mo
share/locale/de/LC_MESSAGES/System-Maintenance.mo
share/locale/de/LC_MESSAGES/check-certificate.mo
share/locale/de/LC_MESSAGES/extract-pem.mo
share/locale/de/LC_MESSAGES/print-utf8.mo
share/locale/de/LC_MESSAGES/random-sleep.mo
share/locale/de/LC_MESSAGES/test-tls-connection.mo
share/locale/de/LC_MESSAGES/text-block.mo
share/locale/de/LC_MESSAGES/try-hard.mo
share/locale/de/LC_MESSAGES/view-certificate.mo
share/locale/de/LC_MESSAGES/view-crl.mo
share/locale/nb/LC_MESSAGES/Fingerprint-SSH-Keys.mo
share/locale/nb/LC_MESSAGES/Reset-Machine-ID.mo
share/locale/nb/LC_MESSAGES/System-Info.mo
share/locale/nb/LC_MESSAGES/System-Maintenance.mo
share/locale/nb/LC_MESSAGES/check-certificate.mo
share/locale/nb/LC_MESSAGES/extract-pem.mo
share/locale/nb/LC_MESSAGES/print-utf8.mo
share/locale/nb/LC_MESSAGES/random-sleep.mo
share/locale/nb/LC_MESSAGES/test-tls-connection.mo
share/locale/nb/LC_MESSAGES/text-block.mo
share/locale/nb/LC_MESSAGES/try-hard.mo
share/locale/nb/LC_MESSAGES/view-certificate.mo
share/locale/nb/LC_MESSAGES/view-crl.mo
share/man/man1/Fingerprint-SSH-Keys.1.gz
share/man/man1/Reset-Machine-ID.1.gz
share/man/man1/System-Info.1.gz
share/man/man1/System-Maintenance.1.gz
share/man/man1/check-certificate.1.gz
share/man/man1/configure-grub.1.gz
share/man/man1/der2pem.1.gz
share/man/man1/extract-pem.1.gz
share/man/man1/get-system-info.1.gz
share/man/man1/pem2der.1.gz
share/man/man1/print-utf8.1.gz
share/man/man1/random-sleep.1.gz
share/man/man1/test-tls-connection.1.gz
share/man/man1/text-block.1.gz
share/man/man1/try-hard.1.gz
share/man/man1/view-certificate.1.gz
share/man/man1/view-crl.1.gz
share/system-tools/CertificateHelper.py
share/system-tools/generate-test-certificates
share/system-tools/make-test-certificates
share/text-block/example1.txt
share/text-block/example2.txt
share/text-block/insert.txt
share/text-block/numbers.txt
%%FINGERPRINT_SSH_KEYS%%bin/Fingerprint-SSH-Keys
%%RESET_MACHINE_ID%%bin/Reset-Machine-ID
%%SYSTEM_INFO%%bin/System-Info
%%SYSTEM_MAINTENANCE%%bin/System-Maintenance
%%X509_TOOLS%%bin/check-certificate
%%CONFIGURE_GRUB%%bin/configure-grub
%%X509_TOOLS%%bin/der2pem
%%X509_TOOLS%%bin/extract-pem
%%SYSTEM_INFO%%bin/get-system-info
%%X509_TOOLS%%bin/pem2der
%%PRINT_UTF8%%bin/print-utf8
%%RANDOM_SLEEP%%bin/random-sleep
%%X509_TOOLS%%bin/test-tls-connection
%%TEXT_BLOCK%%bin/text-block
%%UNIX_TIMESTAMP_TOOLS%%bin/time2unixts
%%TRY_HARD%%bin/try-hard
%%UNIX_TIMESTAMP_TOOLS%%bin/unixts2time
%%X509_TOOLS%%bin/view-certificate
%%X509_TOOLS%%bin/view-crl
%%SYSTEM_INFO%%etc/profile.d/system-info.csh
%%SYSTEM_INFO%%etc/profile.d/system-info.sh
%%SYSTEM_INFO%%etc/system-info.d/01-example
%%SYSTEM_INFO%%etc/system-info.d/banner-helper
%%SYSTEM_MAINTENANCE%%etc/system-maintenance.d/XX-example
%%SYSTEM_INFO%%share/System-Info/01-example
%%SYSTEM_INFO%%share/System-Info/09-hostname-example
%%SYSTEM_INFO%%share/System-Info/10-company-logo-example
%%SYSTEM_INFO%%share/System-Info/banner-helper
%%FINGERPRINT_SSH_KEYS%%share/bash-completion/completions/Fingerprint-SSH-Keys
%%RESET_MACHINE_ID%%share/bash-completion/completions/Reset-Machine-ID
%%SYSTEM_INFO%%share/bash-completion/completions/System-Info
%%SYSTEM_MAINTENANCE%%share/bash-completion/completions/System-Maintenance
%%X509_TOOLS%%share/bash-completion/completions/check-certificate
%%CONFIGURE_GRUB%%share/bash-completion/completions/configure-grub
%%X509_TOOLS%%share/bash-completion/completions/der2pem
%%X509_TOOLS%%share/bash-completion/completions/extract-pem
%%SYSTEM_INFO%%share/bash-completion/completions/get-system-info
%%X509_TOOLS%%share/bash-completion/completions/pem2der
%%PRINT_UTF8%%share/bash-completion/completions/print-utf8
%%RANDOM_SLEEP%%share/bash-completion/completions/random-sleep
%%X509_TOOLS%%share/bash-completion/completions/test-tls-connection
%%TEXT_BLOCK%%share/bash-completion/completions/text-block
%%UNIX_TIMESTAMP_TOOLS%%share/bash-completion/completions/time2unixts
%%TRY_HARD%%share/bash-completion/completions/try-hard
%%UNIX_TIMESTAMP_TOOLS%%share/bash-completion/completions/unixts2time
%%X509_TOOLS%%share/bash-completion/completions/view-certificate
%%X509_TOOLS%%share/bash-completion/completions/view-crl
%%CONFIGURE_GRUB%%share/configure-grub/grub-defaults-nornet
%%CONFIGURE_GRUB%%share/configure-grub/grub-defaults-standard
%%I18N%%%%FINGERPRINT_SSH_KEYS%%share/locale/de/LC_MESSAGES/Fingerprint-SSH-Keys.mo
%%I18N%%%%RESET_MACHINE_ID%%share/locale/de/LC_MESSAGES/Reset-Machine-ID.mo
%%I18N%%%%SYSTEM_INFO%%share/locale/de/LC_MESSAGES/System-Info.mo
%%I18N%%%%SYSTEM_MAINTENANCE%%share/locale/de/LC_MESSAGES/System-Maintenance.mo
%%I18N%%%%X509_TOOLS%%share/locale/de/LC_MESSAGES/check-certificate.mo
%%I18N%%%%X509_TOOLS%%share/locale/de/LC_MESSAGES/extract-pem.mo
%%I18N%%%%PRINT_UTF8%%share/locale/de/LC_MESSAGES/print-utf8.mo
%%I18N%%%%RANDOM_SLEEP%%share/locale/de/LC_MESSAGES/random-sleep.mo
%%I18N%%%%X509_TOOLS%%share/locale/de/LC_MESSAGES/test-tls-connection.mo
%%I18N%%%%TEXT_BLOCK%%share/locale/de/LC_MESSAGES/text-block.mo
%%I18N%%%%UNIX_TIMESTAMP_TOOLS%%share/locale/de/LC_MESSAGES/time2unixts.mo
%%I18N%%%%TRY_HARD%%share/locale/de/LC_MESSAGES/try-hard.mo
%%I18N%%%%UNIX_TIMESTAMP_TOOLS%%share/locale/de/LC_MESSAGES/unixts2time.mo
%%I18N%%%%X509_TOOLS%%share/locale/de/LC_MESSAGES/view-certificate.mo
%%I18N%%%%X509_TOOLS%%share/locale/de/LC_MESSAGES/view-crl.mo
%%I18N%%%%FINGERPRINT_SSH_KEYS%%share/locale/nb/LC_MESSAGES/Fingerprint-SSH-Keys.mo
%%I18N%%%%RESET_MACHINE_ID%%share/locale/nb/LC_MESSAGES/Reset-Machine-ID.mo
%%I18N%%%%SYSTEM_INFO%%share/locale/nb/LC_MESSAGES/System-Info.mo
%%I18N%%%%SYSTEM_MAINTENANCE%%share/locale/nb/LC_MESSAGES/System-Maintenance.mo
%%I18N%%%%X509_TOOLS%%share/locale/nb/LC_MESSAGES/check-certificate.mo
%%I18N%%%%X509_TOOLS%%share/locale/nb/LC_MESSAGES/extract-pem.mo
%%I18N%%%%PRINT_UTF8%%share/locale/nb/LC_MESSAGES/print-utf8.mo
%%I18N%%%%RANDOM_SLEEP%%share/locale/nb/LC_MESSAGES/random-sleep.mo
%%I18N%%%%X509_TOOLS%%share/locale/nb/LC_MESSAGES/test-tls-connection.mo
%%I18N%%%%TEXT_BLOCK%%share/locale/nb/LC_MESSAGES/text-block.mo
%%I18N%%%%UNIX_TIMESTAMP_TOOLS%%share/locale/nb/LC_MESSAGES/time2unixts.mo
%%I18N%%%%TRY_HARD%%share/locale/nb/LC_MESSAGES/try-hard.mo
%%I18N%%%%UNIX_TIMESTAMP_TOOLS%%share/locale/nb/LC_MESSAGES/unixts2time.mo
%%I18N%%%%X509_TOOLS%%share/locale/nb/LC_MESSAGES/view-certificate.mo
%%I18N%%%%X509_TOOLS%%share/locale/nb/LC_MESSAGES/view-crl.mo
%%FINGERPRINT_SSH_KEYS%%share/man/man1/Fingerprint-SSH-Keys.1.gz
%%RESET_MACHINE_ID%%share/man/man1/Reset-Machine-ID.1.gz
%%SYSTEM_INFO%%share/man/man1/System-Info.1.gz
%%SYSTEM_MAINTENANCE%%share/man/man1/System-Maintenance.1.gz
%%X509_TOOLS%%share/man/man1/check-certificate.1.gz
%%CONFIGURE_GRUB%%share/man/man1/configure-grub.1.gz
%%X509_TOOLS%%share/man/man1/der2pem.1.gz
%%X509_TOOLS%%share/man/man1/extract-pem.1.gz
%%SYSTEM_INFO%%share/man/man1/get-system-info.1.gz
%%X509_TOOLS%%share/man/man1/pem2der.1.gz
%%PRINT_UTF8%%share/man/man1/print-utf8.1.gz
%%RANDOM_SLEEP%%share/man/man1/random-sleep.1.gz
%%X509_TOOLS%%share/man/man1/test-tls-connection.1.gz
%%TEXT_BLOCK%%share/man/man1/text-block.1.gz
%%UNIX_TIMESTAMP_TOOLS%%share/man/man1/time2unixts.1.gz
%%TRY_HARD%%share/man/man1/try-hard.1.gz
%%UNIX_TIMESTAMP_TOOLS%%share/man/man1/unixts2time.1.gz
%%X509_TOOLS%%share/man/man1/view-certificate.1.gz
%%X509_TOOLS%%share/man/man1/view-crl.1.gz
%%X509_TOOLS%%share/system-tools/CertificateHelper.py
%%X509_TOOLS%%share/system-tools/generate-test-certificates
%%X509_TOOLS%%share/system-tools/make-test-certificates
%%TEXT_BLOCK%%share/text-block/example1.txt
%%TEXT_BLOCK%%share/text-block/example2.txt
%%TEXT_BLOCK%%share/text-block/insert.txt
%%TEXT_BLOCK%%share/text-block/numbers.txt