Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949390 - app-admin/sudo-rs: Package Request (Live eBuild Prototype Included)
Summary: app-admin/sudo-rs: Package Request (Live eBuild Prototype Included)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Default Assignee for New Packages
URL: https://github.com/trifectatechfounda...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2025-02-07 10:59 UTC by Neko-san
Modified: 2025-02-08 16:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Experimental Live eBuild (sudo-rs-9999.ebuild,6.20 KB, text/x-ebuild)
2025-02-07 10:59 UTC, Neko-san
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neko-san 2025-02-07 10:59:38 UTC
Created attachment 918306 [details]
Experimental Live eBuild

I wanted to request this package, but I figured it should (mostly) be simple to try putting together an ebuild for the first time...
(originally adapted from:
https://github.com/MrPenguin07/ebuilds/raw/refs/heads/master/app-admin/sudo-rs/sudo-rs-9999.ebuild)

It installs sudo-rs and the project's implementation of visudo with SUID bit set (to function as intended), but I'm under the impression that su-rs should be handled differently since it's no so simple to just !DEPENDS it given that it's a part of sys-apps/util-linux. In that regard, i expect it would make more sense for there to be an accompanying "app-alternatives/sudo" eBuild to handle symlinking sudo-rs, visudo-rs, and su-rs the same way other app-alternatives eBuilds do... But, being new to this, I couldn't quite understand how doing that works.

That said, and while not technically ideal, the live prototype works and also makes sure to include the built commit with the version check invocation so that it's easy to keep track of it after building.

If anyone much more experienced would like to go over it (and perhaps do the app-alternative side, if possible), I'd consider trying to maintain the eBuild for updates if it gets approved for a pull request.
(If that's satisfactory enough? Don't know how to do the "BUGS-TO" URL thing that's on packages.gentoo.org)