diff options
author | seb <seb@pkgsrc.org> | 2006-01-29 10:00:07 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2006-01-29 10:00:07 +0000 |
commit | b59b465b11317949046b3e3e9d543f102858a362 (patch) | |
tree | 8c30260e4ef10da19eeb7a4047d37ce67eed81d5 /net/dnsdoctor | |
parent | 401cc9448534f6925fed40603c9f37b3dba9103d (diff) | |
download | pkgsrc-b59b465b11317949046b3e3e9d543f102858a362.tar.gz |
Initial import of DNSdoctor version 1.0.0 as net/dnsdoctor into the NetBSD
Packages Collection.
DNSdoctor is intended to help solving misconfigurations or
inconsistencies in DNS zones by looking for potential errors, give
you a description of the problem and refer you to RFC or other
documents.
Diffstat (limited to 'net/dnsdoctor')
-rw-r--r-- | net/dnsdoctor/DESCR | 4 | ||||
-rw-r--r-- | net/dnsdoctor/MESSAGE | 7 | ||||
-rw-r--r-- | net/dnsdoctor/Makefile | 51 | ||||
-rw-r--r-- | net/dnsdoctor/PLIST | 161 | ||||
-rw-r--r-- | net/dnsdoctor/distinfo | 6 | ||||
-rw-r--r-- | net/dnsdoctor/patches/patch-aa | 49 |
6 files changed, 278 insertions, 0 deletions
diff --git a/net/dnsdoctor/DESCR b/net/dnsdoctor/DESCR new file mode 100644 index 00000000000..5d90e9e7a9c --- /dev/null +++ b/net/dnsdoctor/DESCR @@ -0,0 +1,4 @@ +DNSdoctor is intended to help solving misconfigurations or +inconsistencies in DNS zones by looking for potential errors, give +you a description of the problem and refer you to RFC or other +documents. diff --git a/net/dnsdoctor/MESSAGE b/net/dnsdoctor/MESSAGE new file mode 100644 index 00000000000..20d79b2eaaa --- /dev/null +++ b/net/dnsdoctor/MESSAGE @@ -0,0 +1,7 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2006/01/29 10:00:07 seb Exp $ + +Before using ${PKGNAME} you may want to edit +${PKG_SYSCONFDIR}/dnsdoctor/dnsdoctor.conf. + +=========================================================================== diff --git a/net/dnsdoctor/Makefile b/net/dnsdoctor/Makefile new file mode 100644 index 00000000000..43ad539f75e --- /dev/null +++ b/net/dnsdoctor/Makefile @@ -0,0 +1,51 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/01/29 10:00:07 seb Exp $ +# + +DISTNAME= dnsdoctor-1.0.0 +CATEGORIES= net +MASTER_SITES= http://www.dnsdoctor.org/download/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.dnsdoctor.org/ +COMMENT= DNS zones misconfigurations or inconsistencies diagnostic tool + +DEPENDS+= ruby${RUBY_VER}-base>=${RUBY_REQD}:../../lang/ruby${RUBY_VER}-base + +WRKSRC= ${WRKDIR}/dnsdoctor + +RUBY_VERSION_SUPPORTED= 18 +NO_BUILD= yes + +DDOC_HTML_PATH?= /dnsdoctor +EGDIR= share/examples +DDOCEGDIR= ${EGDIR}/dnsdoctor +# No we don't want to use PKG_SYSCONFSUBDIR +DDOCCONFDIR= ${PKG_SYSCONFDIR}/dnsdoctor +OWN_DIRS= ${PKG_SYSCONFDIR}/dnsdoctor + +DDOC_INSTALLER_RB_ARGS+= -DRUBY=${RUBY:Q} +DDOC_INSTALLER_RB_ARGS+= -DPREFIX=${PREFIX:Q} +DDOC_INSTALLER_RB_ARGS+= -DEGDIR=${PREFIX:Q}/${EGDIR:Q} +DDOC_INSTALLER_RB_ARGS+= -DETCDIR=${PKG_SYSCONFDIR:Q} +DDOC_INSTALLER_RB_ARGS+= -DHTML_PATH=${DDOC_HTML_PATH:Q} + +CONF_FILES+= ${DDOCEGDIR}/afnic.profile ${DDOCCONFDIR}/afnic.profile +CONF_FILES+= ${DDOCEGDIR}/de.profile ${DDOCCONFDIR}/de.profile +CONF_FILES+= ${DDOCEGDIR}/default.profile ${DDOCCONFDIR}/default.profile +CONF_FILES+= ${DDOCEGDIR}/reverse.profile ${DDOCCONFDIR}/reverse.profile +CONF_FILES+= ${DDOCEGDIR}/rootservers ${DDOCCONFDIR}/rootservers +CONF_FILES+= ${DDOCEGDIR}/dnsdoctor.conf ${DDOCCONFDIR}/dnsdoctor.conf + +do-configure: + cd ${WRKSRC} && \ + ${RUBY} ./installer.rb ${DDOC_INSTALLER_RB_ARGS} configure configinfo + +do-install: + cd ${WRKSRC} && \ + ${RUBY} ./installer.rb ${DDOC_INSTALLER_RB_ARGS} all + ${INSTALL_DATA} ${WRKSRC}/www/dnsdoctor.conf \ + ${PREFIX}/${DDOCEGDIR}/httpd-dnsdoctor.conf + +.include "../../lang/ruby/rubyversion.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/dnsdoctor/PLIST b/net/dnsdoctor/PLIST new file mode 100644 index 00000000000..fe9e373921c --- /dev/null +++ b/net/dnsdoctor/PLIST @@ -0,0 +1,161 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/29 10:00:07 seb Exp $ +bin/dnsdoctor +libexec/dnsdoctor/cgi-bin/diagnose.cgi +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 +libexec/dnsdoctor/www/html/form.html.en +libexec/dnsdoctor/www/html/form.html.fr +libexec/dnsdoctor/www/img/details.png +libexec/dnsdoctor/www/img/element.png +libexec/dnsdoctor/www/img/fatal.png +libexec/dnsdoctor/www/img/gear.png +libexec/dnsdoctor/www/img/info.png +libexec/dnsdoctor/www/img/light.png +libexec/dnsdoctor/www/img/logo.png +libexec/dnsdoctor/www/img/logo_l.png +libexec/dnsdoctor/www/img/loupe.png +libexec/dnsdoctor/www/img/notepad.png +libexec/dnsdoctor/www/img/ok.png +libexec/dnsdoctor/www/img/primary.png +libexec/dnsdoctor/www/img/ref.png +libexec/dnsdoctor/www/img/secondary.png +libexec/dnsdoctor/www/img/warning.png +libexec/dnsdoctor/www/img/zc-fav.png +libexec/dnsdoctor/www/img/zone.png +libexec/dnsdoctor/www/js/formvalidation.js +libexec/dnsdoctor/www/js/popupmenu.js +libexec/dnsdoctor/www/js/progress.js +libexec/dnsdoctor/www/style/default.css +libexec/dnsdoctor/www/style/dnsdoctor.css +man/man1/dnsdoctor.1 +share/doc/dnsdoctor/CREDITS +share/doc/dnsdoctor/HISTORY +share/doc/dnsdoctor/README +share/examples/dnsdoctor/afnic.profile +share/examples/dnsdoctor/de.profile +share/examples/dnsdoctor/default.profile +share/examples/dnsdoctor/dnsdoctor.conf +share/examples/dnsdoctor/httpd-dnsdoctor.conf +share/examples/dnsdoctor/reverse.profile +share/examples/dnsdoctor/rootservers +@dirrm share/examples/dnsdoctor +@dirrm share/doc/dnsdoctor +@dirrm libexec/dnsdoctor/www/style +@dirrm libexec/dnsdoctor/www/js +@dirrm libexec/dnsdoctor/www/img +@dirrm libexec/dnsdoctor/www/html +@dirrm libexec/dnsdoctor/www +@dirrm libexec/dnsdoctor/test +@dirrm libexec/dnsdoctor/locale/test +@dirrm libexec/dnsdoctor/locale +@dirrm libexec/dnsdoctor/lib/nresolv +@dirrm libexec/dnsdoctor/lib/address +@dirrm libexec/dnsdoctor/lib +@dirrm libexec/dnsdoctor/dnsdoctor/report +@dirrm libexec/dnsdoctor/dnsdoctor/publisher +@dirrm libexec/dnsdoctor/dnsdoctor/input +@dirrm libexec/dnsdoctor/dnsdoctor/ext +@dirrm libexec/dnsdoctor/dnsdoctor/data +@dirrm libexec/dnsdoctor/dnsdoctor +@dirrm libexec/dnsdoctor/cgi-bin +@dirrm libexec/dnsdoctor diff --git a/net/dnsdoctor/distinfo b/net/dnsdoctor/distinfo new file mode 100644 index 00000000000..4370781cf73 --- /dev/null +++ b/net/dnsdoctor/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/01/29 10:00:07 seb Exp $ + +SHA1 (dnsdoctor-1.0.0.tgz) = b2859fa531659868ee404d0ce936cbe30c1f4a82 +RMD160 (dnsdoctor-1.0.0.tgz) = 2640542abea6eccd660b9b1529a399946f5ebdd2 +Size (dnsdoctor-1.0.0.tgz) = 328119 bytes +SHA1 (patch-aa) = 493ae7976c03dc613144e7f412e2911057b01525 diff --git a/net/dnsdoctor/patches/patch-aa b/net/dnsdoctor/patches/patch-aa new file mode 100644 index 00000000000..e3246b078fc --- /dev/null +++ b/net/dnsdoctor/patches/patch-aa @@ -0,0 +1,49 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/01/29 10:00:07 seb Exp $ + +--- installer.rb.orig 2004-09-08 12:14:43.000000000 +0000 ++++ installer.rb +@@ -71,6 +71,7 @@ class Installer + ENV['BINDIR' ] ||= "#{ENV['PREFIX']}/bin" + ENV['MANDIR' ] ||= "#{ENV['PREFIX']}/man" + ENV['DOCDIR' ] ||= "#{ENV['PREFIX']}/share/doc" ++ ENV['EGDIR' ] ||= "#{ENV['PREFIX']}/share/examples" + ENV['ETCDIR' ] ||= "#{ENV['PREFIX']}/etc" + ENV['CGIDIR' ] ||= "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}/cgi-bin" + ENV['WWWDIR' ] ||= "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}/www" +@@ -79,11 +80,13 @@ class Installer + + # Create some shortcut for later + @installdir = "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}" ++ @egdir = "#{ENV['EGDIR']}/#{ENV['PROGNAME']}#{ENV['ETCDIST']}" + @confdir = "#{ENV['ETCDIR']}/#{ENV['PROGNAME']}#{ENV['ETCDIST']}" + @dnsdoctor = "#{@installdir}/dnsdoctor/zc.rb" + @wwwdir = "#{ENV['WWWDIR']}" + + @ch_installdir = "#{ENV['CHROOT']}#{@installdir}" ++ @ch_egdir = "#{ENV['CHROOT']}#{@egdir}" + @ch_confdir = "#{ENV['CHROOT']}#{@confdir}" + @ch_dnsdoctor = "#{ENV['CHROOT']}#{@dnsdoctor}" + @ch_wwwdir = "#{ENV['CHROOT']}#{@wwwdir}" +@@ -181,10 +184,10 @@ class Installer + puts + + puts "==> Installing default configuration file" +- mkdir_p @ch_confdir, :verbose => @verbose +- cp 'etc/dnsdoctor/dnsdoctor.conf', @ch_confdir, :verbose => @verbose +- cp 'etc/dnsdoctor/rootservers', @ch_confdir, :verbose => @verbose +- cp Dir['etc/dnsdoctor/*.profile'], @ch_confdir, :verbose => @verbose ++ mkdir_p @ch_egdir, :verbose => @verbose ++ cp 'etc/dnsdoctor/dnsdoctor.conf', @ch_egdir, :verbose => @verbose ++ cp 'etc/dnsdoctor/rootservers', @ch_egdir, :verbose => @verbose ++ cp Dir['etc/dnsdoctor/*.profile'], @ch_egdir, :verbose => @verbose + puts + end + +@@ -217,6 +220,7 @@ class Installer + puts "==> Installing HTML pages" + mkdir_p @ch_wwwdir, :verbose => @verbose + Dir["www/*"].each { |entry| ++ next if entry =~ /dnsdoctor.conf.*/ + cp_r entry, @ch_wwwdir, :verbose => @verbose + } + puts |