Files
Wang Mingyu a5a18fe23f ldns: upgrade 1.9.0 -> 1.9.2
Changelog:
===========
* Fix to set VERSION_INFO to create .so.3 instead of .so.11 which will
  be reserved for a future 1.10.0 release
* Bugfix: Insufficient verification that responses belong to a
  query (CVE-2026-10846). Thanks Pablo Ruiz from 'codecome.ai'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-20 23:41:43 -07:00

25 lines
829 B
BlitzBasic

SUMMARY = "LDNS is a DNS library that facilitates DNS tool programming"
HOMEPAGE = "https://nlnetlabs.nl/ldns"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=34330f15b2b4abbbaaa7623f79a6a019"
SRC_URI = "https://www.nlnetlabs.nl/downloads/ldns/ldns-${PV}.tar.gz"
SRC_URI[sha256sum] = "b524fa21994b6e834200ceb8c27f1b84bda5982fe35706f058196c079db94d5d"
DEPENDS = "openssl"
inherit autotools-brokensep
PACKAGECONFIG ??= ""
PACKAGECONFIG[drill] = "--with-drill,--without-drill"
EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR}"
do_install:append() {
sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
-e 's@${RECIPE_SYSROOT}@@g' \
-i ${D}${libdir}/pkgconfig/*.pc ${D}${bindir}/ldns-config
}