easy-rsa
easy-rsa copied to clipboard
Drop POSIX claim
I proposing dropping the claim to adhere to POSIX in favor of a looser claim to a happy-medium of BSD/GNU compatibility.
I'd even go so far as to say we will support a short list of operating systems that we can modify.
For starters:
- *BSD (Free/Net/Open/Dragonfly)
- Linux (GNU)
- BusyBox
- Darwin/macOS (aka BSD)
Thoughts? This was kind of highlighted in #559.
easyrsa has never been strictly POSIX because doing so would require dropping support for Windows.
Eg: cleanup() and to a lesser extent hide_read_pass()
To a larger extent, aiming for POSIX compliance, while exercising careful non-compliance, is exactly what a good script does. That is, "Until" "They" "Fix Everything".
easyrsa passes shellcheck definition of POSIX, with only the exception of Windows, mentioned above.
This could be the ouzo, grappa, schnapps, brandy, gin, whiskey, bourbon, saki or ghosts projecting through my diluted and divided soul, however, I believe that easyrsa is exemplar of good, old POSIX.
I can hardly imagine the torture to which Easy-RSA has been subjected..
(And yet, torture is exactly what sh.exe dishes-out to CI ... lol_z)
And yet, it is still here.
(I came across some form of Easy-RSA with ssleay.dll eons ago. <-- That was not POSIX)
Can we then conclude: easyrsa is POSIX and will do what-ever it can to remain so ?
If I had a reputation then it currently hangs in the balance .. Witch! They cry!
The original question here is bogus.
Adhering to POSIX is clearly a simpler task than providing specific OS support.
Until there is a POSIX deal-breaker, EasyRSA is POSIX compliant.