Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2023 07:16:07 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f5ecd3e38fc6 - main - sysutils/dutree: a tool to analyze file system usage written in Rust
Message-ID:  <202306060716.3567G73b091325@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5ecd3e38fc65ff4e761e1284051e9e9ab13b2f5

commit f5ecd3e38fc65ff4e761e1284051e9e9ab13b2f5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-06-06 01:40:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-06-06 07:16:03 +0000

    sysutils/dutree: a tool to analyze file system usage written in Rust
---
 sysutils/Makefile         |  1 +
 sysutils/dutree/Makefile  | 40 ++++++++++++++++++++++++++++++++++++++++
 sysutils/dutree/distinfo  | 39 +++++++++++++++++++++++++++++++++++++++
 sysutils/dutree/pkg-descr |  9 +++++++++
 4 files changed, 89 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 16dd8d8188b2..32970d30813f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -325,6 +325,7 @@
     SUBDIR += duply
     SUBDIR += dupmerge
     SUBDIR += dust
+    SUBDIR += dutree
     SUBDIR += dvd+rw-tools
     SUBDIR += dvdbackup
     SUBDIR += dvdimagecmp
diff --git a/sysutils/dutree/Makefile b/sysutils/dutree/Makefile
new file mode 100644
index 000000000000..abbe858c12e2
--- /dev/null
+++ b/sysutils/dutree/Makefile
@@ -0,0 +1,40 @@
+PORTNAME=	dutree
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.15
+CATEGORIES=	sysutils
+
+PATCH_SITES=	https://github.com/nachoparker/dutree/commit/
+PATCHFILES=	55b8218767626e40940ee2cfd7cf1c4f643079cc.patch:-p1
+
+MAINTAINER=	pkubaj@FreeBSD.org
+COMMENT=	Tool to analyze file system usage written in Rust
+WWW=		https://github.com/nachoparker/dutree
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cargo
+USE_GITHUB=	yes
+GH_ACCOUNT=	nachoparker
+
+CARGO_CRATES=	aho-corasick-0.7.6 \
+		arc-swap-0.4.3 \
+		getopts-0.2.21 \
+		lazy_static-1.0.0 \
+		libc-0.2.145 \
+		memchr-2.2.1 \
+		regex-1.3.1 \
+		regex-syntax-0.6.12 \
+		signal-hook-0.1.10 \
+		signal-hook-registry-1.1.1 \
+		terminal_size-0.1.8 \
+		thread_local-0.3.6 \
+		unicode-segmentation-1.2.0 \
+		unicode-width-0.1.6 \
+		winapi-0.3.8 \
+		winapi-i686-pc-windows-gnu-0.4.0 \
+		winapi-x86_64-pc-windows-gnu-0.4.0
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/sysutils/dutree/distinfo b/sysutils/dutree/distinfo
new file mode 100644
index 000000000000..1da3edcdf3b7
--- /dev/null
+++ b/sysutils/dutree/distinfo
@@ -0,0 +1,39 @@
+TIMESTAMP = 1685981550
+SHA256 (rust/crates/aho-corasick-0.7.6.crate) = 58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d
+SIZE (rust/crates/aho-corasick-0.7.6.crate) = 108953
+SHA256 (rust/crates/arc-swap-0.4.3.crate) = f1a1eca3195b729bbd64e292ef2f5fff6b1c28504fed762ce2b1013dde4d8e92
+SIZE (rust/crates/arc-swap-0.4.3.crate) = 48193
+SHA256 (rust/crates/getopts-0.2.21.crate) = 14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5
+SIZE (rust/crates/getopts-0.2.21.crate) = 18457
+SHA256 (rust/crates/lazy_static-1.0.0.crate) = c8f31047daa365f19be14b47c29df4f7c3b581832407daabe6ae77397619237d
+SIZE (rust/crates/lazy_static-1.0.0.crate) = 12611
+SHA256 (rust/crates/libc-0.2.145.crate) = fc86cde3ff845662b8f4ef6cb50ea0e20c524eb3d29ae048287e06a1b3fa6a81
+SIZE (rust/crates/libc-0.2.145.crate) = 684510
+SHA256 (rust/crates/memchr-2.2.1.crate) = 88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e
+SIZE (rust/crates/memchr-2.2.1.crate) = 20862
+SHA256 (rust/crates/regex-1.3.1.crate) = dc220bd33bdce8f093101afe22a037b8eb0e5af33592e6a9caafff0d4cb81cbd
+SIZE (rust/crates/regex-1.3.1.crate) = 234662
+SHA256 (rust/crates/regex-syntax-0.6.12.crate) = 11a7e20d1cce64ef2fed88b66d347f88bd9babb82845b2b858f3edbf59a4f716
+SIZE (rust/crates/regex-syntax-0.6.12.crate) = 289531
+SHA256 (rust/crates/signal-hook-0.1.10.crate) = 4f61c4d59f3aaa9f61bba6450a9b80ba48362fd7d651689e7a10c453b1f6dc68
+SIZE (rust/crates/signal-hook-0.1.10.crate) = 20840
+SHA256 (rust/crates/signal-hook-registry-1.1.1.crate) = 1797d48f38f91643908bb14e35e79928f9f4b3cefb2420a564dde0991b4358dc
+SIZE (rust/crates/signal-hook-registry-1.1.1.crate) = 13795
+SHA256 (rust/crates/terminal_size-0.1.8.crate) = 023345d35850b69849741bd9a5432aa35290e3d8eb76af8717026f270d1cf133
+SIZE (rust/crates/terminal_size-0.1.8.crate) = 7289
+SHA256 (rust/crates/thread_local-0.3.6.crate) = c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b
+SIZE (rust/crates/thread_local-0.3.6.crate) = 12388
+SHA256 (rust/crates/unicode-segmentation-1.2.0.crate) = a8083c594e02b8ae1654ae26f0ade5158b119bd88ad0e8227a5d8fcd72407946
+SIZE (rust/crates/unicode-segmentation-1.2.0.crate) = 67562
+SHA256 (rust/crates/unicode-width-0.1.6.crate) = 7007dbd421b92cc6e28410fe7362e2e0a2503394908f417b68ec8d1c364c4e20
+SIZE (rust/crates/unicode-width-0.1.6.crate) = 16394
+SHA256 (rust/crates/winapi-0.3.8.crate) = 8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6
+SIZE (rust/crates/winapi-0.3.8.crate) = 1128308
+SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
+SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
+SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
+SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
+SHA256 (nachoparker-dutree-v0.2.15_GH0.tar.gz) = 436484f7335939c208860c7e062dea47807aa82f175acde684d8f13f6e7d0efe
+SIZE (nachoparker-dutree-v0.2.15_GH0.tar.gz) = 637561
+SHA256 (55b8218767626e40940ee2cfd7cf1c4f643079cc.patch) = f243f74713ced84b94058b2ceb52a49b9116c87b67282e55b3adedc7f03c9944
+SIZE (55b8218767626e40940ee2cfd7cf1c4f643079cc.patch) = 1562
diff --git a/sysutils/dutree/pkg-descr b/sysutils/dutree/pkg-descr
new file mode 100644
index 000000000000..c3a8e4795818
--- /dev/null
+++ b/sysutils/dutree/pkg-descr
@@ -0,0 +1,9 @@
+A tool to analyze file system usage written in Rust.
+
+Features:
+ - coloured output, according to the LS_COLORS  environment variable.
+ - display the file system tree
+ - ability to aggregate small files
+ - ability to exclude files or directories
+ - ability to compare different directories
+ - fast, written in Rust



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306060716.3567G73b091325>