Skip to contentSkip to conversation

ldns: Upgrade to 1.8.4

PATCH New Khem Raj 1 participant 1 message Jul 28, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ldns: Upgrade to 1.8.4

* Fix building documentation in build directory.
Thanks Michael Tokarev
* Updated the configure script for split openssl directories.
* Fix for windows compile; asctime_r compat, search for inet_ntop in ws2_32, avoid double decl of inet_ntop, check for symlink call, include config.h in edns.c, have socket compare use correct signedness, add -u repo option to makewin.sh, fix quoting in makewin.sh and check return value of bind and connect in net.c for failure instead of a socket type. And fix to install .exe files.
* Fix to compile with OpenSSL 3.2. Update acx_nlnetlabs.m4 to 48.
* Fix to compile DLLs, and pick out of the lib64 dir, and include libssp-0.dll and ldns-config.
* bugfix #237: Resolver uses nameserver commented out in /etc/resolv.conf. Thanks grembo.
* Added RESINFO rrtype.
* Added WALLET rrtype.
* PR #241: Fix coverity cited problems. Thanks Enji Cooper.
* PR #233: Several Python SWIG issues. Thanks Florian Weimer.
* PR #231: const ldns_rdf * typemap fixes to support swig-4.2.0 Thanks William S Fulton
* PR #227: keys.c: fix build with libressl >= 3.8.1 Thanks Fabrice Fontaine
* PR #224: Portable executable progs don't underlink to libldns Thanks Ørjan Malde
* PR #216: Update declaration for function with no argument Thanks Ed Maste
* PR #214: fix the build in FreeBSD's base system
Thanks Pierre Pronchery and Dag-Erling Smørgrav
* PR #206: improve 'next-label' algorithm in ldns-walk Thanks Jelte Jansen
* PR #205: Add functions to extract RFC 8914 extended errors Thanks Roland van Rijswijk-Deij
* PR #203: Expand CI: Cygwin, BSDs, musl libc, 32-bit, and big-endian Thanks Felipe Gasper
* PR #191: 16-unit-tests-edns: Fix leak & warnings
Thanks Felipe Gasper
* Added NXNAME rrtype.
* PR #242: Openssl no engine improved support #242
Thanks Petr Menšík

Detailed Changes [1]

Fix buildpaths QA errors while here

[1] https://github.com/NLnetLabs/ldns/compare/1.8.3...1.8.4

---
 .../recipes-devtools/ldns/{ldns_1.8.3.bb => ldns_1.8.4.bb}   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/ldns/{ldns_1.8.3.bb => ldns_1.8.4.bb} (76%)
meta-oe/recipes-devtools/ldns/ldns_1.8.4.bb renamed from meta-oe/recipes-devtools/ldns/ldns_1.8.3.bb +3 -2
similarity index 76%
rename from meta-oe/recipes-devtools/ldns/ldns_1.8.3.bb
rename to meta-oe/recipes-devtools/ldns/ldns_1.8.4.bb
index 16816e62d8..f071f579df 100644
@@ -4,7 +4,7 @@ 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] = "c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860"
+SRC_URI[sha256sum] = "838b907594baaff1cd767e95466a7745998ae64bc74be038dccc62e2de2e4247"
 
 DEPENDS = "openssl"
 
@@ -19,5 +19,6 @@ do_install:append() {
     sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
         -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
         -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
-        -i ${D}${libdir}/pkgconfig/*.pc
+        -e 's@${RECIPE_SYSROOT}@@g' \
+        -i ${D}${libdir}/pkgconfig/*.pc ${D}${bindir}/ldns-config
 }