Catch up with the import of version 1.5a of bsnmp.
Fix the script to insert $FreeBSD$ into the generated file instead of the script's FreeBSD id.
This commit is contained in:
parent
f1bd897915
commit
1e1beb03a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124866
@ -2,7 +2,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
XSYM="snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \
|
XSYM="snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \
|
||||||
sysUpTime snmpTrapOID coldStart authenticationFailure"
|
sysUpTime snmpTrapOID coldStart authenticationFailure \
|
||||||
|
begemotSnmpdTransUdp begemotSnmpdTransLsock begemotSnmpdLocalPortTable"
|
||||||
SRC=../../../contrib/bsnmp/snmpd
|
SRC=../../../contrib/bsnmp/snmpd
|
||||||
|
|
||||||
gensnmptree -l <${SRC}/tree.def
|
gensnmptree -l <${SRC}/tree.def
|
||||||
@ -11,9 +12,10 @@ gensnmptree <${SRC}/tree.def -e ${XSYM} >oid.h
|
|||||||
for i in tree.h tree.c oid.h ; do
|
for i in tree.h tree.c oid.h ; do
|
||||||
ex $i <<'EOF'
|
ex $i <<'EOF'
|
||||||
0a
|
0a
|
||||||
/* $FreeBSD$ */
|
/* $XFreeBSD$ */
|
||||||
/* generated file, don't edit - use ./genfiles */
|
/* generated file, don't edit - use ./genfiles */
|
||||||
.
|
.
|
||||||
|
1s/X//
|
||||||
wq
|
wq
|
||||||
EOF
|
EOF
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user