Opened 6 years ago

Closed 5 years ago

#11173 closed enhancement (fixed)

Net-DNS-1.18 (Perl Module)

Reported by: Bruce Dubbs Owned by: ken@…
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (7)

comment:1 by ken@…, 6 years ago

1.18 Sep 21, 2018

Documentation revised to remove ambigous use of "answer" which has been used to refer to both the answer section of a packet and the entire reply packet received from a nameserver.

Fix rt.cpan.org #127018

Net::DNS::ZoneFile->parse() fails if include directory specified.

Fix rt.cpan.org #127012

DNS resolution broken when options ndots used in /etc/resolv.conf

comment:2 by Bruce Dubbs, 5 years ago

It looks like Net-DNS-1.18 now uses Net-LibIDN2. The current version, THOR/Net-LibIDN2-1.00.tar.gz, has broken tests. A patch exists, https://rt.cpan.org/Public/Bug/Display.html?id=125440, and on May 31 they said it would be applied. That does not seem to be done yet.

Running make for N/NL/NLNETLABS/Net-DNS-1.18.tar.gz
---- Unsatisfied dependencies detected during ----
----       NLNETLABS/Net-DNS-1.18.tar.gz      ----
    Net::LibIDN2 [requires,optional]

Actually, Net-DNS-1.18 seemed to install OK, but then via CPAN it tried to install T/TH/THOR/Net-LibIDN2-1.00.tar.gz where the tests failed and the module was not installed.

Running 'cpan -i -f Net::LibIDN2' forced the module to be installed.

comment:3 by ken@…, 5 years ago

That is not a new dep, it was present in 1.17 but it is _optional_ for the testsuite, so we do not mention it in the book. I guess that using cpan's automated install you get everything marked as a possible dep.

FWIW, the only warning about missing prerequisites that I get is for Digest::HMAC which is optional for the tests.

In the perl modules branch I have already removed the IO::Socket6 dep.

With 1.18

t/02-IDN.t ................. skipped: Net::LibIDN2 not installed
[...]
All tests successful.
Files=99, Tests=3016, 74 wallclock secs ( 0.37 usr  0.07 sys +  7.38 cusr  0.77 csys =  8.59 CPU)
Result: PASS

Various other tests were skipped because other modules were not installed, and some tests reported "Disregarding N failed sub-test(s)"

And since I'm here, from Changes:

**** 1.18 Sep 21, 2018

        Documentation revised to remove ambigous use of "answer" which
        has been used to refer to both the answer section of a packet
        and the entire reply packet received from a nameserver.

Fix rt.cpan.org #127018

        Net::DNS::ZoneFile->parse() fails if include directory specified.

Fix rt.cpan.org #127012

        DNS resolution broken when options ndots used in /etc/resolv.conf

comment:4 by ken@…, 5 years ago

Looking at a diff for Makefile.PL from 1.17 to 1.18, Scalar::Util (core) moved from optional to prerequisite.

Revisiting our old friend Net::LibIDN2, that along with Net::DNS::Sec (which needs Net::DNS) and Digest::BubbleBabble are all listed as optional in both versions.

comment:5 by ken@…, 5 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

comment:6 by ken@…, 5 years ago

Completed in trunk at r20714

comment:7 by ken@…, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.