From 6538074358f10d196fac1909aa29b3ab8dd299bd Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Tue, 24 May 2005 00:22:23 +0000
Subject: Move complex packages to their own menu, Standardize config options,
 Fix typos

SVN-Revision: 1035
---
 openwrt/package/net-snmp/Config.in | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

(limited to 'openwrt')

diff --git a/openwrt/package/net-snmp/Config.in b/openwrt/package/net-snmp/Config.in
index 8f0cdff..8ebbc52 100644
--- a/openwrt/package/net-snmp/Config.in
+++ b/openwrt/package/net-snmp/Config.in
@@ -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
-- 
cgit v1.1