Blame SOURCES/net-snmp-5.7.2-documentation.patch

2908c4
diff -urNp a/man/snmp_config.5.def b/man/snmp_config.5.def
2908c4
--- a/man/snmp_config.5.def	2017-06-26 11:30:42.728527539 +0200
2908c4
+++ b/man/snmp_config.5.def	2017-06-26 11:33:19.766436329 +0200
2908c4
@@ -179,14 +179,28 @@ during normal configuration file process
2908c4
 .RS
2908c4
 .nf
2908c4
 # include site specific config
2908c4
-include site.conf
2908c4
+includeFile site.conf
2908c4
 .RE
2908c4
 .PP
2908c4
-This will search every directory in the configuration path for files
2908c4
-named site.conf, and will process those files before returning to the
2908c4
-processing of the original file. Note that if '.conf' is omitted,
2908c4
-it will be appended. That is, all configuration files must end
2908c4
-in '.conf'.
2908c4
+This will load the specified configuration file. The
2908c4
+path to file must be either absolute, starting with '/',
2908c4
+or relative. The relative path is then relative to the directory
2908c4
+where the parent file with 'includeFile' directive resides.
2908c4
+.PP
2908c4
+The included file name does not need to have '.conf' suffix.
2908c4
+.PP
2908c4
+.RS
2908c4
+.nf
2908c4
+# include a all *.conf files in a directory
2908c4
+includeDir /etc/snmp/config.d
2908c4
+.RE
2908c4
+.PP
2908c4
+This will search specified directory for all files with '.conf'
2908c4
+suffix and process them as if they were included using includeFile
2908c4
+directive. The configuration files are not processed in any particular
2908c4
+order.
2908c4
+.PP
2908c4
+The specified directory must be absolute directory path.
2908c4
 .SH "API INTERFACE"
2908c4
 .PP
2908c4
 Information about writing C code that makes use of this system in
2908c4