diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-11-04 17:46:36 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-06 17:53:55 +0100 |
commit | 79df19db58c1bd4820f2112e7f7f101d0f34bb0e (patch) | |
tree | 1ad497aef142a68dab85e748a9b33f0dfce801ef /meta-oe/recipes-support/libsmi/libsmi/smi.conf | |
parent | 9a233d0b7869f00f3c7ec412e172e3d1f72a499a (diff) | |
download | meta-openembedded-contrib-79df19db58c1bd4820f2112e7f7f101d0f34bb0e.tar.gz |
libsmi: add configure file
Add configure file duplicated from file smi.conf-example in source code
and replace paths with mibs files directories.
Then set libsmi-mibs as runtime recommend package to provide mibs files.
Add homepage and update SRC_URI as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libsmi/libsmi/smi.conf')
-rw-r--r-- | meta-oe/recipes-support/libsmi/libsmi/smi.conf | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsmi/libsmi/smi.conf b/meta-oe/recipes-support/libsmi/libsmi/smi.conf new file mode 100644 index 0000000000..7e4da86d9a --- /dev/null +++ b/meta-oe/recipes-support/libsmi/libsmi/smi.conf @@ -0,0 +1,48 @@ +# +# smi.conf - Global/User SMI configuration file. (EXAMPLE) +# +# Copyright (c) 2000 Frank Strauss, Technical University of Braunschweig. +# +# See the file "COPYING" for information on usage and redistribution +# of this file, and for a DISCLAIMER OF ALL WARRANTIES. +# +# @(#) $Id: smi.conf-example 1134 2001-06-11 09:59:13Z strauss $ +# +# +# See smi_config(3) for detailed information on configuration files. +# + +# Extend (note the semicolon) the libsmi default module search path. +path :/usr/share/mibs/iana +path :/usr/share/mibs/ietf +path :/usr/share/mibs/irtf +path :/usr/share/mibs/tubs + +# EXPERIMENTAL: Add a caching method (works only on UNIX systems). +# NOTE: the cache directory must exist and permissions must be +# handled appropriately. A simple but insecure way is to apply +# a tmp flag to the directory (chmod 1777 /usr/local/share/mibs/cache). +#cache /usr/local/share/mibs/cache /usr/local/bin/smicache -d /usr/local/share/mibs/cache -p http://www.ibr.cs.tu-bs.de/projects/libsmi/smicache/ + +# Don't show any errors by default. +level 0 + +# Preload some basic SMIv2 modules. +load SNMPv2-SMI +load SNMPv2-TC +load SNMPv2-CONF + +# Make smilint shout loud to report all errors and warnings. +smilint: level 9 + +# But please don't claim about any names longer than 32 chars. +# (note: this is the prefix of errors `namelength-32-module, +# -type, -object, -enumeration, and -bit) +smilint: hide namelength-32 + +# Preloading some more modules for special applications. +tcpdump: load DISMAN-SCRIPT-MIB +tcpdump: load IF-MIB + +smiquery: load IF-MIB + |