Add dns/dnsdoctor:

DNSdoctor is intended to help solving misconfigurations or inconsistencies
of DNS zone files.
Features

    * Powerful 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, GUI, CGI
    * 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.dnsdoctor.org/

PR:		ports/71819
Submitted by:	Janos Mohacsi <janos.mohacsi@niif.hu>
This commit is contained in:
Sergei Kolobov 2004-11-06 23:35:30 +00:00
parent 9ab9efba5c
commit 9328497815
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121011
5 changed files with 250 additions and 0 deletions

View file

@ -19,6 +19,7 @@
SUBDIR += dlint
SUBDIR += dnrd
SUBDIR += dns_balance
SUBDIR += dnsdoctor
SUBDIR += dnsflood
SUBDIR += dnsmasq
SUBDIR += dnsproxy

56
dns/dnsdoctor/Makefile Normal file
View file

@ -0,0 +1,56 @@
# New ports collection makefile for: dnsdoctor
# Date created: 2004-09-10
# Whom: Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= dnsdoctor
PORTVERSION= 1.0.0
CATEGORIES= dns ipv6 ruby
MASTER_SITES= http://www.dnsdoctor.org/download/src/
MASTER_SITE_SUBDIR= ${PORTNAME}/src
EXTRACT_SUFX= .tgz
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Perform consistency checks on DNS zones
.if defined(WITH_X11)
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
.endif
USE_RUBY= yes
RUBY_VER= 1.8
USE_RUBY_FEATURES= ruby18
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= dnsdoctor.1
DOCS= INSTALL README HISTORY doc/*.html doc/*.png
DNSDOCTOR_TARGET= configure common cli
.if defined(WITH_DNSDOCTOR_CGI)
DNSDOCTOR_TARGET+= cgi
PLIST_SUB+= DNSDOCTOR_CGI=""
.else
PLIST_SUB+= DNSDOCTOR_CGI="@comment "
pre-everything::
@${ECHO_MSG} "Use WITH_DNSDOCTOR_CGI=yes to install with CGI support"
.endif
do-install:
@cd ${INSTALL_WRKSRC} && \
${RUBY} ./installer.rb ${DNSDOCTOR_TARGET} \
-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" \
-DWWWDIR="${PREFIX}/www/${PORTNAME}"
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

2
dns/dnsdoctor/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (dnsdoctor-1.0.0.tgz) = a61de508b05e1f8da579348890269b29
SIZE (dnsdoctor-1.0.0.tgz) = 328119

16
dns/dnsdoctor/pkg-descr Normal file
View file

@ -0,0 +1,16 @@
DNSdoctor is intended to help solving misconfigurations or inconsistencies
of DNS zone files.
Features
* Powerful 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, GUI, CGI
* 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.dnsdoctor.org/

175
dns/dnsdoctor/pkg-plist Normal file
View file

@ -0,0 +1,175 @@
@comment $FreeBSD$
bin/dnsdoctor
etc/dnsdoctor-dist/afnic.profile
etc/dnsdoctor-dist/de.profile
etc/dnsdoctor-dist/default.profile
etc/dnsdoctor-dist/dnsdoctor.conf
etc/dnsdoctor-dist/reverse.profile
etc/dnsdoctor-dist/rootservers
@dirrm etc/dnsdoctor-dist
%%DNSDOCTOR_CGI%%libexec/dnsdoctor/cgi-bin/diagnose.cgi
%%DNSDOCTOR_CGI%%@dirrm libexec/dnsdoctor/cgi-bin
libexec/dnsdoctor/dnsdoctor/cache.rb
libexec/dnsdoctor/dnsdoctor/cachemanager.rb
libexec/dnsdoctor/dnsdoctor/config.rb
libexec/dnsdoctor/dnsdoctor/console.rb
libexec/dnsdoctor/dnsdoctor/data/catalog.xml
libexec/dnsdoctor/dnsdoctor/data/config.dtd
libexec/dnsdoctor/dnsdoctor/data/dnsdoctor.dtd
libexec/dnsdoctor/dnsdoctor/data/logo.png
libexec/dnsdoctor/dnsdoctor/data/msgcat.dtd
libexec/dnsdoctor/dnsdoctor/data/xpm.rb
libexec/dnsdoctor/dnsdoctor/dbg.rb
libexec/dnsdoctor/dnsdoctor/ext/array.rb
libexec/dnsdoctor/dnsdoctor/ext/file.rb
libexec/dnsdoctor/dnsdoctor/ext/gtk.rb
libexec/dnsdoctor/dnsdoctor/ext/myxml.rb
libexec/dnsdoctor/dnsdoctor/framework.rb
libexec/dnsdoctor/dnsdoctor/input/cgi.rb
libexec/dnsdoctor/dnsdoctor/input/cli.rb
libexec/dnsdoctor/dnsdoctor/input/gtk.rb
libexec/dnsdoctor/dnsdoctor/input/inetd.rb
libexec/dnsdoctor/dnsdoctor/instructions.rb
libexec/dnsdoctor/dnsdoctor/locale.rb
libexec/dnsdoctor/dnsdoctor/mail.rb
libexec/dnsdoctor/dnsdoctor/msgcat.rb
libexec/dnsdoctor/dnsdoctor/param.rb
libexec/dnsdoctor/dnsdoctor/publisher.rb
libexec/dnsdoctor/dnsdoctor/publisher/gtk.rb
libexec/dnsdoctor/dnsdoctor/publisher/html.rb
libexec/dnsdoctor/dnsdoctor/publisher/text.rb
libexec/dnsdoctor/dnsdoctor/publisher/xml.rb
libexec/dnsdoctor/dnsdoctor/report.rb
libexec/dnsdoctor/dnsdoctor/report/byhost.rb
libexec/dnsdoctor/dnsdoctor/report/byseverity.rb
libexec/dnsdoctor/dnsdoctor/testmanager.rb
libexec/dnsdoctor/dnsdoctor/zc.rb
libexec/dnsdoctor/dnsdoctor/zonecheck.rb
libexec/dnsdoctor/lib/address.rb
libexec/dnsdoctor/lib/address/common.rb
libexec/dnsdoctor/lib/address/ipv4.rb
libexec/dnsdoctor/lib/address/ipv6.rb
libexec/dnsdoctor/lib/nresolv.rb
libexec/dnsdoctor/lib/nresolv/compatibility.rb
libexec/dnsdoctor/lib/nresolv/config.rb
libexec/dnsdoctor/lib/nresolv/constants.rb
libexec/dnsdoctor/lib/nresolv/dbg.rb
libexec/dnsdoctor/lib/nresolv/dig_output.rb
libexec/dnsdoctor/lib/nresolv/dns.rb
libexec/dnsdoctor/lib/nresolv/dns_message.rb
libexec/dnsdoctor/lib/nresolv/dns_name.rb
libexec/dnsdoctor/lib/nresolv/dns_resource.rb
libexec/dnsdoctor/lib/nresolv/host.rb
libexec/dnsdoctor/lib/nresolv/resolver.rb
libexec/dnsdoctor/lib/nresolv/transport.rb
libexec/dnsdoctor/lib/nresolv/wire.rb
libexec/dnsdoctor/lib/textfmt.rb
libexec/dnsdoctor/lib/whois.rb
libexec/dnsdoctor/locale/cgi.en
libexec/dnsdoctor/locale/cgi.fr
libexec/dnsdoctor/locale/cli.en
libexec/dnsdoctor/locale/cli.fr
libexec/dnsdoctor/locale/dnsdoctor.en
libexec/dnsdoctor/locale/dnsdoctor.fr
libexec/dnsdoctor/locale/gtk.en
libexec/dnsdoctor/locale/gtk.fr
libexec/dnsdoctor/locale/inetd.en
libexec/dnsdoctor/locale/inetd.fr
libexec/dnsdoctor/locale/test/axfr.en
libexec/dnsdoctor/locale/test/axfr.fr
libexec/dnsdoctor/locale/test/connectivity.en
libexec/dnsdoctor/locale/test/connectivity.fr
libexec/dnsdoctor/locale/test/generic.en
libexec/dnsdoctor/locale/test/generic.fr
libexec/dnsdoctor/locale/test/interop.en
libexec/dnsdoctor/locale/test/interop.fr
libexec/dnsdoctor/locale/test/loopback.en
libexec/dnsdoctor/locale/test/loopback.fr
libexec/dnsdoctor/locale/test/mail.en
libexec/dnsdoctor/locale/test/mail.fr
libexec/dnsdoctor/locale/test/misc.en
libexec/dnsdoctor/locale/test/misc.fr
libexec/dnsdoctor/locale/test/mx.en
libexec/dnsdoctor/locale/test/mx.fr
libexec/dnsdoctor/locale/test/nameserver.en
libexec/dnsdoctor/locale/test/nameserver.fr
libexec/dnsdoctor/locale/test/ns.en
libexec/dnsdoctor/locale/test/ns.fr
libexec/dnsdoctor/locale/test/rootserver.en
libexec/dnsdoctor/locale/test/rootserver.fr
libexec/dnsdoctor/locale/test/soa.en
libexec/dnsdoctor/locale/test/soa.fr
libexec/dnsdoctor/test/axfr.rb
libexec/dnsdoctor/test/connectivity.rb
libexec/dnsdoctor/test/generic.rb
libexec/dnsdoctor/test/interop.rb
libexec/dnsdoctor/test/loopback.rb
libexec/dnsdoctor/test/mail.rb
libexec/dnsdoctor/test/misc.rb
libexec/dnsdoctor/test/mx.rb
libexec/dnsdoctor/test/nameserver.rb
libexec/dnsdoctor/test/ns.rb
libexec/dnsdoctor/test/rootserver.rb
libexec/dnsdoctor/test/soa.rb
@dirrm libexec/dnsdoctor/lib/address
@dirrm libexec/dnsdoctor/lib/nresolv
@dirrm libexec/dnsdoctor/lib
@dirrm libexec/dnsdoctor/locale/test
@dirrm libexec/dnsdoctor/locale
@dirrm libexec/dnsdoctor/test
@dirrm libexec/dnsdoctor/dnsdoctor/data
@dirrm libexec/dnsdoctor/dnsdoctor/ext
@dirrm libexec/dnsdoctor/dnsdoctor/input
@dirrm libexec/dnsdoctor/dnsdoctor/publisher
@dirrm libexec/dnsdoctor/dnsdoctor/report
@dirrm libexec/dnsdoctor/dnsdoctor
@dirrm libexec/dnsdoctor
%%PORTDOCS%%%%DOCSDIR%%/180px-InputCLI.png
%%PORTDOCS%%%%DOCSDIR%%/180px-InputGTK.png
%%PORTDOCS%%%%DOCSDIR%%/180px-InputHTML.png
%%PORTDOCS%%%%DOCSDIR%%/180px-OutputProgressHTML.png
%%PORTDOCS%%%%DOCSDIR%%/180px-OutputProgressText.png
%%PORTDOCS%%%%DOCSDIR%%/180px-OutputResultHTML.png
%%PORTDOCS%%%%DOCSDIR%%/180px-OutputResultText.png
%%PORTDOCS%%%%DOCSDIR%%/Developer_guide.html
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
%%PORTDOCS%%%%DOCSDIR%%/Favicon.ico.html
%%PORTDOCS%%%%DOCSDIR%%/HISTORY
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/Installation.html
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/Robots.txt.html
%%PORTDOCS%%%%DOCSDIR%%/Tests_description.html
%%PORTDOCS%%%%DOCSDIR%%/User_guide.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%DNSDOCTOR_CGI%%www/dnsdoctor/dnsdoctor.conf
%%DNSDOCTOR_CGI%%www/dnsdoctor/dnsdoctor.conf.in
%%DNSDOCTOR_CGI%%www/dnsdoctor/html/form.html.en
%%DNSDOCTOR_CGI%%www/dnsdoctor/html/form.html.fr
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/details.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/element.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/fatal.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/gear.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/info.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/light.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/logo.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/logo_l.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/loupe.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/notepad.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/ok.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/primary.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/ref.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/secondary.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/warning.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/zc-fav.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/img/zone.png
%%DNSDOCTOR_CGI%%www/dnsdoctor/js/formvalidation.js
%%DNSDOCTOR_CGI%%www/dnsdoctor/js/popupmenu.js
%%DNSDOCTOR_CGI%%www/dnsdoctor/js/progress.js
%%DNSDOCTOR_CGI%%www/dnsdoctor/style/default.css
%%DNSDOCTOR_CGI%%www/dnsdoctor/style/dnsdoctor.css
%%DNSDOCTOR_CGI%%@dirrm www/dnsdoctor/html
%%DNSDOCTOR_CGI%%@dirrm www/dnsdoctor/img
%%DNSDOCTOR_CGI%%@dirrm www/dnsdoctor/js
%%DNSDOCTOR_CGI%%@dirrm www/dnsdoctor/style
%%DNSDOCTOR_CGI%%@dirrm www/dnsdoctor