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

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