On 23/2/21 1:07 am, Erich Ericson wrote:
The following patches should enable doas support for privilege escalation in makepkg as well as document the absence thereof in binary verification. As doas gained a little traction over the last weeks and with its presence in the official repos it seems like a cheap, yet beneficial patch to the featureset of makepkg. It might not be an exhaustive patchset as I don't know all of makepkg's and libmakepkg's intricacies, but it has been tested by me and seems to work as expected. Nonetheless those patches should "point in the right direction".
My understanding was that Eli has a patch in the works that allowed configuring the command for privilege escalation in makepkg.conf. This is my preferred approach as it avoids adding the new hotness in the future. Allan