Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920571 - net-misc/chrony: rename USE flag "readline" to "libedit"
Summary: net-misc/chrony: rename USE flag "readline" to "libedit"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-23 14:13 UTC by Francesco Turco
Modified: 2023-12-23 14:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.