~ubuntu-branches/ubuntu/quantal/arp-scan/quantal

« back to all changes in this revision

Viewing changes to debian/patches/fixmanpages.patch

  • Committer: Bazaar Package Importer
  • Author(s): William Vera
  • Date: 2011-07-04 19:37:30 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110704193730-r8fb49mpqqlaic1f
Tags: 1.8.1-1
* New upstream release (Closes: #543383).
* Added William Vera as Uploader.
* Added a debian/watch file.
* Added "Homepage" in debian/control.
* Added libwww-perl as Recommend depend (Closes: #630563).
* Fixed empty-directory usr/sbin/.
* Added a patch to fix hyphen-used-as-minus-sign.
* Updated debian/copyright
* Updated debhelper version (>= 8).
* Updated debian/compat to 8.
* Updated Standards Version to 3.9.2.
* Cleanup debian/rules.
   + distclean rule.
* Switch to dpkg-source 3.0 (quilt) format

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: William Vera <billy@billy.com.mx>
 
2
Description: Fix hyphen-used-as-minus-sign in man pages.
 
3
--- a/arp-fingerprint.1 2011-07-04 20:10:51.507999204 -0500
 
4
+++ b/arp-fingerprint.1 2011-07-04 20:10:57.175999203 -0500
 
5
@@ -101,8 +101,8 @@
 
6
 .B -o <option-string>
 
7
 Pass specified options to arp-scan. You need to enclose the options
 
8
 string in quotes if it contains spaces. e.g.
 
9
--o "-I eth1".  The commonly used options are --interface (-I) and --numeric
 
10
-(-N).
 
11
+\-o "\-I eth1".  The commonly used options are \--interface (\-I) and \--numeric
 
12
+(\-N).
 
13
 .SH EXAMPLES
 
14
 .nf
 
15
 $ arp-fingerprint 192.168.0.1
 
16
@@ -110,7 +110,7 @@
 
17
 .fi
 
18
 .PP
 
19
 .nf
 
20
-$ arp-fingerprint -o "-N -I eth1" 192.168.0.202
 
21
+$ arp-fingerprint \-o "\-N \-I eth1" 192.168.0.202
 
22
 192.168.0.202 11110100000     FreeBSD 5.3, Win98, WinME, NT4, 2000, XP, 2003
 
23
 .fi
 
24
 .SH NOTES
 
25
--- a/arp-scan.1        2011-07-04 20:10:51.111999204 -0500
 
26
+++ b/arp-scan.1        2011-07-04 20:12:05.187999183 -0500
 
27
@@ -56,13 +56,13 @@
 
28
 The target hosts to scan may be specified in one of three ways: by specifying
 
29
 the targets on the command line; by specifying a file containing the targets
 
30
 with the
 
31
-.B --file
 
32
+.B \--file
 
33
 option; or by specifying the
 
34
-.B --localnet
 
35
+.B \--localnet
 
36
 option which causes all possible hosts on the network attached to the interface
 
37
 (as defined by the interface address and mask) to be scanned. For hosts specified
 
38
 on the command line, or with the
 
39
-.B --file
 
40
+.B \--file
 
41
 option, you can use either IP addresses or hostnames.  You can also use network
 
42
 specifications
 
43
 .BR IPnetwork/bits ,
 
44
@@ -186,14 +186,14 @@
 
45
 =
 
46
 Field  Bits    Option  Notes
 
47
 =
 
48
-ar$hrd 16      --arphrd        Default is 1 (ARPHRD_ETHER)
 
49
-ar$pro 16      --arppro        Default is 0x0800
 
50
-ar$hln 8       --arphln        Default is 6 (ETH_ALEN)
 
51
-ar$pln 8       --arppln        Default is 4 (IPv4)
 
52
-ar$op  16      --arpop Default is 1 (ARPOP_REQUEST)
 
53
-ar$sha 48      --arpsha        Default is interface h/w address
 
54
-ar$spa 32      --arpspa        Default is interface IP address
 
55
-ar$tha 48      --arptha        Default is zero (00:00:00:00:00:00)
 
56
+ar$hrd 16      \--arphrd       Default is 1 (ARPHRD_ETHER)
 
57
+ar$pro 16      \--arppro       Default is 0x0800
 
58
+ar$hln 8       \--arphln       Default is 6 (ETH_ALEN)
 
59
+ar$pln 8       \--arppln       Default is 4 (IPv4)
 
60
+ar$op  16      \--arpop        Default is 1 (ARPOP_REQUEST)
 
61
+ar$sha 48      \--arpsha       Default is interface h/w address
 
62
+ar$spa 32      \--arpspa       Default is interface IP address
 
63
+ar$tha 48      \--arptha       Default is zero (00:00:00:00:00:00)
 
64
 ar$tpa 32      None    Set to the target host IP address
 
65
 .TE
 
66
 .\" We need two paragraphs under the table to get the correct spacing.
 
67
@@ -225,9 +225,9 @@
 
68
 =
 
69
 Field  Bits    Option  Notes
 
70
 =
 
71
-Dest Address   48      --destaddr      Default is ff:ff:ff:ff:ff:ff
 
72
-Source Address 48      --srcaddr       Default is interface address
 
73
-Protocol Type  16      --prototype     Default is 0x0806
 
74
+Dest Address   48      \--destaddr     Default is ff:ff:ff:ff:ff:ff
 
75
+Source Address 48      \--srcaddr      Default is interface address
 
76
+Protocol Type  16      \--prototype    Default is 0x0806
 
77
 .TE
 
78
 .\" We need two paragraphs under the table to get the correct spacing.
 
79
 .PP
 
80
@@ -301,40 +301,40 @@
 
81
 angle brackets. The letter indicates the type of data that is expected:
 
82
 .TP
 
83
 .B <s>
 
84
-A character string, e.g. --file=hostlist.txt.
 
85
+A character string, e.g. \--file=hostlist.txt.
 
86
 .TP
 
87
 .B <i>
 
88
 An integer, which can be specified as a decimal number or as a hexadecimal
 
89
-number if preceeded with 0x, e.g. --arppro=2048 or --arpro=0x0800.
 
90
+number if preceded with 0x, e.g. \--arppro=2048 or \--arpro=0x0800.
 
91
 .TP
 
92
 .B <f>
 
93
-A floating point decimal number, e.g. --backoff=1.5.
 
94
+A floating point decimal number, e.g. \--backoff=1.5.
 
95
 .TP
 
96
 .B <m>
 
97
 An Ethernet MAC address, which can be specified either in the format
 
98
 01:23:45:67:89:ab, or as 01-23-45-67-89-ab. The alphabetic hex characters
 
99
-may be either upper or lower case. E.g. --arpsha=01:23:45:67:89:ab.
 
100
+may be either upper or lower case. E.g. \--arpsha=01:23:45:67:89:ab.
 
101
 .TP
 
102
 .B <a>
 
103
-An IPv4 address, e.g. --arpspa=10.0.0.1
 
104
+An IPv4 address, e.g. \--arpspa=10.0.0.1
 
105
 .TP
 
106
 .B <h>
 
107
 Binary data specified as a hexadecimal string, which should not
 
108
 include a leading 0x. The alphabetic hex characters may be either
 
109
-upper or lower case. E.g. --padding=aaaaaaaaaaaa
 
110
+upper or lower case. E.g. \--padding=aaaaaaaaaaaa
 
111
 .TP
 
112
 .B <x>
 
113
 Something else. See the description of the option for details.
 
114
 .TP
 
115
-.B --help or -h
 
116
+.B \--help or \-h
 
117
 Display this usage message and exit.
 
118
 .TP
 
119
-.B --file=<s> or -f <s>
 
120
+.B \--file=<s> or \-f <s>
 
121
 Read hostnames or addresses from the specified file
 
122
 instead of from the command line. One name or IP
 
123
 address per line. Use "-" for standard input.
 
124
 .TP
 
125
-.B --localnet or -l
 
126
+.B \--localnet or \-l
 
127
 Generate addresses from network interface configuration.
 
128
 Use the network interface IP address and network mask
 
129
 to generate the list of target host addresses.
 
130
@@ -342,11 +342,11 @@
 
131
 addresses, so an interface address of 10.0.0.1 with
 
132
 netmask 255.255.255.0 would generate 256 target
 
133
 hosts from 10.0.0.0 to 10.0.0.255 inclusive.
 
134
-If you use this option, you cannot specify the --file
 
135
+If you use this option, you cannot specify the \--file
 
136
 option or specify any target hosts on the command line.
 
137
 The interface specifications are taken from the
 
138
 interface that arp-scan will use, which can be
 
139
-changed with the --interface option.
 
140
+changed with the \--interface option.
 
141
 .TP
 
142
 .B --retry=<i> or -r <i>
 
143
 Set total number of attempts per host to <i>,
 
144
@@ -356,7 +356,7 @@
 
145
 Set initial per host timeout to <i> ms, default=100.
 
146
 This timeout is for the first packet sent to each host.
 
147
 subsequent timeouts are multiplied by the backoff
 
148
-factor which is set with --backoff.
 
149
+factor which is set with \--backoff.
 
150
 .TP
 
151
 .B --interval=<x> or -i <x>
 
152
 Set minimum packet interval to <x>.
 
153
@@ -364,7 +364,7 @@
 
154
 the rate at which packets can be sent. The packet
 
155
 interval will be no smaller than this number.
 
156
 If you want to use up to a given bandwidth, then it is
 
157
-easier to use the --bandwidth option instead.
 
158
+easier to use the \--bandwidth option instead.
 
159
 The interval specified is in milliseconds by default,
 
160
 or in microseconds if "u" is appended to the value.
 
161
 .TP
 
162
@@ -376,7 +376,7 @@
 
163
 units are megabits per second.
 
164
 The "K" and "M" suffixes represent the decimal, not
 
165
 binary, multiples. So 64K is 64000, not 65536.
 
166
-You cannot specify both --interval and --bandwidth
 
167
+You cannot specify both \--interval and \--bandwidth
 
168
 because they are just different ways to change the
 
169
 same underlying parameter.
 
170
 .TP
 
171
@@ -393,7 +393,7 @@
 
172
 Use more than once for greater effect:
 
173
 .IP ""
 
174
 1 - Display the network address and mask used when the
 
175
---localnet option is specified, display any
 
176
+\--localnet option is specified, display any
 
177
 nonzero packet padding, display packets received
 
178
 from unknown hosts, and show when each pass through
 
179
 the list completes.
 
180
@@ -432,18 +432,18 @@
 
181
 configured up interface (excluding loopback).
 
182
 The interface specified must support ARP.
 
183
 .TP
 
184
-.B --quiet or -q
 
185
+.B \--quiet or \-q
 
186
 Only display minimal output.
 
187
 If this option is specified, then only the minimum
 
188
 information is displayed. With this option, the
 
189
 OUI files are not used.
 
190
 .TP
 
191
-.B --ignoredups or -g
 
192
+.B \--ignoredups or \-g
 
193
 Don't display duplicate packets.
 
194
 By default, duplicate packets are displayed and are
 
195
 flagged with "(DUP: n)".
 
196
 .TP
 
197
-.B --ouifile=<s> or -O <s>
 
198
+.B \--ouifile=<s> or \-O <s>
 
199
 Use OUI file <s>, default=/usr/local/share/arp-scan/ieee-oui.txt
 
200
 This file provides the IEEE Ethernet OUI to vendor
 
201
 string mapping.
 
202
@@ -463,7 +463,7 @@
 
203
 This sets the 48-bit hardware address in the Ethernet
 
204
 frame header for outgoing ARP packets. It does not
 
205
 change the hardware address in the ARP packet, see
 
206
---arpsha for details on how to change that address.
 
207
+\--arpsha for details on how to change that address.
 
208
 The default is the Ethernet address of the outgoing
 
209
 interface.
 
210
 .TP
 
211
@@ -480,7 +480,7 @@
 
212
 Use <m> as the ARP source Ethernet address
 
213
 This sets the 48-bit ar$sha field in the ARP packet
 
214
 It does not change the hardware address in the frame
 
215
-header, see --srcaddr for details on how to change
 
216
+header, see \--srcaddr for details on how to change
 
217
 that address. The default is the Ethernet address of
 
218
 the outgoing interface.
 
219
 .TP
 
220
@@ -610,7 +610,7 @@
 
221
 .IR eth0 .
 
222
 .PP
 
223
 .nf
 
224
-$ arp-scan --interface=eth0 192.168.0.0/24
 
225
+$ arp-scan \--interface=eth0 192.168.0.0/24
 
226
 Interface: eth0, datalink type: EN10MB (Ethernet)
 
227
 Starting arp-scan 1.4 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
 
228
 192.168.0.1     00:c0:9f:09:b8:db       QUANTA COMPUTER, INC.
 
229
@@ -647,7 +647,7 @@
 
230
           TX packets:1542776 errors:0 dropped:0 overruns:0 carrier:0
 
231
           collisions:1644 txqueuelen:1000
 
232
           RX bytes:6184146 (5.8 MiB)  TX bytes:348887835 (332.7 MiB)
 
233
-# arp-scan --localnet
 
234
+# arp-scan \--localnet
 
235
 Interface: eth0, datalink type: EN10MB (Ethernet)
 
236
 Starting arp-scan 1.4 with 8 hosts (http://www.nta-monitor.com/tools/arp-scan/)
 
237
 10.0.84.179     00:02:b3:63:c7:57       Intel Corporation
 
238
--- a/get-iab.1 2011-07-04 20:10:50.935999204 -0500
 
239
+++ b/get-iab.1 2011-07-04 20:10:57.191999203 -0500
 
240
@@ -85,7 +85,7 @@
 
241
 The default output file.
 
242
 .SH EXAMPLES
 
243
 .nf
 
244
-$ get-iab -v
 
245
+$ get-iab \-v
 
246
 Renaming ieee-iab.txt to ieee-iab.txt.bak
 
247
 Fetching IAB data from http://standards.ieee.org/regauth/oui/iab.txt
 
248
 Fetched 230786 bytes
 
249
--- a/get-oui.1 2011-07-04 20:10:51.295999204 -0500
 
250
+++ b/get-oui.1 2011-07-04 20:10:57.199999203 -0500
 
251
@@ -94,7 +94,7 @@
 
252
 The default output file.
 
253
 .SH EXAMPLES
 
254
 .nf
 
255
-$ get-oui -v
 
256
+$ get-oui \-v
 
257
 Renaming ieee-oui.txt to ieee-oui.txt.bak
 
258
 Fetching OUI data from http://standards.ieee.org/regauth/oui/oui.txt
 
259
 Fetched 1467278 bytes