[Bug 291794] [Maintainer-update]: security/sudo-rs: update to version 0.2.11

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Dec 2025 09:50:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291794

            Bug ID: 291794
           Summary: [Maintainer-update]: security/sudo-rs: update to
                    version 0.2.11
           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: marc@trifectatech.org

Created attachment 266353
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266353&action=edit
patch file to update sudo-rs

This removes some dependencies, which is always nice.

Upstream version supports gettext now, but since there are no translation I
didn't include it in the port as of yet. The changes I propose for that can be
rather simple, to just add:

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=    yes

NLS_USES=       gettext
NLS_CARGO_FEATURES=     gettext
NLS_RUSTFLAGS=  -L ${LOCALBASE} -lintl

And generate/install the .mo files in a post-install-NLS-on (upstream probably
will add an install script for that at some point if they have a translation).

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