reorganize/rationalize/format package menuconfig, make updatedd modular
[openwrt/staging/dedeckeh.git] / openwrt / package / monit / Config.in
index 3410a992c7b9cad14dee8b6d0bdb1146e7f091dc..e07fd628be65c89a1b2bd1ae8d7a970da91ad971 100644 (file)
@@ -1,10 +1,35 @@
+#menu "monit............................. System services monitoring utility"
+
+config BR2_COMPILE_MONIT
+       bool
+       default n
+       depends BR2_PACKAGE_MONIT || BR2_PACKAGE_MONIT_NOSSL
+
 config BR2_PACKAGE_MONIT
-       tristate "monit - System services monitoring utility"
+       prompt "monit............................. System services monitoring utility, with SSL support"
+       tristate
+       select BR2_COMPILE_MONIT
        select BR2_PACKAGE_LIBPTHREAD
+       select BR2_PACKAGE_LIBOPENSSL
        default m if CONFIG_DEVEL
        help
-         utility for monitoring services on a Unix system
+         An utility for monitoring services on a Unix system
+         
+         This package is built with SSL support.
          
          http://www.tildeslash.com/monit/
+
+config BR2_PACKAGE_MONIT_NOSSL
+       prompt "monit-nossl....................... System services monitoring utility, without SSL support"
+       tristate
+       select BR2_COMPILE_MONIT
+       select BR2_PACKAGE_LIBPTHREAD
+       default m if CONFIG_DEVEL
+       help
+         An utility for monitoring services on a Unix system.
+         
+         This package is built without SSL support.
          
-       
\ No newline at end of file
+         http://www.tildeslash.com/monit/
+
+#endmenu