CVS commit: pkgsrc/sysutils/dua-cli

"pin" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	pin
Date:		Sat Aug 15 11:21:13 UTC 2026

Modified Files:
	pkgsrc/sysutils/dua-cli: Makefile cargo-depends.mk distinfo

Log Message:
sysutils/dua-cli: update to 2.42.1

v2.42.1
*the same as 2.42, and:

Starting directories with a large amount of files, like 50k, now see a 5x speedup on macOS and Windows as bulk-reading is also done there. Note also that this is still a small absolute difference, 100ms vs 500ms, but a good demonstration of how much large trees with a lot of such directories will benefit by this, as these small absolute improvements accumulate.

v2.42.0
The headline or this release is ~30% better traversal performance on macOS due to the usage of bulk-metadata APIs on supported filesytems.
Bug Fixes

    sanitize control characters in marked path output
    dua-cli's interactive TUI is built on ratatui, which protects the
    paths it renders on screen. But marking a file for deletion and then
    quitting prints that file's path directly to the terminal after the
    TUI has already released terminal control, bypassing ratatui's
    protective rendering entirely. A scanned file's name has no character
    restrictions, so a crafted file name can inject terminal escape
    sequences into the printed path.

    Add sanitize_for_display (src/main.rs), replacing control characters
    with the Unicode replacement character, applied at the sole print site
    for marked paths.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/sysutils/dua-cli/Makefile \
    pkgsrc/sysutils/dua-cli/distinfo
cvs rdiff -u -r1.41 -r1.42 pkgsrc/sysutils/dua-cli/cargo-depends.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 3.3 KB)
Modified files:

Index: pkgsrc/sysutils/dua-cli/Makefile
diff -u pkgsrc/sysutils/dua-cli/Makefile:1.54 pkgsrc/sysutils/dua-cli/Makefile:1.55
--- pkgsrc/sysutils/dua-cli/Makefile:1.54	Wed Aug  5 09:28:40 2026
+++ pkgsrc/sysutils/dua-cli/Makefile	Sat Aug 15 11:21:13 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2026/08/05 09:28:40 pin Exp $
+# $NetBSD: Makefile,v 1.55 2026/08/15 11:21:13 pin Exp $
 
-DISTNAME=	dua-cli-2.41.1
+DISTNAME=	dua-cli-2.42.1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=Byron/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -12,9 +12,9 @@ LICENSE=	mit
 
 .include "cargo-depends.mk"
 
-#RUST_REQ=	1.98.0-beta.6
+#RUST_REQ=	1.98.0-beta.7
 #Upstream does not state the required MSRV.
-#This package is confirmed to build with Rust 1.98.0-beta.6 on amd64
+#This package is confirmed to build with Rust 1.98.0-beta.7 on amd64
 
 INSTALLATION_DIRS=	bin
 
Index: pkgsrc/sysutils/dua-cli/distinfo
diff -u pkgsrc/sysutils/dua-cli/distinfo:1.54 pkgsrc/sysutils/dua-cli/distinfo:1.55
--- pkgsrc/sysutils/dua-cli/distinfo:1.54	Wed Aug  5 09:28:40 2026
+++ pkgsrc/sysutils/dua-cli/distinfo	Sat Aug 15 11:21:13 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.54 2026/08/05 09:28:40 pin Exp $
+$NetBSD: distinfo,v 1.55 2026/08/15 11:21:13 pin Exp $
 
 BLAKE2s (addr2line-0.25.1.crate) = cc5c422ec48ccef5c2c46379d2f600644609490afafea5020f2020815d1146e6
 SHA512 (addr2line-0.25.1.crate) = c400f3b6ccaff8a1c0d7d82c708a1784b8fd5ba64b6e420e85819d59b1cadb55fa59c852925093b921469f272d1d5140cf12f013ae75d1e1bc85021097df8fc2
@@ -216,9 +216,9 @@ Size (dirs-sys-0.5.0.crate) = 10157 byte
 BLAKE2s (document-features-0.2.12.crate) = 7353f263add5466271ff22efa156753d3b49c821ed194c593af39d57dc5831b4
 SHA512 (document-features-0.2.12.crate) = 2991ae0f22656cde0aba8d8d76745a0316febe1d5ffa31e9d57ef5800fdbd10d7949d34b12024981610c7ff983c92f97f0fe432f8a75ff1b7da5e3531f01e677
 Size (document-features-0.2.12.crate) = 14739 bytes
-BLAKE2s (dua-cli-2.41.1.tar.gz) = b455ac65523eb1f664f0dd7f16273415f9d93696ce1ebdc0d64058feb05232d3
-SHA512 (dua-cli-2.41.1.tar.gz) = beb653766e7a04bfc8fb9935fa5b8a34304f42ee4db2fa795aa1b679cc4b444eb8aa4c00025863f3da7bf992f1626f02e373f2f3a4ddbcdbb7e8d76bc469bb6b
-Size (dua-cli-2.41.1.tar.gz) = 217078 bytes
+BLAKE2s (dua-cli-2.42.1.tar.gz) = f9a2ad8a2c4b6643b5469ff95f89543eeb04e92d2d182197b194ffce3b793058
+SHA512 (dua-cli-2.42.1.tar.gz) = 4902f1c1fe2fe54154081502541ab1beecf2abf3716ce8a8109b9a776a1fa8d279f3bdd77c88c0fbbac4209279a2ae9386716c1eb1abc2cced763a982e7df442
+Size (dua-cli-2.42.1.tar.gz) = 208594 bytes
 BLAKE2s (dunce-1.0.5.crate) = 7f72598a5d04e4d5cc63e25fa0c215cf532e09f04b63f92b72f8da1f8118de2f
 SHA512 (dunce-1.0.5.crate) = 36d7d75217d629185a9a9187f7d2e2dc346a28be0ad1c21b1b6bcbe3991e9cd11797e53d745c0b3b5ae94cf1e4cf141cdb2322bab86d97cc258b4145e3b97a56
 Size (dunce-1.0.5.crate) = 8244 bytes

Index: pkgsrc/sysutils/dua-cli/cargo-depends.mk
diff -u pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.41 pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.42
--- pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.41	Wed Aug  5 09:28:40 2026
+++ pkgsrc/sysutils/dua-cli/cargo-depends.mk	Sat Aug 15 11:21:13 2026
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.41 2026/08/05 09:28:40 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.42 2026/08/15 11:21:13 pin Exp $
 
 CARGO_CRATE_DEPENDS+=	addr2line-0.25.1
 CARGO_CRATE_DEPENDS+=	adler2-2.0.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.