diff --git a/usr.sbin/bsnmpd/modules/snmp_hast/Makefile b/usr.sbin/bsnmpd/modules/snmp_hast/Makefile index a128dab2e999..625bc216d284 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hast/Makefile +++ b/usr.sbin/bsnmpd/modules/snmp_hast/Makefile @@ -1,43 +1,43 @@ # $FreeBSD$ .include .PATH: ${.CURDIR}/../../../../sbin/hastd MOD= hast SRCS= ebuf.c SRCS+= hast_compression.c hast_proto.c hast_snmp.c SRCS+= lzf.c SRCS+= nv.c SRCS+= parse.y pjdlog.c SRCS+= proto.c proto_common.c proto_uds.c SRCS+= token.l SRCS+= y.tab.h -MAN= snmp_hast.8 +MAN= snmp_hast.3 NO_WFORMAT= NO_WCAST_ALIGN= NO_WMISSING_VARIABLE_DECLARATIONS= CFLAGS+=-I${.CURDIR}/../../../../sbin/hastd CFLAGS+=-DHAVE_CAPSICUM CFLAGS+=-DINET .if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DINET6 .endif # This is needed to have WARNS > 1. CFLAGS+=-DYY_NO_UNPUT CFLAGS+=-DYY_NO_INPUT CFLAGS+= -DSNMPTREE_TYPES DPADD= ${LIBL} ${LIBUTIL} LDADD= -ll -lutil XSYM= begemotHast DEFS= ${MOD}_tree.def BMIBS= BEGEMOT-HAST-MIB.txt YFLAGS+=-v CLEANFILES=y.tab.c y.tab.h y.output .include diff --git a/usr.sbin/bsnmpd/modules/snmp_hast/snmp_hast.8 b/usr.sbin/bsnmpd/modules/snmp_hast/snmp_hast.3 similarity index 98% rename from usr.sbin/bsnmpd/modules/snmp_hast/snmp_hast.8 rename to usr.sbin/bsnmpd/modules/snmp_hast/snmp_hast.3 index fced9c1a9b32..2b966d714445 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hast/snmp_hast.8 +++ b/usr.sbin/bsnmpd/modules/snmp_hast/snmp_hast.3 @@ -1,69 +1,69 @@ .\"- .\" Copyright (c) 2013 Mikolaj Golub .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" $FreeBSD$ .\" -.Dd May 1, 2013 -.Dt SNMP_HAST 8 +.Dd May 9, 2013 +.Dt SNMP_HAST 3 .Os .Sh NAME .Nm snmp_hast .Nd "HAST module for" .Xr bsnmpd 1 .Sh LIBRARY .Pq begemotSnmpdModulePath."hast" = "/usr/lib/snmp_hast.so" .Sh DESCRIPTION The .Nm snmp_hast module implements a private BEGEMOT-HAST-MIB, which allows management of HAST resources. .Pp The module uses .Xr hastd 8 control socket to communicate with the daemon. .Va hastConfigFile variable can be used to specify the location of .Xr hast.conf 5 file to find the address of the control connection. .Sh FILES .Bl -tag -width "XXXXXXXXX" .It Pa /usr/share/snmp/defs/hast_tree.def The description of the MIB tree implemented by .Nm . .It Pa /usr/share/snmp/mibs/BEGEMOT-HAST-MIB.txt The private BEGEMOT-HAST-MIB that is implemented by this module. .It Pa /etc/hast.conf The default .Xr hastd 8 configuration file. .El .Sh SEE ALSO .Xr bsnmpd 1 , .Xr gensnmptree 1 , .Xr hastctl 8 , .Xr hastd 8 , .Xr snmpmod 3 .Sh AUTHORS .An Mikolaj Golub Aq trociny@FreeBSD.org