[Buildroot] [PATCH] new package: adns

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Feb 16 02:06:25 UTC 2013


Dear Stefan Fröberg,

Thanks for this package, definitely something useful to have.

On Fri, 15 Feb 2013 22:16:42 +0200, Stefan Fröberg wrote:
> GNU adns
> 
> Advanced, easy to use, asynchronous-capable DNS client library and utilities.
> 
> adns is a resolver library for C (and C++) programs, and a collection of
> useful DNS resolver utilities.
> 
> Signed-off-by: Stefan Fröberg <stefan.froberg at petroprogram.com>
> ---
>  package/Config.in                      |    1 +
>  package/adns/Config.in                 |    7 +
>  package/adns/adns-1.4-cnamechain.patch | 1275 +++++++++++++++
>  package/adns/adns-1.4-destdir.patch    |   54 +
>  package/adns/adns-1.4-ipv6.patch       | 2725 ++++++++++++++++++++++++++++++++
>  package/adns/adns-1.4-rh514838.patch   |   26 +

If possible, I think I would prefer to have the adns package download
those patches rather than have them in the Buildroot source tree
directly.

ADNS_PATCHES = http://somewhere.com/foobar.patch \
	http://somewhereelse.com/barfoo.patch

I am not sure if the patch that allows that has already been merged
upstream, but it has been floating on the list for some time, and I
think it's a good thing to have.

> +ADNS_VERSION = 1.4
> +ADNS_SOURCE = adns-$(ADNS_VERSION).tar.gz
> +ADNS_SITE = http://www.chiark.greenend.org.uk/~ian/adns/ftp/
> +ADNS_AUTORECONF = YES
> +ADNS_INSTALL_STAGING = YES
> +ADNS_CONF_OPT += --enable-dynamic=elf

You should add ADNS_LICENSE and ADNS_LICENSE_FILES.

Also, did you test build this adns thing with a minimal uClibc? No
specific toolchain feature needed (largefile, IPv6, etc.) ?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list