svn commit: r311207 - in stable/11: contrib/bsnmp/lib lib/libbsnmp/libbsnmp tools/build/mk
Ngie Cooper
ngie at FreeBSD.org
Wed Jan 4 00:37:01 UTC 2017
Author: ngie
Date: Wed Jan 4 00:36:59 2017
New Revision: 311207
URL: https://svnweb.freebsd.org/changeset/base/311207
Log:
MFC r310099,r311000,r311002:
r311000:
Fix spelling errors
r311002:
Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)
Modified:
stable/11/contrib/bsnmp/lib/bsnmpclient.3
stable/11/lib/libbsnmp/libbsnmp/Makefile
stable/11/tools/build/mk/OptionalObsoleteFiles.inc
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/contrib/bsnmp/lib/bsnmpclient.3
==============================================================================
--- stable/11/contrib/bsnmp/lib/bsnmpclient.3 Wed Jan 4 00:26:41 2017 (r311206)
+++ stable/11/contrib/bsnmp/lib/bsnmpclient.3 Wed Jan 4 00:36:59 2017 (r311207)
@@ -208,13 +208,13 @@ The community name to be used for SET re
The default is
.Sq private .
.It Va identifier
-The message indentifier value to be used with SNMPv3 PDUs. Incremented with
+The message identifier value to be used with SNMPv3 PDUs. Incremented with
each transmitted PDU.
.It Va security_model
The security model to be used with SNMPv3 PDUs. Currently only User-Based
Security model specified by RFC 3414 (value 3) is supported.
.It Va engine
-The authorative SNMP engine parameters to be used with SNMPv3 PDUs.
+The authoritive SNMP engine parameters to be used with SNMPv3 PDUs.
.It Va user
The USM SNMP user credentials to be used with SNMPv3 PDUs.
.It Va clen
@@ -413,7 +413,7 @@ response is received.
When a response is received or the retransmission count
is exceeded the callback
.Fa func
-is called with the orignal request PDU, the response PDU and the user argument
+is called with the original request PDU, the response PDU and the user argument
.Fa uarg .
If the retransmit count is exceeded,
.Fa func
@@ -648,7 +648,7 @@ If a response was received 0 is returned
.Pp
The function
.Fn snmp_discover_engine
-is used to discover the authorative snmpEngineId of a remote SNMPv3 agent.
+is used to discover the authoritative snmpEngineId of a remote SNMPv3 agent.
A request PDU with empty USM user name is sent and the client's engine
parameters are set according to the snmpEngine parameters received in the
response PDU.
@@ -656,10 +656,10 @@ If the client is configured to use authe
snmpEngineBoots and/or snmpEngineTime in the response had zero values, an
additional request (possibly encrypted) with the appropriate user credentials
is sent to fetch the missing values.
-Note, that the function blocks until the discovery proccess is completed.
+Note, that the function blocks until the discovery process is completed.
If no response could be received after all timeouts and retries, or the
response contained errors the function returns -1.
-If the discovery proccess was completed 0 is returned.
+If the discovery process was completed 0 is returned.
.Pp
The function
.Fn snmp_parse_server
Modified: stable/11/lib/libbsnmp/libbsnmp/Makefile
==============================================================================
--- stable/11/lib/libbsnmp/libbsnmp/Makefile Wed Jan 4 00:26:41 2017 (r311206)
+++ stable/11/lib/libbsnmp/libbsnmp/Makefile Wed Jan 4 00:36:59 2017 (r311207)
@@ -77,6 +77,9 @@ MLINKS+= bsnmpagent.3 tree_size.3
MLINKS+= bsnmpclient.3 snmp_add_binding.3
MLINKS+= bsnmpclient.3 snmp_client.3
+MLINKS+= bsnmpclient.3 snmp_client_init.3
+MLINKS+= bsnmpclient.3 snmp_client_set_host.3
+MLINKS+= bsnmpclient.3 snmp_client_set_port.3
MLINKS+= bsnmpclient.3 snmp_close.3
MLINKS+= bsnmpclient.3 snmp_dialog.3
MLINKS+= bsnmpclient.3 snmp_discover_engine.3
Modified: stable/11/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- stable/11/tools/build/mk/OptionalObsoleteFiles.inc Wed Jan 4 00:26:41 2017 (r311206)
+++ stable/11/tools/build/mk/OptionalObsoleteFiles.inc Wed Jan 4 00:36:59 2017 (r311207)
@@ -828,6 +828,9 @@ OLD_FILES+=usr/share/man/man3/asn_slice_
OLD_FILES+=usr/share/man/man3/snmp_add_binding.3.gz
OLD_FILES+=usr/share/man/man3/snmp_calc_keychange.3.gz
OLD_FILES+=usr/share/man/man3/snmp_client.3.gz
+OLD_FILES+=usr/share/man/man3/snmp_client_init.3.gz
+OLD_FILES+=usr/share/man/man3/snmp_client_set_host.3.gz
+OLD_FILES+=usr/share/man/man3/snmp_client_set_port.3.gz
OLD_FILES+=usr/share/man/man3/snmp_close.3.gz
OLD_FILES+=usr/share/man/man3/snmp_debug.3.gz
OLD_FILES+=usr/share/man/man3/snmp_dep_commit.3.gz
More information about the svn-src-stable
mailing list