[Bug 285861] [NEW PORT] security/sudo-rs: Rust re-implementation of sudo

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Apr 2025 13:36:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285861

            Bug ID: 285861
           Summary: [NEW PORT] security/sudo-rs: Rust re-implementation of
                    sudo
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: info@marcschoolderman.nl
 Attachment #259294 text/plain
         mime type:

Created attachment 259294
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259294&action=edit
shar archive of the ports directory

Starting with version 0.2.5, sudo-rs supports FreeBSD. So we also thought it
would be nice to provide the initial packaging of it.

sudo-rs provides an alternative implementation to the sudo command that has a
reduced feature set and uses memory safe implementations for most of the sudo
logic, but still should be able to work with most existing sudo policy
configurations.

About this portsfile:

- I have introduced a COEXIST option that will allow sudo-rs to be installed on
the same machine as security/sudo (and install binaries as "sudo-rs",
"visudo-rs", etc.). This is off by default, so by default it has a conflict
with security/sudo (and if someone installs a ports that depends on sudo using
"pkg", it will mean pkg will try to replace sudo-rs with sudo--that's maybe
unfortunate for us, but shouldn't hurt users)

- I have disabled tests if "make test" is run as root: some unit tests are not
intended to run as root, and generally this is probably a bad idea anyway.

- The maintain address is my email address at the foundation that owns this
project.

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