2015-08-29 12:53:38 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libldns
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-09-11 23:15:56 +02:00
|
|
|
LIBLDNS_VERSION = 1.8.3
|
2015-08-29 12:53:38 +02:00
|
|
|
LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz
|
|
|
|
LIBLDNS_SITE = http://www.nlnetlabs.nl/downloads/ldns
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBLDNS_LICENSE = BSD-3-Clause
|
2015-08-29 12:53:38 +02:00
|
|
|
LIBLDNS_LICENSE_FILES = LICENSE
|
2021-05-16 13:25:04 +02:00
|
|
|
LIBLDNS_CPE_ID_VENDOR = nlnetlabs
|
|
|
|
LIBLDNS_CPE_ID_PRODUCT = ldns
|
2015-08-29 12:53:38 +02:00
|
|
|
LIBLDNS_INSTALL_STAGING = YES
|
2017-06-03 15:12:53 +02:00
|
|
|
LIBLDNS_DEPENDENCIES = openssl
|
2015-08-29 12:53:38 +02:00
|
|
|
LIBLDNS_CONF_OPTS = \
|
|
|
|
--with-ssl=$(STAGING_DIR)/usr \
|
|
|
|
--enable-dane \
|
|
|
|
--enable-ecdsa \
|
|
|
|
--enable-gost \
|
2017-06-03 15:12:53 +02:00
|
|
|
--enable-sha2 \
|
|
|
|
--without-examples \
|
|
|
|
--without-p5-dns-ldns \
|
|
|
|
--without-pyldns \
|
|
|
|
--without-pyldnsx
|
2015-09-05 12:39:56 +02:00
|
|
|
|
2022-02-05 18:40:46 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
|
|
|
LIBLDNS_CONF_OPTS += --enable-dane-verify
|
|
|
|
else
|
|
|
|
LIBLDNS_CONF_OPTS += --disable-dane-verify
|
|
|
|
endif
|
|
|
|
|
2015-09-05 12:39:56 +02:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
LIBLDNS_DEPENDENCIES += host-pkgconf
|
|
|
|
# missing -lz breaks configure, add it using pkgconf
|
|
|
|
LIBLDNS_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`"
|
|
|
|
endif
|
|
|
|
|
|
|
|
# the linktest make target fails with static linking, and we are only
|
|
|
|
# interested in the lib target anyway
|
|
|
|
LIBLDNS_MAKE_OPTS = lib
|
|
|
|
|
2015-08-29 12:53:38 +02:00
|
|
|
$(eval $(autotools-package))
|