kumquat-buildroot/package/libldns/libldns.mk
Fabrice Fontaine c2bc364c08 package/libldns: add CPE variables
cpe:2.3🅰️nlnetlabs:ldns is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Anlnetlabs%3Aldns

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-16 18:30:45 +02:00

40 lines
1.1 KiB
Makefile

################################################################################
#
# libldns
#
################################################################################
LIBLDNS_VERSION = 1.7.1
LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz
LIBLDNS_SITE = http://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
# --disable-dane-verify can be removed after openssl bump to 1.1.x
LIBLDNS_CONF_OPTS = \
--with-ssl=$(STAGING_DIR)/usr \
--enable-dane \
--disable-dane-verify \
--enable-ecdsa \
--enable-gost \
--enable-sha2 \
--without-examples \
--without-p5-dns-ldns \
--without-pyldns \
--without-pyldnsx
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
$(eval $(autotools-package))