diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-10-20 04:35:31 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-10-20 04:35:31 +0800 |
commit | dde667bcba3be89788d66c22f3d96cec3194484d (patch) | |
tree | d8a0b2ebb1d563139da6f9c84db916d5095481d7 /dns | |
parent | c6aec61f2a1b912a86e8452767eba1af8d7a5b58 (diff) | |
download | freebsd-ports-gnome-dde667bcba3be89788d66c22f3d96cec3194484d.tar.gz freebsd-ports-gnome-dde667bcba3be89788d66c22f3d96cec3194484d.tar.zst freebsd-ports-gnome-dde667bcba3be89788d66c22f3d96cec3194484d.zip |
Add p5-Net-DNS-Resolver-Mock 1.20170814
Net::DNS::Resolver::Mock is a subclass of Net::DNS::Resolver which parses a
zonefile for it's data source. Primarily for use in testing.
WWW: http://search.cpan.org/dist/Net-DNS-Resolver-Mock/
Diffstat (limited to 'dns')
-rw-r--r-- | dns/Makefile | 1 | ||||
-rw-r--r-- | dns/p5-Net-DNS-Resolver-Mock/Makefile | 23 | ||||
-rw-r--r-- | dns/p5-Net-DNS-Resolver-Mock/distinfo | 3 | ||||
-rw-r--r-- | dns/p5-Net-DNS-Resolver-Mock/pkg-descr | 4 | ||||
-rw-r--r-- | dns/p5-Net-DNS-Resolver-Mock/pkg-plist | 2 |
5 files changed, 33 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile index be3e5618b946..fbb51bac4780 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -136,6 +136,7 @@ SUBDIR += p5-Net-DNS-Lite SUBDIR += p5-Net-DNS-Match SUBDIR += p5-Net-DNS-RR-SRV-Helper + SUBDIR += p5-Net-DNS-Resolver-Mock SUBDIR += p5-Net-DNS-Resolver-Programmable SUBDIR += p5-Net-DNS-SEC SUBDIR += p5-Net-DNS-TestNS diff --git a/dns/p5-Net-DNS-Resolver-Mock/Makefile b/dns/p5-Net-DNS-Resolver-Mock/Makefile new file mode 100644 index 000000000000..747ee63f5617 --- /dev/null +++ b/dns/p5-Net-DNS-Resolver-Mock/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Net-DNS-Resolver-Mock +PORTVERSION= 1.20170814 +CATEGORIES= dns perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Mock a DNS Resolver object for testing + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.mk> diff --git a/dns/p5-Net-DNS-Resolver-Mock/distinfo b/dns/p5-Net-DNS-Resolver-Mock/distinfo new file mode 100644 index 000000000000..8d7d72f84ce9 --- /dev/null +++ b/dns/p5-Net-DNS-Resolver-Mock/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1508437053 +SHA256 (Net-DNS-Resolver-Mock-1.20170814.tar.gz) = d9853cc65ed8dea1ad2f2c548897151eecbb66ba7c767f88254deb2ab6b3c2e1 +SIZE (Net-DNS-Resolver-Mock-1.20170814.tar.gz) = 10074 diff --git a/dns/p5-Net-DNS-Resolver-Mock/pkg-descr b/dns/p5-Net-DNS-Resolver-Mock/pkg-descr new file mode 100644 index 000000000000..0aff0be62d90 --- /dev/null +++ b/dns/p5-Net-DNS-Resolver-Mock/pkg-descr @@ -0,0 +1,4 @@ +Net::DNS::Resolver::Mock is a subclass of Net::DNS::Resolver which parses a +zonefile for it's data source. Primarily for use in testing. + +WWW: http://search.cpan.org/dist/Net-DNS-Resolver-Mock/ diff --git a/dns/p5-Net-DNS-Resolver-Mock/pkg-plist b/dns/p5-Net-DNS-Resolver-Mock/pkg-plist new file mode 100644 index 000000000000..d22a57edbc05 --- /dev/null +++ b/dns/p5-Net-DNS-Resolver-Mock/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Net/DNS/Resolver/Mock.pm +%%PERL5_MAN3%%/Net::DNS::Resolver::Mock.3.gz |