Summary: | [NEW PORT] sysutils/diskus: Minimal, fast alternative to 'du -sh' | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | sec.research.2005 | ||||||||||||||||||||
Component: | Individual Port(s) | Assignee: | Neel Chauhan <nc> | ||||||||||||||||||||
Status: | Closed FIXED | ||||||||||||||||||||||
Severity: | Affects Only Me | CC: | grahamperrin, nc, rust | ||||||||||||||||||||
Priority: | --- | ||||||||||||||||||||||
Version: | Latest | ||||||||||||||||||||||
Hardware: | Any | ||||||||||||||||||||||
OS: | Any | ||||||||||||||||||||||
URL: | https://github.com/sharkdp/diskus/ | ||||||||||||||||||||||
Attachments: |
|
Created attachment 232610 [details]
Poudriere Build Log
Created attachment 232618 [details]
Patch
Fixed Comment and pkg-descr to adopt suggestions from portlint.
Created attachment 232642 [details]
Patch
Removed PORTREVISION from Makefile
(In reply to sec.research.2005 from comment #3) [NEW PORT] sysutils/diskus … From the note under <https://docs.freebsd.org/en/books/porters-handbook/book/#porting-submitting-diff>: > … The expected format for new ports is > "[NEW PORT] category/portname short description of the port" … Created attachment 232964 [details]
Patch after portlint/portclippy/portfmt
Cleaned up the Makefile & pkg-descr as per portlint/portclippy/pportfmt
Created attachment 232984 [details]
Patch
Added docs
Created attachment 232985 [details]
Poudriere Build Log
Created attachment 233236 [details]
Patch
Created attachment 233237 [details]
Poudriere Build Log
Committed! A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=acb03a3c0498a87456e8715d3dcad908e8d7fc3c commit acb03a3c0498a87456e8715d3dcad908e8d7fc3c Author: Mostly BSD <sec.research.2005@gmail.com> AuthorDate: 2022-03-21 14:49:27 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2022-04-15 20:09:59 +0000 sysutils/diskus: new port Changes: https://github.com/sharkdp/diskus/ PR: 262704 sysutils/Makefile | 1 + sysutils/diskus/Makefile (new) | 70 +++++++++++++++++++++++++++++++++++ sysutils/diskus/distinfo (new) | 81 +++++++++++++++++++++++++++++++++++++++++ sysutils/diskus/pkg-descr (new) | 8 ++++ 4 files changed, 160 insertions(+) |
Created attachment 232609 [details] Patch diskus is a very simple program that computes the total size of the current directory. It is a parallelized version of du -sh. On my 8-core laptop, it is about ten times faster than du with a cold disk cache and more than three times faster with a warm disk cache