Bug 272962 - [New Port] sysutils/mkrfile 1.0: Minimal system utility for creating randomly named files
Summary: [New Port] sysutils/mkrfile 1.0: Minimal system utility for creating randomly...
Status: New
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-06 00:36 UTC by effingerjordan
Modified: 2023-11-28 04:00 UTC (History)
1 user (show)

See Also:


Attachments
Patch file for new port (2.17 KB, patch)
2023-08-06 00:36 UTC, effingerjordan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description effingerjordan 2023-08-06 00:36:55 UTC
Created attachment 243876 [details]
Patch file for new port

Minimal system utility for creating randomly named files, written in C with no library dependenices (beyond -libc).
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-08-06 22:06:25 UTC
Thank you for your submission.  What is the use case of this program?
Comment 2 effingerjordan 2023-08-09 00:32:17 UTC
The use case of the program is to create a variable number of files with similar names, but unpredicatble suffixes that can be used to create a file as a temporary information storage, or to be used when needed within a shell script. Version 1.0 is consciously minimal and meant to be simple, useful and secure, with more version's intended with more control capabilities for fine-tuning.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-08-09 00:35:12 UTC
I really don't see what this program does that you cannot achieve by running mktemp(1) in a loop.  And even what it achieves does not seem to be particularly useful.