dnsapi: Switch from libresolv to libbind for DNS support.

Marcus Meissner meissner at suse.de
Mon May 15 05:52:50 CDT 2006

On Sat, May 13, 2006 at 05:10:55PM +0200, Hans Leidekker wrote:
> This patch presents an alternative to the one I sent a while ago
> that adds two source files from libbind. The advantage of this
> alternative is that it brings DNS message parsing support and DNS
> update support, without adding files from external projects.
> The drawback is that libbind appears to be packaged only as a static
> library on Debian based systems, whereas libresolv is available as a
> shared library on virtually every system. libbind.a is 428694 bytes
> in size on my Kubuntu system and 546908 bytes in size on my Fedora
> system.
>  -Hans
> Changelog
>   Switch from libresolv to libbind for DNS support.

The disadvantage is that bind-libs is under a BSD 4 clause license.

While it is allowed to link it, it will also make dnsapi and likely
WINE itself fall under the BSD 4 clause license (additionaly to LGPL)
and both need to be honored from this point on.

BSD 4 clause is only used in parts of the lib, other parts
are under regular BSD license or others.

grep -r "All advertising materials" <dir>
to find all files with BSD clause 4 license.

I think the DNS parsing code itself in libbind is under normal BSD
license and the pieces necessary could be copied/imported safely into
LGPL code.

(This is likely the reason Debian packs it statically.)

Ciao, Marcus

More information about the wine-devel mailing list