Bug 286636 - security/sudo-rs: New version
Summary: security/sudo-rs: New version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gabriel M. Dutra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-06 21:48 UTC by Marc Schoolderman
Modified: 2025-05-09 07:02 UTC (History)
1 user (show)

See Also:


Attachments
This is a simple update that bumps the sudo-rs version (3.09 KB, text/plain)
2025-05-06 21:48 UTC, Marc Schoolderman
info: maintainer-approval+
Details
Bump sudo-rs version and introduces two flavours (4.46 KB, text/plain)
2025-05-06 21:53 UTC, Marc Schoolderman
info: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schoolderman 2025-05-06 21:48:59 UTC
Created attachment 260217 [details]
This is a simple update that bumps the sudo-rs version

Maintainer update: a new version of sudo-rs was released; this update bumps the version. This new version respect LOCALBASE in the upstream version so it does not need the post-patch anymore.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2025-05-06 21:48:59 UTC
Maintainer informed via mail
Comment 2 Marc Schoolderman 2025-05-06 21:53:25 UTC
Created attachment 260218 [details]
Bump sudo-rs version and introduces two flavours

In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285861 it was suggested to use "flavours" to offer users two types of sudo-rs package:

* one which installs "sudo-rs as sudo", which conflicts with security/sudo

* one which installs "sudo-rs as sudo-rs", which does not conflict with security/sudo

This alternative patch does that. The other one that is attached maintains the current type of port where whether or not sudo-rs conflicts with sudo is controlled using a port OPTION.
Comment 3 Gabriel M. Dutra freebsd_committer freebsd_triage 2025-05-09 03:25:32 UTC
Hi,

Thanks for the patch. I got an error on i386: requires Hadrian build which doesn't work on i386.

Consider adding NOT_FOR_ARCHS=i386 and others to skip 32 bits processors.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-05-09 03:33:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2038605e5d0190a719ffa70b2e50e141081961cc

commit 2038605e5d0190a719ffa70b2e50e141081961cc
Author:     Marc Schoolderman <info@marcschoolderman.nl>
AuthorDate: 2025-05-09 03:26:24 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2025-05-09 03:32:26 +0000

    security/sudo-rs: Update to 0.2.6

    ChangeLog:
    https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6

    PR:             286636
    Approved by:    submitter is maintainer

 security/sudo-rs/Makefile | 41 ++++++++++++++++++++++-------------------
 security/sudo-rs/distinfo | 14 +++++++-------
 2 files changed, 29 insertions(+), 26 deletions(-)
Comment 5 Marc Schoolderman 2025-05-09 07:02:43 UTC
(In reply to Gabriel M. Dutra from comment #3)

I'll have to chew on that.

It would consider it tragic to not support 32-bit arch's only because the build system for the Haskell compiler doesn't support them. sudo-rs only uses pandoc to generate the manpages from Markdown.

Would adding three pre-generated manpages in the ports tree itself be an acceptable solution?