Move complex packages to their own menu, Standardize config options, Fix typos
authorNicolas Thill <nico@openwrt.org>
Tue, 24 May 2005 00:22:23 +0000 (00:22 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 24 May 2005 00:22:23 +0000 (00:22 +0000)
SVN-Revision: 1035

openwrt/package/net-snmp/Config.in

index 8f0cdffff5d79af4b635daea5dd0da58bcf87bd9..8ebbc52afcfd71077a09563bffb33ab6b44be1af 100644 (file)
@@ -1,8 +1,17 @@
+menu "net-snmp - Open source SNMP (Simple Network Management Protocol) implementation"
+
 config BR2_PACKAGE_NET_SNMP
-       prompt "net-snmp - Open source SNMP (Simple Network Management Protocol) implementation"
        bool
-       default y if CONFIG_DEVEL
+       default n
+       depends BR2_PACKAGE_LIBNETSNMP
+
+config BR2_PACKAGE_LIBNETSNMP
+       prompt "libnetsnmp - SNMP libraries"
+       tristate
+       default m if CONFIG_DEVEL
+       select BR2_PACKAGE_NET_SNMP
        help
+         
          Simple Network Management Protocol (SNMP) is a widely used 
          protocol for monitoring the health and welfare of network 
          equipment (eg. routers), computer equipment and even devices 
@@ -11,19 +20,19 @@ config BR2_PACKAGE_NET_SNMP
          
          http://www.net-snmp.org/
          
-
-config BR2_PACKAGE_LIBNETSNMP
-       tristate "libnet-snmp - SNMP libraries"
-       default m if CONFIG_DEVEL
-       depends BR2_PACKAGE_NET_SNMP
+         This package contains shared libraries, needed by other programs.
+         
 
 config BR2_PACKAGE_SNMPD
-       tristate "snmdp - SNMP agent"
-       default m if CONFIG_DEVEL
        depends BR2_PACKAGE_LIBNETSNMP
+       prompt "snmpd - SNMP agent"
+       tristate
+       default m if CONFIG_DEVEL
 
 config BR2_PACKAGE_SNMP_UTILS
-       tristate "snmp-utils - SNMP client utilities"
-       default m if CONFIG_DEVEL
        depends BR2_PACKAGE_LIBNETSNMP
+       prompt "snmp-utils - SNMP client utilities"
+       tristate
+       default m if CONFIG_DEVEL
 
+endmenu