Fri Jul 26 22:53:58 2019 UTC ()
Update to ldns version 1.7.1.

Pkgsrc changes:
 * Adapt to patches adopted upstream.

Upstream changes:
* bugfix: Manage verification paths for OpenSSL >= 1.1.0
  Thanks Marco Davids
* bugfix #4106: find the SDK on MacOS X <= 10.6
  Thanks Bill Cole
* bugfix #4155: ldns-config contains never used variables
  Thanks Petr Men#�k
* bugfix #4221: drill -x crashes with malformed IPv4 address
  Thanks Oleksandr Tymoshenko
* bugfix #3437: CDS & CDNSKEY RRsets should be signed with the KSK
  Thanks Tony Finch
* bugfix #1566, #1568, #1569, #1570: Potential NULL Dereferences
  Thanks Bill Parker
* bugfix #1260: Anticipate strchr returning NULL on unfound char
  Thanks Stephan Zeisberg
* bugfix #1257: Free after reallocing to 0 size
  Thanks Stephan Zeisberg
* bugfix #1256: Check parse limit before t increment
  Thanks Stephan Zeisberg
* bugfix #1245: Only one signature per RRset needs to be valid with
  ldns-verify-zone.  Thanks Emil Natan.
* ldns-notify can use all supported hash algorithms with -y.
* bugfix #1209: make install ldns.pc file
  Thanks Oleksandr Natalenko
* bugfix #1218: Only chase DS if signer is parent of owner.
  Thanks Emil Natan
* bugfix #617: Retry WKS service and protocol names lower case.
  Thanks Siali Yan
* Spelling errors in binaries and man pages
  Thanks Andreas Schulze
* removed duplicate condition in ldns_udp_send_query.
* ldns_wire2pkt: fix null pointer dereference if pkt allocation fails
  and fix memory leak with more EDNS sections
  Thanks Jan Vcelak
* bugfix #1399: ldns_pkt2wire() Python binding is broken.
  Thanks James Raftery
* ED25519 and ED448 support. Default is to autodetect support in
  OpenSSL.  Disable with --disable-ed25519 and --disable-ed448.
* ldns-notify: can have IPv6 address as argument.
* Fix time sensitive TSIG compare vulnerability.
* Fix that ldns-testns ignores sigpipe.
* Fix that ldns-notify sets the query RR as question RR, this
  removes the wrong TTL and 0 rdata from the packet printout.
* Allow -T flag to be used together with drill -x
* Python bindings compile with swig 4.0
  Thanks Jitka Plesn�kov�
* bugfix #4248: drill -DT fails for CNAME domain
  Thanks Thom Wiggers
* bugfix #4214: Various fixes and leaks found by coverity.
  Thanks Petr Men#�k
* Feature #3394: An -I option to ldns-notify to specify a source
  IP address to send to notify from.  Thanks Geert Hendrickx
* Bugfix #279: New API functions ldns_udp_connect2,
  ldns_tcp_connect2, ldns_udp_bgsend2 and ldns_tcp_bgsend2,
  that return -1 on failure and allow socket number 0
  to be returned too.  Thanks Joerg Sonnenberger
* Bugfix #1447: More verbose reporting of chasing problems with
  ldns-verify-zone.  Thanks Stephane Guedon
* OpenSSL engine support with ldns-signzone.
  See also https://penzin.net/ldns-signzone/
  Many thanks Vadim Penzin.
* Various improvements found with shellcheck.
  Thanks Jeffrey Walton
* PR #36 Update manpage of ldns-notify to mention algorithm
  support with TSIG.  Thanks Anand Buddhdev
* Compile warnings with signed char input to to_lower()
  and is_digit() with NetBSD.  Thanks H蛆ard Eidnes
* Missing Makefile.PL in DNS-LDNS perl module contribution.
  Thanks Jaap Akkerhuis


(he)
diff -r1.40 -r1.41 pkgsrc/net/ldns/Makefile
diff -r1.9 -r1.10 pkgsrc/net/ldns/PLIST
diff -r1.23 -r1.24 pkgsrc/net/ldns/distinfo
diff -r1.2 -r0 pkgsrc/net/ldns/patches/patch-parse.c
diff -r1.1 -r0 pkgsrc/net/ldns/patches/patch-str2host.c

cvs diff -r1.40 -r1.41 pkgsrc/net/ldns/Makefile (expand / switch to unified diff)

--- pkgsrc/net/ldns/Makefile 2019/07/08 08:25:59 1.40
+++ pkgsrc/net/ldns/Makefile 2019/07/26 22:53:58 1.41
@@ -1,35 +1,38 @@ @@ -1,35 +1,38 @@
1# $NetBSD: Makefile,v 1.40 2019/07/08 08:25:59 roy Exp $ 1# $NetBSD: Makefile,v 1.41 2019/07/26 22:53:58 he Exp $
2 2
3DISTNAME= ldns-1.7.0 3DISTNAME= ldns-1.7.1
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/ 5MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/
6 6
7MAINTAINER= he@NetBSD.org 7MAINTAINER= he@NetBSD.org
8HOMEPAGE= http://www.nlnetlabs.nl/projects/ldns/ 8HOMEPAGE= http://www.nlnetlabs.nl/projects/ldns/
9COMMENT= Library for simplified DNS programming 9COMMENT= Library for simplified DNS programming
10LICENSE= modified-bsd 10LICENSE= modified-bsd
11 11
12USE_TOOLS+= gmake perl 12USE_TOOLS+= gmake perl
13USE_LIBTOOL= yes 13USE_LIBTOOL= yes
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15 15
16REPLACE_PERL= doc/doxyparse.pl 16REPLACE_PERL= doc/doxyparse.pl
17 17
18CHECK_BUILTIN.openssl= yes 18CHECK_BUILTIN.openssl= yes
19.include "../../security/openssl/builtin.mk" 19.include "../../security/openssl/builtin.mk"
20CHECK_BUILTIN.openssl= no 20CHECK_BUILTIN.openssl= no
21.include "../../security/openssl/buildlink3.mk" 21.include "../../security/openssl/buildlink3.mk"
22 22
 23# if openssl < 1.1.0
 24CONFIGURE_ARGS+= --disable-dane-verify
 25
23PLIST_VARS+= sha2 gost 26PLIST_VARS+= sha2 gost
24.if defined(USE_BUILTIN.openssl) && !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) 27.if defined(USE_BUILTIN.openssl) && !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
25PLIST_VARS.gost!= \ 28PLIST_VARS.gost!= \
26 if ${PKG_ADMIN} pmatch 'openssl>=1.0.0' ${BUILTIN_PKG.openssl:Q}; then \ 29 if ${PKG_ADMIN} pmatch 'openssl>=1.0.0' ${BUILTIN_PKG.openssl:Q}; then \
27 ${ECHO} "yes"; \ 30 ${ECHO} "yes"; \
28 else \ 31 else \
29 ${ECHO} "no"; \ 32 ${ECHO} "no"; \
30 fi 33 fi
31PLIST_VARS.sha2!= \ 34PLIST_VARS.sha2!= \
32 if ${PKG_ADMIN} pmatch 'openssl>=0.9.8' ${BUILTIN_PKG.openssl:Q}; then \ 35 if ${PKG_ADMIN} pmatch 'openssl>=0.9.8' ${BUILTIN_PKG.openssl:Q}; then \
33 ${ECHO} "yes"; \ 36 ${ECHO} "yes"; \
34 else \ 37 else \
35 ${ECHO} "no"; \ 38 ${ECHO} "no"; \

cvs diff -r1.9 -r1.10 pkgsrc/net/ldns/PLIST (expand / switch to unified diff)

--- pkgsrc/net/ldns/PLIST 2019/07/08 08:25:59 1.9
+++ pkgsrc/net/ldns/PLIST 2019/07/26 22:53:58 1.10
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.9 2019/07/08 08:25:59 roy Exp $ 1@comment $NetBSD: PLIST,v 1.10 2019/07/26 22:53:58 he Exp $
2bin/ldns-chaos 2bin/ldns-chaos
3bin/ldns-compare-zones 3bin/ldns-compare-zones
4bin/ldns-config 4bin/ldns-config
5bin/ldns-dane 5bin/ldns-dane
6bin/ldns-dpa 6bin/ldns-dpa
7bin/ldns-gen-zone 7bin/ldns-gen-zone
8bin/ldns-key2ds 8bin/ldns-key2ds
9bin/ldns-keyfetcher 9bin/ldns-keyfetcher
10bin/ldns-keygen 10bin/ldns-keygen
11bin/ldns-mx 11bin/ldns-mx
12bin/ldns-notify 12bin/ldns-notify
13bin/ldns-nsec3-hash 13bin/ldns-nsec3-hash
14bin/ldns-read-zone 14bin/ldns-read-zone
@@ -48,26 +48,27 @@ include/ldns/rbtree.h @@ -48,26 +48,27 @@ include/ldns/rbtree.h
48include/ldns/rdata.h 48include/ldns/rdata.h
49include/ldns/resolver.h 49include/ldns/resolver.h
50include/ldns/rr.h 50include/ldns/rr.h
51include/ldns/rr_functions.h 51include/ldns/rr_functions.h
52include/ldns/sha1.h 52include/ldns/sha1.h
53include/ldns/sha2.h 53include/ldns/sha2.h
54include/ldns/str2host.h 54include/ldns/str2host.h
55include/ldns/tsig.h 55include/ldns/tsig.h
56include/ldns/update.h 56include/ldns/update.h
57include/ldns/util.h 57include/ldns/util.h
58include/ldns/wire2host.h 58include/ldns/wire2host.h
59include/ldns/zone.h 59include/ldns/zone.h
60lib/libldns.la 60lib/libldns.la
 61lib/pkgconfig/ldns.pc
61man/man1/ldns-chaos.1 62man/man1/ldns-chaos.1
62man/man1/ldns-compare-zones.1 63man/man1/ldns-compare-zones.1
63man/man1/ldns-config.1 64man/man1/ldns-config.1
64man/man1/ldns-dane.1 65man/man1/ldns-dane.1
65man/man1/ldns-dpa.1 66man/man1/ldns-dpa.1
66man/man1/ldns-gen-zone.1 67man/man1/ldns-gen-zone.1
67man/man1/ldns-key2ds.1 68man/man1/ldns-key2ds.1
68man/man1/ldns-keyfetcher.1 69man/man1/ldns-keyfetcher.1
69man/man1/ldns-keygen.1 70man/man1/ldns-keygen.1
70man/man1/ldns-mx.1 71man/man1/ldns-mx.1
71man/man1/ldns-notify.1 72man/man1/ldns-notify.1
72man/man1/ldns-nsec3-hash.1 73man/man1/ldns-nsec3-hash.1
73man/man1/ldns-read-zone.1 74man/man1/ldns-read-zone.1

cvs diff -r1.23 -r1.24 pkgsrc/net/ldns/distinfo (expand / switch to unified diff)

--- pkgsrc/net/ldns/distinfo 2019/07/08 08:25:59 1.23
+++ pkgsrc/net/ldns/distinfo 2019/07/26 22:53:58 1.24
@@ -1,8 +1,6 @@ @@ -1,8 +1,6 @@
1$NetBSD: distinfo,v 1.23 2019/07/08 08:25:59 roy Exp $ 1$NetBSD: distinfo,v 1.24 2019/07/26 22:53:58 he Exp $
2 2
3SHA1 (ldns-1.7.0.tar.gz) = ceeeccf8a27e61a854762737f6ee02f44662c1b8 3SHA1 (ldns-1.7.1.tar.gz) = d075a08972c0f573101fb4a6250471daaa53cb3e
4RMD160 (ldns-1.7.0.tar.gz) = b0dfb70085258e69dda0fc343f0eece6df52e0a1 4RMD160 (ldns-1.7.1.tar.gz) = 40e7eed3f76076f581b388563cbecb440c1a7753
5SHA512 (ldns-1.7.0.tar.gz) = 8a4e48bcc2a244b92447a9830b60efbb656fb7955f3559ef2eb6f8e724c4c0208776350c44ccf7dcf1ffe0b7b9d9ccc4cbddc5bc16e8888db494ab4d0bce3bd8 5SHA512 (ldns-1.7.1.tar.gz) = e8f72a4ff4aa544acac5e7be9a8ba38c6b8d388bb26f9a0ed04c1a921622f8582cc8539beafc76a29187a55c94069b7c1875e77522e1a7e7bb3e297dd1e4c2b7
6Size (ldns-1.7.0.tar.gz) = 1304424 bytes 6Size (ldns-1.7.1.tar.gz) = 1244394 bytes
7SHA1 (patch-parse.c) = 3dbf4443b4a068f02e2799e820e8fcbf50abaa15 
8SHA1 (patch-str2host.c) = 002e2f04059a9bc2479a8d66335595d4d7dd598f 

File Deleted: pkgsrc/net/ldns/patches/Attic/patch-parse.c

File Deleted: pkgsrc/net/ldns/patches/Attic/patch-str2host.c