Bug 268938 - [new port]: devel/fsx: File System eXerciser
Summary: [new port]: devel/fsx: File System eXerciser
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/asomers/fsx-rs
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-13 17:25 UTC by Alan Somers
Modified: 2023-01-14 21:45 UTC (History)
1 user (show)

See Also:


Attachments
Adds the devel/fsx port (17.90 KB, patch)
2023-01-13 17:25 UTC, Alan Somers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2023-01-13 17:25:31 UTC
Created attachment 239451 [details]
Adds the devel/fsx port

The fsx utility tests file system I/O routines for correctness, with random input.  This port is a Rust rewrite of the classic C utility, as stored in freebsd-src in tools/regression/fsx.  It's immediate advantage over the C version is that it can be installed by pkg, making it usable in CI pipelines.  But new features are planned for the future, too.
Comment 1 Mikael Urankar freebsd_committer freebsd_triage 2023-01-14 16:29:03 UTC
.include <bsd.port.options.mk> doesn't seem to be needed.

portlint -AC complains about the following:

FATAL: Makefile: LICENSE_NAME appears out-of-order.
FATAL: Makefile: order must be LICENSE/LICENSE_COMB/LICENSE_GROUPS(_\w+)?/LICENSE_NAME(_\w+)?/LICENSE_TEXT(_\w+)?/LICENSE_FILE(_\w+)?/LICENSE_PERMS(_\w+)?/LICENSE_DISTFILES(_\w+)?.

Can you fix this 2 points before committing the ports?

Approved by: mikael
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-01-14 21:39:06 UTC
A commit in branch main references this bug:

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

commit ce36d72b308ba0f2f891382cedd9b100da15a124
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-01-13 17:23:35 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2023-01-14 21:36:56 +0000

    devel/fsx: new port

    The fsx utility tests file system I/O routines for correctness, with
    random input.  This port is a Rust rewrite of the classic C utility, as
    stored in freebsd-src in tools/regression/fsx.

    PR:             268938
    Approved by:    mikael (ports)

 devel/Makefile            |   1 +
 devel/fsx/Makefile (new)  | 111 ++++++++++++++++++++++++++++++
 devel/fsx/distinfo (new)  | 169 ++++++++++++++++++++++++++++++++++++++++++++++
 devel/fsx/pkg-descr (new) |   5 ++
 4 files changed, 286 insertions(+)
Comment 3 Alan Somers freebsd_committer freebsd_triage 2023-01-14 21:45:14 UTC
Thanks, Mikael.  I fixed those two issues before committing.