I use doas on FreeBSD
@EF @ianthetechie @tubsta @dexter
They're both forks, AIUI, because the hooks to retain auth status is custom to OpenBSD.
Yes. The #OpenBSD version does not work as-is anywhere else. Basically: either one modifies the code to conditionally-compile out the OpenBSDisms and loses functionality, or one takes the OpenBSDisms out completely and replaces them with sudoisms.
https://news.ycombinator.com/item?id=37317970
https://news.ycombinator.com/item?id=36353756
#FreeBSD, #NetBSD, and #Arch Linux have both Smith's and Overbruck's versions; #Debian Linux only the latter; #SmartOS only the former.
@JdeBP @rl_dane @EF @ianthetechie @tubsta @dexter
>doas(1) concatenates all supplied arguments using strlcpy(3) and strlcat(3), the maintainer replace them with strncpy(3) and strncat(3
I thought these functions are part of the #linux libbsd package, is that not the case ? I would think if you add libbsd as a dependency that would remove a lot of "OpenBSDisms". From what I have seen on #linux, many pkgs do not care if they have lots of dependencies, what is one more small library :)