Import of p5-Net-DNS, a perl5 interface to the resolver libraries.

This commit is contained in:
James FitzGibbon 1997-04-05 22:15:47 +00:00
parent 6ecb595a4d
commit 3f368cbcb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6145
10 changed files with 260 additions and 0 deletions

33
dns/p5-Net-DNS/Makefile Normal file
View file

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-Net-DNS
# Version required: 0.06
# Date created: April 5th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $Id$
#
DISTNAME= Net-DNS-0.06
PKGNAME= p5-Net-0.06
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 \
${PREFIX}/lib/perl5/IO/Socket.pm:${PORTSDIR}/net/p5-IO/
RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
MAN3= Net::DNS.3 Net::DNS::Header.3 Net::DNS::Packet.3 \
Net::DNS::Question.3 Net::DNS::RR.3 Net::DNS::RR::A.3 \
Net::DNS::RR::AFSDB.3 Net::DNS::RR::CNAME.3 Net::DNS::RR::HINFO.3 \
Net::DNS::RR::ISDN.3 Net::DNS::RR::MG.3 Net::DNS::RR::MINFO.3 \
Net::DNS::RR::MR.3 Net::DNS::RR::MX.3 Net::DNS::RR::NS.3 Net::DNS::RR::PTR.3 \
Net::DNS::RR::RP.3 Net::DNS::RR::RT.3 Net::DNS::RR::SOA.3 Net::DNS::RR::SRV.3 \
Net::DNS::RR::TXT.3 Net::DNS::RR::X25.3 Net::DNS::Resolver.3
MANPREFIX= ${PREFIX}/lib/perl5
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
.include <bsd.port.mk>

1
dns/p5-Net-DNS/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (Net-DNS-0.06.tar.gz) = f569bac792d841cbb8875e02c32f031e

View file

@ -0,0 +1 @@
perl5 interface to the DNS resolver

45
dns/p5-Net-DNS/pkg-descr Normal file
View file

@ -0,0 +1,45 @@
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
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.
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.

50
dns/p5-Net-DNS/pkg-plist Normal file
View file

@ -0,0 +1,50 @@
lib/perl5/man/man3/Net::DNS.3.gz
lib/perl5/man/man3/Net::DNS::Header.3.gz
lib/perl5/man/man3/Net::DNS::Packet.3.gz
lib/perl5/man/man3/Net::DNS::Question.3.gz
lib/perl5/man/man3/Net::DNS::RR.3.gz
lib/perl5/man/man3/Net::DNS::RR::A.3.gz
lib/perl5/man/man3/Net::DNS::RR::AFSDB.3.gz
lib/perl5/man/man3/Net::DNS::RR::CNAME.3.gz
lib/perl5/man/man3/Net::DNS::RR::HINFO.3.gz
lib/perl5/man/man3/Net::DNS::RR::ISDN.3.gz
lib/perl5/man/man3/Net::DNS::RR::MG.3.gz
lib/perl5/man/man3/Net::DNS::RR::MINFO.3.gz
lib/perl5/man/man3/Net::DNS::RR::MR.3.gz
lib/perl5/man/man3/Net::DNS::RR::MX.3.gz
lib/perl5/man/man3/Net::DNS::RR::NS.3.gz
lib/perl5/man/man3/Net::DNS::RR::PTR.3.gz
lib/perl5/man/man3/Net::DNS::RR::RP.3.gz
lib/perl5/man/man3/Net::DNS::RR::RT.3.gz
lib/perl5/man/man3/Net::DNS::RR::SOA.3.gz
lib/perl5/man/man3/Net::DNS::RR::SRV.3.gz
lib/perl5/man/man3/Net::DNS::RR::TXT.3.gz
lib/perl5/man/man3/Net::DNS::RR::X25.3.gz
lib/perl5/man/man3/Net::DNS::Resolver.3.gz
lib/perl5/site_perl/Net/DNS.pm
lib/perl5/site_perl/Net/DNS/Header.pm
lib/perl5/site_perl/Net/DNS/Packet.pm
lib/perl5/site_perl/Net/DNS/Question.pm
lib/perl5/site_perl/Net/DNS/RR.pm
lib/perl5/site_perl/Net/DNS/RR/A.pm
lib/perl5/site_perl/Net/DNS/RR/AFSDB.pm
lib/perl5/site_perl/Net/DNS/RR/CNAME.pm
lib/perl5/site_perl/Net/DNS/RR/HINFO.pm
lib/perl5/site_perl/Net/DNS/RR/ISDN.pm
lib/perl5/site_perl/Net/DNS/RR/MG.pm
lib/perl5/site_perl/Net/DNS/RR/MINFO.pm
lib/perl5/site_perl/Net/DNS/RR/MR.pm
lib/perl5/site_perl/Net/DNS/RR/MX.pm
lib/perl5/site_perl/Net/DNS/RR/NS.pm
lib/perl5/site_perl/Net/DNS/RR/PTR.pm
lib/perl5/site_perl/Net/DNS/RR/RP.pm
lib/perl5/site_perl/Net/DNS/RR/RT.pm
lib/perl5/site_perl/Net/DNS/RR/SOA.pm
lib/perl5/site_perl/Net/DNS/RR/SRV.pm
lib/perl5/site_perl/Net/DNS/RR/TXT.pm
lib/perl5/site_perl/Net/DNS/RR/X25.pm
lib/perl5/site_perl/Net/DNS/Resolver.pm
lib/perl5/site_perl/i386-freebsd/auto/Net/DNS/.packlist
@dirrm lib/perl5/site_perl/Net/DNS/RR
@dirrm lib/perl5/site_perl/Net/DNS
@dirrm lib/perl5/site_perl/i386-freebsd/auto/Net/DNS

33
net/p5-Net-DNS/Makefile Normal file
View file

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-Net-DNS
# Version required: 0.06
# Date created: April 5th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $Id$
#
DISTNAME= Net-DNS-0.06
PKGNAME= p5-Net-0.06
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 \
${PREFIX}/lib/perl5/IO/Socket.pm:${PORTSDIR}/net/p5-IO/
RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
MAN3= Net::DNS.3 Net::DNS::Header.3 Net::DNS::Packet.3 \
Net::DNS::Question.3 Net::DNS::RR.3 Net::DNS::RR::A.3 \
Net::DNS::RR::AFSDB.3 Net::DNS::RR::CNAME.3 Net::DNS::RR::HINFO.3 \
Net::DNS::RR::ISDN.3 Net::DNS::RR::MG.3 Net::DNS::RR::MINFO.3 \
Net::DNS::RR::MR.3 Net::DNS::RR::MX.3 Net::DNS::RR::NS.3 Net::DNS::RR::PTR.3 \
Net::DNS::RR::RP.3 Net::DNS::RR::RT.3 Net::DNS::RR::SOA.3 Net::DNS::RR::SRV.3 \
Net::DNS::RR::TXT.3 Net::DNS::RR::X25.3 Net::DNS::Resolver.3
MANPREFIX= ${PREFIX}/lib/perl5
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
.include <bsd.port.mk>

1
net/p5-Net-DNS/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (Net-DNS-0.06.tar.gz) = f569bac792d841cbb8875e02c32f031e

View file

@ -0,0 +1 @@
perl5 interface to the DNS resolver

45
net/p5-Net-DNS/pkg-descr Normal file
View file

@ -0,0 +1,45 @@
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
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.
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.

50
net/p5-Net-DNS/pkg-plist Normal file
View file

@ -0,0 +1,50 @@
lib/perl5/man/man3/Net::DNS.3.gz
lib/perl5/man/man3/Net::DNS::Header.3.gz
lib/perl5/man/man3/Net::DNS::Packet.3.gz
lib/perl5/man/man3/Net::DNS::Question.3.gz
lib/perl5/man/man3/Net::DNS::RR.3.gz
lib/perl5/man/man3/Net::DNS::RR::A.3.gz
lib/perl5/man/man3/Net::DNS::RR::AFSDB.3.gz
lib/perl5/man/man3/Net::DNS::RR::CNAME.3.gz
lib/perl5/man/man3/Net::DNS::RR::HINFO.3.gz
lib/perl5/man/man3/Net::DNS::RR::ISDN.3.gz
lib/perl5/man/man3/Net::DNS::RR::MG.3.gz
lib/perl5/man/man3/Net::DNS::RR::MINFO.3.gz
lib/perl5/man/man3/Net::DNS::RR::MR.3.gz
lib/perl5/man/man3/Net::DNS::RR::MX.3.gz
lib/perl5/man/man3/Net::DNS::RR::NS.3.gz
lib/perl5/man/man3/Net::DNS::RR::PTR.3.gz
lib/perl5/man/man3/Net::DNS::RR::RP.3.gz
lib/perl5/man/man3/Net::DNS::RR::RT.3.gz
lib/perl5/man/man3/Net::DNS::RR::SOA.3.gz
lib/perl5/man/man3/Net::DNS::RR::SRV.3.gz
lib/perl5/man/man3/Net::DNS::RR::TXT.3.gz
lib/perl5/man/man3/Net::DNS::RR::X25.3.gz
lib/perl5/man/man3/Net::DNS::Resolver.3.gz
lib/perl5/site_perl/Net/DNS.pm
lib/perl5/site_perl/Net/DNS/Header.pm
lib/perl5/site_perl/Net/DNS/Packet.pm
lib/perl5/site_perl/Net/DNS/Question.pm
lib/perl5/site_perl/Net/DNS/RR.pm
lib/perl5/site_perl/Net/DNS/RR/A.pm
lib/perl5/site_perl/Net/DNS/RR/AFSDB.pm
lib/perl5/site_perl/Net/DNS/RR/CNAME.pm
lib/perl5/site_perl/Net/DNS/RR/HINFO.pm
lib/perl5/site_perl/Net/DNS/RR/ISDN.pm
lib/perl5/site_perl/Net/DNS/RR/MG.pm
lib/perl5/site_perl/Net/DNS/RR/MINFO.pm
lib/perl5/site_perl/Net/DNS/RR/MR.pm
lib/perl5/site_perl/Net/DNS/RR/MX.pm
lib/perl5/site_perl/Net/DNS/RR/NS.pm
lib/perl5/site_perl/Net/DNS/RR/PTR.pm
lib/perl5/site_perl/Net/DNS/RR/RP.pm
lib/perl5/site_perl/Net/DNS/RR/RT.pm
lib/perl5/site_perl/Net/DNS/RR/SOA.pm
lib/perl5/site_perl/Net/DNS/RR/SRV.pm
lib/perl5/site_perl/Net/DNS/RR/TXT.pm
lib/perl5/site_perl/Net/DNS/RR/X25.pm
lib/perl5/site_perl/Net/DNS/Resolver.pm
lib/perl5/site_perl/i386-freebsd/auto/Net/DNS/.packlist
@dirrm lib/perl5/site_perl/Net/DNS/RR
@dirrm lib/perl5/site_perl/Net/DNS
@dirrm lib/perl5/site_perl/i386-freebsd/auto/Net/DNS