update to p5-Net-DNS-0.26

+ Fixed warning in Net::DNS::RR::AUTOLOAD with perl 5.005.
+ Implemented autoloading of the RR subclasses.  This provides a
  good sized speed bump, particually for applications that are not
  persisant.
+ Cleaned up a few things with CERT RRs.
+ Removed use of $' from RR.pm for effciency reasons.  As a result,
  for all RRs text following a ';' is considered a comment.  This
  was originally only done in RR/SOA.pm.
+ Added method caching to AUTOLOAD subroutines.  This should provide
  a modest speed bump.
+ The test suite has been greatly improved, though there is still
  more to be done in this regard.
+ Added support for DNAME resource records.
+ Fixed edge case for queries that have no name.
+ Tighted up the regular expression used in Net::DNS::Resolver::cname_addr()
This commit is contained in:
wilfried 2002-08-09 10:45:08 +00:00
parent 33ca157c6f
commit 0bf6f0f9d3
4 changed files with 33 additions and 7 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.9 2002/07/01 15:17:20 wilfried Exp $
# $OpenBSD: Makefile,v 1.10 2002/08/09 10:45:08 wilfried Exp $
COMMENT= 'module to interface the DNS resolver'
DISTNAME= Net-DNS-0.23
DISTNAME= Net-DNS-0.26
PKGNAME= p5-${DISTNAME}
CATEGORIES= net perl5
NEED_VERSION= 1.528
HOMEPAGE= http://www.net-dns.org/

View File

@ -1,3 +1,3 @@
MD5 (Net-DNS-0.23.tar.gz) = 2d0a02e8288da289f65648f8ab4dd713
RMD160 (Net-DNS-0.23.tar.gz) = 27f06678b1b3bfcc82dd2aff1d60020ed2f5339f
SHA1 (Net-DNS-0.23.tar.gz) = 5a6a35806211fd301606fe6df5a45c56bac23b34
MD5 (Net-DNS-0.26.tar.gz) = deea94a4762fa6273be157d3af5ec162
RMD160 (Net-DNS-0.26.tar.gz) = acfae7a1b5f031bf7a7313384394247ad396db07
SHA1 (Net-DNS-0.26.tar.gz) = b141ed22f52ef7b059de1b6d36ec30393b4d4108

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-Makefile_PL,v 1.1 2002/08/09 10:45:08 wilfried Exp $
--- Makefile.PL.orig Mon Aug 5 22:06:55 2002
+++ Makefile.PL Fri Aug 9 12:40:26 2002
@@ -22,19 +22,8 @@ my $s = IO::Socket::INET->new(
if ($s) {
close($s);
- print <<EOT;
-
-You appear to be directly connected to the Internet. I have some tests
-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);
}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2002/06/07 01:15:35 wilfried Exp $
@comment $OpenBSD: PLIST,v 1.7 2002/08/09 10:45:08 wilfried Exp $
${P5SITE}/Net/DNS.pm
${P5SITE}/Net/DNS/Header.pm
${P5SITE}/Net/DNS/Nameserver.pm
@ -10,6 +10,7 @@ ${P5SITE}/Net/DNS/RR/AAAA.pm
${P5SITE}/Net/DNS/RR/AFSDB.pm
${P5SITE}/Net/DNS/RR/CERT.pm
${P5SITE}/Net/DNS/RR/CNAME.pm
${P5SITE}/Net/DNS/RR/DNAME.pm
${P5SITE}/Net/DNS/RR/EID.pm
${P5SITE}/Net/DNS/RR/HINFO.pm
${P5SITE}/Net/DNS/RR/ISDN.pm
@ -48,6 +49,7 @@ man/man3p/Net::DNS::RR::AAAA.3p
man/man3p/Net::DNS::RR::AFSDB.3p
man/man3p/Net::DNS::RR::CERT.3p
man/man3p/Net::DNS::RR::CNAME.3p
man/man3p/Net::DNS::RR::DNAME.3p
man/man3p/Net::DNS::RR::EID.3p
man/man3p/Net::DNS::RR::HINFO.3p
man/man3p/Net::DNS::RR::ISDN.3p