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:
Hartmut Brandt 2004-01-23 11:07:55 +00:00
parent f1bd897915
commit 1e1beb03a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124866

View File

@ -2,7 +2,8 @@
# $FreeBSD$
XSYM="snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \
sysUpTime snmpTrapOID coldStart authenticationFailure"
sysUpTime snmpTrapOID coldStart authenticationFailure \
begemotSnmpdTransUdp begemotSnmpdTransLsock begemotSnmpdLocalPortTable"
SRC=../../../contrib/bsnmp/snmpd
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
ex $i <<'EOF'
0a
/* $FreeBSD$ */
/* $XFreeBSD$ */
/* generated file, don't edit - use ./genfiles */
.
1s/X//
wq
EOF
done