Created attachment 224185 [details]
patch to install vidoas.final as vidoas
The vidoas utility tries to edit a "./@DOAS_CONF@" file unless a specific config file is specified; this should instead try to edit the default config file /usr/local/etc/doas.conf
@DOAS_CONF@ is supposed to be replaced with $(DESTDIR)$(PREFIX)/etc/doas.conf as part of the all/install targets per: https://github.com/slicer69/doas/blob/be85cdabda861f63bd478d4113a238554d6512ef/Makefile#L100
In the port/pkg this only happens to the other *.final files, and the port installs vidoas instead of vidoas.final
Patch looks good to me. Let's do it.