From 1e1beb03a81dfe8a8fc7784b4055ee839c655065 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Fri, 23 Jan 2004 11:07:55 +0000 Subject: [PATCH] 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. --- usr.sbin/bsnmpd/bsnmpd/genfiles | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bsnmpd/bsnmpd/genfiles b/usr.sbin/bsnmpd/bsnmpd/genfiles index 7f09b89755cb..1c5507a65ad2 100644 --- a/usr.sbin/bsnmpd/bsnmpd/genfiles +++ b/usr.sbin/bsnmpd/bsnmpd/genfiles @@ -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