Blame SOURCES/autofs-5.1.5-fix-additional-typing-errors.patch

9a499a
autofs-5.1.5 - fix additional typing errors
9a499a
9a499a
From: Andreas P <nurgrak@gmail.com>
9a499a
9a499a
Fix some more typing errors.
9a499a
imk: added changes discussed on mailing list.
9a499a
9a499a
Signed-off-by: Andreas P <nurgrak@gmail.com>
9a499a
Signed-off-by: Ian Kent <raven@themaw.net>
9a499a
---
9a499a
 CHANGELOG                      |    1 +
9a499a
 INSTALL                        |    2 +-
9a499a
 README.replicated-server       |    2 +-
9a499a
 man/auto.master.5.in           |   14 +++++++-------
9a499a
 man/autofs.5                   |    9 ++++-----
9a499a
 man/autofs.conf.5.in           |   29 ++++++++++++++---------------
9a499a
 man/autofs_ldap_auth.conf.5.in |    2 +-
9a499a
 man/automount.8                |    2 +-
9a499a
 modules/lookup_ldap.c          |    4 ++--
9a499a
 modules/replicated.c           |    4 ++--
9a499a
 redhat/autofs.conf.default.in  |   14 +++++++-------
9a499a
 redhat/autofs.sysconfig        |    2 +-
9a499a
 samples/autofs.conf.default.in |   10 +++++-----
9a499a
 13 files changed, 47 insertions(+), 48 deletions(-)
9a499a
9a499a
--- autofs-5.1.4.orig/CHANGELOG
9a499a
+++ autofs-5.1.4/CHANGELOG
9a499a
@@ -113,6 +113,7 @@ xx/xx/2018 autofs-5.1.5
9a499a
 - simplify sss source stale check.
9a499a
 - use defines for expire type.
9a499a
 - remove unused function dump_master().
9a499a
+- fix additional typing errors.
9a499a
 
9a499a
 19/12/2017 autofs-5.1.4
9a499a
 - fix spec file url.
9a499a
--- autofs-5.1.4.orig/INSTALL
9a499a
+++ autofs-5.1.4/INSTALL
9a499a
@@ -119,7 +119,7 @@ For example, Fedora Core 4 kernel packag
9a499a
 would use the 2.6.12 patch because it applies the 2.6.12 release
9a499a
 candidate revision 6 patch. But the autofs patch doesn't apply
9a499a
 because the rpm also applies a patch somewhere that changes one
9a499a
-area the the patch also changes but this change is not present
9a499a
+area the patch also changes but this change is not present
9a499a
 in the 2.6.12 release kernel.
9a499a
 
9a499a
 On the other hand, Fedora Core 3 kernel 2.6.12-1.1381_FC3
9a499a
--- autofs-5.1.4.orig/README.replicated-server
9a499a
+++ autofs-5.1.4/README.replicated-server
9a499a
@@ -34,7 +34,7 @@ the following selection rules.
9a499a
      - PROXIMITY_OTHER, host is on a network not directlty
9a499a
        reachable through a local interface.
9a499a
   
9a499a
-2) NFS version and protocol is selected by caclculating the largest
9a499a
+2) NFS version and protocol is selected by calculating the largest
9a499a
    number of hosts supporting an NFS version and protocol that
9a499a
    have the closest proximity. These hosts are added to the list
9a499a
    in response time order. Hosts may have a corresponding weight
9a499a
--- autofs-5.1.4.orig/man/auto.master.5.in
9a499a
+++ autofs-5.1.4/man/auto.master.5.in
9a499a
@@ -211,12 +211,12 @@ due to application accesses triggered by
9a499a
 This option allows mount propagation of bind mounts to be set to
9a499a
 either \fIslave\fP or \fIprivate\fP. This option may be needed when using
9a499a
 multi-mounts that have bind mounts that bind to a file system that is
9a499a
-propagation shared. This is becuase the bind mount will have the same
9a499a
+propagation shared. This is because the bind mount will have the same
9a499a
 properties as its target which causes problems for offset mounts. When
9a499a
 this happens an unwanted offset mount is propagated back to the target
9a499a
 file system resulting in a deadlock when attempting to access the offset.
9a499a
-This option is a an autofs pseudo mount option that can be used in the
9a499a
-master map only. By default bind mounts will inherit the mount propagation
9a499a
+This option is an autofs pseudo mount option that can be used in the
9a499a
+master map only. By default, bind mounts will inherit the mount propagation
9a499a
 of the target file system.
9a499a
 .TP
9a499a
 .I "\-r, \-\-random-multimount-selection"
9a499a
@@ -261,7 +261,7 @@ accessing /net/myserver will mount expor
9a499a
 /net/myserver.
9a499a
 .P
9a499a
 NOTE: mounts done from a hosts map will be mounted with the "nosuid,nodev,intr" options
9a499a
-unless overridden by explicily specifying the "suid", "dev" or "nointr" options in the
9a499a
+unless overridden by explicitly specifying the "suid", "dev" or "nointr" options in the
9a499a
 master map entry.
9a499a
 .SH LDAP MAPS
9a499a
 If the map type \fBldap\fP is specified the mapname is of the form
9a499a
@@ -277,7 +277,7 @@ configuration, in which case the map nam
9a499a
 .P
9a499a
 If no schema is set in the autofs configuration then autofs will check
9a499a
 each of the commonly used schema for a valid entry and if one is found
9a499a
-it will used for subsequent lookups.
9a499a
+it will be used for subsequent lookups.
9a499a
 .P
9a499a
 There are three common schemas in use:
9a499a
 .TP
9a499a
@@ -351,7 +351,7 @@ connection is to be used then the client
9a499a
 locations must also be configured within the LDAP client.
9a499a
 .P
9a499a
 In OpenLDAP these may be configured in the \fBldap.conf\fP file or in the
9a499a
-per-user configuration. For example it may be sensible to use the system
9a499a
+per-user configuration. For example, it may be sensible to use the system
9a499a
 wide configuration for the location of the Certificate Authority certificate
9a499a
 and set the location of the client certificate and private key
9a499a
 in the per-user configuration. The location of these files and the configuration
9a499a
@@ -399,5 +399,5 @@ configuration will be used to locate the
9a499a
 .BR autofs_ldap_auth.conf (5).
9a499a
 .SH AUTHOR
9a499a
 This manual page was written by Christoph Lameter <chris@waterf.org>,
9a499a
-for the Debian GNU/Linux system.  Edited by <hpa@transmeta.com> and
9a499a
+for the Debian GNU/Linux system. Edited by <hpa@transmeta.com> and
9a499a
 Ian Kent <raven@themaw.net> .
9a499a
--- autofs-5.1.4.orig/man/autofs.5
9a499a
+++ autofs-5.1.4/man/autofs.5
9a499a
@@ -64,7 +64,6 @@ can't be mounted.
9a499a
 .br
9a499a
 is used to make the weight the sole factor in selecting a server when multiple
9a499a
 servers are present in a map entry.
9a499a
-and
9a499a
 .TP
9a499a
 .B \-no-use-weight-only
9a499a
 .br
9a499a
@@ -192,7 +191,7 @@ SHOST	Short hostname (domain part remove
9a499a
 .sp
9a499a
 If a program map is used these standard environment variables will have
9a499a
 a prefix of "AUTOFS_" to prevent interpreted languages like python from
9a499a
-being able to load and execute arbitray code from a user home directory.
9a499a
+being able to load and execute arbitrary code from a user home directory.
9a499a
 .RE
9a499a
 .sp
9a499a
 Additional entries can be defined with the \-Dvariable=Value map-option to
9a499a
@@ -293,10 +292,10 @@ may be negated with the \fB!\fP.
9a499a
 For a \fBlocation\fP to be selected for a mount attempt all of its \fBselectors\fP
9a499a
 must evaluate to true. If a \fBlocation\fP is selected for a mount attempt
9a499a
 and succeeds the lookup is completed and returns success. If the mount
9a499a
-attempt fails the proceedure continues with the next \fBlocation\fP until
9a499a
+attempt fails the procedure continues with the next \fBlocation\fP until
9a499a
 they have all been tried.
9a499a
 
9a499a
-In addition some \fBselectors\fP take no argumenets, some one argument
9a499a
+In addition, some \fBselectors\fP take no arguments, some one argument
9a499a
 and others optionally take two arguments.
9a499a
 
9a499a
 The \fBselectors\fP that take no arguments are:
9a499a
@@ -584,7 +583,7 @@ In the first line we have an NFS remote
9a499a
 another nfs mount for the exported directory /work/util from host zeus.
9a499a
 This would be mounted on /test/util.
9a499a
 
9a499a
-Finally we have an example of the use of the \fBsublink\fP option. In
9a499a
+Finally, we have an example of the use of the \fBsublink\fP option. In
9a499a
 this case the filesystem bilbo:/shared would be mounted on a path
9a499a
 external the automount directory (under the direcory given by
9a499a
 configuration option auto_dir) and the path /test/local either
9a499a
--- autofs-5.1.4.orig/man/autofs.conf.5.in
9a499a
+++ autofs-5.1.4/man/autofs.conf.5.in
9a499a
@@ -91,7 +91,7 @@ set default log level "none", "verbose"
9a499a
 .B force_standard_program_map_env
9a499a
 .br
9a499a
 override the use of a prefix with standard environment variables when a
9a499a
-program map is executed. Since program maps are run as the privileded
9a499a
+program map is executed. Since program maps are run as the privileged
9a499a
 user setting these standard environment variables opens automount(8) to
9a499a
 potential user privilege escalation when the program map is written in a
9a499a
 language that can load components from, for example, a user home directory
9a499a
@@ -110,16 +110,15 @@ and a direct map with 8000 entries would
9a499a
 containing an average of 8 entries, which should be acceptable.
9a499a
 
9a499a
 However, if excessive CPU usage is observed during automount lookups
9a499a
-increasing this option can reduce the CPU overhead considerably becuase
9a499a
+increasing this option can reduce the CPU overhead considerably because
9a499a
 it reduces the length of the search chains.
9a499a
 
9a499a
 Note that the number of entries in a map doesn't necessarily relate
9a499a
 to the number of entries used in the map entry cache.
9a499a
 
9a499a
-There are three distinct cases, direct maps and indirect maps that
9a499a
-use the "browse" option must be read in their entirity at program
9a499a
-start so, in these two cases the map size does retate directly to
9a499a
-the map entry cache size.
9a499a
+There are two distinct cases where the map hash table can make a
9a499a
+significant difference, direct maps and indirect maps that use the
9a499a
+"browse" option.
9a499a
 
9a499a
 For indirect maps that do not use the "browse" option entries are
9a499a
 added to the map entry cache at lookup so the number of active cache
9a499a
@@ -174,7 +173,7 @@ by the number of retries that would be u
9a499a
 .B use_mount_request_log_id
9a499a
 .br
9a499a
 Set whether to use a mount request log id so that log entries for specific
9a499a
-mount requests can be easily identified in logs that have multiple conncurrent
9a499a
+mount requests can be easily identified in logs that have multiple concurrent
9a499a
 requests. Default is don't use mount request log ids.
9a499a
 .SS LDAP Configuration
9a499a
 .P
9a499a
@@ -183,7 +182,7 @@ Configuration settings available are:
9a499a
 .B ldap_timeout
9a499a
 .br
9a499a
 Set the network response timeout (default 8).
9a499a
-Set timeout value for the synchronous API  calls. The default is the LDAP
9a499a
+Set timeout value for the synchronous API calls. The default is the LDAP
9a499a
 library default of an infinite timeout.
9a499a
 .TP
9a499a
 .B ldap_network_timeout
9a499a
@@ -323,7 +322,7 @@ cleaned on re-load, which is done when m
9a499a
 so these configuration entries are not used by autofs. An
9a499a
 exception to this is the case where the map is large. In this
9a499a
 case it may be necessary to read the whole map at startup even if
9a499a
-browsing is is not enabled. Adding the cache:=all option to
9a499a
+browsing is not enabled. Adding the cache:=all option to
9a499a
 map_options can be used to for this.
9a499a
 .TP
9a499a
 .B localhost_address
9a499a
@@ -390,14 +389,14 @@ and that will be done.
9a499a
 Allow map keys to be shown in directory listings. This option
9a499a
 can have values of "yes" or "no". The default is "no". A variation
9a499a
 of this option, "browsable", can be used as a pseudo mount option
9a499a
-in type "auto" map entries to provide provide browsing funtionality
9a499a
+in type "auto" map entries to provide browsing functionality
9a499a
 in sub-mounts. The amd "browsable_dirs = full" option cannot be
9a499a
 implemented within the current autofs framework and is not supported.
9a499a
 .TP
9a499a
 .B exec_map_timeout
9a499a
 .br
9a499a
-A timeout is not currently used for for program maps, might be
9a499a
-implemented.
9a499a
+A timeout is not currently used for program maps but this might be
9a499a
+implemented in the future.
9a499a
 .TP
9a499a
 .B tag
9a499a
 .br
9a499a
@@ -473,7 +472,7 @@ its official host name.
9a499a
 .TP
9a499a
 .B domain_strip
9a499a
 .br
9a499a
-If set to "yes" the domain name part of the host is strippped
9a499a
+If set to "yes" the domain name part of the host is stripped
9a499a
 when normalizing hostnames. This can be useful when using of
9a499a
 the same maps in a multiple domain environment.
9a499a
 .TP
9a499a
@@ -497,8 +496,8 @@ that is used for queries if ldap is to b
9a499a
 .B ldap_hostports
9a499a
 .br
9a499a
 This option has no default value set. It must be set to the URI
9a499a
-of the LDAP server to be used for lookups wheni ldap is used a
9a499a
-map source. It may contain a comma or space separated list of
9a499a
+of the LDAP server to be used for lookups when ldap is used as
9a499a
+a map source. It may contain a comma or space separated list of
9a499a
 LDAP URIs.
9a499a
 .TP
9a499a
 .B hesiod_base
9a499a
--- autofs-5.1.4.orig/man/autofs_ldap_auth.conf.5.in
9a499a
+++ autofs-5.1.4/man/autofs_ldap_auth.conf.5.in
9a499a
@@ -56,7 +56,7 @@ required in order to perform ldap querie
9a499a
 sasl authenticated connections will be allowed. If it is set to no then
9a499a
 authentication is not needed for ldap server connections. If it is set to
9a499a
 autodetect then the ldap server will be queried to establish a suitable sasl
9a499a
-authentication  mechanism. If no suitable mechanism can be found, connections
9a499a
+authentication mechanism. If no suitable mechanism can be found, connections
9a499a
 to the ldap server are made without authentication. Finally, if it is set to
9a499a
 simple, then simple authentication will be used instead of SASL.
9a499a
 .TP
9a499a
--- autofs-5.1.4.orig/man/automount.8
9a499a
+++ autofs-5.1.4/man/automount.8
9a499a
@@ -89,7 +89,7 @@ that would be used by autofs for the who
9a499a
 .TP
9a499a
 .I "\-O, \-\-global-options"
9a499a
 Allows the specification of global mount options used for all master
9a499a
-map entries. These options will either replace or be appened to options
9a499a
+map entries. These options will either replace or be appended to options
9a499a
 given in a master map entry depending on the APPEND_OPTIONS configuration
9a499a
 setting.
9a499a
 .TP
9a499a
--- autofs-5.1.4.orig/modules/lookup_ldap.c
9a499a
+++ autofs-5.1.4/modules/lookup_ldap.c
9a499a
@@ -1320,11 +1320,11 @@ auth_fail:
9a499a
 		ret |= get_property(logopt, root, "external_key",  &extern_key);
9a499a
 		/*
9a499a
 		 * For EXTERNAL auth to function we need a client certificate
9a499a
-		 * and and certificate key. The ca certificate used to verify
9a499a
+		 * and certificate key. The ca certificate used to verify
9a499a
 		 * the server certificate must also be set correctly in the
9a499a
 		 * global configuration as the connection must be encrypted
9a499a
 		 * and the server and client certificates must have been
9a499a
-		 * verified for the EXTERNAL method to be offerred by the
9a499a
+		 * verified for the EXTERNAL method to be offered by the
9a499a
 		 * server. If the cert and key have not been set in the autofs
9a499a
 		 * configuration they must be set in the ldap rc file.
9a499a
 		 */
9a499a
--- autofs-5.1.4.orig/modules/replicated.c
9a499a
+++ autofs-5.1.4/modules/replicated.c
9a499a
@@ -24,11 +24,11 @@
9a499a
  *        - PROXIMITY_OTHER, host is on a network not directlty
9a499a
  *          reachable through a local interface.
9a499a
  *
9a499a
- *   2) NFS version and protocol is selected by caclculating the largest
9a499a
+ *   2) NFS version and protocol is selected by calculating the largest
9a499a
  *      number of hosts supporting an NFS version and protocol that
9a499a
  *      have the closest proximity. These hosts are added to the list
9a499a
  *      in response time order. Hosts may have a corresponding weight
9a499a
- *      which essentially increaes response time and so influences the
9a499a
+ *      which essentially increases response time and so influences the
9a499a
  *      host order.
9a499a
  *
9a499a
  *   3) Hosts at further proximity that support the selected NFS version
9a499a
--- autofs-5.1.4.orig/redhat/autofs.conf.default.in
9a499a
+++ autofs-5.1.4/redhat/autofs.conf.default.in
9a499a
@@ -79,7 +79,7 @@ mount_nfs_default_protocol = 4
9a499a
 #			are run as the privileded user this opens
9a499a
 #			automount(8) to potential user privilege
9a499a
 #			escalation when the program map is written
9a499a
-#			in a language that  can load components from,
9a499a
+#			in a language that can load components from,
9a499a
 #			for example, a user home directory.
9a499a
 #
9a499a
 # force_standard_program_map_env = no
9a499a
@@ -87,7 +87,7 @@ mount_nfs_default_protocol = 4
9a499a
 # use_mount_request_log_id - Set whether to use a mount request log
9a499a
 #			id so that log entries for specific mount
9a499a
 #			requests can be easily identified in logs
9a499a
-#			that have multiple conncurrent requests.
9a499a
+#			that have multiple concurrent requests.
9a499a
 #
9a499a
 #use_mount_request_log_id = no
9a499a
 #
9a499a
@@ -419,10 +419,10 @@ dismount_interval = 300
9a499a
 # appears to work reasonably well most of the time without the
9a499a
 # update).
9a499a
 #
9a499a
-# autofs_use_lofs = yes
9a499a
+#autofs_use_lofs = yes
9a499a
 #
9a499a
 # Several configuration options can be set per mount point.
9a499a
-# In particulr map_type, map_name, map_defaults, search_path,
9a499a
+# In particular map_type, map_name, map_defaults, search_path,
9a499a
 # browsable_dirs, dismount_interval and selectors_in_defaults
9a499a
 # (not all of which are currently implemented, see above).
9a499a
 #
9a499a
@@ -431,6 +431,6 @@ dismount_interval = 300
9a499a
 # master map entry and the format will be inherited for type
9a499a
 # "auto" mounts.
9a499a
 #
9a499a
-# [ /expamle/mount ]
9a499a
-# dismount_interval = 60
9a499a
-# map_type = nis
9a499a
+#[ /example/mount ]
9a499a
+#dismount_interval = 60
9a499a
+#map_type = nis
9a499a
--- autofs-5.1.4.orig/redhat/autofs.sysconfig
9a499a
+++ autofs-5.1.4/redhat/autofs.sysconfig
9a499a
@@ -1,5 +1,5 @@
9a499a
 #
9a499a
-# Init syatem options
9a499a
+# Init system options
9a499a
 #
9a499a
 # If the kernel supports using the autofs miscellanous device
9a499a
 # and you wish to use it you must set this configuration option
9a499a
--- autofs-5.1.4.orig/samples/autofs.conf.default.in
9a499a
+++ autofs-5.1.4/samples/autofs.conf.default.in
9a499a
@@ -78,7 +78,7 @@ browse_mode = no
9a499a
 #			are run as the privileded user this opens
9a499a
 #			automount(8) to potential user privilege
9a499a
 #			escalation when the program map is written
9a499a
-#			in a language that  can load components from,
9a499a
+#			in a language that can load components from,
9a499a
 #			for example, a user home directory.
9a499a
 #
9a499a
 # force_standard_program_map_env = no
9a499a
@@ -86,7 +86,7 @@ browse_mode = no
9a499a
 # use_mount_request_log_id - Set whether to use a mount request log
9a499a
 #			id so that log entries for specific mount
9a499a
 #			requests can be easily identified in logs
9a499a
-#			that have multiple conncurrent requests.
9a499a
+#			that have multiple concurrent requests.
9a499a
 #
9a499a
 #use_mount_request_log_id = no
9a499a
 #
9a499a
@@ -430,6 +430,6 @@ dismount_interval = 300
9a499a
 # master map entry and the format will be inherited for type
9a499a
 # "auto" mounts.
9a499a
 #
9a499a
-# [ /expamle/mount ]
9a499a
-# dismount_interval = 60
9a499a
-# map_type = nis
9a499a
+#[ /example/mount ]
9a499a
+#dismount_interval = 60
9a499a
+#map_type = nis