From cf968d9fd1791d06e66353acdcbea97a0b971a37 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 18 May 2012 18:50:49 +0000 Subject: - Add p5-Net-DNS-Zone-Parser 0.02 The Net::DNS::Zone::Parser should be considered a preprocessor that "normalizes" a zonefile. It will read a zonefile in a format conforming to the relevant RFCs with the addition of BIND's GENERATE directive from disk and will write fully specified resource records (RRs) to a filehandle. Whereby: - All comments are stripped - There is one RR per line - Each RR is fully expanded i.e. all domain names are fully qualified (canonicalised) and the CLASS and TTLs are specified. - Some RRs may be 'stripped' from the source or otherwise processed. For details see the 'read' method. Note that this module does not have a notion of what constitutes a valid zone, it only parses. For example, the parser will happilly parse RRs with ownernames that are below in another zone because a NS RR elsewhere in the zone. WWW: http://search.cpan.org/dist/Net-DNS-Zone-Parser/ PR: ports/167708 Submitted by: Jimmy Bergman --- dns/p5-Net-DNS-Zone-Parser/Makefile | 26 ++++++++++++++++++++++++++ dns/p5-Net-DNS-Zone-Parser/distinfo | 2 ++ dns/p5-Net-DNS-Zone-Parser/pkg-descr | 18 ++++++++++++++++++ dns/p5-Net-DNS-Zone-Parser/pkg-plist | 9 +++++++++ 4 files changed, 55 insertions(+) create mode 100644 dns/p5-Net-DNS-Zone-Parser/Makefile create mode 100644 dns/p5-Net-DNS-Zone-Parser/distinfo create mode 100644 dns/p5-Net-DNS-Zone-Parser/pkg-descr create mode 100644 dns/p5-Net-DNS-Zone-Parser/pkg-plist (limited to 'dns/p5-Net-DNS-Zone-Parser') diff --git a/dns/p5-Net-DNS-Zone-Parser/Makefile b/dns/p5-Net-DNS-Zone-Parser/Makefile new file mode 100644 index 000000000000..2503fe8053b0 --- /dev/null +++ b/dns/p5-Net-DNS-Zone-Parser/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-Net-DNS-Zone-Parser +# Date created: Mon May 7 16:26:08 CEST 2012 +# Whom: Jimmy Bergman jimmy@sigint.se +# +# $FreeBSD$ +# + +PORTNAME= Net-DNS-Zone-Parser +PORTVERSION= 0.02 +CATEGORIES= dns perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= jimmy@sigint.se +COMMENT= A Perl5 preprocessor for normalising a zone file + +BUILD_DEPENDS= p5-Net-DNS>=0.64:${PORTSDIR}/dns/p5-Net-DNS \ + p5-Net-DNS-SEC>=0.15:${PORTSDIR}/dns/p5-Net-DNS-SEC +RUN_DEPENDS= p5-Net-DNS>=0.64:${PORTSDIR}/dns/p5-Net-DNS \ + p5-Net-DNS-SEC>=0.15:${PORTSDIR}/dns/p5-Net-DNS-SEC + +PERL_CONFIGURE= yes + +MAN3= Net::DNS::Zone::Parser.3 + +.include diff --git a/dns/p5-Net-DNS-Zone-Parser/distinfo b/dns/p5-Net-DNS-Zone-Parser/distinfo new file mode 100644 index 000000000000..cb9d1e4d7b4a --- /dev/null +++ b/dns/p5-Net-DNS-Zone-Parser/distinfo @@ -0,0 +1,2 @@ +SHA256 (Net-DNS-Zone-Parser-0.02.tar.gz) = 8ed6cc9c0e145a678c9d1f12631db55733f5025928cddbcd8ea2997591249517 +SIZE (Net-DNS-Zone-Parser-0.02.tar.gz) = 76885 diff --git a/dns/p5-Net-DNS-Zone-Parser/pkg-descr b/dns/p5-Net-DNS-Zone-Parser/pkg-descr new file mode 100644 index 000000000000..4d4262300aff --- /dev/null +++ b/dns/p5-Net-DNS-Zone-Parser/pkg-descr @@ -0,0 +1,18 @@ +The Net::DNS::Zone::Parser should be considered a preprocessor that "normalizes" +a zonefile. + +It will read a zonefile in a format conforming to the relevant RFCs with the +addition of BIND's GENERATE directive from disk and will write fully specified +resource records (RRs) to a filehandle. Whereby: +- All comments are stripped +- There is one RR per line +- Each RR is fully expanded i.e. all domain names are fully qualified + (canonicalised) and the CLASS and TTLs are specified. +- Some RRs may be 'stripped' from the source or otherwise processed. For details + see the 'read' method. + +Note that this module does not have a notion of what constitutes a valid zone, +it only parses. For example, the parser will happilly parse RRs with ownernames +that are below in another zone because a NS RR elsewhere in the zone. + +WWW: http://search.cpan.org/dist/Net-DNS-Zone-Parser/ diff --git a/dns/p5-Net-DNS-Zone-Parser/pkg-plist b/dns/p5-Net-DNS-Zone-Parser/pkg-plist new file mode 100644 index 000000000000..459b0078c938 --- /dev/null +++ b/dns/p5-Net-DNS-Zone-Parser/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/Net/DNS/Zone/Parser.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/Zone/Parser/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/Zone/Parser +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/Zone +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net +@dirrmtry %%SITE_PERL%%/Net/DNS/Zone +@dirrmtry %%SITE_PERL%%/Net/DNS +@dirrmtry %%SITE_PERL%%/Net -- cgit v1.2.3