[Bug 255149] security/doas: @DOAS_CONF@ not substituted in vidoas

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 17 11:51:30 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255149

            Bug ID: 255149
           Summary: security/doas: @DOAS_CONF@ not substituted in vidoas
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: jethro at jethron.id.au
                CC: jsmith at resonatingmedia.com
                CC: jsmith at resonatingmedia.com
             Flags: maintainer-feedback?(jsmith at resonatingmedia.com)

Created attachment 224185
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224185&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list