pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Why no builtin.mk for net/unbound?



On Wed, Aug 19, 2026 at 09:27:54AM +0100, Stephen Borrill wrote:
> On Wed, 19 Aug 2026, Martin Husemann wrote:
> > Is it a good idea to reuse that lib from pkgsrc?
> 
> I think so. The current status is that if you want to use lua-unbound for
> DNS client queries, it brings in a whole duplicate DNS server (which also
> creates its own user)

The question is if the ABI of the library is relatively stable. If not,
we will never be able to pull up newer unbound versions to any release
branches. Looking at /usr/lib/libunbound.so.* on a random system here
I see 7.0 to 11.1 versions from mid 2023 untill now. This already
make me think we should move it to /usr/lib/private/....

I don't know why/how lua-unbound uses libunbound (instead of libc).

Maybe a better solution would be to split the unbound pkg or create
a lib-only variant of it, so lua-unbound could depend on lib-unbound
only and not get the dns cache+extra user.

Martin


Home | Main Index | Thread Index | Old Index