Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920571

Summary: net-misc/chrony: rename USE flag "readline" to "libedit"
Product: Gentoo Linux Reporter: Francesco Turco <fturco>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED WONTFIX    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=881291
Whiteboard:
Package list:
Runtime testing required: ---

Description Francesco Turco 2023-12-23 14:13:53 UTC
In my opinion net-misc/chrony's "readline" USE flag should be renamed
to "libedit" because chrony may optionally depend on dev-libs/libedit
but not on sys-libs/readline.

On my system I'd like to get rid of the dev-libs/libedit package, and
I have "*/* -libedit" in package.use, but unfortunately I still have
dev-libs/libedit installed because its ebuild currently ignores the
"libedit" USE flag.

Chrony's configure script actually includes a --disable-readline
option, but it seems it means readline-like functionality as opposed
to readline proper.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-23 14:17:35 UTC
I don't intend on doing this, sorry.

readline should be treated like a feature flag, as we do for imagemagick and graphicsmagick.

That way, you can clearly express an intent to have readline-like functionality but express a preference for the editline provider.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-23 14:21:53 UTC
Also, if you really do feel that you want no libedit at any cost, that's what masking the package is for. You'll then see what needs it.