Files
buildroot/package/libldns/libldns.mk
Bernd Kuhls 911dc3a5d2 package/libldns: security bump version to 1.9.2
https://community.nlnetlabs.nl/t/ldns-1-9-1-released/3403
https://community.nlnetlabs.nl/t/ldns-1-9-2-released/3404
"Please do not install ldns version 1.9.1 as it has a wrong .so version.
 Install ldns version 1.9.2 instead."

Fixes CVE-2026-10846.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-08-30 22:38:46 +02:00

56 lines
1.4 KiB
Makefile

################################################################################
#
# libldns
#
################################################################################
LIBLDNS_VERSION = 1.9.2
LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz
LIBLDNS_SITE = https://www.nlnetlabs.nl/downloads/ldns
LIBLDNS_LICENSE = BSD-3-Clause
LIBLDNS_LICENSE_FILES = LICENSE
LIBLDNS_CPE_ID_VENDOR = nlnetlabs
LIBLDNS_CPE_ID_PRODUCT = ldns
LIBLDNS_INSTALL_STAGING = YES
LIBLDNS_DEPENDENCIES = openssl
LIBLDNS_CONF_OPTS = \
--with-ssl=$(STAGING_DIR)/usr \
--enable-dane \
--enable-ecdsa \
--enable-sha2 \
--without-examples \
--without-p5-dns-ldns \
--without-pyldns \
--without-pyldnsx
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
LIBLDNS_CONF_OPTS += --enable-dane-verify
else
LIBLDNS_CONF_OPTS += --disable-dane-verify
endif
ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
LIBLDNS_CONF_OPTS += --enable-gost
else
LIBLDNS_CONF_OPTS += --disable-gost
endif
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
ifeq ($(BR2_PACKAGE_LIBLDNS_DRILL),y)
LIBLDNS_CONF_OPTS += --with-drill
LIBLDNS_MAKE_OPTS += drill
else
LIBLDNS_CONF_OPTS += --without-drill
endif
$(eval $(autotools-package))