aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-DNS
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-04-06 06:15:47 +0800
committerjfitz <jfitz@FreeBSD.org>1997-04-06 06:15:47 +0800
commit4b48c328b067310da06d330550adee83f90dbca7 (patch)
tree95cbac2cec914076a50e2049b92798049a282bd9 /net/p5-Net-DNS
parent2118a0096bc12b469339dc2e86e9ce7a55962698 (diff)
downloadfreebsd-ports-gnome-4b48c328b067310da06d330550adee83f90dbca7.tar.gz
freebsd-ports-gnome-4b48c328b067310da06d330550adee83f90dbca7.tar.zst
freebsd-ports-gnome-4b48c328b067310da06d330550adee83f90dbca7.zip
Import of p5-Net-DNS, a perl5 interface to the resolver libraries.
Diffstat (limited to 'net/p5-Net-DNS')
-rw-r--r--net/p5-Net-DNS/Makefile33
-rw-r--r--net/p5-Net-DNS/distinfo1
-rw-r--r--net/p5-Net-DNS/pkg-comment1
-rw-r--r--net/p5-Net-DNS/pkg-descr45
-rw-r--r--net/p5-Net-DNS/pkg-plist50
5 files changed, 130 insertions, 0 deletions
diff --git a/net/p5-Net-DNS/Makefile b/net/p5-Net-DNS/Makefile
new file mode 100644
index 000000000000..77b0a19ce097
--- /dev/null
+++ b/net/p5-Net-DNS/Makefile
@@ -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>
diff --git a/net/p5-Net-DNS/distinfo b/net/p5-Net-DNS/distinfo
new file mode 100644
index 000000000000..13df9a17cb73
--- /dev/null
+++ b/net/p5-Net-DNS/distinfo
@@ -0,0 +1 @@
+MD5 (Net-DNS-0.06.tar.gz) = f569bac792d841cbb8875e02c32f031e
diff --git a/net/p5-Net-DNS/pkg-comment b/net/p5-Net-DNS/pkg-comment
new file mode 100644
index 000000000000..39aa86d1c224
--- /dev/null
+++ b/net/p5-Net-DNS/pkg-comment
@@ -0,0 +1 @@
+perl5 interface to the DNS resolver
diff --git a/net/p5-Net-DNS/pkg-descr b/net/p5-Net-DNS/pkg-descr
new file mode 100644
index 000000000000..a4489531f96f
--- /dev/null
+++ b/net/p5-Net-DNS/pkg-descr
@@ -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.
+
diff --git a/net/p5-Net-DNS/pkg-plist b/net/p5-Net-DNS/pkg-plist
new file mode 100644
index 000000000000..9f5f508132ae
--- /dev/null
+++ b/net/p5-Net-DNS/pkg-plist
@@ -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