File: man-errors.patch

package info (click to toggle)
dante 1.4.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,580 kB
  • sloc: ansic: 60,866; yacc: 3,454; lex: 1,826; makefile: 369; awk: 220; sh: 214
file content (108 lines) | stat: -rw-r--r-- 3,668 bytes parent folder | download
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
106
107
108
From: Peter Pentchev <roam@ringlet.net>
Date: Fri, 4 Jan 2019 10:05:25 +0200
Subject: Fix the manual page errors.

Forwarded: no
Last-Update: 2016-04-06

- replace mdoc macros with man ones
- use minus signs instead of hyphens where necessary
---
 doc/sockd.conf.5 | 20 ++++++++++----------
 doc/socksify.1   |  2 +-
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/doc/sockd.conf.5 b/doc/sockd.conf.5
index 631c5ff..c74203f 100644
--- a/doc/sockd.conf.5
+++ b/doc/sockd.conf.5
@@ -315,7 +315,7 @@ Setting it to 0 will use the systems default.
 .IP \fBtimeout.io\fP
 The number of seconds an established connection can be idle.
 The default is 0, meaning forever.
-See also the "-n" option in the danted(8) manpage.
+See also the "\-n" option in the danted(8) manpage.
 
 Individual timeouts can be set for TCP and UDP by suffixing io with
 ".<protocolname>", i.e. \fBtimeout.io.tcp\fP or \fBtimeout.io.udp\fP.
@@ -697,7 +697,7 @@ Which servicename to use when involving pam.  Default is "danted".
 .IP \fBport\fP
 Parameter to \fBfrom\fP, \fBto\fP and \fBvia\fP.  Accepts the keywords
 \fBeq/=, neq/!=, ge/>=, le/<=, gt/>, lt/<\fP followed by a number.
-A port range can also be given as "port <start #> - <end #>", which
+A port range can also be given as "port <start #> \- <end #>", which
 will match all port numbers within the range <start #> and <end #>.
 
 The default is to match all ports.
@@ -710,10 +710,10 @@ Requires the redirect module.
 The syntax of the redirect statement is
 as follows:
 
-.D1
+.IP
 \fBredirect\fP from: \fBADDRESS\fP
 
-\".D1
+\".IP
 \"\fBredirect\fP to: \fBADDRESS\fP
 
 See the redirect manual for detailed information.
@@ -777,7 +777,7 @@ What servicename to use when involving pam.  Default is "danted".
 .IP \fBport\fP
 Parameter to \fBfrom\fP, \fBto\fP and \fBvia\fP.  Accepts the keywords
 \fBeq/=, neq/!=, ge/>=, le/<=, gt/>, lt/<\fP followed by a number.
-A portrange can also be given as "port <start #> - <end #>", which
+A portrange can also be given as "port <start #> \- <end #>", which
 will match all port numbers within the range <start #> and <end #>.
 
 The default is all ports.
@@ -798,10 +798,10 @@ Requires the redirect module.
 The syntax of the redirect statement is
 as follows:
 
-.D1
+.IP
 \fBredirect\fP from: \fBADDRESS\fP
 
-.D1
+.IP
 \fBredirect\fP to: \fBADDRESS\fP
 
 The semantics of \fBfrom\fP and \fBto\fP vary according to
@@ -820,7 +820,7 @@ Note that the meaning of this address is affected by \fBcommand\fP.
 
 .IP \fBudp.portrange\fP
 The argument to this keyword is two port numbers, separated by
-a dash ('-').  They specify the UDP port-range that will be
+a dash ('\-').  They specify the UDP port-range that will be
 used between the \fBsocks-client\fP and the \fBDante-server for UDP
 packets.  Note that this has no relation to the UDP port-range
 used between the \fBDante-server and external, non-socks, clients/servers.
@@ -878,12 +878,12 @@ network traffic.
 The following example shows the general monitor syntax, specifying a
 monitor without any monitoring operations:
 
-.Vb 8
+.RS 1
  monitor {
   from: 0.0.0.0/0 to: www.example.org port = 80
   protocol: tcp
  }
-.Ve
+.RE
 
 A monitor can include many of the same keywords that are available in
 the Dante ACL rules. The following subset is currently supported:
diff --git a/doc/socksify.1 b/doc/socksify.1
index ebb8359..1a7e299 100755
--- a/doc/socksify.1
+++ b/doc/socksify.1
@@ -138,7 +138,7 @@ For inferno Nettverk A/S:
    Karl-Andre' Skevik
 .SH SEE ALSO
 socks.conf(5), sockd(8), sockd.conf(5)
-.Pp
+.PP
 Information about new releases and other related issues can be found
 on the
 \fBDante\fP