• Re: [gentoo-user] Why does bind-tools 9.18 depend on bind?

    From Matt Jolly@21:1/5 to Grant Edwards on Fri Oct 25 00:40:02 2024
    Hi Grant,

    On 25/10/24 04:45, Grant Edwards wrote:
    Portage suddenly wants to install net-dns/bind so it can update
    bind-tools from 9.16 to 9.18. I've always had bind-tools installed,
    but it has never required that I install the bind server and its
    dependencies (for which I have no use). Older versions of bind-tools
    didn't require bind. The ebuilds for bind-tools 9.20 that I've found
    at on overlays don't require bind.

    What's so special about bind-tools 9.18 that it has to have bind
    installed?


    The commit that added 9.18.0[1] gives some context:

    >This is just a proxy for net-dns/bind. Splitting the ebuilds is *way* too
    >fragile and gains nothing because the same software gets built again
    anyway,
    >just thrown away at the end.

    Is there another package that will provide a command line dns lookup
    tool that can be used for troubleshooting that doesn't require me to
    install a DNS server all of its extra faff?


    Try net-dns/doggo[2]


    1: https://github.com/gentoo/gentoo/commit/754524d4345dd41ff9e31cba85afb4f104a9815a
    2: https://packages.gentoo.org/packages/net-dns/doggo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Jolly@21:1/5 to That is correct. The package now ev on Sat Oct 26 12:00:01 2024
    Hi Rainer,

    Doesn't that mean that best practice would be to just ditch "net-dns/ bind-tools" and solely install "net-dns/bind" instead? At least up to
    now the latter _also_ provides "nslookup" and "dig".

    That is correct. The package now even says as much (since about 12
    hours ago!):

    net-dns/bind-tools is now merged into net-dns/bind and
    net-dns/bind-tools serves as a dummy package until it is
    eventually removed. The split was already a maintenance burden
    because of lack of build system support for it, but this became
    more severe with >=9.18.0.

    Please run the following commands:
    * emerge --deselect net-dns/bind-tools
    * emerge --noreplace net-dns/bind

    Regards,

    Matt

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)