summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-01-23 11:07:55 +0000
committerharti <harti@FreeBSD.org>2004-01-23 11:07:55 +0000
commita329575b4e11bd1af7cdfed881628f07a46056a7 (patch)
tree1ef643cd78dbd72b47bdeb3caeda43985cc2bea4
parent72a445939b97142cb8ac50a22e19865c3b3e3999 (diff)
downloadFreeBSD-src-a329575b4e11bd1af7cdfed881628f07a46056a7.zip
FreeBSD-src-a329575b4e11bd1af7cdfed881628f07a46056a7.tar.gz
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.
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/genfiles6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bsnmpd/bsnmpd/genfiles b/usr.sbin/bsnmpd/bsnmpd/genfiles
index 7f09b89..1c5507a 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
OpenPOWER on IntegriCloud