Sun Feb 22 16:38:46 2009 UTC ()
Update to 0.65:

**** 0.65 January 26, 2009

Fix rt.cpan.org #41076

    When the AAAA object was constructed with new_from_hash with an
    address containing the "::" shorthand notation normalization was
    not done properly.

Fix rt.cpan.org #42375

    Typo in Win32.pm Registry root.

**** 0.64 December 30, 2008

Feature rt.cpan.org #36656

    Added support for the APL record (RFC 3123)
    The module consists of a list of Address Prefix Item objects
    as defined in the Net::DNS::RR::APL::ApItem class.
    NOTE: Class and its interface may be subject to change.

Fix rt.cpan.org #11931 Wrong nameserver list handling in
                       Net::DNS::Resolver::Win32

    The init method has been rewritten to be based on WIN32::IPhelper for
    the selection of the domain and the IP addresses. This is believed to
    be more portable than trying to fetch the data from the registry.
    We still trying to get the searchlist from the registry.

    WARNING: If you use Perl under WIN32 (eg ActivePerl or Strawberry Perl)
    then your module dependency graph has changed drastically

Fix IPv6 modules
    When IO::Socket::INET6 was available but Socket6 was not the code would
    recurse to infinity.

Fix rt.cpan.org #21757 and Feature: Connectivity during test
    Addition of --no-IPv6-tests and --IPv6-tests option in Makefile.PL.
    Note: This causes two questions to be asked when building the
    Makefile instead of one.

    Besides the test suites are constructed so that all the connectivity testing
    happen in 001-connectivity.t and inavailability of connectivity over a certain
    transport is signalled over files t/online.disabled and t/IPv6.disabled respectivly.
    Both files are removed by t/99-cleanup

Fix rt.cpan.org #34511
    Priming query logic contained unneeded recursion.
    Now also fals back to hardcoded hints if there are no nameservers whatsoever.

Fix rt.cpan.org #38390 and 37089
    Added CD and AD bit control to the resolver.

    The CD flag defaults to being unset and the AD flags is set by default
    whenever DNSSEC is available.
    Both flags default to unset in absence of DNSSEC.

Fix rt.cpan.org #37282
   Improved error reporting during client disconnect from the nameserver

NOTE rt.cpan.org # 40249

   Release 0.62 introduced a feature to parse data inside a packet only
   when needed. This can the following to happen:

   Eception: corrupt or incomplete data at
                     /usr/lib/perl5/Net/DNS/RR.pm line 510.
   caught at -e line 1

   This may happen when you have undefined your packet data before all the
   sections have been fully parsed. Such as in:

   $packet = Net::DNS::Packet->new(\$data);
   undef($data);

   The workaround is to force parcing by calling the methods that
   parse the data. e.g.

   $packet = Net::DNS::Packet->new(\$data);
   $packet->answer; $packet->additional; $packet->authority;
   undef ($data)

Fix rt.cpan.org # 41076 and # 41071

  Net::DNS::RR->new_from_hash function would not normalize the content
  of the data so that a method getting a string representation would
  get inconsistent results depending on whether a RR was created from
  a string of from a hash.

Fix rt.cpan.org # 41296

  Compression buggy for large packets. Fix by Kim Minh.

Fix rt.cpan.org # 35752

  Perl 5.10.0 gave a number of issues on several platforms, prefering
  XSLoader over Dynaloader seemed to fix those.

Bug rt.cpan.org #34510
  Buggy setting of "Recursion too deep, aborted" corrected.

Feature (rt.cpan.org #39284)

  The ReplyHandler now also receives a variable with an annonymous has with the connection details. Variables
  supplied to the Reply handler are:  $qname, $qclass, $qtype, $peerhost, $query, $conn
  The hash referenced by $conn contains the following buckets: sockhost, sockport,  peerhost, and peerport.

Feature t/08-online.t and t/10-recurse.t

  In particular environments a query for a.t. will resolve and or
  middleboxes will replace DNS packet content for queries to the root.
  A bunch of test is skipped when this (broken) environment is
  detected.

Feature/Bug rt.cpan.org #22019

  The initial fix for rt 22019 was to strip a trailing dot from all
  attributes that where povided as argument for the
  Net::DNS::RR::new_from_hash function.  We have introduced
  Net::DNS::stripdot, a function that will strip the dots of domain
  names, taking into account possible escapes (e.g. labels like
  foo\\\..).  As a side effect the new_from_string method will now
  convert possible spaces that are not trapped by some of the
  new_from_string functions and convert them to \032 escapes.

  For information: The internal storage of domain names is using
  presentation format without trailing dots.

Bug
  @EXPORT and @EXPORT_OK moved to a BEGIN block so that Net::DNS::SEC
  can make use of exported functions

Feature/Bug

  The Notify handler introduced in 0.63 did not set the OPCODE on the
  reply appropriately. This has been solved generically by allowing the
  "Headermask" that is returned as 4th element by the reply or notify
  handler in the nameserver also allows for the opcode to be set.
  e.g. as in return ("NXDOMAIN",[],[],[],{ opcode => "NS_NOTIFY_OP" }
  );


(wiz)
diff -r1.39 -r1.40 pkgsrc/net/p5-Net-DNS/Makefile
diff -r1.21 -r1.22 pkgsrc/net/p5-Net-DNS/distinfo

cvs diff -r1.39 -r1.40 pkgsrc/net/p5-Net-DNS/Makefile (expand / switch to unified diff)

--- pkgsrc/net/p5-Net-DNS/Makefile 2008/10/19 19:18:31 1.39
+++ pkgsrc/net/p5-Net-DNS/Makefile 2009/02/22 16:38:46 1.40
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.39 2008/10/19 19:18:31 he Exp $ 1# $NetBSD: Makefile,v 1.40 2009/02/22 16:38:46 wiz Exp $
2 2
3DISTNAME= Net-DNS-0.63 3DISTNAME= Net-DNS-0.65
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5PKGREVISION= 1 
6SVR4_PKGNAME= p5ndn 5SVR4_PKGNAME= p5ndn
7CATEGORIES= net perl5 6CATEGORIES= net perl5
8MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} \ 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} \
9 http://www.net-dns.org/download/ 8 http://www.net-dns.org/download/
10 9
11MAINTAINER= heinz@NetBSD.org 10MAINTAINER= heinz@NetBSD.org
12HOMEPAGE= http://www.net-dns.org/ 11HOMEPAGE= http://www.net-dns.org/
13COMMENT= Perl5 module for DNS resolution 12COMMENT= Perl5 module for DNS resolution
14 13
15PKG_INSTALLATION_TYPES= overwrite pkgviews 14PKG_INSTALLATION_TYPES= overwrite pkgviews
16PKG_DESTDIR_SUPPORT= user-destdir 15PKG_DESTDIR_SUPPORT= user-destdir
17 16
18BUILD_DEPENDS+= {p5-Test-Simple>=0.44,perl{,-thread}>=5.8.0}:../../devel/p5-Test-Simple 17BUILD_DEPENDS+= {p5-Test-Simple>=0.44,perl{,-thread}>=5.8.0}:../../devel/p5-Test-Simple
@@ -20,27 +19,30 @@ DEPENDS+= p5-Digest-HMAC>=1.0:../../sec @@ -20,27 +19,30 @@ DEPENDS+= p5-Digest-HMAC>=1.0:../../sec
20DEPENDS+= p5-Digest-MD5>=2.12:../../security/p5-Digest-MD5 19DEPENDS+= p5-Digest-MD5>=2.12:../../security/p5-Digest-MD5
21DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64 20DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64
22DEPENDS+= p5-Net-IP>=1.20:../../net/p5-Net-IP 21DEPENDS+= p5-Net-IP>=1.20:../../net/p5-Net-IP
23 22
24PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Net-DNS 23PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Net-DNS
25PKG_SUPPORTED_OPTIONS= inet6 online-tests 24PKG_SUPPORTED_OPTIONS= inet6 online-tests
26PKG_SUGGESTED_OPTIONS= inet6 25PKG_SUGGESTED_OPTIONS= inet6
27 26
28.include "../../mk/bsd.options.mk" 27.include "../../mk/bsd.options.mk"
29 28
30.if !empty(PKG_OPTIONS:Minet6) 29.if !empty(PKG_OPTIONS:Minet6)
31DEPENDS+= p5-INET6>=2.01:../../net/p5-INET6 30DEPENDS+= p5-INET6>=2.01:../../net/p5-INET6
32DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6 31DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6
 32MAKE_PARAMS+= --IPv6-tests
 33.else
 34MAKE_PARAMS+= --no-IPv6-tests
33.endif 35.endif
34 36
35.if !empty(PKG_OPTIONS:Monline-tests) 37.if !empty(PKG_OPTIONS:Monline-tests)
36MAKE_PARAMS= --online-tests 38MAKE_PARAMS+= --online-tests
37.else 39.else
38MAKE_PARAMS= --noonline-tests 40MAKE_PARAMS+= --no-online-tests
39.endif 41.endif
40 42
41USE_LANGUAGES= c 43USE_LANGUAGES= c
42 44
43PERL5_PACKLIST= auto/Net/DNS/.packlist 45PERL5_PACKLIST= auto/Net/DNS/.packlist
44 46
45.include "../../lang/perl5/module.mk" 47.include "../../lang/perl5/module.mk"
46.include "../../mk/bsd.pkg.mk" 48.include "../../mk/bsd.pkg.mk"

cvs diff -r1.21 -r1.22 pkgsrc/net/p5-Net-DNS/distinfo (expand / switch to unified diff)

--- pkgsrc/net/p5-Net-DNS/distinfo 2008/03/15 12:10:21 1.21
+++ pkgsrc/net/p5-Net-DNS/distinfo 2009/02/22 16:38:46 1.22
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.21 2008/03/15 12:10:21 tron Exp $ 1$NetBSD: distinfo,v 1.22 2009/02/22 16:38:46 wiz Exp $
2 2
3SHA1 (Net-DNS-0.63.tar.gz) = 58fa1272706067e7e0e56d53ee52e8ffff492fbe 3SHA1 (Net-DNS-0.65.tar.gz) = cbda6a5bf7fbf7fd160266625b5a1c672ea0c8f0
4RMD160 (Net-DNS-0.63.tar.gz) = da8bc35bb37fcf99d7201c56c44296e2e92bb533 4RMD160 (Net-DNS-0.65.tar.gz) = 69e8dbf5536905b851305ef0f11952df737b9229
5Size (Net-DNS-0.63.tar.gz) = 149488 bytes 5Size (Net-DNS-0.65.tar.gz) = 157633 bytes