Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2024 15:54:47 -0500
From:      robert@rrbrussell.com
To:        "Tim Daneliuk" <tundra@tundraware.com>, "FreeBSD Tech Support" <freebsd-questions@freebsd.org>
Subject:   Re: Why Does bind Have So Many Dependencies
Message-ID:  <af6d7f7c-7c44-4f68-ae40-419efb9873c3@app.fastmail.com>
In-Reply-To:  <18e4819d3e0.2890.0b331fcf0b21179f1640bd439e3f4a1e@tundraware.com>
References:  <d3eb7a53-666d-4885-9c28-46750d915041@tundraware.com> <44bk7ff70i.fsf@be-well.ilk.org> <18e4819d3e0.2890.0b331fcf0b21179f1640bd439e3f4a1e@tundraware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 16, 2024, at 11:30, Tim Daneliuk wrote:
> On March 15, 2024 6:23:11 PM Lowell Gilbert=20
> <freebsd-questions-local@be-well.ilk.org> wrote:
>
>> Tim Daneliuk <tundra@tundraware.com> writes:
>>=20
>>> I got notice the bind 9.16 was going EOL and to upgrade to 9.18.
>>>=20
>>> When I built from source, I saw this very long list of other stuff
>>> that got build.  X libs?  doxygen?   Why  all this:
>>=20
>> Offhand, I can say that's not a particularly heavy set of dependencie=
s. A
>> lot of them look like they probably come from something along the lin=
e using
>> a lot of rendering tools to build its documentation.
>>=20
>> Why do you ask? After all, you're clearly pretty competent at dealing=
 with
>> the ports system.
>>=20
>> Be well.
> Because I try to not clutter up servers with unnecessary ports.  It=20
> takes up space and increases the attack surface.
>
> What I don't understand is that I told the build not to include docs=20
> but it installed all this other cruft anyway.=20
>
>  A dns server build shouldn't require groff and xaw...

To rebuild the manpages and other documentation from source requires gro=
ff and a few other tools. Portmaster can uninstall build dependencies th=
at aren=E2=80=99t in the run dependencies list after installation of the=
 port. ```pkg autoremove``` will also remove unneeded build dependencies=
. The last option is using poudri=C3=A8re. ```pkg install``` will only p=
ull in the needed runtime dependencies.

I am assuming don=E2=80=99t want to use the default package repository.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af6d7f7c-7c44-4f68-ae40-419efb9873c3>