mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
* Assume maintainership by agreement.
* Update to 0.14, which has only two changes: - Fix the bug which we fixed with patch-aa - Fix the "defined @array" line that trips up perl 5.6.x
This commit is contained in:
parent
471f7e21d7
commit
e4e46ecd08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54257
@ -6,14 +6,13 @@
|
||||
#
|
||||
|
||||
PORTNAME= Net-DNS
|
||||
PORTVERSION= 0.12
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.14
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Net
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= demon@FreeBSD.org
|
||||
MAINTAINER= DougB@FreeBSD.org
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (Net-DNS-0.12.tar.gz) = 377e8a971e8f3e9daed32976142886df
|
||||
MD5 (Net-DNS-0.14.tar.gz) = 23ff3111fe23b525422768dd0580c50d
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- lib/Net/DNS/Resolver.pm.bak Thu Oct 2 09:32:14 1997
|
||||
+++ lib/Net/DNS/Resolver.pm Fri Dec 21 00:20:11 2001
|
||||
@@ -244,7 +244,10 @@
|
||||
}
|
||||
|
||||
sub nextid {
|
||||
- return $global{"id"}++;
|
||||
+ if (++$global{"id"} > 65535) {
|
||||
+ $global{"id"} = 0;
|
||||
+ }
|
||||
+ return $global{"id"};
|
||||
}
|
||||
|
||||
=head2 searchlist
|
@ -1,44 +1,12 @@
|
||||
Net::DNS is a collection of Perl modules to interface with
|
||||
the Domain Name System (DNS) resolver. It allows the
|
||||
programmer to perform queries that are beyond the
|
||||
capabilities of gethostbyname and gethostbyaddr.
|
||||
Net::DNS is a collection of Perl modules to interface with
|
||||
the Domain Name System (DNS) resolver. It allows the
|
||||
programmer to perform queries that are beyond the
|
||||
capabilities of gethostbyname and gethostbyaddr.
|
||||
|
||||
Resolver Objects
|
||||
There are also methods for dealing with creating and
|
||||
parsing dynamic updates packets.
|
||||
|
||||
A resolver object is an instance of the Net::DNS::Resolver
|
||||
class. A program can have multiple resolver objects, each
|
||||
maintaining its own state information such as the
|
||||
nameservers to be queried, whether recursion is desired,
|
||||
etc.
|
||||
WWW: http://search.cpan.org/search?module=Net::DNS
|
||||
|
||||
Packet Objects
|
||||
|
||||
Net::DNS::Resolver queries return Net::DNS::Packet
|
||||
objects. Packet objects have five sections:
|
||||
|
||||
o The header section, a Net::DNS::Header object.
|
||||
|
||||
o The question section, a list of Net::DNS::Question
|
||||
objects.
|
||||
|
||||
o The answer section, a list of Net::DNS::RR objects.
|
||||
|
||||
o The authority section, a list of Net::DNS::RR objects.
|
||||
|
||||
o The additional section, a list of Net::DNS::RR objects.
|
||||
|
||||
Header Objects
|
||||
|
||||
Net::DNS::Header objects represent the header section of a
|
||||
DNS packet.
|
||||
|
||||
Question Objects
|
||||
|
||||
Net::DNS::Question objects represent the query section of
|
||||
a DNS packet.
|
||||
|
||||
RR Objects
|
||||
|
||||
Net::DNS::RR is the base class for DNS resource record
|
||||
(RR) objects in the answer, authority, and additional
|
||||
sections of a DNS packet.
|
||||
- Doug Barton
|
||||
DougB@FreeBSD.org
|
||||
|
@ -6,14 +6,13 @@
|
||||
#
|
||||
|
||||
PORTNAME= Net-DNS
|
||||
PORTVERSION= 0.12
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.14
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Net
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= demon@FreeBSD.org
|
||||
MAINTAINER= DougB@FreeBSD.org
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (Net-DNS-0.12.tar.gz) = 377e8a971e8f3e9daed32976142886df
|
||||
MD5 (Net-DNS-0.14.tar.gz) = 23ff3111fe23b525422768dd0580c50d
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- lib/Net/DNS/Resolver.pm.bak Thu Oct 2 09:32:14 1997
|
||||
+++ lib/Net/DNS/Resolver.pm Fri Dec 21 00:20:11 2001
|
||||
@@ -244,7 +244,10 @@
|
||||
}
|
||||
|
||||
sub nextid {
|
||||
- return $global{"id"}++;
|
||||
+ if (++$global{"id"} > 65535) {
|
||||
+ $global{"id"} = 0;
|
||||
+ }
|
||||
+ return $global{"id"};
|
||||
}
|
||||
|
||||
=head2 searchlist
|
@ -1,44 +1,12 @@
|
||||
Net::DNS is a collection of Perl modules to interface with
|
||||
the Domain Name System (DNS) resolver. It allows the
|
||||
programmer to perform queries that are beyond the
|
||||
capabilities of gethostbyname and gethostbyaddr.
|
||||
Net::DNS is a collection of Perl modules to interface with
|
||||
the Domain Name System (DNS) resolver. It allows the
|
||||
programmer to perform queries that are beyond the
|
||||
capabilities of gethostbyname and gethostbyaddr.
|
||||
|
||||
Resolver Objects
|
||||
There are also methods for dealing with creating and
|
||||
parsing dynamic updates packets.
|
||||
|
||||
A resolver object is an instance of the Net::DNS::Resolver
|
||||
class. A program can have multiple resolver objects, each
|
||||
maintaining its own state information such as the
|
||||
nameservers to be queried, whether recursion is desired,
|
||||
etc.
|
||||
WWW: http://search.cpan.org/search?module=Net::DNS
|
||||
|
||||
Packet Objects
|
||||
|
||||
Net::DNS::Resolver queries return Net::DNS::Packet
|
||||
objects. Packet objects have five sections:
|
||||
|
||||
o The header section, a Net::DNS::Header object.
|
||||
|
||||
o The question section, a list of Net::DNS::Question
|
||||
objects.
|
||||
|
||||
o The answer section, a list of Net::DNS::RR objects.
|
||||
|
||||
o The authority section, a list of Net::DNS::RR objects.
|
||||
|
||||
o The additional section, a list of Net::DNS::RR objects.
|
||||
|
||||
Header Objects
|
||||
|
||||
Net::DNS::Header objects represent the header section of a
|
||||
DNS packet.
|
||||
|
||||
Question Objects
|
||||
|
||||
Net::DNS::Question objects represent the query section of
|
||||
a DNS packet.
|
||||
|
||||
RR Objects
|
||||
|
||||
Net::DNS::RR is the base class for DNS resource record
|
||||
(RR) objects in the answer, authority, and additional
|
||||
sections of a DNS packet.
|
||||
- Doug Barton
|
||||
DougB@FreeBSD.org
|
||||
|
Loading…
Reference in New Issue
Block a user