summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-10 16:13:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-02-10 16:13:31 +0000
commit1502b529540c3681d596ee4010c983e9bbc07896 (patch)
treef9d91d072ac98f96c38788ff6bdca95e9c9899d8 /dns
parentUse ${SITE_PERL}/${PERL_ARCH} instead of ${SITE_PERL_ARCH} which wasn't (diff)
Net::DNS::Resolver::Programmable is a Net::DNS::Resolver
descendant class that allows a virtual DNS to be emulated instead of querying the real DNS. A set of static DNS records may be supplied, or arbitrary code may be specified as a means for retrieving DNS records, or even generating them on the fly. WWW: http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/ - Koen Martens gmc@sonologic.nl PR: ports/108997 Submitted by: Koen Martens <gmc at sonologic.nl>
Notes
Notes: svn path=/head/; revision=184788
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/p5-Net-DNS-Resolver-Programmable/Makefile39
-rw-r--r--dns/p5-Net-DNS-Resolver-Programmable/distinfo3
-rw-r--r--dns/p5-Net-DNS-Resolver-Programmable/pkg-descr11
-rw-r--r--dns/p5-Net-DNS-Resolver-Programmable/pkg-plist7
5 files changed, 61 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 1ba0d504b9d2..a8ebaa886741 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -77,6 +77,7 @@
SUBDIR += p5-Data-Validate-Domain
SUBDIR += p5-Net-DNS
SUBDIR += p5-Net-DNS-Codes
+ SUBDIR += p5-Net-DNS-Resolver-Programmable
SUBDIR += p5-Net-DNS-SEC
SUBDIR += p5-Net-DNS-ToolKit
SUBDIR += p5-Net-DNS-ZoneCheck
diff --git a/dns/p5-Net-DNS-Resolver-Programmable/Makefile b/dns/p5-Net-DNS-Resolver-Programmable/Makefile
new file mode 100644
index 000000000000..3cec261f67ca
--- /dev/null
+++ b/dns/p5-Net-DNS-Resolver-Programmable/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: p5-Net-DNS-Resolver-Programmable
+# Date created: February 9, 2007
+# Whom: Koen Martens <gmc@sonologic.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-DNS-Resolver-Programmable
+PORTVERSION= 0.002.2
+CATEGORIES= dns net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gmc@sonologic.nl
+COMMENT= Programmable DNS resolver for off-line testing
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
+ ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_MODBUILD= yes
+PERL_CONFIGURE= yes
+
+MAN3= Net::DNS::Resolver::Programmable.3
+
+.include <bsd.port.pre.mk>
+
+DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in CHANGES README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/p5-Net-DNS-Resolver-Programmable/distinfo b/dns/p5-Net-DNS-Resolver-Programmable/distinfo
new file mode 100644
index 000000000000..5d79cb987a3b
--- /dev/null
+++ b/dns/p5-Net-DNS-Resolver-Programmable/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-DNS-Resolver-Programmable-0.002.2.tar.gz) = 8f3e5481e069c1657b8b4aefbfeb3549
+SHA256 (Net-DNS-Resolver-Programmable-0.002.2.tar.gz) = 18e9355485663290c5a01aaf7bdfd73dc11209d1efe6b2103faf9d97b80bc06e
+SIZE (Net-DNS-Resolver-Programmable-0.002.2.tar.gz) = 6893
diff --git a/dns/p5-Net-DNS-Resolver-Programmable/pkg-descr b/dns/p5-Net-DNS-Resolver-Programmable/pkg-descr
new file mode 100644
index 000000000000..190accea9c33
--- /dev/null
+++ b/dns/p5-Net-DNS-Resolver-Programmable/pkg-descr
@@ -0,0 +1,11 @@
+Net::DNS::Resolver::Programmable is a Net::DNS::Resolver
+descendant class that allows a virtual DNS to be emulated
+instead of querying the real DNS. A set of static DNS
+records may be supplied, or arbitrary code may be specified
+as a means for retrieving DNS records, or even generating
+them on the fly.
+
+WWW: http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/
+
+- Koen Martens
+gmc@sonologic.nl
diff --git a/dns/p5-Net-DNS-Resolver-Programmable/pkg-plist b/dns/p5-Net-DNS-Resolver-Programmable/pkg-plist
new file mode 100644
index 000000000000..7e41a8385846
--- /dev/null
+++ b/dns/p5-Net-DNS-Resolver-Programmable/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Net/DNS/Resolver/Programmable.pm
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/
+@dirrm %%SITE_PERL%%/Net/DNS/Resolver/
+@dirrm %%SITE_PERL%%/Net/DNS/