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

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