File: 0026-correct-config-dir-in-docs.patch

package info (click to toggle)
courier 1.4.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 51,168 kB
  • sloc: ansic: 128,314; cpp: 24,312; sh: 10,177; perl: 4,250; makefile: 3,398; sed: 16
file content (105 lines) | stat: -rw-r--r-- 6,308 bytes parent folder | download | duplicates (4)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
--- a/courier/doc/mkesmtpdcert.8.in
+++ b/courier/doc/mkesmtpdcert.8.in
@@ -37,17 +37,17 @@
 .SH "DESCRIPTION"
 .PP
 Secure ESMTP requires a valid, signed, X\&.509 certificate\&. The default location for the certificate file is
-@datadir@/esmtpd\&.pem\&. The
+@sysconfdir@/esmtpd\&.pem\&. The
 \fBmkesmtpdcert\fR
 generates a self\-signed X\&.509 certificate, mainly for testing\&. For production use the X\&.509 certificate must be signed by a recognized certificate authority, in order for mail clients to accept the certificate\&.
 .PP
-@datadir@/esmtpd\&.pem
+@sysconfdir@/esmtpd\&.pem
 must be owned by the @mailuser@ user and have no group or world permissions\&. The
 \fBmkesmtpdcert\fR
 command will enforce this\&. To prevent an unfortunate accident,
 \fBmkesmtpdcert\fR
 will not work if
-@datadir@/esmtpd\&.pem
+@sysconfdir@/esmtpd\&.pem
 already exists\&.
 .PP
 \fBmkesmtpdcert\fR
--- a/courier/doc/mkesmtpdcert.html.in
+++ b/courier/doc/mkesmtpdcert.html.in
@@ -6,15 +6,15 @@
 
 --></head><body><div class="refentry"><a id="mkesmtpdcert" shape="rect"> </a><div class="titlepage"/><div class="refnamediv"><h2>Name</h2><p>mkesmtpdcert — Create a secure SMTP test certificate</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">@sbindir@/mkesmtpdcert</code> </p></div></div><div class="refsect1"><a id="mkesmtpdcert_description" shape="rect"> </a><h2>DESCRIPTION</h2><p>
 Secure ESMTP requires a valid, signed, X.509 certificate.  The default
-location for the certificate file is <code class="filename">@datadir@/esmtpd.pem</code>.
+location for the certificate file is <code class="filename">@sysconfdir@/esmtpd.pem</code>.
 The <span class="command"><strong>mkesmtpdcert</strong></span> generates a self-signed X.509 certificate,
 mainly for testing. For production use the X.509 certificate must be signed by
 a recognized certificate authority, in order for mail clients to accept the
 certificate.</p><p>
-<code class="filename">@datadir@/esmtpd.pem</code> must be owned by the @mailuser@ user
+<code class="filename">@sysconfdir@/esmtpd.pem</code> must be owned by the @mailuser@ user
 and have no group or world permissions.  The <span class="command"><strong>mkesmtpdcert</strong></span>
 command will enforce this.  To prevent an unfortunate accident,
 <span class="command"><strong>mkesmtpdcert</strong></span> will not work if
-<code class="filename">@datadir@/esmtpd.pem</code> already exists.</p><p>
+<code class="filename">@sysconfdir@/esmtpd.pem</code> already exists.</p><p>
 <span class="command"><strong>mkesmtpdcert</strong></span> requires OpenSSL to be installed.</p></div><div class="refsect1"><a id="mkesmtpdcert_see_also" shape="rect"> </a><h2>SEE ALSO</h2><p>
 <a class="ulink" href="courier.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">courier</span>(8)</span></a>.</p></div></div></body></html>
--- a/libs/imap/mkpop3dcert.8.in
+++ b/libs/imap/mkpop3dcert.8.in
@@ -37,17 +37,17 @@
 .SH "DESCRIPTION"
 .PP
 POP3 over SSL requires a valid, signed, X\&.509 certificate\&. The default location for the certificate file is
-@datadir@/pop3d\&.pem\&.
+@sysconfdir@/pop3d\&.pem\&.
 \fBmkpop3dcert\fR
 generates a self\-signed X\&.509 certificate, mainly for testing\&. For production use the X\&.509 certificate must be signed by a recognized certificate authority, in order for mail clients to accept the certificate\&.
 .PP
-@datadir@/pop3d\&.pem
+@sysconfdir@/pop3d\&.pem
 must be owned by the @mailuser@ user and have no group or world permissions\&. The
 \fBmkpop3dcert\fR
 command will enforce this\&. To prevent an unfortunate accident,
 \fBmkpop3dcert\fR
 will not work if
-\fB@datadir@/pop3d\&.pem\fR
+\fB@sysconfdir@/pop3d\&.pem\fR
 already exists\&.
 .PP
 \fBmkpop3dcert\fR
@@ -56,7 +56,7 @@
 to be installed\&.
 .SH "FILES"
 .PP
-@datadir@/pop3d\&.pem
+@sysconfdir@/pop3d\&.pem
 .RS 4
 X\&.509 certificate\&.
 .RE
--- a/libs/imap/mkpop3dcert.html.in
+++ b/libs/imap/mkpop3dcert.html.in
@@ -7,22 +7,22 @@
 --></head><body><div class="refentry"><a id="mkpop3dcert" shape="rect"> </a><div class="titlepage"/><div class="refnamediv"><h2>Name</h2><p>mkpop3dcert — create a test SSL certificate for POP3 over SSL</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">@sbindir@/mkpop3dcert</code> </p></div></div><div class="refsect1"><a id="mkpop3dcert_description" shape="rect"> </a><h2>DESCRIPTION</h2><p>
 POP3 over SSL requires a valid, signed, X.509 certificate.  The default
 location for the certificate file is
-<code class="filename">@datadir@/pop3d.pem</code>.
+<code class="filename">@sysconfdir@/pop3d.pem</code>.
 <span class="command"><strong>mkpop3dcert</strong></span> generates a self-signed X.509 certificate,
 mainly for
 testing.
 For production use the X.509 certificate must be signed by a
 recognized certificate authority, in order for mail clients to accept the
 certificate.</p><p>
-<code class="filename">@datadir@/pop3d.pem</code> must be owned by the
+<code class="filename">@sysconfdir@/pop3d.pem</code> must be owned by the
 @mailuser@ user and
 have no group or world permissions.
 The <span class="command"><strong>mkpop3dcert</strong></span> command will
 enforce this.  To prevent an unfortunate accident,
 <span class="command"><strong>mkpop3dcert</strong></span>
-will not work if <span class="command"><strong>@datadir@/pop3d.pem</strong></span> already exists.</p><p>
+will not work if <span class="command"><strong>@sysconfdir@/pop3d.pem</strong></span> already exists.</p><p>
 <span class="command"><strong>mkpop3dcert</strong></span> requires
-<span class="application">OpenSSL</span> to be installed.</p></div><div class="refsect1"><a id="mkpop3dcert_files" shape="rect"> </a><h2>FILES</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">@datadir@/pop3d.pem</span></dt><dd>
+<span class="application">OpenSSL</span> to be installed.</p></div><div class="refsect1"><a id="mkpop3dcert_files" shape="rect"> </a><h2>FILES</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">@sysconfdir@/pop3d.pem</span></dt><dd>
 X.509 certificate.
 </dd><dt><span class="term">@sysconfdir@/pop3d.cnf</span></dt><dd>
 Parameters used by OpenSSL to