net/td-system-tools: Revert commit a885822 and fix port

Reapply cfc6675477 and fix dependencies
While at it fix some style issues

Approved by:	portmgr (build fix)
This commit is contained in:
Daniel Engberg 2024-04-02 00:55:12 +02:00
parent a885822ce0
commit cfd9a27dfd
4 changed files with 31 additions and 11 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= td-system-tools
DISTVERSION= 1.5.6
DISTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://www.nntb.no/~dreibh/system-tools/download/
@ -10,9 +11,11 @@ WWW= https://www.nntb.no/~dreibh/system-tools/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= bash:shells/bash
RUN_DEPENDS= bash:shells/bash \
mbuffer:misc/mbuffer \
figlet:misc/figlet
USES= cmake tar:xz
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man
USES= cmake gettext tar:xz
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1707818231
SHA256 (td-system-tools-1.5.6.tar.xz) = cd9d973ad8db4067e1e459f09734cac89c4fdc2fc193c0e4f42d495c9509a1e6
SIZE (td-system-tools-1.5.6.tar.xz) = 117840
TIMESTAMP = 1711879342
SHA256 (td-system-tools-1.6.0.tar.xz) = 5b5fafb3d98bbaa27e52e6e59e35c750c58c88e4243605a66d63e32c0200e2c9
SIZE (td-system-tools-1.6.0.tar.xz) = 129880

View file

@ -0,0 +1,8 @@
--- src/System-Info.orig 2024-04-01 21:09:56 UTC
+++ src/System-Info
@@ -374,4 +374,4 @@ print-network-addresses 2>&1 | (
wait
cat
) | \
-( buffer -s 16k || cat)
+( mbuffer -s 16k || cat)

View file

@ -1,12 +1,21 @@
bin/configure-grub
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/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/configure-grub/grub-defaults-nornet
share/configure-grub/grub-defaults-standard
share/locale/de/LC_MESSAGES/System-Info.mo
share/locale/de/LC_MESSAGES/System-Maintenance.mo
share/locale/nb/LC_MESSAGES/System-Info.mo
share/locale/nb/LC_MESSAGES/System-Maintenance.mo
share/man/man1/configure-grub.1.gz
share/man/man1/System-Info.1.gz
share/man/man1/System-Maintenance.1.gz
share/System-Info/01-example
share/System-Info/09-hostname-example
share/System-Info/10-company-logo-example
share/System-Info/banner-helper