Code

patches: Removed bts566199_collection_hide_types -- applied upstream.
[pkg-collectd.git] / debian / patches / typo_fixes.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## typo_fixes.dpatch by Sebastian Harl <sh@tokkee.org>
3 ##
4 ## DP: collectd{-perl,.conf}(5), {my,postgre}sql plugins: Fixed some typos.
5 ## DP:
6 ## DP: Thanks to lintian(1) for catching (some of) those! :-)
8 @DPATCH@
10 diff a/src/collectd-perl.pod b/src/collectd-perl.pod
11 --- a/src/collectd-perl.pod
12 +++ b/src/collectd-perl.pod
13 @@ -163,7 +163,7 @@ and collectd:
14  
15  =item Config-Item
16  
17 -A config-item is one structure which keeps the informations provided in the
18 +A config-item is one structure which keeps the information provided in the
19  configuration file. The array of children keeps one entry for each
20  configuration option. Each such entry is another config-item structure, which
21  may nest further if nested blocks are used.
22 diff a/src/collectd-python.pod b/src/collectd-python.pod
23 --- a/src/collectd-python.pod
24 +++ b/src/collectd-python.pod
25 @@ -39,8 +39,8 @@ required.
26  Loads the Python plugin I<Plugin>. Unlike most other LoadPlugin lines, this one
27  should be a block containing the line "Globals true". This will cause collectd
28  to export the name of all objects in the python interpreter for all plugins to
29 -see. If you don't do this or your platform does not support it, the embeded
30 -interpreter will start anywa but you won't be able to load certain python
31 +see. If you don't do this or your platform does not support it, the embedded
32 +interpreter will start anyway but you won't be able to load certain python
33  modules, e.g. "time".
34  
35  =item B<Encoding> I<Name>
36 @@ -211,7 +211,7 @@ and collectd:
37  
38  =head2 Config
39  
40 -The Config class is an object which keeps the informations provided in the
41 +The Config class is an object which keeps the information provided in the
42  configuration file. The sequence of children keeps one entry for each
43  configuration option. Each such entry is another Config instance, which
44  may nest further if nested blocks are used.
45 @@ -631,7 +631,7 @@ dispatched by the python plugin after upgrades.
46  =item
47  
48  This plugin is not compatible with python3. Trying to compile it with python3
49 -will fail because of the ways string, unicode and bytearray bahavior was
50 +will fail because of the ways string, unicode and bytearray behavior was
51  changed.
52  
53  =item
54 diff a/src/collectd.conf.pod b/src/collectd.conf.pod
55 --- a/src/collectd.conf.pod
56 +++ b/src/collectd.conf.pod
57 @@ -112,7 +112,7 @@ a value higher than the number of plugins you've loaded is totally useless.
58  =item B<Hostname> I<Name>
59  
60  Sets the hostname that identifies a host. If you omit this setting, the
61 -hostname will be determinded using the L<gethostname(2)> system call.
62 +hostname will be determined using the L<gethostname(2)> system call.
63  
64  =item B<FQDNLookup> B<true|false>
65  
66 @@ -443,7 +443,7 @@ The curl plugin uses the B<libcurl> (L<http://curl.haxx.se/>) to read web pages
67  and the match infrastructure (the same code used by the tail plugin) to use
68  regular expressions with the received data.
69  
70 -The following example will read the current value of AMD stock from google's
71 +The following example will read the current value of AMD stock from Google's
72  finance page and dispatch the value to collectd.
73  
74    <Plugin curl>
75 @@ -921,7 +921,7 @@ is set to B<true>, all disks are collected B<except> the ones matched.
76  
77  =item B<Interface> I<Interface>
78  
79 -The dns plugin uses B<libpcap> to capture dns traffic and analyses it. This
80 +The dns plugin uses B<libpcap> to capture dns traffic and analyzes it. This
81  option sets the interface that should be used. If this option is not set, or
82  set to "any", the plugin will try to get packets from B<all> interfaces. This
83  may not work on certain platforms, such as MacE<nbsp>OSE<nbsp>X.
84 @@ -1673,7 +1673,7 @@ or SQL threads are not running.
85  
86  =head2 Plugin C<netapp>
87  
88 -The netapp plugin can collect various performance and capacity informations
89 +The netapp plugin can collect various performance and capacity information
90  from a NetApp filer using the NetApp API.
91  
92  Please note that NetApp has a wide line of products and a lot of different
93 @@ -1709,7 +1709,7 @@ Here are some examples to help you understand the above text more easily:
94  
95  =item B<IgnoreSelected>
96  
97 -The behaviour is the same as with all other similar plugins: If nothing is
98 +The behavior is the same as with all other similar plugins: If nothing is
99  selected at all, everything is collected. If some things are selected using the
100  options described above, only these statistics are collected. If you set
101  B<IgnoreSelected> to B<true>, this behavior is inverted, i.E<nbsp>e. the
102 @@ -1721,7 +1721,7 @@ specified statistics will not be collected.
103  
104  The Network plugin sends data to a remote instance of collectd, receives data
105  from a remote instance, or both at the same time. Data which has been received
106 -from the network is usually not transmitted again, but this can be actived, see
107 +from the network is usually not transmitted again, but this can be activated, see
108  the B<Forward> option below.
109  
110  The default IPv6 multicast group is C<ff18::efc0:4a42>. The default IPv4
111 @@ -2007,7 +2007,7 @@ UDP-Port to connect to. Defaults to B<123>.
112  
113  =item B<ReverseLookups> B<true>|B<false>
114  
115 -Sets wether or not to perform reverse lookups on peers. Since the name or
116 +Sets whether or not to perform reverse lookups on peers. Since the name or
117  IP-address may be used in a filename it is recommended to disable reverse
118  lookups. The default is to do reverse lookups to preserve backwards
119  compatibility, though.
120 diff a/src/mysql.c b/src/mysql.c
121 --- a/src/mysql.c
122 +++ b/src/mysql.c
123 @@ -397,7 +397,7 @@ static MYSQL *getconnection (mysql_database_t *db)
124         }
125         else
126         {
127 -               INFO ("mysql plugin: Sucessfully connected to database %s "
128 +               INFO ("mysql plugin: Successfully connected to database %s "
129                                 "at server %s (server version: %s, protocol version: %d)",
130                                 (db->database != NULL) ? db->database : "<none>",
131                                 mysql_get_host_info (db->con),
132 diff a/src/postgresql.c b/src/postgresql.c
133 --- a/src/postgresql.c
134 +++ b/src/postgresql.c
135 @@ -345,7 +345,7 @@ static int c_psql_exec_query (c_psql_database_t *db, udb_query_t *q)
136                  * `BAIL_OUT'. */
137                 column_names[col] = PQfname (res, col);
138                 if (NULL == column_names[col]) {
139 -                       log_err ("Failed to resolv name of column %i.", col);
140 +                       log_err ("Failed to resolve name of column %i.", col);
141                         BAIL_OUT (-1);
142                 }
143         }
144 @@ -496,7 +496,7 @@ static int c_psql_init (void)
145  
146                 server_host    = PQhost (db->conn);
147                 server_version = PQserverVersion (db->conn);
148 -               log_info ("Sucessfully connected to database %s (user %s) "
149 +               log_info ("Successfully connected to database %s (user %s) "
150                                 "at server %s%s%s (server version: %d.%d.%d, "
151                                 "protocol version: %d, pid: %d)",
152                                 PQdb (db->conn), PQuser (db->conn),