Bug 272962

Summary: [New Port] sysutils/mkrfile 1.0: Minimal system utility for creating randomly named files
Product: Ports & Packages Reporter: effingerjordan
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: fuz
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch file for new port none

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.