wok-next view zonecheck/stuff/patches/40man-1.patch @ rev 21312
inkscape: added build dependency dbus-glib-dev
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 15:00:13 2019 +0100 (2019-12-10) |
parents | |
children |
line source
1 #!/bin/sh -e
2 ## 40man-1.dpatch by Sebastien Delafond <sdelafond@gmx.net>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ##
6 ## DP: Escape '-' signs where needed, per
7 ## DP: http://lists.debian.org/debian-devel/2003/03/msg01481.html
9 if [ $# -lt 1 ]; then
10 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
11 exit 1
12 fi
14 [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
15 patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
17 case "$1" in
18 -patch) patch $patch_opts -p1 < $0;;
19 -unpatch) patch $patch_opts -p1 -R < $0;;
20 *)
21 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
22 exit 1;;
23 esac
25 exit 0
27 Index: zonecheck-3.0.0/man/zonecheck.1
28 ===================================================================
29 --- zonecheck-3.0.0.orig/man/zonecheck.1 2010-06-03 10:09:28.000000000 +0200
30 +++ zonecheck-3.0.0/man/zonecheck.1 2010-06-24 11:41:45.000000000 +0200
31 @@ -62,7 +62,7 @@
32 .B \-voet
33 .I opt
34 ] [
35 -.B -46
36 +.B \-46
37 ] [
38 .B \-c
39 .I conf
40 @@ -91,12 +91,12 @@
41 that case happens the most recent option will be taken into account,
42 silently discarding the others.
43 .TP
44 -\fB--lang\fR \fIlang\fR
45 +\fB\-\-lang\fR \fIlang\fR
46 Select another language (en, fr, ...). The syntax is the same as for the
47 environment variable \fILANG\fR.
48 .
49 .TP
50 -\fB--debug\fR, \fB-d\fR \fIlvl\fR
51 +\fB\-\-debug\fR, \fB\-d\fR \fIlvl\fR
52 Select the debugging messages to print or activate debugging code.
53 This parameter will override the value of the environment variable \fIZC_DEBUG\fR.
54 .br
55 @@ -116,15 +116,15 @@
56 0x4000 : Disable caching
57 0x8000 : Don't try to rescue exceptions
58 .TP
59 -\fB--help\fR, \fB-h\fR
60 +\fB\-\-help\fR, \fB\-h\fR
61 Show a short description of the different options available in \fIZoneCheck\fR.
62 .
63 .TP
64 -\fB--version\fR, \fB-V\fR
65 +\fB\-\-version\fR, \fB\-V\fR
66 Display the version and exit.
67 .
68 .TP
69 -\fB--batch\fR, \fB-B\fR \fIfilename\fR
70 +\fB\-\-batch\fR, \fB\-B\fR \fIfilename\fR
71 Depreciated option. You can use this script instead :
72 .br
73 for domain in `cat list_dom`; do
74 @@ -133,19 +133,19 @@
75 done
76 .
77 .TP
78 -\fB--config\fR, \fB-c\fR \fIfilename\fR
79 +\fB\-\-config\fR, \fB\-c\fR \fIfilename\fR
80 Specify the location of the configuration file (default is \fIzc.conf\fR).
81 .
82 .TP
83 -\fB--testdir\fR \fIdirectory\fR
84 +\fB\-\-testdir\fR \fIdirectory\fR
85 Location of the directory holding the tests definition.
86 .
87 .TP
88 -\fB--profile\fR, \fB-P\fR \fIprofilename\fR
89 +\fB\-\-profile\fR, \fB\-P\fR \fIprofilename\fR
90 Force uses of profile \fIprofilename\fR.
91 .
92 .TP
93 -\fB--category\fR, \fB-C\fR \fIcatlist\fR
94 +\fB\-\-category\fR, \fB\-C\fR \fIcatlist\fR
95 Limit the test to perform to the categories specified by \fIcatlist\fR.
96 The syntax for the catgory description is as follow:
97 allow=[+|] disallow=[-|!] subcomponent=: separator=,
98 @@ -153,21 +153,21 @@
99 don't perform DNS tests that are not SOA related
100 .
101 .TP
102 -\fB--test\fR, \fB-T\fR \fItestname\fR
103 +\fB\-\-test\fR, \fB\-T\fR \fItestname\fR
104 \fItestname\fR is the test to perform. In this case failing to pass
105 the test is considered as fatal.
106 .
107 .TP
108 -\fB--testlist\fR
109 +\fB\-\-testlist\fR
110 List all the tests available.
111 .
112 .TP
113 -\fB--testdesc\fR \fIdesctype\fR
114 +\fB\-\-testdesc\fR \fIdesctype\fR
115 Give a description of the test, the possible values for \fIdesctype\fR
116 are \fBname\fR, \fBsuccess\fR, \fBfailure\fR, \fBexplanation\fR.
117 .
118 .TP
119 -\fB--resolver\fR, \fB-r\fR \fIresolver\fR
120 +\fB\-\-resolver\fR, \fB\-r\fR \fIresolver\fR
121 Resolver to use (only IP address is accepted) for finding the information
122 about the tested zone,
123 by default the name servers used are the one specified in
124 @@ -175,7 +175,7 @@
125 should already have been delegated.
126 .
127 .TP
128 -\fB--ns\fR, \fB-n\fR \fInslist\fR
129 +\fB\-\-ns\fR, \fB\-n\fR \fInslist\fR
130 List of nameservers for the domain. Nameservers name are separated by
131 a semicolon, the name can be followed by the equal sign and its
132 IP addresses separated by a colon.
133 @@ -183,7 +183,7 @@
134 This can give the following example: ns1;ns2=ip1,ip2;ns3=ip3
135 .
136 .TP
137 -\fB--securedelegation\fR, \fB-s\fR \fI[dsordnskey]\fR
138 +\fB\-\-securedelegation\fR, \fB\-s\fR \fI[dsordnskey]\fR
139 Force the execution of the full DNSSEC profile. Arguments are optional.
140 You can precise the Trust Anchor of your zone by giving the DNSKEY
141 or the DS and the algorithm used to hash your key. Several Trust
142 @@ -193,20 +193,20 @@
143 \fBDNSKEY:af1Bs0F+4rg-g19\fP
144 .
145 .TP
146 -\fB--quiet\fR, \fB-q\fR
147 +\fB\-\-quiet\fR, \fB\-q\fR
148 Don't display extra titles.
149 .
150 .TP
151 -\fB--one\fR, \fB-1\fR
152 +\fB\-\-one\fR, \fB\-1\fR
153 Only display the most relevant message in a compact format.
154 .
155 .TP
156 -\fB--tagonly\fR, \fB-g\fR
157 +\fB\-\-tagonly\fR, \fB\-g\fR
158 Display only tag. This option should be used for scripting.
159 .
160 .TP
161 -\fB--verbose\fR, \fB-v\fR \fIoptions\fR
162 -Display extra information, they can be prefix by '-' or '!'
163 +\fB\-\-verbose\fR, \fB\-v\fR \fIoptions\fR
164 +Display extra information, they can be prefix by '\-' or '!'
165 to remove the effect, available options are:
166 .
167 .RS
168 @@ -241,7 +241,7 @@
169 .RE
170 .
171 .TP
172 -\fB--output\fR, \fB-o\fR \fIoptions\fR
173 +\fB\-\-output\fR, \fB\-o\fR \fIoptions\fR
174 Output rendering/format selection, avalaible options are:
175 .RS
176 .TP
177 @@ -266,7 +266,7 @@
178 .RE
179 .
180 .TP
181 -\fB--error\fR, \fB-e\fR \fIoptions\fR
182 +\fB\-\-error\fR, \fB\-e\fR \fIoptions\fR
183 Behaviour in case of error, available options are:
184 .RS
185 .TP
186 @@ -292,7 +292,7 @@
187 .RE
188 .
189 .TP
190 -\fB--transp\fR, \fB-t\fR \fIoptions\fR
191 +\fB\-\-transp\fR, \fB\-t\fR \fIoptions\fR
192 Transport/routing layer selection, available options are:
193 .RS
194 .TP
195 @@ -322,20 +322,20 @@
196 route to name servers can carry EDNS queries.
197 .
198 .TP
199 -\fB--ipv4\fR, \fB-4\fR
200 +\fB\-\-ipv4\fR, \fB\-4\fR
201 Only check the zone with IPv4 connectivity.
202 .
203 .TP
204 -\fB--ipv6\fR, \fB-6\fR
205 +\fB\-\-ipv6\fR, \fB\-6\fR
206 Only check the zone with IPv6 connectivity.
207 .
208 .TP
209 -\fB--preset\fR \fIname\fR
210 +\fB\-\-preset\fR \fIname\fR
211 Use of a preset configuration defined in the zc.conf configuration file.
212 .
213 .TP
214 -\fB--option\fR \fIoptions\fR
215 -Set extra options. The syntax is: -,-opt,opt,opt=foo
216 +\fB\-\-option\fR \fIoptions\fR
217 +Set extra options. The syntax is: \-,\-opt,opt,opt=foo
218 .RS
219 .TP
220 \fBihtml\fR
221 @@ -355,14 +355,14 @@
222 .TP
223 .I ZC_CONFIG_FILE
224 Name of the configuration file to use (defaul to zc.conf), it is
225 -override by the \fB--config\fR option.
226 +override by the \fB\-\-config\fR option.
227 .TP
228 .I ZC_LOCALIZATION_DIR
229 Directory where all the localization files are located.
230 .TP
231 .I ZC_TEST_DIR
232 Directory where all the tests are located, it is override by the
233 -\fB--testdir\fR option.
234 +\fB\-\-testdir\fR option.
235 .TP
236 .I ZC_HTML_PATH
237 Path relative to the web server to use when generating HTML pages.
238 @@ -439,14 +439,14 @@
239 and details of failed tests.
240 .RS
241 .nf
242 -\fBzonecheck -6 --verbose=i,x,d domain_name\fP
243 +\fBzonecheck \-6 \-\-verbose=i,x,d domain_name\fP
244 .fi
245 .RE
246 .LP
247 Ask for the 'error' message associated with the test 'soa'.
248 .RS
249 .nf
250 -\fBzonecheck --testdesc error -T soa\fP
251 +\fBzonecheck \-\-testdesc error \-T soa\fP
252 .fi
253 .RE
254 .LP
255 @@ -455,7 +455,7 @@
256 a short description of why their domains are not correctly configured.
257 .RS
258 .nf
259 -\fBzonecheck -q -vn,d,x,f domain_name\fP
260 +\fBzonecheck \-q \-vn,d,x,f domain_name\fP
261 .fi
262 .RE
263 .LP
264 @@ -465,7 +465,7 @@
265 autodetection will failed).
266 .RS
267 .nf
268 -\fBzonecheck -4 -vi,x,d,c domain_name\fP
269 +\fBzonecheck \-4 \-vi,x,d,c domain_name\fP
270 .fi
271 .RE
272 .