diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-30 06:25:10 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-30 06:25:10 +0000 |
commit | bab67b953fb221f97ad8909d427f54b25ee75eec (patch) | |
tree | 85175c590344efebb87c860b7b95307798516518 /dns/zonecheck | |
parent | remove unnessary -lstlport_gcc. (diff) |
New port: net/zonecheck version 2.0.0b5
New port: zonecheck - check DNS zone files for consistency
and report it. It supports IPv6 zones.
PR: ports/54319
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Notes
Notes:
svn path=/head/; revision=88050
Diffstat (limited to 'dns/zonecheck')
-rw-r--r-- | dns/zonecheck/Makefile | 25 | ||||
-rw-r--r-- | dns/zonecheck/distinfo | 1 | ||||
-rw-r--r-- | dns/zonecheck/files/patch-Makefile | 46 | ||||
-rw-r--r-- | dns/zonecheck/pkg-descr | 16 | ||||
-rw-r--r-- | dns/zonecheck/pkg-plist | 116 |
5 files changed, 204 insertions, 0 deletions
diff --git a/dns/zonecheck/Makefile b/dns/zonecheck/Makefile new file mode 100644 index 000000000000..b64a3d1daeb5 --- /dev/null +++ b/dns/zonecheck/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: zonecheck +# Date created: 10 July 2003 +# Whom: Janos.Mohacsi@bsd.hu +# +# $FreeBSD$ +# + +PORTNAME= zonecheck +PORTVERSION= 2.0.0b5 +CATEGORIES= dns ipv6 ruby +MASTER_SITES= http://savannah.nongnu.org/download/zonecheck/ +EXTRACT_SUFX= .tgz + +MAINTAINER= janos.mohacsi@bsd.hu +COMMENT= Perform consistency checks on DNS zone files + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk + +WRKSRC= ${WRKDIR}/${PORTNAME} +USE_GMAKE= yes +USE_RUBY= yes +NO_BUILD= yes +RUBY_VER= 1.8 + +.include <bsd.port.mk> diff --git a/dns/zonecheck/distinfo b/dns/zonecheck/distinfo new file mode 100644 index 000000000000..11208b833931 --- /dev/null +++ b/dns/zonecheck/distinfo @@ -0,0 +1 @@ +MD5 (zonecheck-2.0.0b5.tgz) = 7746b125b6389aeb2529de455d294f57 diff --git a/dns/zonecheck/files/patch-Makefile b/dns/zonecheck/files/patch-Makefile new file mode 100644 index 000000000000..a685729afd15 --- /dev/null +++ b/dns/zonecheck/files/patch-Makefile @@ -0,0 +1,46 @@ +--- Makefile.orig Mon Jun 9 21:36:42 2003 ++++ Makefile Thu Jul 10 13:27:09 2003 +@@ -37,7 +37,7 @@ + # + + PREFIX ?= /usr/local +-RUBY ?= $(shell which ruby) ++RUBY ?= $(shell which ruby18) + HTML_PATH ?= /zc + + LIBEXEC=$(PREFIX)/libexec +@@ -83,7 +83,7 @@ + @echo "Not automatized yet" + + +-install: install-common install-cli install-cgi install-doc ++install: install-common install-cli install-doc + + + install-common: +@@ -114,12 +114,11 @@ + + @echo "==> Installing default configuration file" + $(INSTALL) -d $(ETCDIR) +- $(INSTALL) -b -m 0644 etc/zc.conf $(ETCDIR) +- $(INSTALL) -b -m 0644 etc/zc.conf.fr $(ETCDIR) +- $(INSTALL) -b -m 0644 etc/zc.conf.arpa $(ETCDIR) ++ $(INSTALL) -b -m 0644 etc/zc.conf $(ETCDIR)/zc.conf-dist ++ $(INSTALL) -b -m 0644 etc/zc.conf.fr $(ETCDIR)/zc.conf.fr-dist ++ $(INSTALL) -b -m 0644 etc/zc.conf.arpa $(ETCDIR)/zc.conf.arpa-dist + @echo "*************************" +- @echo "** If you already had a zc.conf file it has been renamed" +- @echo "** to zc.conf.old" ++ @echo "** zc.conf file installed as zc.conf-dist. " + @echo "** Don't forget to edit the zc.conf to reflect your system" + @echo "** configuration" + @echo "*************************" +@@ -141,7 +140,7 @@ + install-cli: + @echo "==> Installing CLI" + $(INSTALL) -d $(BINDIR) +- $(LN) -f $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zc ++ $(LN) -s $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zc + @echo + + install-doc: diff --git a/dns/zonecheck/pkg-descr b/dns/zonecheck/pkg-descr new file mode 100644 index 000000000000..df10cb061a10 --- /dev/null +++ b/dns/zonecheck/pkg-descr @@ -0,0 +1,16 @@ +ZoneCheck is intended to help solving misconfigurations or inconsistencies +of DNS zone files. +Features + + * Powerfull configuration file + * Does not depend on policies + * Fine grained test selection (by test, by categories, by zones) + * Full IPv6 support (connectivity and AAAA records) + * Supports several input/output interfaces such as CLI, CGI, GUI + * Dedicated mode for use inside shell scripts + * Batch mode available (ideal when dealing with several domains) + * Multi-threaded application in order to cut down checking time + * Extensible: new tests, new interfaces, new reports, ... + * Exception and cache mechanisms to simplify test writting + +WWW: http://www.zonecheck.fr/ diff --git a/dns/zonecheck/pkg-plist b/dns/zonecheck/pkg-plist new file mode 100644 index 000000000000..c323242cc684 --- /dev/null +++ b/dns/zonecheck/pkg-plist @@ -0,0 +1,116 @@ +bin/zc +libexec/zc/lib/address.rb +libexec/zc/lib/address/common.rb +libexec/zc/lib/address/ipv4.rb +libexec/zc/lib/address/ipv6.rb +libexec/zc/lib/nresolv.rb +libexec/zc/lib/nresolv/compatibility.rb +libexec/zc/lib/nresolv/config.rb +libexec/zc/lib/nresolv/constants.rb +libexec/zc/lib/nresolv/dbg.rb +libexec/zc/lib/nresolv/dig_output.rb +libexec/zc/lib/nresolv/dns.rb +libexec/zc/lib/nresolv/dns_message.rb +libexec/zc/lib/nresolv/dns_name.rb +libexec/zc/lib/nresolv/dns_resource.rb +libexec/zc/lib/nresolv/host.rb +libexec/zc/lib/nresolv/resolver.rb +libexec/zc/lib/nresolv/transport.rb +libexec/zc/lib/nresolv/wire.rb +libexec/zc/lib/textfmt.rb +libexec/zc/lib/whois.rb +libexec/zc/locale/cgi.en +libexec/zc/locale/cgi.fr +libexec/zc/locale/cli.en +libexec/zc/locale/cli.fr +libexec/zc/locale/gtk.en +libexec/zc/locale/gtk.fr +libexec/zc/locale/test/axfr.en +libexec/zc/locale/test/axfr.fr +libexec/zc/locale/test/connectivity.en +libexec/zc/locale/test/connectivity.fr +libexec/zc/locale/test/generic.en +libexec/zc/locale/test/generic.fr +libexec/zc/locale/test/loopback.en +libexec/zc/locale/test/loopback.fr +libexec/zc/locale/test/mail.en +libexec/zc/locale/test/mail.fr +libexec/zc/locale/test/misc.en +libexec/zc/locale/test/misc.fr +libexec/zc/locale/test/mx.en +libexec/zc/locale/test/mx.fr +libexec/zc/locale/test/nameserver.en +libexec/zc/locale/test/nameserver.fr +libexec/zc/locale/test/ns.en +libexec/zc/locale/test/ns.fr +libexec/zc/locale/test/rootserver.en +libexec/zc/locale/test/rootserver.fr +libexec/zc/locale/test/soa.en +libexec/zc/locale/test/soa.fr +libexec/zc/locale/zc.en +libexec/zc/locale/zc.fr +libexec/zc/test/axfr.rb +libexec/zc/test/connectivity.rb +libexec/zc/test/generic.rb +libexec/zc/test/loopback.rb +libexec/zc/test/mail.rb +libexec/zc/test/misc.rb +libexec/zc/test/mx.rb +libexec/zc/test/nameserver.rb +libexec/zc/test/ns.rb +libexec/zc/test/rootserver.rb +libexec/zc/test/soa.rb +libexec/zc/zc/cache.rb +libexec/zc/zc/cachemanager.rb +libexec/zc/zc/config.rb +libexec/zc/zc/config/lexer.rb +libexec/zc/zc/config/parser.rb +libexec/zc/zc/config/pos.rb +libexec/zc/zc/config/token.rb +libexec/zc/zc/console.rb +libexec/zc/zc/data/logo.rb +libexec/zc/zc/data/xpm.rb +libexec/zc/zc/data/zonecheck.dtd +libexec/zc/zc/dbg.rb +libexec/zc/zc/ext/array.rb +libexec/zc/zc/ext/gtk.rb +libexec/zc/zc/framework.rb +libexec/zc/zc/input/cgi.rb +libexec/zc/zc/input/cli.rb +libexec/zc/zc/input/gtk.rb +libexec/zc/zc/instructions.rb +libexec/zc/zc/mail.rb +libexec/zc/zc/msgcat.rb +libexec/zc/zc/param.rb +libexec/zc/zc/publisher.rb +libexec/zc/zc/publisher/gtk.rb +libexec/zc/zc/publisher/html.rb +libexec/zc/zc/publisher/text.rb +libexec/zc/zc/publisher/xml.rb +libexec/zc/zc/report.rb +libexec/zc/zc/report/byhost.rb +libexec/zc/zc/report/byseverity.rb +libexec/zc/zc/testmanager.rb +libexec/zc/zc/zc.rb +share/doc/zc/BUGS +share/doc/zc/INSTALL +share/doc/zc/README +share/doc/zc/TODO +etc/zc.conf-dist +etc/zc.conf.arpa-dist +etc/zc.conf.fr-dist +@dirrm share/doc/zc +@dirrm libexec/zc/zc/report +@dirrm libexec/zc/zc/publisher +@dirrm libexec/zc/zc/input +@dirrm libexec/zc/zc/ext +@dirrm libexec/zc/zc/data +@dirrm libexec/zc/zc/config +@dirrm libexec/zc/zc +@dirrm libexec/zc/test +@dirrm libexec/zc/locale/test +@dirrm libexec/zc/locale +@dirrm libexec/zc/lib/nresolv +@dirrm libexec/zc/lib/address +@dirrm libexec/zc/lib +@dirrm libexec/zc |