wok-next diff zonecheck/stuff/patches/40man-1.patch @ rev 21636

updated f3 (2.2 -> 7.2)
author Hans-G?nter Theisgen
date Fri Jun 26 11:11:30 2020 +0100 (2020-06-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zonecheck/stuff/patches/40man-1.patch	Fri Jun 26 11:11:30 2020 +0100
     1.3 @@ -0,0 +1,272 @@
     1.4 +#!/bin/sh -e
     1.5 +## 40man-1.dpatch by Sebastien Delafond <sdelafond@gmx.net>
     1.6 +##
     1.7 +## All lines beginning with `## DP:' are a description of the patch.
     1.8 +##
     1.9 +## DP: Escape '-' signs where needed, per 
    1.10 +## DP:  http://lists.debian.org/debian-devel/2003/03/msg01481.html
    1.11 +
    1.12 +if [ $# -lt 1 ]; then
    1.13 +    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    1.14 +    exit 1
    1.15 +fi
    1.16 +
    1.17 +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
    1.18 +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
    1.19 +
    1.20 +case "$1" in
    1.21 +       -patch) patch $patch_opts -p1 < $0;;
    1.22 +       -unpatch) patch $patch_opts -p1 -R < $0;;
    1.23 +        *)
    1.24 +                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    1.25 +                exit 1;;
    1.26 +esac
    1.27 +
    1.28 +exit 0
    1.29 +
    1.30 +Index: zonecheck-3.0.0/man/zonecheck.1
    1.31 +===================================================================
    1.32 +--- zonecheck-3.0.0.orig/man/zonecheck.1	2010-06-03 10:09:28.000000000 +0200
    1.33 ++++ zonecheck-3.0.0/man/zonecheck.1	2010-06-24 11:41:45.000000000 +0200
    1.34 +@@ -62,7 +62,7 @@
    1.35 + .B \-voet
    1.36 + .I opt
    1.37 + ] [
    1.38 +-.B -46
    1.39 ++.B \-46
    1.40 + ] [
    1.41 + .B \-c
    1.42 + .I conf
    1.43 +@@ -91,12 +91,12 @@
    1.44 + that case happens the most recent option will be taken into account,
    1.45 + silently discarding the others.
    1.46 + .TP
    1.47 +-\fB--lang\fR \fIlang\fR
    1.48 ++\fB\-\-lang\fR \fIlang\fR
    1.49 + Select another language (en, fr, ...). The syntax is the same as for the
    1.50 + environment variable \fILANG\fR.
    1.51 + .
    1.52 + .TP
    1.53 +-\fB--debug\fR, \fB-d\fR \fIlvl\fR
    1.54 ++\fB\-\-debug\fR, \fB\-d\fR \fIlvl\fR
    1.55 + Select the debugging messages to print or activate debugging code.
    1.56 + This parameter will override the value of the environment variable \fIZC_DEBUG\fR.
    1.57 + .br
    1.58 +@@ -116,15 +116,15 @@
    1.59 +   0x4000 : Disable caching
    1.60 +   0x8000 : Don't try to rescue exceptions
    1.61 + .TP
    1.62 +-\fB--help\fR, \fB-h\fR
    1.63 ++\fB\-\-help\fR, \fB\-h\fR
    1.64 + Show a short description of the different options available in \fIZoneCheck\fR.
    1.65 + .
    1.66 + .TP
    1.67 +-\fB--version\fR, \fB-V\fR
    1.68 ++\fB\-\-version\fR, \fB\-V\fR
    1.69 + Display the version and exit.
    1.70 + .
    1.71 + .TP
    1.72 +-\fB--batch\fR, \fB-B\fR \fIfilename\fR
    1.73 ++\fB\-\-batch\fR, \fB\-B\fR \fIfilename\fR
    1.74 + Depreciated option. You can use this script instead :
    1.75 + .br
    1.76 +   for domain in `cat list_dom`; do
    1.77 +@@ -133,19 +133,19 @@
    1.78 +   done
    1.79 + .
    1.80 + .TP
    1.81 +-\fB--config\fR, \fB-c\fR \fIfilename\fR
    1.82 ++\fB\-\-config\fR, \fB\-c\fR \fIfilename\fR
    1.83 + Specify the location of the configuration file (default is \fIzc.conf\fR).
    1.84 + .
    1.85 + .TP
    1.86 +-\fB--testdir\fR \fIdirectory\fR
    1.87 ++\fB\-\-testdir\fR \fIdirectory\fR
    1.88 + Location of the directory holding the tests definition.
    1.89 + .
    1.90 + .TP
    1.91 +-\fB--profile\fR, \fB-P\fR \fIprofilename\fR
    1.92 ++\fB\-\-profile\fR, \fB\-P\fR \fIprofilename\fR
    1.93 + Force uses of profile \fIprofilename\fR.
    1.94 + .
    1.95 + .TP
    1.96 +-\fB--category\fR, \fB-C\fR \fIcatlist\fR
    1.97 ++\fB\-\-category\fR, \fB\-C\fR \fIcatlist\fR
    1.98 + Limit the test to perform to the categories specified by \fIcatlist\fR.
    1.99 + The syntax for the catgory description is as follow:
   1.100 +   allow=[+|]    disallow=[-|!]    subcomponent=:    separator=,
   1.101 +@@ -153,21 +153,21 @@
   1.102 +       don't perform DNS tests that are not SOA related
   1.103 + .
   1.104 + .TP
   1.105 +-\fB--test\fR, \fB-T\fR \fItestname\fR
   1.106 ++\fB\-\-test\fR, \fB\-T\fR \fItestname\fR
   1.107 + \fItestname\fR is the test to perform. In this case failing to pass
   1.108 + the test is considered as fatal.
   1.109 + .
   1.110 + .TP
   1.111 +-\fB--testlist\fR
   1.112 ++\fB\-\-testlist\fR
   1.113 + List all the tests available.
   1.114 + .
   1.115 + .TP
   1.116 +-\fB--testdesc\fR \fIdesctype\fR
   1.117 ++\fB\-\-testdesc\fR \fIdesctype\fR
   1.118 + Give a description of the test, the possible values for \fIdesctype\fR
   1.119 + are \fBname\fR, \fBsuccess\fR, \fBfailure\fR, \fBexplanation\fR.
   1.120 + .
   1.121 + .TP
   1.122 +-\fB--resolver\fR, \fB-r\fR \fIresolver\fR
   1.123 ++\fB\-\-resolver\fR, \fB\-r\fR \fIresolver\fR
   1.124 + Resolver to use (only IP address is accepted) for finding the information 
   1.125 + about the tested zone,
   1.126 + by default the name servers used are the one specified in 
   1.127 +@@ -175,7 +175,7 @@
   1.128 + should already have been delegated.
   1.129 + .
   1.130 + .TP
   1.131 +-\fB--ns\fR, \fB-n\fR \fInslist\fR
   1.132 ++\fB\-\-ns\fR, \fB\-n\fR \fInslist\fR
   1.133 + List of nameservers for the domain. Nameservers name are separated by 
   1.134 + a semicolon, the name can be followed by the equal sign and its
   1.135 + IP addresses separated by a colon.
   1.136 +@@ -183,7 +183,7 @@
   1.137 + This can give the following example: ns1;ns2=ip1,ip2;ns3=ip3
   1.138 + .
   1.139 + .TP
   1.140 +-\fB--securedelegation\fR, \fB-s\fR \fI[dsordnskey]\fR
   1.141 ++\fB\-\-securedelegation\fR, \fB\-s\fR \fI[dsordnskey]\fR
   1.142 + Force the execution of the full DNSSEC profile. Arguments are optional. 
   1.143 + You can precise the Trust Anchor of your zone by giving the DNSKEY 
   1.144 + or the DS and the algorithm used to hash your key. Several Trust
   1.145 +@@ -193,20 +193,20 @@
   1.146 +   \fBDNSKEY:af1Bs0F+4rg-g19\fP
   1.147 + .
   1.148 + .TP
   1.149 +-\fB--quiet\fR, \fB-q\fR
   1.150 ++\fB\-\-quiet\fR, \fB\-q\fR
   1.151 + Don't display extra titles.
   1.152 + .
   1.153 + .TP
   1.154 +-\fB--one\fR, \fB-1\fR
   1.155 ++\fB\-\-one\fR, \fB\-1\fR
   1.156 + Only display the most relevant message in a compact format.
   1.157 + .
   1.158 + .TP
   1.159 +-\fB--tagonly\fR, \fB-g\fR
   1.160 ++\fB\-\-tagonly\fR, \fB\-g\fR
   1.161 + Display only tag. This option should be used for scripting.
   1.162 + .
   1.163 + .TP
   1.164 +-\fB--verbose\fR, \fB-v\fR \fIoptions\fR
   1.165 +-Display extra information, they can be prefix by '-' or '!'
   1.166 ++\fB\-\-verbose\fR, \fB\-v\fR \fIoptions\fR
   1.167 ++Display extra information, they can be prefix by '\-' or '!'
   1.168 + to remove the effect, available options are:
   1.169 + .
   1.170 + .RS
   1.171 +@@ -241,7 +241,7 @@
   1.172 + .RE
   1.173 + .
   1.174 + .TP
   1.175 +-\fB--output\fR, \fB-o\fR \fIoptions\fR
   1.176 ++\fB\-\-output\fR, \fB\-o\fR \fIoptions\fR
   1.177 + Output rendering/format selection, avalaible options are:
   1.178 + .RS
   1.179 + .TP
   1.180 +@@ -266,7 +266,7 @@
   1.181 + .RE
   1.182 + .
   1.183 + .TP
   1.184 +-\fB--error\fR, \fB-e\fR \fIoptions\fR
   1.185 ++\fB\-\-error\fR, \fB\-e\fR \fIoptions\fR
   1.186 + Behaviour in case of error, available options are:
   1.187 + .RS
   1.188 + .TP
   1.189 +@@ -292,7 +292,7 @@
   1.190 + .RE
   1.191 + .
   1.192 + .TP
   1.193 +-\fB--transp\fR, \fB-t\fR \fIoptions\fR
   1.194 ++\fB\-\-transp\fR, \fB\-t\fR \fIoptions\fR
   1.195 + Transport/routing layer selection, available options are:
   1.196 + .RS
   1.197 + .TP
   1.198 +@@ -322,20 +322,20 @@
   1.199 + route to name servers can carry EDNS queries.
   1.200 + .
   1.201 + .TP
   1.202 +-\fB--ipv4\fR, \fB-4\fR
   1.203 ++\fB\-\-ipv4\fR, \fB\-4\fR
   1.204 + Only check the zone with IPv4 connectivity.
   1.205 + .
   1.206 + .TP
   1.207 +-\fB--ipv6\fR, \fB-6\fR
   1.208 ++\fB\-\-ipv6\fR, \fB\-6\fR
   1.209 + Only check the zone with IPv6 connectivity.
   1.210 + .
   1.211 + .TP
   1.212 +-\fB--preset\fR \fIname\fR
   1.213 ++\fB\-\-preset\fR \fIname\fR
   1.214 + Use of a preset configuration defined in the zc.conf configuration file.
   1.215 + .
   1.216 + .TP
   1.217 +-\fB--option\fR \fIoptions\fR
   1.218 +-Set extra options. The syntax is: -,-opt,opt,opt=foo
   1.219 ++\fB\-\-option\fR \fIoptions\fR
   1.220 ++Set extra options. The syntax is: \-,\-opt,opt,opt=foo
   1.221 + .RS
   1.222 + .TP
   1.223 + \fBihtml\fR
   1.224 +@@ -355,14 +355,14 @@
   1.225 + .TP
   1.226 + .I ZC_CONFIG_FILE
   1.227 + Name of the configuration file to use (defaul to zc.conf), it is
   1.228 +-override by the \fB--config\fR option.
   1.229 ++override by the \fB\-\-config\fR option.
   1.230 + .TP
   1.231 + .I ZC_LOCALIZATION_DIR
   1.232 + Directory where all the localization files are located.
   1.233 + .TP
   1.234 + .I ZC_TEST_DIR
   1.235 + Directory where all the tests are located, it is override by the
   1.236 +-\fB--testdir\fR option.
   1.237 ++\fB\-\-testdir\fR option.
   1.238 + .TP
   1.239 + .I ZC_HTML_PATH
   1.240 + Path relative to the web server to use when generating HTML pages.
   1.241 +@@ -439,14 +439,14 @@
   1.242 + and details of failed tests.
   1.243 + .RS
   1.244 + .nf
   1.245 +-\fBzonecheck -6 --verbose=i,x,d domain_name\fP
   1.246 ++\fBzonecheck \-6 \-\-verbose=i,x,d domain_name\fP
   1.247 + .fi
   1.248 + .RE
   1.249 + .LP
   1.250 + Ask for the 'error' message associated with the test 'soa'.
   1.251 + .RS
   1.252 + .nf
   1.253 +-\fBzonecheck --testdesc error -T soa\fP
   1.254 ++\fBzonecheck \-\-testdesc error \-T soa\fP
   1.255 + .fi
   1.256 + .RE
   1.257 + .LP
   1.258 +@@ -455,7 +455,7 @@
   1.259 + a short description of why their domains are not correctly configured.
   1.260 + .RS
   1.261 + .nf
   1.262 +-\fBzonecheck -q -vn,d,x,f domain_name\fP
   1.263 ++\fBzonecheck \-q \-vn,d,x,f domain_name\fP
   1.264 + .fi
   1.265 + .RE
   1.266 + .LP
   1.267 +@@ -465,7 +465,7 @@
   1.268 + autodetection will failed).
   1.269 + .RS
   1.270 + .nf
   1.271 +-\fBzonecheck -4 -vi,x,d,c domain_name\fP
   1.272 ++\fBzonecheck \-4 \-vi,x,d,c domain_name\fP
   1.273 + .fi
   1.274 + .RE
   1.275 + .