File: fix_hyphen-used-as-minus-sign.patch

package info (click to toggle)
esmtp 1.2-19
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 912 kB
  • sloc: ansic: 1,842; sh: 1,389; yacc: 200; lex: 145; makefile: 49
file content (50 lines) | stat: -rw-r--r-- 1,205 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Description: Fix lintian's hyphen-used-as-minus-sign in manpages
 for esmtp(1) and esmtprc(5).
Origin: vendor
Author: Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>

--- a/esmtp.1
+++ b/esmtp.1
@@ -21,11 +21,11 @@
 
 \fBmailq\fR
 .br
-\fBsendmail -bp\fR
+\fBsendmail \-bp\fR
 
 \fBnewaliases\fR
 .br
-\fBsendmail -bi\fR
+\fBsendmail \-bi\fR
 
 .SH DESCRIPTION
 \fBEsmtp\fR is a send-only \fBsendmail\fR emulator for machines which normally
--- a/esmtprc.5
+++ b/esmtprc.5
@@ -87,7 +87,7 @@
 
 .TP
 \fBforce reverse_path\fR
-Set the envelope from address. The address given to -f will only
+Set the envelope from address. The address given to \-f will only
 be used as "From:" when the message contains none. "%u" will
 be replaced with the username. "%%" by "%".
 
@@ -146,7 +146,7 @@
 place a %T.  The mail message's \fBFrom\fR address will be inserted where you
 place an %F.
 
-Some common MDAs are "/usr/bin/procmail -d %T", "/usr/bin/deliver" and
+Some common MDAs are "/usr/bin/procmail \-d %T", "/usr/bin/deliver" and
 "/usr/lib/mail.local %T".
 
 .TP
@@ -160,7 +160,7 @@
 For example:
 
 .nf
-    mda = "procmail -d %T"
+    mda = "procmail \-d %T"
     force_mda = "\fIsomeuser\fR"
 .fi