pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/p5-Net-DNS Update to 0.45.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e06f7352743d
branches:  trunk
changeset: 466466:e06f7352743d
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Jan 18 22:36:52 2004 +0000

description:
Update to 0.45.
Patch to enable online tests no longer necessary.

Changes since 0.42:

Revision history for Net::DNS
=============================

*** 0.45 January 8, 2004

No changes from 0.44_02.

** 0.44_02 January 3, 2004

The XS detection code was broken.  We actually use the XS bits now.

Major cleanups/optimizations of the various RR subclasses.  This release
of Net::DNS is over twice as fast at parsing dns packets as 0.44.

** NOTICE **

$rr->rdatastr no longer returns '; no data' if the RR record has no
data.  This happens in $rr->string now.

Net::DNS::Packet::safe_push() no longer exists.  The method is now only
avalible from Net::DNS::Update objects.


** 0.44_01 January 3, 2004

Net::DNS::RR objects were not playing nice with Storable, this caused
the axfr demo script to fail.  Thanks to Joe Dial for the report.

** NOTICE **
This may cause RR objects that are already serialize to not deserialize
correctly.

Reply handlers in Net::DNS::Nameserver are now passed the query object.

Fixed a nasty bug in Nameserver.pm related to the qr bit.  As Olaf
explained:

  Replies are sent if the query has its "qr" bit set. The "qr" bit is an
  indication that the packet is sent as a response to a query. Since
  there are more implementations that suffer from this bug one can cause
  all kinds of nasty ping-pong loops by spoofing the initial packet or
  have an infinite query loop by spoofing a query from the localhost:53
  address.

Various Win32/Cygwin cleanups from Sidney Markowitz.


*** 0.44 December 12, 2003

        The Wrath of CPAN Release.

CPAN.pm doesn't understand the nature of revision numbers.  1.10 is
newer than 1.9; but CPAN.pm treats them as floats.  This is bad.
All the internal version numbers in Net::DNS have been bumped to
2.100 in order to fix this.

No actual code changes in this release.


*** 0.43 December 11, 2003

Added warning of deprecation of Net::DNS::Packet::safe_push.  This will
move into Net::DNS::Update, as Net::DNS::Update is now a proper subclass
of Net::DNS::Packet.

** 0.42_02 December 11, 2003

Fixed a long standing bug with zone transfers in the "many-answers" format.
CPAN #1903.

Added the '--online-tests' flag to Makefile.PL.  This activates the online
tests without asking the user interactively.  "--no-online-tests" turns
the tests off.

Cleaned up Makefile.PL a little.  The "--pm" flag is now deprecated, use
"--no-xs" instead.

Added support for unknown RR types (rfc3597). Note for developers: the
typesbyname, typesbyval, classesbyname and classesbyval hashes should
not be used directly, use the same named wrapper functions
instead. [Olaf Kolkman]

Added two hashes for administrative use; they store which types are
qtypes and metatypes (rfc2929). [Olaf Kolkman]

** 0.42_01 November 30, 2003

Major work to get Net::DNS functioning properly on Cygwin by Sidney
Markowitz.

Fixed a bug in Net::DNS::Nameserver's error handling.  CPAN #4195

diffstat:

 net/p5-Net-DNS/Makefile         |   5 +++--
 net/p5-Net-DNS/distinfo         |   7 +++----
 net/p5-Net-DNS/patches/patch-aa |  19 -------------------
 3 files changed, 6 insertions(+), 25 deletions(-)

diffs (56 lines):

diff -r c96822c98461 -r e06f7352743d net/p5-Net-DNS/Makefile
--- a/net/p5-Net-DNS/Makefile   Sun Jan 18 22:23:20 2004 +0000
+++ b/net/p5-Net-DNS/Makefile   Sun Jan 18 22:36:52 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2004/01/05 22:16:25 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2004/01/18 22:36:52 heinz Exp $
 #
 
-DISTNAME=              Net-DNS-0.42
+DISTNAME=              Net-DNS-0.45
 PKGNAME=               p5-${DISTNAME}
 SVR4_PKGNAME=          p5ndn
 CATEGORIES=            net perl5
@@ -21,6 +21,7 @@
 
 BUILDLINK_DEPENDS.perl=        perl>=5.6.0
 USE_BUILDLINK3=                YES
+MAKE_PARAMS=           --online-tests
 
 PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/Net/DNS/.packlist
 
diff -r c96822c98461 -r e06f7352743d net/p5-Net-DNS/distinfo
--- a/net/p5-Net-DNS/distinfo   Sun Jan 18 22:23:20 2004 +0000
+++ b/net/p5-Net-DNS/distinfo   Sun Jan 18 22:36:52 2004 +0000
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.7 2003/12/10 22:38:41 heinz Exp $
+$NetBSD: distinfo,v 1.8 2004/01/18 22:36:52 heinz Exp $
 
-SHA1 (Net-DNS-0.42.tar.gz) = 048d9f969344de14e60e1d1c9f98e1b3e389ddae
-Size (Net-DNS-0.42.tar.gz) = 89794 bytes
-SHA1 (patch-aa) = 5c561f0db944452a6221b9befb1d19097cc6e497
+SHA1 (Net-DNS-0.45.tar.gz) = f23d8fb8e555c8055bd2a55927b65a68a21d6045
+Size (Net-DNS-0.45.tar.gz) = 94503 bytes
diff -r c96822c98461 -r e06f7352743d net/p5-Net-DNS/patches/patch-aa
--- a/net/p5-Net-DNS/patches/patch-aa   Sun Jan 18 22:23:20 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2003/12/10 22:38:41 heinz Exp $
-
---- Makefile.PL.orig   Sun Oct 26 06:36:09 2003
-+++ Makefile.PL
-@@ -101,12 +101,8 @@ that try to query live nameservers.
- 
- EOT
- 
--      if (prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
--              open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
--              close(ENABLED);
--      } else {
--              unlink("t/online.enabled"); # just to be shure...
--      }
-+      open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
-+      close(ENABLED);
- } else {
-       unlink("t/online.enabled"); # just to be shure...
- }



Home | Main Index | Thread Index | Old Index