1 # ====================================================================
5 # SNMP agent configuration data
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
13 ## eCos is free software; you can redistribute it and/or modify it under
14 ## the terms of the GNU General Public License as published by the Free
15 ## Software Foundation; either version 2 or (at your option) any later version.
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 ## You should have received a copy of the GNU General Public License along
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 ## As a special exception, if other files instantiate templates or use macros
27 ## or inline functions from this file, or you compile this file and link it
28 ## with other works to produce a work based on this file, this file does not
29 ## by itself cause the resulting work to be covered by the GNU General Public
30 ## License. However the source code for this file must still be made available
31 ## in accordance with section (3) of the GNU General Public License.
33 ## This exception does not invalidate any other reasons why a work based on
34 ## this file might be covered by the GNU General Public License.
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 ## at http://sources.redhat.com/ecos/ecos-license/
38 ## -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
44 # Original data: hmt, Andrew Lunn
45 # Contributors: gthomas
48 #####DESCRIPTIONEND####
50 # ====================================================================
52 cdl_package CYGPKG_SNMPAGENT {
55 doc ref/net-snmp-ecos-port.html
58 requires { 0 != CYGINT_ISO_STRING_STRFUNCS }
59 requires { 0 != CYGINT_ISO_STDLIB_STRCONV }
60 requires { 0 != CYGINT_ISO_STDIO_FORMATTED_IO }
61 requires { 0 != CYGINT_ISO_STRING_STRFUNCS }
62 requires { 0 != CYGINT_ISO_MALLOC }
63 requires { 0 != CYGINT_ISO_ERRNO }
64 requires { 0 != CYGINT_ISO_ERRNO_CODES }
66 requires CYGPKG_SNMPLIB
67 description "SNMP agent based on the UCD-SNMP project."
79 mibgroup/mibII/helpers.c \
80 mibgroup/mibII/system_mib.c \
81 mibgroup/mibII/sysORTable.c \
82 mibgroup/mibII/snmp_mib.c \
83 mibgroup/mibII/icmp.c \
84 mibgroup/mibII/interfaces.c \
86 mibgroup/mibII/tcp.c \
87 mibgroup/mibII/udp.c \
88 mibgroup/util_funcs.c \
89 mibgroup/mibII/dot3.c \
90 mibgroup/snmpv3/usmStats.c \
91 mibgroup/snmpv3/usmUser.c \
92 mibgroup/snmpv3/snmpEngine.c \
93 mibgroup/mibII/vacm_vars.c \
97 # Turns out the agent does not need to read the MIBs at all.
98 # It is all part of the library startup; I had been misled by
99 # debug/error messages. But that part of the lib is not used.
101 # rofs/EtherLike-MIB.c \
102 # rofs/IANAifType-MIB.c \
106 # rofs/SNMPv2-CONF.c \
107 # rofs/SNMPv2-MIB.c \
108 # rofs/SNMPv2-SMI.c \
114 # compile -library=libextras.a rofs/snmprofs.c
116 # mibgroup/mibII/interfaces.c \
117 # mibgroup/mibII/icmp.c \
118 # mibgroup/mibII/ip.c \
119 # mibgroup/mibII/snmp_mib.c \
120 # mibgroup/mibII/sysORTable.c \
121 # mibgroup/mibII/system_mib.c \
122 # mibgroup/mibII/tcp.c \
123 # mibgroup/mibII/udp.c \
124 # mibgroup/util_funcs.c \
127 # these from MIBII that I think I might need later
128 # mibgroup/mibII/ipv6.c \
129 # mibgroup/mibII/route_write.c \
130 # mibgroup/mibII/var_route.c \
131 # AT group is deprecated
132 # mibgroup/mibII/at.c \
133 # SNMPv3 view access control
134 # mibgroup/mibII/vacm_vars.c \
137 # here is the full list
139 # dlmods/dlmod_mib.c \
141 # mibgroup/agentx/client.c \
142 # mibgroup/agentx/master.c \
143 # mibgroup/agentx/master_admin.c \
144 # mibgroup/agentx/master_request.c \
145 # mibgroup/agentx/protocol.c \
146 # mibgroup/agentx/subagent.c \
147 # mibgroup/examples/example.c \
148 # mibgroup/examples/ucdDemoPublic.c \
149 # mibgroup/examples/ucdDemoPublic.cmds \
150 # mibgroup/examples/ucdDemoPublic.conf \
151 # mibgroup/host/hr_device.c \
152 # mibgroup/host/hr_disk.c \
153 # mibgroup/host/hr_filesys.c \
154 # mibgroup/host/hr_network.c \
155 # mibgroup/host/hr_other.c \
156 # mibgroup/host/hr_partition.c \
157 # mibgroup/host/hr_print.c \
158 # mibgroup/host/hr_proc.c \
159 # mibgroup/host/hr_storage.c \
160 # mibgroup/host/hr_swinst.c \
161 # mibgroup/host/hr_swrun.c \
162 # mibgroup/host/hr_system.c \
163 # mibgroup/host/hr_utils.c \
164 # mibgroup/mibII/interfaces.c \
165 # mibgroup/mibII/at.c \
166 # mibgroup/mibII/icmp.c \
167 # mibgroup/mibII/ip.c \
168 # mibgroup/mibII/ipv6.c \
169 # mibgroup/mibII/route_write.c \
170 # mibgroup/mibII/snmp_mib.c \
171 # mibgroup/mibII/sysORTable.c \
172 # mibgroup/mibII/system_mib.c \
173 # mibgroup/mibII/tcp.c \
174 # mibgroup/mibII/udp.c \
175 # mibgroup/mibII/vacm_vars.c \
176 # mibgroup/mibII/var_route.c \
177 # mibgroup/misc/ipfwacc.c \
178 # mibgroup/misc/dlmod.c \
179 # mibgroup/smux/snmp_bgp.c \
180 # mibgroup/smux/smux.c \
181 # mibgroup/smux/snmp_ospf.c \
182 # mibgroup/smux/snmp_rip2.c \
183 # mibgroup/snmpv3/snmpMPDStats.c \
184 # mibgroup/target/snmpTargetAddrEntry.c \
185 # mibgroup/target/snmpTargetParamsEntry.c \
186 # mibgroup/ucd-snmp/diskio.c \
187 # mibgroup/ucd-snmp/disk.c \
188 # mibgroup/ucd-snmp/errormib.c \
189 # mibgroup/ucd-snmp/extensible.c \
190 # mibgroup/ucd-snmp/file.c \
191 # mibgroup/ucd-snmp/hpux.c \
192 # mibgroup/ucd-snmp/loadave.c \
193 # mibgroup/ucd-snmp/memory.c \
194 # mibgroup/ucd-snmp/memory_freebsd2.c \
195 # mibgroup/ucd-snmp/memory_netbsd1.c \
196 # mibgroup/ucd-snmp/memory_solaris2.c \
197 # mibgroup/ucd-snmp/pass.c \
198 # mibgroup/ucd-snmp/pass_persist.c \
199 # mibgroup/ucd-snmp/proc.c \
200 # mibgroup/ucd-snmp/registry.c \
201 # mibgroup/ucd-snmp/versioninfo.c \
202 # mibgroup/ucd-snmp/vmstat.c \
203 # mibgroup/ucd-snmp/vmstat_freebsd2.c \
204 # mibgroup/ucd-snmp/vmstat_netbsd1.c \
205 # mibgroup/ucd-snmp/vmstat_solaris2.c \
206 # mibgroup/header_complex.c \
207 # mibgroup/kernel_sunos5.c \
208 # mibgroup/util_funcs.c \
211 cdl_component CYGPKG_SNMPAGENT_SYSTEM_MIB {
212 display "System MIB defaults"
216 These options control the default values for items in the
217 system MIB. The symbols are used as initializers for C char
218 arrays; therefore you must include \"double-quotes\" in the
219 defined value to get the correct results."
221 cdl_option CYGDAT_NET_SNMPAGENT_SYS_CONTACT {
222 display "Contact address"
224 default_value { "\"nobody@nowhere.net\"" }
226 This specifies the value returned for the sysContact field
227 of the System MIB (via the symbol SYS_CONTACT in the UCD
231 cdl_option CYGDAT_NET_SNMPAGENT_SYS_LOC {
232 display "System location"
234 default_value { "\"<unset>\"" }
236 This specifies the value returned for the sysLocation field
237 of the System MIB (via the symbol SYS_LOC in the UCD
241 cdl_option CYGDAT_NET_SNMPAGENT_VERS_DESC {
242 display "Version description"
244 default_value { "\"ucd-snmp-4.1.2/Red Hat eCos\"" }
246 This specifies the value returned for the sysDescr field
247 of the System MIB (via the symbol VERS_DESC in the UCD
251 cdl_option CYGDAT_NET_SNMPAGENT_SYS_NAME {
252 display "System name "
254 default_value { "\"eCos\"" }
256 This specifies the value returned for the sysName field
257 of the System MIB (via the symbol SYS_NAME in the UCD
262 cdl_component CYGPKG_SNMPAGENT_OPTIONS {
263 display "SNMP agent build options"
267 cdl_option CYGPKG_SNMPAGENT_CFLAGS_ADD {
268 display "Additional compiler flags"
271 default_value { "-D_KERNEL -D__ECOS -DIN_UCD_SNMP_SOURCE=1 -I$(PREFIX)/include/ucd-snmp" }
273 This option modifies the set of compiler flags for
274 building the SNMP agent package.
275 These flags are used in addition
276 to the set of global flags."
279 cdl_option CYGPKG_SNMPAGENT_CFLAGS_REMOVE {
280 display "Suppressed compiler flags"
285 This option modifies the set of compiler flags for
286 building the SNMP agent package. These flags are removed from
287 the set of global flags if present."
290 cdl_option CYGPKG_SNMPAGENT_V3_SUPPORT {
291 display "SNMPv3 support package"
295 Enabling this option includes SNMPv3 functionality as per
296 the implementation in UCD-SNMP-4.1.2"
299 cdl_component CYGPKG_SNMPAGENT_TESTS {
300 display "SNMP agent tests"
307 This option specifies the set of tests for the eCos SMNP agent."
309 cdl_option CYGSEM_SNMPAGENT_TESTS_PROMISCUOUS {
310 display "Run SNMP agent tests in promiscuous mode"
314 This option controls the tests for the eCos SMNP agent.
315 Enabling it will enable promiscuous mode on the hardware
319 cdl_option CYGSEM_SNMPAGENT_TESTS_SNMPv3 {
320 display "SNMP agent test for SNMP version 3"
322 active_if CYGPKG_SNMPAGENT_V3_SUPPORT
325 This option controls the tests for the eCos SMNP agent.
326 Enabling it will include setup and testing of SNMP v3 interfaces."
329 cdl_option CYGNUM_SNMPAGENT_TESTS_ITERATIONS {
330 display "Number of test iterations for SNMP agent test"
334 This option controls the number of times the basic test will
335 be run for testing the eCos SMNP agent."