Link the new file from the vendor fix to the build and install
the new MIB files. Add a target to smilint the MIB files.
This commit is contained in:
parent
2515c2ee04
commit
f486c645c1
@ -6,9 +6,9 @@ CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
|
||||
.PATH: ${CONTRIB}/snmp_mibII
|
||||
|
||||
MOD= mibII
|
||||
SRCS= mibII.c mibII_ifmib.c mibII_ip.c mibII_interfaces.c \
|
||||
mibII_ipaddr.c mibII_ifstack.c mibII_rcvaddr.c \
|
||||
mibII_nettomedia.c mibII_tcp.c mibII_udp.c mibII_route.c
|
||||
SRCS= mibII.c mibII_begemot.c mibII_ifmib.c mibII_ifstack.c \
|
||||
mibII_interfaces.c mibII_ip.c mibII_ipaddr.c mibII_nettomedia.c \
|
||||
mibII_rcvaddr.c mibII_route.c mibII_tcp.c mibII_udp.c
|
||||
XSYM= ipAddrTable ifTable ifRcvAddressEntry ifMIB ipMIB tcpMIB udpMIB \
|
||||
ipForward ifIndex linkDown linkUp
|
||||
MAN= snmp_mibII.3
|
||||
@ -17,5 +17,10 @@ CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd
|
||||
|
||||
DEFS= ${MOD}_tree.def
|
||||
INCS= snmp_${MOD}.h
|
||||
BMIBS= BEGEMOT-IP-MIB.txt BEGEMOT-MIB2-MIB.txt
|
||||
|
||||
.include <bsd.snmpmod.mk>
|
||||
|
||||
smilint:
|
||||
env SMIPATH=/usr/share/snmp/mibs:/usr/local/share/snmp/mibs \
|
||||
smilint -c /dev/null -l6 -i group-membership ${BMIBS:C/^/${CONTRIB}\/snmp_mibII\//}
|
||||
|
Loading…
x
Reference in New Issue
Block a user