Code

patches/: Added 01_fix_hyphen_used_as_minus_sign.
[pkg-mlmmj.git] / debian / patches / 01_fix_hyphen_used_as_minus_sign.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 01_fix_hyphen_used_as_minus_sign.dpatch by Sebastian Harl <sh@tokkee.org>
3 ##
4 ## DP: Don't use '-' as a minus sign in manpages.
6 @DPATCH@
8 diff a/mlmmj-bounce.1 b/mlmmj-bounce.1
9 --- a/man/mlmmj-bounce.1
10 +++ b/man/mlmmj-bounce.1
11 @@ -1,9 +1,9 @@
12 -.TH mlmmj-bounce "1" "September 2004" mlmmj-bounce
13 +.TH mlmmj\-bounce "1" "September 2004" mlmmj\-bounce
14  .SH NAME
15 -mlmmj-bounce \- bounce handling utility for mlmmj
16 +mlmmj\-bounce \- bounce handling utility for mlmmj
17  .SH SYNOPSIS
18 -.B mlmmj-bounce
19 -\fI-L /path/to/list \fR[\fI-a john=doe.org | -d\fR]\fI \fR[\fI-n num | -p\fR]
20 +.B mlmmj\-bounce
21 +\fI\-L /path/to/list \fR[\fI\-a john=doe.org | \-d\fR]\fI \fR[\fI\-n num | \-p\fR]
22  .HP
23  \fB\-a\fR: Address string that bounces
24  .HP
25 @@ -19,8 +19,8 @@
26  .HP
27  \fB\-V\fR: Print version
28  .SH DESCRIPTION
29 -mlmmj-bounce is used to handle mails that are bouncing. When a mail arrives to
30 -the system, mlmmj-bounce will register in <listdir>/bounce/<addrstring> info
31 +mlmmj\-bounce is used to handle mails that are bouncing. When a mail arrives to
32 +the system, mlmmj\-bounce will register in <listdir>/bounce/<addrstring> info
33  about which number that bounced at what time. An example of such a line could
34  be:
35  .LP
36 diff a/mlmmj-list.1 b/mlmmj-list.1
37 --- a/man/mlmmj-list.1
38 +++ b/man/mlmmj-list.1
39 @@ -1,9 +1,10 @@
40 -.TH mlmmj-list "1" "November 2004" mlmmj-recieve
41 +.TH mlmmj\-list "1" "November 2004" mlmmj\-recieve
42  .SH NAME
43 -mlmmj-list \- list people / subscribers associated with a list
44 +mlmmj\-list \- list people / subscribers associated with a list
45  .SH SYNOPSIS
46 -.B mlmmj-list
47 -\fI-L /path/to/listdir \fR[\fI-c\fR] \fR[\fI-d\fR] \fR[\fI-h\fR] [\fI-m\fR] [\fI-n\fR] [\fI-o\fR] \fR[\fI-s\fR] \fR[\fI-V\fR]
48 +.B mlmmj\-list
49 +\fI\-L /path/to/listdir \fR[\fI\-c\fR] \fR[\fI\-d\fR] \fR[\fI\-h\fR]
50 +[\fI\-m\fR] [\fI\-n\fR] [\fI\-o\fR] \fR[\fI\-s\fR] \fR[\fI\-V\fR]
51  .HP
52  \fB\-c\fR: Count the emailaddresses
53  .HP
54 diff a/mlmmj-maintd.1 b/mlmmj-maintd.1
55 --- a/man/mlmmj-maintd.1
56 +++ b/man/mlmmj-maintd.1
57 @@ -1,9 +1,9 @@
58 -.TH mlmmj-maintd "1" "September 2004" mlmmj-maintd
59 +.TH mlmmj\-maintd "1" "September 2004" mlmmj\-maintd
60  .SH NAME
61 -mlmmj-maintd \- maintenance for mlmmj maintained lists
62 +mlmmj\-maintd \- maintenance for mlmmj maintained lists
63  .SH SYNOPSIS
64 -.B mlmmj-maintd
65 -[\fI-F\fR] \fI[-d\fR | \fI-L\fR] /path/to/dir
66 +.B mlmmj\-maintd
67 +[\fI\-F\fR] \fI[\-d\fR | \fI\-L\fR] /path/to/dir
68  .HP
69  \fB\-d\fR: Full path to directory with lists
70  .HP
71 @@ -18,7 +18,7 @@
72  etc.
73  
74  If a directory containing several lists exists, the \fB\-d\fR can be used to
75 -specify this, making mlmmj-maintd perform a maintenance run in every listdir
76 +specify this, making mlmmj\-maintd perform a maintenance run in every listdir
77  below the specified one.
78  
79  Only either \fB\-d\fR or \fB\-L\fR can be specified at the same time.
80 @@ -26,11 +26,11 @@
81  It will run as a daemon, unless the \fB\-F\fR switch is specified, in which
82  case it just runs once.  The \fB\-F\fR  option should be used when one wants to
83  avoid running another daemon, and use e.g. cron to control it instead. In case
84 -cron is used, mlmmj-maintd should be run every 2 hours or so. An example
85 +cron is used, mlmmj\-maintd should be run every 2 hours or so. An example
86  crontab entry:
87  
88  .LP
89 -0 */2 * * * /usr/bin/mlmmj-maintd -F -L /path/to/list
90 +0 */2 * * * /usr/bin/mlmmj\-maintd \-F \-L /path/to/list
91  .SH AUTHORS
92  This manual page was written by the following persons:
93  .HP
94 diff a/mlmmj-make-ml.sh.1 b/mlmmj-make-ml.sh.1
95 --- a/man/mlmmj-make-ml.sh.1
96 +++ b/man/mlmmj-make-ml.sh.1
97 @@ -1,8 +1,8 @@
98 -.TH mlmmj-make-ml "1" "September 2004" mlmmj-make-ml
99 +.TH mlmmj\-make\-ml "1" "September 2004" mlmmj\-make\-ml
100  .SH NAME
101 -mlmmj-make-ml \- create a mailing list for mlmmj
102 +mlmmj\-make\-ml \- create a mailing list for mlmmj
103  .SH SYNOPSIS
104 -.B mlmmj-make-ml
105 +.B mlmmj\-make\-ml
106  \fI[OPTIONS]
107  .HP
108  \fB\-h\fR: Display help
109 diff a/mlmmj-process.1 b/mlmmj-process.1
110 --- a/man/mlmmj-process.1
111 +++ b/man/mlmmj-process.1
112 @@ -1,9 +1,9 @@
113 -.TH mlmmj-process "1" "September 2004" mlmmj-process
114 +.TH mlmmj\-process "1" "September 2004" mlmmj\-process
115  .SH NAME
116 -mlmmj-process \- process mail for an mlmmj managed mailinglist
117 +mlmmj\-process \- process mail for an mlmmj managed mailinglist
118  .SH SYNOPSIS
119 -.B mlmmj-process
120 -\fI-L /path/to/list -m /path/to/mail \fR[\fI-h\fR] [\fI-P\fR] [\fI-V\fR]
121 +.B mlmmj\-process
122 +\fI\-L /path/to/list \-m /path/to/mail \fR[\fI\-h\fR] [\fI\-P\fR] [\fI\-V\fR]
123  .HP
124  \fB\-h\fR: This help
125  .HP
126 @@ -11,7 +11,7 @@
127  .HP
128  \fB\-m\fR: Full path to mail file
129  .HP
130 -\fB\-P\fR: Don't execute mlmmj-send (debugging only)
131 +\fB\-P\fR: Don't execute mlmmj\-send (debugging only)
132  .HP
133  \fB\-V\fR: Print version
134  .SH DESCRIPTION
135 @@ -35,26 +35,26 @@
136  Header addition
137  
138  Headers specified in <listdir>/control/customheaders are added to the mail.
139 -This could be headers like List-ID: or Reply-To:
140 +This could be headers like List\-ID: or Reply\-To:
141  .IP \(bu 4
142  .B
143  List control
144  
145  In case there's a mail with a recipient delimiter it's not a regular list mail.
146 -Processing of these happens in mlmmj-recieve as well. Examples of such are
147 +Processing of these happens in mlmmj\-recieve as well. Examples of such are
148  subscription requests, mails to owner etc.
149 -It will base it's recipient delimiter detection on the Delivered-To: header if
150 +It will base it's recipient delimiter detection on the Delivered\-To: header if
151  present. If not, the To: header is used.
152  .IP \(bu 4
153  .B
154  Moderation
155  
156 -If the list is moderated, it will happen in mlmmj-process.
157 +If the list is moderated, it will happen in mlmmj\-process.
158  .RE
159  
160  When processing is done, it will invoke the needed binary according to whatever
161 -mail it is. If it's a subscription request it will invoke mlmmj-sub, if it's a
162 -regular list mail it will invoke mlmmj-send.
163 +mail it is. If it's a subscription request it will invoke mlmmj\-sub, if it's a
164 +regular list mail it will invoke mlmmj\-send.
165  .SH "SEE ALSO"
166  The file TUNABLES from the mlmmj source distribution or in the documentation
167  directory of the operating system distribution.
168 diff a/mlmmj-recieve.1 b/mlmmj-recieve.1
169 --- a/man/mlmmj-recieve.1
170 +++ b/man/mlmmj-recieve.1
171 @@ -1,9 +1,9 @@
172 -.TH mlmmj-recieve "1" "September 2004" mlmmj-recieve
173 +.TH mlmmj\-recieve "1" "September 2004" mlmmj\-recieve
174  .SH NAME
175 -mlmmj-recieve \- recieve mails for an mlmmj managed mailinglist
176 +mlmmj\-recieve \- recieve mails for an mlmmj managed mailinglist
177  .SH SYNOPSIS
178 -.B mlmmj-recieve
179 -\fI-L /path/to/listdir \fR[\fI-h\fR] [\fI-V\fR] [\fI-P\fR] [\fI-F\fR]
180 +.B mlmmj\-recieve
181 +\fI\-L /path/to/listdir \fR[\fI\-h\fR] [\fI\-V\fR] [\fI\-P\fR] [\fI\-F\fR]
182  .HP
183  \fB\-h\fR: This help
184  .HP
185 @@ -11,17 +11,17 @@
186  .HP
187  \fB\-L\fR: Full path to list directory
188  .HP
189 -\fB\-P\fR: Don't execute mlmmj-process (debugging only)
190 +\fB\-P\fR: Don't execute mlmmj\-process (debugging only)
191  .HP
192  \fB\-V\fR: Print version
193  .SH DESCRIPTION
194 -The mlmmj-recieve binary is the one specified in the mailserver configuration
195 +The mlmmj\-recieve binary is the one specified in the mailserver configuration
196  file (aliases file), which writes the mail to the <listdir>/incoming directory
197 -and invokes mlmmj-process unless the \fB\-P\fR option is specified. On systems
198 +and invokes mlmmj\-process unless the \fB\-P\fR option is specified. On systems
199  using mailservers supporting the \fB/etc/aliases\fR file, a line to activate
200  an mlmmj managed mailinglist would look like this:
201  .LP
202 -list: "|/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/list/"
203 +list: "|/usr/bin/mlmmj\-recieve \-L /var/spool/mlmmj/list/"
204  
205  It's very important to specify the full path to the binary, or the mailinglist
206  will not function.
207 @@ -32,7 +32,7 @@
208  would kill it.
209  
210  .SH "SEE ALSO"
211 -mlmmj-process(1)
212 +mlmmj\-process(1)
213  .SH AUTHORS
214  This manual page was written by the following persons:
215  .HP
216 diff a/mlmmj-send.1 b/mlmmj-send.1
217 --- a/man/mlmmj-send.1
218 +++ b/man/mlmmj-send.1
219 @@ -1,11 +1,11 @@
220 -.TH mlmmj-send "1" "September 2004" mlmmj-send
221 +.TH mlmmj\-send "1" "September 2004" mlmmj\-send
222  .SH NAME
223 -mlmmj-send \- send mail to a mailinglist or similar
224 +mlmmj\-send \- send mail to a mailinglist or similar
225  .SH SYNOPSIS
226 -.B mlmmj-send
227 -[\fI-L\fR /path/to/list | \fI-l\fR listctrl] \fI\-m\fR /path/to/mail
228 -[\fI-a\fR] [\fI-D\fR] [\fI-F\fR] [\fI-h\fR] [\fI-r\fR] [\fI-R\fR] [\fI-s\fR]
229 -[\fI-T\fR] [\fI-V\fR]
230 +.B mlmmj\-send
231 +[\fI\-L\fR /path/to/list | \fI\-l\fR listctrl] \fI\-m\fR /path/to/mail
232 +[\fI\-a\fR] [\fI\-D\fR] [\fI\-F\fR] [\fI\-h\fR] [\fI\-r\fR] [\fI\-R\fR] [\fI\-s\fR]
233 +[\fI\-T\fR] [\fI\-V\fR]
234  .HP
235  \fB\-a\fR: Don't archive the mail
236  .HP
237 @@ -23,7 +23,7 @@
238  .HP
239  \fB\-r\fR: Relayhost IP address (defaults to 127.0.0.1)
240  .HP
241 -\fB\-R\fR: What to use as Reply-To: header
242 +\fB\-R\fR: What to use as Reply\-To: header
243  .HP
244  \fB\-s\fR: Subscribers file name
245  .HP
246 @@ -55,7 +55,7 @@
247  \&'6' means 'single listmail to single recipient'
248  
249  .SH BUGS
250 -This manual page is very scarce documentation of the mlmmj-send binary. The
251 +This manual page is very scarce documentation of the mlmmj\-send binary. The
252  reason for this is that it's really not supposed to be used by any human, but
253  only supposed to be invoked from other mlmmj binaries. So in case more
254  documentation is needed, please read the source.
255 diff a/mlmmj-sub.1 b/mlmmj-sub.1
256 --- a/man/mlmmj-sub.1
257 +++ b/man/mlmmj-sub.1
258 @@ -1,10 +1,11 @@
259 -.TH mlmmj-sub "1" "September 2004" mlmmj-sub
260 +.TH mlmmj\-sub "1" "September 2004" mlmmj\-sub
261  .SH NAME
262 -mlmmj-sub \- subscribe an address to a mailinglist run by mlmmj
263 +mlmmj\-sub \- subscribe an address to a mailinglist run by mlmmj
264  .SH SYNOPSIS
265 -.B mlmmj-sub
266 -\fI-L /path/to/list -a john@doe.org \fR[\fI-c\fR | \fI-C\fR] \fR[\fI-d\fR | \fI-n\fR]
267 -[\fI-h\fR] [\fI-U\fR] [\fI-V\fR]
268 +.B mlmmj\-sub
269 +\fI\-L /path/to/list \-a john@doe.org \fR[\fI\-c\fR | \fI\-C\fR] \fR[\fI\-d\fR
270 +| \fI\-n\fR]
271 +[\fI\-h\fR] [\fI\-U\fR] [\fI\-V\fR]
272  .HP
273  \fB\-a\fR: Email address to subscribe
274  .HP
275 @@ -47,7 +48,7 @@
276  When neither \fB\-c\fR nor \fB\-C\fR are specified, subscription silently
277  happens.
278  .SH "SEE ALSO"
279 -mlmmj-unsub(1), setuid(2)
280 +mlmmj\-unsub(1), setuid(2)
281  .SH AUTHORS
282  This manual page was written by the following persons:
283  .HP
284 diff a/mlmmj-unsub.1 b/mlmmj-unsub.1
285 --- a/man/mlmmj-unsub.1
286 +++ b/man/mlmmj-unsub.1
287 @@ -1,10 +1,10 @@
288 -.TH mlmmj-unsub "1" "September 2004" mlmmj-unsub
289 +.TH mlmmj\-unsub "1" "September 2004" mlmmj\-unsub
290  .SH NAME
291 -mlmmj-unsub \- unsubscribe an address from a mailinglist run by mlmmj
292 +mlmmj\-unsub \- unsubscribe an address from a mailinglist run by mlmmj
293  .SH SYNOPSIS
294 -.B mlmmj-sub
295 -\fI-L /path/to/list -a john@doe.org \fR[\fI-c\fR | \fI-C\fR] [\fI-h\fR]
296 -\fR[\fI-d\fR | \fI-n\fR] [\fI-V\fR]
297 +.B mlmmj\-sub
298 +\fI\-L /path/to/list \-a john@doe.org \fR[\fI\-c\fR | \fI\-C\fR] [\fI\-h\fR]
299 +\fR[\fI\-d\fR | \fI\-n\fR] [\fI\-V\fR]
300  .HP
301  \fB\-a\fR: Email address to unsubscribe
302  .HP
303 @@ -41,7 +41,7 @@
304  When neither \fB\-c\fR nor \fB\-C\fR are specified, unsubscription silently
305  happens.
306  .SH "SEE ALSO"
307 -mlmmj-sub(1)
308 +mlmmj\-sub(1)
309  .SH AUTHORS
310  This manual page was written by the following persons:
311  .HP