Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949597 - net-dns/bind 'server' USE flag
Summary: net-dns/bind 'server' USE flag
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-11 07:01 UTC by aditsu
Modified: 2025-02-12 01:16 UTC (History)
2 users (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 aditsu 2025-02-11 07:01:30 UTC
I've read the comments on bug 832218 and understand that bind-tools is now just a dummy package that pulls in bind, as it's not feasible to keep them separate.
However, it seems that one of the ideas has been abandoned: I would much prefer to have a 'server' USE flag for net-dns/bind, defaulting to on, and when turned off it would not install the files needed to run the 'named' server (but keep all the other tools).
Ideally it should not build and install those files at all, but if that's too difficult, it should at least delete them. That would help reduce the clutter.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-11 07:06:10 UTC
(In reply to aditsu from comment #0)
> I've read the comments on bug 832218 and understand that bind-tools is now
> just a dummy package that pulls in bind, as it's not feasible to keep them
> separate.
> However, it seems that one of the ideas has been abandoned: I would much
> prefer to have a 'server' USE flag for net-dns/bind, defaulting to on, and
> when turned off it would not install the files needed to run the 'named'
> server (but keep all the other tools).
> Ideally it should not build and install those files at all, but if that's
> too difficult, it should at least delete them. That would help reduce the
> clutter.
> 
> Reproducible: Always

The idea was rejected because manually deleting the right files is brittle, and you'd be compiling the same code anyway. You can use INSTALL_MASK if you want that, at your own risk.
Comment 2 Michael Orlitzky gentoo-dev 2025-02-12 01:16:44 UTC
On the off chance that all you are looking for is "dig", the "drill" program from net-libs/ldns is a pretty good replacement.