debian/0000755000000000000000000000000012262106457007173 5ustar debian/README.Debian0000644000000000000000000000024612262106457011236 0ustar zonecheck for Debian -------------------- This package is quite new, bug reports are welcome. -- Stephane Bortzmeyer , Mon Jan 5 10:37:52 2004 debian/changelog0000644000000000000000000001731112262106457011050 0ustar zonecheck (3.0.5-1) unstable; urgency=low * meh -- Sebastien Delafond Sat, 04 Jan 2014 23:21:28 +0100 zonecheck (3.0.3-5) unstable; urgency=low * Depend on ruby-dnsruby instead of libdns-ruby (Closes: #725074) -- Sebastien Delafond Tue, 01 Oct 2013 09:58:26 +0200 zonecheck (3.0.3-4) unstable; urgency=low * Add to collab-maint -- Sebastien Delafond Sun, 11 Aug 2013 22:27:51 +0200 zonecheck (3.0.3-3) unstable; urgency=low * New IPv4 address for d.root-servers.net (Closes: #715479) * Bump-up Standards revision -- Sebastien Delafond Sun, 11 Aug 2013 22:27:43 +0200 zonecheck (3.0.3-2) unstable; urgency=low * Fix problems related to ruby 1.9, thanks to patches from Antonio Terceiro (Closes: #676109, #676173) * Bump-up Standards revision. -- Sebastien Delafond Mon, 18 Jun 2012 15:44:33 +0200 zonecheck (3.0.3-1) unstable; urgency=low * New upstream release (Closes: #599169). * Updated watch file. * Bumpred-up Standards revision. -- Sebastien Delafond Tue, 05 Oct 2010 11:42:10 +0200 zonecheck (3.0.2-1) unstable; urgency=low * New upstream release (Closes: #587419). * Updated watch file. * Bumped up Standards revision. -- Sebastien Delafond Thu, 08 Jul 2010 12:55:39 +0200 zonecheck (3.0.0-1) unstable; urgency=low * New upstream release (Closes: #586790). * Migrate to 3.0(quilt) source format. -- Sebastien Delafond Thu, 24 Jun 2010 11:02:25 +0200 zonecheck (2.1.1-1) unstable; urgency=high * New upstream release, that fixes XSS issue in the the CGI (Closes: #583290). -- Sebastien Delafond Sat, 29 May 2010 14:27:37 +0200 zonecheck (2.1.0-1) unstable; urgency=low * New upstream release (Closes: #569566). * Added watch file. -- Sebastien Delafond Fri, 12 Feb 2010 14:32:14 +0100 zonecheck (2.0.4+cvs20081105-1) unstable; urgency=low * New upstream version. * Bumped up Standards revision. * Lintian cleanups. -- Sebastien Delafond Sat, 10 Oct 2009 11:40:59 +0200 zonecheck (2.0.4-13) unstable; urgency=low * Move files away from /var/www/zonecheck, and document the changes in NEWS.Debian. -- Sebastien Delafond Mon, 02 Jun 2008 11:47:32 -0700 zonecheck (2.0.4-12) unstable; urgency=low * Previous change only accomplished half of the task: manually removing man/zonecheck.1.new from the source tarball completes it. -- Sebastien Delafond Sat, 31 May 2008 17:33:09 -0700 zonecheck (2.0.4-11) unstable; urgency=low * Lintian cleanups. * Fix dpatch 40, which was writing man/zonecheck.1.new. -- Sebastien Delafond Fri, 09 May 2008 16:25:06 -0700 zonecheck (2.0.4-10) unstable; urgency=low * Rename locale.rb to zc-locale.rb, so as to not shadow the module provided by liblocale-ruby (Closes: #472300). -- Sebastien Delafond Tue, 06 May 2008 21:06:29 -0700 zonecheck (2.0.4-9) unstable; urgency=low * Correct format for the rootservers files (Closes: #463638). -- Sebastien Delafond Wed, 27 Feb 2008 16:22:28 -0800 zonecheck (2.0.4-8) unstable; urgency=low * Updated l.root-servers.net address, and added IPv6 addresses (Closes: #463638). * lintian cleanup: - updated Standards-Version to latest revision. - removed empty directory /usr/share/zonecheck for zonecheck-cgi. - added missing dpatch comments. - well-formed copyright notice. -- Sebastien Delafond Fri, 22 Feb 2008 07:33:50 -0800 zonecheck (2.0.4-7) unstable; urgency=low * Included patch by Arnaud Cornet to allow for using a different name server than what is in /etc/resolv.conf (Closes: #418029). * Wrote patch to never use ruby-libxml even if it is installed (Closes: #407896). -- Sebastien Delafond Fri, 06 Apr 2007 11:05:54 -0700 zonecheck (2.0.4-6) unstable; urgency=low * Upgraded standards version to 3.7.2. * Moved debhelper and dpatch from Build-Depends-Indep to Build-Depends. -- Sebastien Delafond Thu, 15 Jun 2006 16:30:01 -0700 zonecheck (2.0.4-5) unstable; urgency=low * Changed maintainer to . * Changed build dependencies from Build-Depends to Build-Depends-Indep. -- Sebastien Delafond Mon, 06 Feb 2006 17:13:46 -0800 zonecheck (2.0.4-4) unstable; urgency=low * Removed unnecessary depends on libraries included in libruby1.8 (Closes: #326191). * Upgraded standards-version to 3.6.2.1. -- Sebastien Delafond Fri, 16 Sep 2005 15:37:52 -0700 zonecheck (2.0.4-4) unstable; urgency=low * Cleaned up debian/rules. -- Sebastien Delafond Fri, 21 Jan 2005 15:59:47 -0800 zonecheck (2.0.4-3) unstable; urgency=low * Added missing files to the installed documentation (Closes: #272964) * Modified debian/rules to include /usr/share/dpatch/dpatch/make * Patched doc/zonecheck.1 to escape '-' signs where needed (per http://lists.debian.org/debian-devel/2003/03/msg01481.html) and sent patch to upstream. Package is now lintian/linda clean. * Renamed dpatch files * Changed last incorrect timestamp in changelog.Debian * Added note to README.Debian in zonecheck-cgi, poiting to documentation in /usr/share/doc/zonecheck -- Sebastien Delafond Wed, 22 Sep 2004 21:20:12 -0700 zonecheck (2.0.4-2) unstable; urgency=low * Fixed incorrect locale handling, sent patch to upstream (Closes: #272390) * Add note to README.Debian in zonecheck-cgi, to state the new location of the webfiles. -- Sebastien Delafond Wed, 17 Sep 2004 11:35:03 -0700 zonecheck (2.0.4-1) unstable; urgency=low * New maintainer. Closes: #270249 * New upstream release. * Correctly installs web pages for zonecheck-cgi in /var/www/zonecheck. * Uses dpatch. -- Sebastien Delafond Wed, 15 Sep 2004 20:53:02 -0700 zonecheck (2.0.3-2) unstable; urgency=low * Formally orphaned. Maintainer set to QA. See bug #270249 * Installs the documentation. Closes: #238399 -- Stephane Bortzmeyer Tue, 14 Sep 2004 15:45:23 +0200 zonecheck (2.0.3-1) unstable; urgency=low * New upstream release -- Stephane Bortzmeyer Wed, 10 Mar 2004 14:08:05 +0100 zonecheck (2.0.2-2) unstable; urgency=low * Now depends on iputils-ping. (Closes: #231605) -- Stephane Bortzmeyer Sat, 7 Feb 2004 21:52:41 +0100 zonecheck (2.0.2-1) unstable; urgency=low * New upstream release -- Stephane Bortzmeyer Mon, 19 Jan 2004 16:25:53 +0100 zonecheck (2.0.1-1) unstable; urgency=low * New upstream release. * First Debian official upload (Closes: #222388) -- Stephane Bortzmeyer Mon, 5 Jan 2004 10:16:27 +0100 zonecheck (2.0.0-2) unstable; urgency=low * Stupid bug in zonecheck-cgi (files copied in the wrong place) -- Stephane Bortzmeyer Wed, 3 Dec 2003 16:16:20 +0100 zonecheck (2.0.0-1) unstable; urgency=low * New stable upstream release. Ready for upload. -- Stephane Bortzmeyer Tue, 2 Dec 2003 12:16:27 +0100 zonecheck (0.1-1) unstable; urgency=low * New upstream release -- Stephane Bortzmeyer Thu, 13 Nov 2003 18:06:28 +0100 zonecheck (0.0-2) unstable; urgency=low * Fix a bug in ping's verbosity -- Stephane Bortzmeyer Thu, 13 Nov 2003 16:18:40 +0100 zonecheck (0.0-1) unstable; urgency=low * Initial Release. -- Stephane Bortzmeyer Thu, 13 Nov 2003 13:28:02 +0100 debian/watch0000644000000000000000000000011712262106457010223 0ustar version=3 http://www.zonecheck.fr/download/zonecheck-(.*)\.tgz debian uupdate debian/patches/0000755000000000000000000000000012262106457010622 5ustar debian/patches/25param-rb.patch0000644000000000000000000000227412262106457013520 0ustar #!/bin/sh -e ## by Arnaud Cornet ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fixes locale handling in case there is a trailing @\w+ at the ## DP: end of the locale name (like in fr_FR@euro) if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -puriN zonecheck-2.0.4.orig/zc/param.rb zonecheck-2.0.4/zc/param.rb --- zonecheck-2.0.4.orig/zc/param.rb 2007-04-06 11:58:50.000000000 +0200 +++ zonecheck-2.0.4/zc/param.rb 2007-04-06 11:59:08.000000000 +0200 @@ -523,7 +523,7 @@ class Param end def local=(resolv) - resolv = resolv.clone.untaint if resolv.tainted? + resolv = resolv.dup.untaint if resolv.tainted? @local_name = if resolv.nil? || resolv =~ /^\s*$/ then nil else resolv debian/patches/70_zc-locale_472300-fix.patch0000644000000000000000000000120712262106457015425 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 70_zc-locale_472300-fix.dpatch by Sebastien Delafond ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Rename locale to zc-locale to avoid conflict with liblocale-ruby. @DPATCH@ Index: zonecheck-3.0.0/zc/zc.rb =================================================================== --- zonecheck-3.0.0.orig/zc/zc.rb 2010-06-24 11:19:54.000000000 +0200 +++ zonecheck-3.0.0/zc/zc.rb 2010-06-24 11:21:16.000000000 +0200 @@ -192,7 +192,7 @@ # ZoneCheck component -require 'locale' +require 'zc-locale' require 'msgcat' require 'console' require 'zonecheck' debian/patches/30webpages.patch0000644000000000000000000000265112262106457013607 0ustar #!/bin/sh -e ## by Sebastien Delafond ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: zonecheck-webpages.dpatch ## DP: - Makes direct link from form.html.en to form.html.fr and vice-versa Index: zonecheck-3.0.0/www/html/form.html.en =================================================================== --- zonecheck-3.0.0.orig/www/html/form.html.en 2010-06-24 11:09:51.000000000 +0200 +++ zonecheck-3.0.0/www/html/form.html.en 2010-06-24 11:09:57.000000000 +0200 @@ -70,7 +70,7 @@ -
Lang: EN / FR
+
Lang: EN / FR

Index: zonecheck-3.0.0/www/html/form.html.fr =================================================================== --- zonecheck-3.0.0.orig/www/html/form.html.fr 2010-06-24 11:09:27.000000000 +0200 +++ zonecheck-3.0.0/www/html/form.html.fr 2010-06-24 11:09:39.000000000 +0200 @@ -68,7 +68,7 @@ -
Lang: EN / FR
+
Lang: EN / FR

@@ -571,4 +571,4 @@ - \ No newline at end of file + debian/patches/20locale-rb.patch0000644000000000000000000000224512262106457013650 0ustar #!/bin/sh -e ## by Sebastien Delafond ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fixes locale handling in case there is a trailing @\w+ at the ## DP: end of the locale name (like in fr_FR@euro) if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 Index: zonecheck-3.0.0/zc/locale.rb =================================================================== --- zonecheck-3.0.0.orig/zc/locale.rb 2010-06-07 10:51:25.000000000 +0200 +++ zonecheck-3.0.0/zc/locale.rb 2010-06-24 11:06:43.000000000 +0200 @@ -32,7 +32,7 @@ # module ZoneCheck class Locale - LANGRegex = /^(\w+?)(?:_(\w+))?(?:\.([\w\-]+))?$/ + LANGRegex = /^(\w+?)(?:_(\w+))?(?:\.([\w\-]+))?(?:@\w+)?$/ # # Normalize lang debian/patches/94_yaml1_676173_fix.patch0000644000000000000000000000141512262106457014706 0ustar Description: Proper YAML syntax error exception handling for Ruby 1.9 The default YAML engine does not have a ParseError exception, but a SyntaxError one. Author: Antonio Terceiro Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676173 --- --- zonecheck-3.0.3.orig/test/rootserver.rb +++ zonecheck-3.0.3/test/rootserver.rb @@ -82,7 +82,7 @@ module CheckNetworkAddress if f = $rootserver_hintfile begin rootserver = RootServerList.from_hintfile(f) - rescue YAML::ParseError,SystemCallError => e + rescue YAML::SyntaxError,SystemCallError => e Dbg.msg(DBG::CONFIG, "Unable to read/parse rootserver hint file (#{e})") end debian/patches/80_no-rubygems.patch0000644000000000000000000000176012262106457014425 0ustar Description: Do not require rubygems. Author: Sébastien Delafond Index: zonecheck-3.0.0/zc/zc.rb =================================================================== --- zonecheck-3.0.0.orig/zc/zc.rb 2010-06-24 11:40:08.000000000 +0200 +++ zonecheck-3.0.0/zc/zc.rb 2010-06-24 11:40:18.000000000 +0200 @@ -207,22 +207,7 @@ $dbg.level = ENV['ZC_DEBUG'] if ENV['ZC_DEBUG'] -begin - require 'rubygems' -rescue LoadError => e - $dbg.msg(ZoneCheck::DBG::INIT, "Unable to require rubygems (#{e})") - $stderr.puts "ERROR: You have to install rubygems and Dnsruby in order to execute ZoneCheck" - exit EXIT_ERROR -end - -# External libraries -begin - require 'dnsruby' -rescue LoadError => e - $dbg.msg(ZoneCheck::DBG::INIT, "Unable to require dnsruby (#{e})") - $stderr.puts "ERROR: You have to install Dnsruby in order to execute ZoneCheck" - exit EXIT_ERROR -end +require 'dnsruby' if Dnsruby.version < 1.47 $dbg.msg(ZoneCheck::DBG::INIT, "Unable to require dnsruby (#{e})") debian/patches/99_update-rootservers_715479-fix.patch0000644000000000000000000000037112262106457017466 0ustar --- a/etc/zonecheck/rootservers +++ b/etc/zonecheck/rootservers @@ -25,7 +25,7 @@ c.root-servers.net.: - '192.33.4.12' d.root-servers.net.: - - '128.8.10.90' + - '199.7.91.13' - '2001:500:2d::d' e.root-servers.net.: - '192.203.230.10' debian/patches/60_update-rootservers_463638-fix.patch0000644000000000000000000000356012262106457017452 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 60_update-rootservers_463638-fix.dpatch by Sebastien Delafond ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: New IP for l.root-servers.net, plus IPv6 addresses. @DPATCH@ diff -urNad 2.0.4~/etc/zonecheck/rootservers 2.0.4/etc/zonecheck/rootservers --- 2.0.4~/etc/zonecheck/rootservers 2008-02-27 16:21:24.000000000 -0800 +++ 2.0.4/etc/zonecheck/rootservers 2008-02-27 16:22:03.000000000 -0800 @@ -11,22 +11,22 @@ # This list can be generated by the following shell-script (sh): # # for ns in `dig +short . ns | tr 'A-Z' 'a-z' | sort` ; do -# ips=`(dig +short $ns a; dig +short $ns aaaa) | tr '\n' ',' | sed 's/,$//'` +# ips=`(dig +short $ns a; dig +short $ns aaaa) | tr '\n' ', ' | sed 's/,$//'` # echo "$ns: [ $ips ]" # done # -a.root-servers.net.: [ 198.41.0.4 ] +a.root-servers.net.: [ 198.41.0.4, 2001:503:ba3e::2:30 ] b.root-servers.net.: [ 192.228.79.201 ] -c.root-servers.net.: [ 192.33.4.12 ] -d.root-servers.net.: [ 128.8.10.90 ] +c.root-servers.net.: [ 192.33.4.12 ] +d.root-servers.net.: [ 128.8.10.90 ] e.root-servers.net.: [ 192.203.230.10 ] -f.root-servers.net.: [ 192.5.5.241 ] -g.root-servers.net.: [ 192.112.36.4 ] -h.root-servers.net.: [ 128.63.2.53 ] -i.root-servers.net.: [ 192.36.148.17 ] -j.root-servers.net.: [ 192.58.128.30 ] -k.root-servers.net.: [ 193.0.14.129 ] -l.root-servers.net.: [ 198.32.64.12 ] -m.root-servers.net.: [ 202.12.27.33 ] +f.root-servers.net.: [ 192.5.5.241, 2001:500:2f::f ] +g.root-servers.net.: [ 192.112.36.4 ] +h.root-servers.net.: [ 128.63.2.53, 2001:500:1::803f:235 ] +i.root-servers.net.: [ 192.36.148.17 ] +j.root-servers.net.: [ 192.58.128.30, 2001:503:c27::2:30 ] +k.root-servers.net.: [ 193.0.14.129, 2001:7fd::1 ] +l.root-servers.net.: [ 199.7.83.42 ] +m.root-servers.net.: [ 202.12.27.33, 2001:dc3::35 ] debian/patches/50_libxml_407896-fix.patch0000644000000000000000000000125712262106457015070 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 50_libxml_407896-fix.dpatch by Sebastien Delafond ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Don't use libxml even if it's available. @DPATCH@ diff -urNad 2.0.4~/zc/ext/myxml.rb 2.0.4/zc/ext/myxml.rb --- 2.0.4~/zc/ext/myxml.rb 2004-01-07 08:44:56.000000000 -0800 +++ 2.0.4/zc/ext/myxml.rb 2007-04-06 12:30:17.000000000 -0700 @@ -46,12 +46,7 @@ if $zc_xml_parser $zc_xml_parser.intern else - begin - require 'xml/libxml' - :libxml - rescue LoadError - :rexml - end + :rexml end }).call debian/patches/40man-1.patch0000644000000000000000000001645012262106457012726 0ustar #!/bin/sh -e ## 40man-1.dpatch by Sebastien Delafond ## ## All lines beginning with `## DP:' are a description of the patch. ## ## DP: Escape '-' signs where needed, per ## DP: http://lists.debian.org/debian-devel/2003/03/msg01481.html if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 Index: zonecheck-3.0.0/man/zonecheck.1 =================================================================== --- zonecheck-3.0.0.orig/man/zonecheck.1 2010-06-03 10:09:28.000000000 +0200 +++ zonecheck-3.0.0/man/zonecheck.1 2010-06-24 11:41:45.000000000 +0200 @@ -62,7 +62,7 @@ .B \-voet .I opt ] [ -.B -46 +.B \-46 ] [ .B \-c .I conf @@ -91,12 +91,12 @@ that case happens the most recent option will be taken into account, silently discarding the others. .TP -\fB--lang\fR \fIlang\fR +\fB\-\-lang\fR \fIlang\fR Select another language (en, fr, ...). The syntax is the same as for the environment variable \fILANG\fR. . .TP -\fB--debug\fR, \fB-d\fR \fIlvl\fR +\fB\-\-debug\fR, \fB\-d\fR \fIlvl\fR Select the debugging messages to print or activate debugging code. This parameter will override the value of the environment variable \fIZC_DEBUG\fR. .br @@ -116,15 +116,15 @@ 0x4000 : Disable caching 0x8000 : Don't try to rescue exceptions .TP -\fB--help\fR, \fB-h\fR +\fB\-\-help\fR, \fB\-h\fR Show a short description of the different options available in \fIZoneCheck\fR. . .TP -\fB--version\fR, \fB-V\fR +\fB\-\-version\fR, \fB\-V\fR Display the version and exit. . .TP -\fB--batch\fR, \fB-B\fR \fIfilename\fR +\fB\-\-batch\fR, \fB\-B\fR \fIfilename\fR Depreciated option. You can use this script instead : .br for domain in `cat list_dom`; do @@ -133,19 +133,19 @@ done . .TP -\fB--config\fR, \fB-c\fR \fIfilename\fR +\fB\-\-config\fR, \fB\-c\fR \fIfilename\fR Specify the location of the configuration file (default is \fIzc.conf\fR). . .TP -\fB--testdir\fR \fIdirectory\fR +\fB\-\-testdir\fR \fIdirectory\fR Location of the directory holding the tests definition. . .TP -\fB--profile\fR, \fB-P\fR \fIprofilename\fR +\fB\-\-profile\fR, \fB\-P\fR \fIprofilename\fR Force uses of profile \fIprofilename\fR. . .TP -\fB--category\fR, \fB-C\fR \fIcatlist\fR +\fB\-\-category\fR, \fB\-C\fR \fIcatlist\fR Limit the test to perform to the categories specified by \fIcatlist\fR. The syntax for the catgory description is as follow: allow=[+|] disallow=[-|!] subcomponent=: separator=, @@ -153,21 +153,21 @@ don't perform DNS tests that are not SOA related . .TP -\fB--test\fR, \fB-T\fR \fItestname\fR +\fB\-\-test\fR, \fB\-T\fR \fItestname\fR \fItestname\fR is the test to perform. In this case failing to pass the test is considered as fatal. . .TP -\fB--testlist\fR +\fB\-\-testlist\fR List all the tests available. . .TP -\fB--testdesc\fR \fIdesctype\fR +\fB\-\-testdesc\fR \fIdesctype\fR Give a description of the test, the possible values for \fIdesctype\fR are \fBname\fR, \fBsuccess\fR, \fBfailure\fR, \fBexplanation\fR. . .TP -\fB--resolver\fR, \fB-r\fR \fIresolver\fR +\fB\-\-resolver\fR, \fB\-r\fR \fIresolver\fR Resolver to use (only IP address is accepted) for finding the information about the tested zone, by default the name servers used are the one specified in @@ -175,7 +175,7 @@ should already have been delegated. . .TP -\fB--ns\fR, \fB-n\fR \fInslist\fR +\fB\-\-ns\fR, \fB\-n\fR \fInslist\fR List of nameservers for the domain. Nameservers name are separated by a semicolon, the name can be followed by the equal sign and its IP addresses separated by a colon. @@ -183,7 +183,7 @@ This can give the following example: ns1;ns2=ip1,ip2;ns3=ip3 . .TP -\fB--securedelegation\fR, \fB-s\fR \fI[dsordnskey]\fR +\fB\-\-securedelegation\fR, \fB\-s\fR \fI[dsordnskey]\fR Force the execution of the full DNSSEC profile. Arguments are optional. You can precise the Trust Anchor of your zone by giving the DNSKEY or the DS and the algorithm used to hash your key. Several Trust @@ -193,20 +193,20 @@ \fBDNSKEY:af1Bs0F+4rg-g19\fP . .TP -\fB--quiet\fR, \fB-q\fR +\fB\-\-quiet\fR, \fB\-q\fR Don't display extra titles. . .TP -\fB--one\fR, \fB-1\fR +\fB\-\-one\fR, \fB\-1\fR Only display the most relevant message in a compact format. . .TP -\fB--tagonly\fR, \fB-g\fR +\fB\-\-tagonly\fR, \fB\-g\fR Display only tag. This option should be used for scripting. . .TP -\fB--verbose\fR, \fB-v\fR \fIoptions\fR -Display extra information, they can be prefix by '-' or '!' +\fB\-\-verbose\fR, \fB\-v\fR \fIoptions\fR +Display extra information, they can be prefix by '\-' or '!' to remove the effect, available options are: . .RS @@ -241,7 +241,7 @@ .RE . .TP -\fB--output\fR, \fB-o\fR \fIoptions\fR +\fB\-\-output\fR, \fB\-o\fR \fIoptions\fR Output rendering/format selection, avalaible options are: .RS .TP @@ -266,7 +266,7 @@ .RE . .TP -\fB--error\fR, \fB-e\fR \fIoptions\fR +\fB\-\-error\fR, \fB\-e\fR \fIoptions\fR Behaviour in case of error, available options are: .RS .TP @@ -292,7 +292,7 @@ .RE . .TP -\fB--transp\fR, \fB-t\fR \fIoptions\fR +\fB\-\-transp\fR, \fB\-t\fR \fIoptions\fR Transport/routing layer selection, available options are: .RS .TP @@ -322,20 +322,20 @@ route to name servers can carry EDNS queries. . .TP -\fB--ipv4\fR, \fB-4\fR +\fB\-\-ipv4\fR, \fB\-4\fR Only check the zone with IPv4 connectivity. . .TP -\fB--ipv6\fR, \fB-6\fR +\fB\-\-ipv6\fR, \fB\-6\fR Only check the zone with IPv6 connectivity. . .TP -\fB--preset\fR \fIname\fR +\fB\-\-preset\fR \fIname\fR Use of a preset configuration defined in the zc.conf configuration file. . .TP -\fB--option\fR \fIoptions\fR -Set extra options. The syntax is: -,-opt,opt,opt=foo +\fB\-\-option\fR \fIoptions\fR +Set extra options. The syntax is: \-,\-opt,opt,opt=foo .RS .TP \fBihtml\fR @@ -355,14 +355,14 @@ .TP .I ZC_CONFIG_FILE Name of the configuration file to use (defaul to zc.conf), it is -override by the \fB--config\fR option. +override by the \fB\-\-config\fR option. .TP .I ZC_LOCALIZATION_DIR Directory where all the localization files are located. .TP .I ZC_TEST_DIR Directory where all the tests are located, it is override by the -\fB--testdir\fR option. +\fB\-\-testdir\fR option. .TP .I ZC_HTML_PATH Path relative to the web server to use when generating HTML pages. @@ -439,14 +439,14 @@ and details of failed tests. .RS .nf -\fBzonecheck -6 --verbose=i,x,d domain_name\fP +\fBzonecheck \-6 \-\-verbose=i,x,d domain_name\fP .fi .RE .LP Ask for the 'error' message associated with the test 'soa'. .RS .nf -\fBzonecheck --testdesc error -T soa\fP +\fBzonecheck \-\-testdesc error \-T soa\fP .fi .RE .LP @@ -455,7 +455,7 @@ a short description of why their domains are not correctly configured. .RS .nf -\fBzonecheck -q -vn,d,x,f domain_name\fP +\fBzonecheck \-q \-vn,d,x,f domain_name\fP .fi .RE .LP @@ -465,7 +465,7 @@ autodetection will failed). .RS .nf -\fBzonecheck -4 -vi,x,d,c domain_name\fP +\fBzonecheck \-4 \-vi,x,d,c domain_name\fP .fi .RE . debian/patches/10installer-rb.patch0000644000000000000000000000633512262106457014411 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## filecSt9Ia.dpatch by Sebastien Delafond ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: better handling of the CGI home. if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad zonecheck-2.0.4/installer.rb /tmp/dpep.gXpF1A/zonecheck-2.0.4/installer.rb --- zonecheck-2.0.4/installer.rb 2005-01-21 16:29:46.000000000 -0800 +++ /tmp/dpep.gXpF1A/zonecheck-2.0.4/installer.rb 2005-01-21 16:29:57.000000000 -0800 @@ -55,7 +55,8 @@ ENV['DOCDIR' ] ||= "#{ENV['PREFIX']}/share/doc" ENV['ETCDIR' ] ||= "#{ENV['PREFIX']}/etc" ENV['CGIDIR' ] ||= "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}/cgi-bin" - ENV['WWWDIR' ] ||= "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}/www" + ENV['WWWDIR' ] ||= "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}/www" + ENV['WWWCGIDIR' ] ||= "#{ENV['HTML_PATH']}/cgi-bin" ENV['VERSION' ] ||= VERSION @@ -165,8 +166,11 @@ def inst_cli puts "==> Installing CLI" mkdir_p "#{ENV['CHROOT']}#{ENV['BINDIR']}", :verbose => @verbose - ln_s @zc, "#{ENV['CHROOT']}#{ENV['BINDIR']}/#{ENV['PROGNAME']}", + @p = pwd + cd @ch_installdir, :verbose => @verbose + ln_s "../share/zonecheck/zc/zc.rb", "../../bin/#{ENV['PROGNAME']}", :force => true, :verbose => @verbose + cd @p mkdir_p "#{ENV['CHROOT']}#{ENV['MANDIR']}/man1",:verbose => @verbose install "man/zonecheck.1", "#{ENV['CHROOT']}#{ENV['MANDIR']}/man1/#{ENV['PROGNAME']}.1", @@ -177,9 +181,11 @@ def patch_cgi puts "==> Patching HTML pages" - Dir["#{@ch_wwwdir}/www/html/*.html.*"].each { |page| - page_content = File.readlines(page) - page_content.each { |line| + Dir["#{@ch_wwwdir}/*.html.*"].each { |page| + page_content = File.readlines(page) + page_content.each { |line| + line.gsub!(/HTML_PATH\/cgi-bin/, ENV['WWWCGIDIR']) + line.gsub!(/\/(fr|en)\/(.*)\"/, "/\\2.\\1\"" ) line.gsub!(/HTML_PATH/, ENV['HTML_PATH']) } File::open(page, "w", 0644) { |io| io.puts page_content } } @@ -189,15 +195,22 @@ def inst_cgi puts "==> Installing HTML pages" mkdir_p @ch_wwwdir, :verbose => @verbose - Dir["www/*"].each { |entry| + ["www/img", "www/js", "www/style"].each { |entry| cp_r entry, @ch_wwwdir, :verbose => @verbose } + Dir["www/html/*"].each { |entry| + cp entry, @ch_wwwdir, :verbose => @verbose + } puts puts "==> Installing CGI" + mkdir_p @ch_installdir, :verbose => @verbose mkdir_p "#{ENV['CHROOT']}#{ENV['CGIDIR']}", :verbose => @verbose - ln_s @zc, "#{ENV['CHROOT']}#{ENV['CGIDIR']}/zc.cgi", + @p = pwd + cd @ch_installdir, :verbose => @verbose + ln_s "../../share/zonecheck/zc/zc.rb", "../../lib/cgi-bin/zc.cgi", :force => true, :verbose => @verbose + cd @p puts end debian/patches/series0000644000000000000000000000045312262106457012041 0ustar #10installer-rb.patch 20locale-rb.patch #25param-rb.patch 30webpages.patch 40man-1.patch 50_libxml_407896-fix.patch #60_update-rootservers_463638-fix.patch 70_zc-locale_472300-fix.patch #80_no-rubygems.patch 94_yaml1_676173_fix.patch 98_yaml2_676173_fix.patch 99_update-rootservers_715479-fix.patch debian/patches/98_yaml2_676173_fix.patch0000644000000000000000000000427512262106457014722 0ustar Description: Proper YAML syntax for rootservers file The default YAML parser in Ruby 1.9 is more strict with the format. This patch converts the rootservers file to a more correct (and more readable) format. Author: Antonio Terceiro Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676173 --- zonecheck-3.0.3.orig/etc/zonecheck/rootservers +++ zonecheck-3.0.3/etc/zonecheck/rootservers @@ -11,21 +11,44 @@ # This list can be generated by the following shell-script (sh): # # for ns in `dig +short . ns | tr 'A-Z' 'a-z' | sort` ; do -# ips=`(dig +short $ns a; dig +short $ns aaaa) | tr '\n' ',' | sed 's/,$//'` -# echo "$ns: [ $ips ]" +# echo "$ns:" +# for ip in $(dig +short $ns a; dig +short $ns aaaa); do +# echo " - '$ip'" +# done # done -# TODO: bad syntax? -a.root-servers.net.: [ 198.41.0.4 , 2001:503:ba3e::2:30 ] -b.root-servers.net.: [ 192.228.79.201 ] -c.root-servers.net.: [ 192.33.4.12 ] -d.root-servers.net.: [ 128.8.10.90 ] -e.root-servers.net.: [ 192.203.230.10 ] -f.root-servers.net.: [ 192.5.5.241 , 2001:500:2f::f ] -g.root-servers.net.: [ 192.112.36.4 ] -h.root-servers.net.: [ 128.63.2.53 , 2001:500:1::803f:235 ] -i.root-servers.net.: [ 192.36.148.17, 2001:7FE:0:0:0:0:0:53 ] -j.root-servers.net.: [ 192.58.128.30 , 2001:503:c27::2:30 ] -k.root-servers.net.: [ 193.0.14.129 , 2001:7fd::1 ] -l.root-servers.net.: [ 199.7.83.42 , 2001:500:3::42 ] -m.root-servers.net.: [ 202.12.27.33 , 2001:dc3::35 ] +a.root-servers.net.: + - '198.41.0.4' + - '2001:503:ba3e::2:30' +b.root-servers.net.: + - '192.228.79.201' +c.root-servers.net.: + - '192.33.4.12' +d.root-servers.net.: + - '128.8.10.90' + - '2001:500:2d::d' +e.root-servers.net.: + - '192.203.230.10' +f.root-servers.net.: + - '192.5.5.241' + - '2001:500:2f::f' +g.root-servers.net.: + - '192.112.36.4' +h.root-servers.net.: + - '128.63.2.53' + - '2001:500:1::803f:235' +i.root-servers.net.: + - '192.36.148.17' + - '2001:7fe::53' +j.root-servers.net.: + - '192.58.128.30' + - '2001:503:c27::2:30' +k.root-servers.net.: + - '193.0.14.129' + - '2001:7fd::1' +l.root-servers.net.: + - '199.7.83.42' + - '2001:500:3::42' +m.root-servers.net.: + - '202.12.27.33' + - '2001:dc3::35' debian/zonecheck-cgi.README.Debian0000644000000000000000000000127212262106457013746 0ustar zonecheck-cgi for Debian ------------------------ Note that as of 2.0.4-1, as opposed to a "classic" (non-Debian) install of zonecheck-cgi, the web files (HTML files, CSS stylesheets, images, etc...) will be installed under /var/www/zonecheck. The cgi-bin script will also be linked from its original location to /usr/lib/cgi-bin/, the default Debian location. This should be fine in a default Debian install where SymLinksIfOwnerMatch is set on . Any documentation that you might need can be found under /usr/share/doc/zonecheck, and is not duplicated under /usr/share/doc/zonecheck-cgi -- Sebastien Delafond Wed, 22 Sep 2004 21:42:16 -0700 debian/docs0000644000000000000000000000004712262106457010047 0ustar BUGS CREDITS HISTORY README TODO doc/* debian/copyright0000644000000000000000000000575312262106457011140 0ustar This package was debianized by Stephane Bortzmeyer on Thu, 13 Nov 2003 13:28:02 +0100. It was downloaded from http://www.zonecheck.fr/ Copyright: AFNIC, 2003 ZoneCheck is copyright AFNIC, 2003. It is written and maintained by Stephane D'Alu . You can contact AFNIC at , or for technical questions/patches about this software at the following address . The Ruby DNS library (in the lib/ directory) is licenced like Ruby (either GPL or the Ruby licence, see for details). ZoneCheck terms of use and distribution: You can use, modify and distribute ZoneCheck according to the GPL v2 (GNU General Public License) , a copy has been made available in the file /usr/share/common-licenses/GPL-2. To summarize (a lot!), it means you can use ZoneCheck freely (but not to link it with software which is not GPL-compatible), you can have the source code, you can distribute it freely (even after modifications) BUT you cannot deny these freedoms to the people who receive it: for instance, you must provide them with the source code. Alternatively, if you want to use or distribute a version of ZoneCheck in a way which is not compatible with the GPL you *must* get an agreement from AFNIC which will give you the right to use the following terms. The license is therefore *not* a disjunctive license. To use the "MIT/X11"-like license hereafter, you need a personal agreement with AFNIC. ----------- Terms after relicencing, for the licencee only ---- Permission is hereby granted, to <> obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit individuals or organizations to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- WARNING ---------------------------------------------------- Patch submitters are therefore informed that, for the patches to be included, you must agree on this possible relicensing. --------------------------------------------------------------- References that you may find interesting: http://www.gnu.org/licenses/licenses.html http://sourceforge.net/docman/display_doc.php?docid=778&group_id=1 debian/source/0000755000000000000000000000000012262106457010473 5ustar debian/source/format0000644000000000000000000000001412262106457011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212262106457010371 0ustar 6 debian/control0000644000000000000000000000274612262106457010607 0ustar Source: zonecheck Section: net Priority: optional Maintainer: Sebastien Delafond Build-Depends-Indep: ruby (>= 1.8) Build-Depends: debhelper (>= 6.0.0) Standards-Version: 3.9.5 Homepage: http://www.zonecheck.fr Vcs-Git: git://anonscm.debian.org/collab-maint/zonecheck.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/zonecheck.git Package: zonecheck Architecture: all Depends: ruby (>= 1.8), iputils-ping, ruby-dnsruby (>= 1.47), ${misc:Depends} Recommends: libopenssl-ruby Description: DNS configuration checker DNS is a critical resource for every network application, so it is quite important to ensure that a zone or domain name is correctly configured in the DNS. . ZoneCheck is intended to help solving misconfigurations or inconsistencies usually revealed by an increase in the latency of the application, up to the output of unexpected/inconsistant results. . This package is the command-line version. Package: zonecheck-cgi Architecture: all Depends: zonecheck, apache | httpd, ${misc:Depends} Description: DNS configuration checker (web interface) DNS is a critical resource for every network application, so it is quite important to ensure that a zone or domain name is correctly configured in the DNS. . ZoneCheck is intended to help solving misconfigurations or inconsistencies usually revealed by an increase in the latency of the application, up to the output of unexpected/inconsistant results. . This package is the CGI version, for the Web. debian/rules0000755000000000000000000000443512262106457010261 0ustar #!/usr/bin/make -f # -*- makefile -*- # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export RUBYOPT=--encoding UTF-8 RUBY=/usr/bin/ruby build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/zonecheck. $(RUBY) installer.rb -DCHROOT=$(CURDIR)/debian/zonecheck \ -DPREFIX=/usr -DETCDIR=/etc -DETCDIST= \ -DLIBEXEC=/usr/share -DMANDIR=/usr/share/man -DRUBY=${RUBY} \ common cli doc # Patch the configuration file for Linux netkit ping $(RUBY) -p -i \ -e "\$$_.gsub"\!"(/()/, '\1ping -n -q -w 5 -c 5 %s > /dev/null\2')" \ -e "\$$_.gsub"\!"(/()/, '\1ping6 -n -q -w 5 -c 5 %s > /dev/null\2')" \ $(CURDIR)/debian/zonecheck/etc/zonecheck/zc.conf # Add here commands to install the package into debian/zonecheck-cgi. $(RUBY) installer.rb -DCHROOT=$(CURDIR)/debian/zonecheck-cgi \ -DPREFIX=/usr -DETCDIR=/etc -DETCDIST= \ -DCGIDIR=/usr/lib/cgi-bin/ -DLIBEXEC=/usr/share \ -DMANDIR=/usr/share/man -DWWWDIR=/usr/share/zonecheck-cgi \ -DWWWCGIDIR=/cgi-bin -DRUBY=${RUBY} \ cgi rm -fr $(CURDIR)/debian/zonecheck-cgi/usr/share/zonecheck rm -fr $(CURDIR)/debian/zonecheck/usr/share/zonecheck/zc/config mv $(CURDIR)/debian/zonecheck/usr/share/zonecheck/zc/locale.rb $(CURDIR)/debian/zonecheck/usr/share/zonecheck/zc/zc-locale.rb # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs -X .created # bogus empty file should not be installed dh_installdocs -p zonecheck-cgi debian/NEWS.Debian dh_installexamples dh_installman dh_compress dh_fixperms dh_link dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/zonecheck.doc-base0000644000000000000000000000036612262106457012550 0ustar Document: zonecheck Title: Zonecheck Manuel Abstract: This manual describes what zonecheck is, and how to use it Section: Network/Monitoring Format: HTML Files: /usr/share/doc/zonecheck/html/*.html Index: /usr/share/doc/zonecheck/html/index.htmldebian/NEWS.Debian0000644000000000000000000000056612262106457011062 0ustar zonecheck (2.0.4-13) unstable; urgency=low /var/www/zonecheck has been moved to /usr/share/zonecheck-cgi, as packages should not install files in /var/www/ directly. Please modify your webserver configuration accordingly, or just run: ln -sf /usr/share/zonecheck-cgi /var/www/zonecheck -- Sebastien Delafond Mon, 02 Jun 2008 11:47:32 -0700 debian/zonecheck-cgi.dirs0000644000000000000000000000003012262106457012560 0ustar usr/share/zonecheck-cgi