#
# For a description of the syntax of this configuration file,
# see Kconfig-language.txt
#

mainmenu "NAS Configuration"

menu "Base Features"

config CONFIG_RC
       bool "replacement control (rc)"
       depends on CONFIG_NVRAM && CONFIG_SHARED && CONFIG_BUSYBOX && CONFIG_FIREWALL
       default y
       help
       rc is a compact replacement for traditional SysV init. rc
       manages the execution of all daemons. Answer Y unless you have
       configured busybox to provide SysV init functionality.

config CONFIG_FIREWALL
       bool "firewall configuration program"
       depends on CONFIG_NVRAM && CONFIG_SHARED && CONFIG_BUSYBOX
       default y
       help
       The firewall configuration program is required by rc and used
       by it to configure firewall functionality.

config CONFIG_NVRAM
       bool "NVRAM support"
       default y
       help
       Answer Y for user mode NVRAM support.

config CONFIG_SHARED
       bool "Shared functions"
       default y
       help
       Answer Y for shared functions required by most of the base
       features.

config CONFIG_LIBBCM
       bool "Broadcom shared library functions"
       default y
       help
       Answer Y for shared functions for accesing Broadcom h/w

config CONFIG_BUSYBOX
       bool "BusyBox"
       default y
       help
       BusyBox combines tiny versions of many common UNIX utilities into
       a single small executable.

config CONFIG_BUSYBOX_CONFIG
       string "BusyBox default configuration"
       depends on CONFIG_BUSYBOX
       default "router"
       help
       Override the default BusyBox configuration. File must exist in busybox/configs.

config CONFIG_WLCONF
       bool "Wireless configuration"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y
       help
       Answer Y for Broadcom wireless configuration support.

config CONFIG_BRIDGE
       bool "Ethernet bridging"
       default y
       help
       Answer Y for the user mode Ethernet bridge configuration utility.

config CONFIG_VLAN
       bool "VLAN configuration"
       depends on CONFIG_NVRAM
       default y
       help
       Answer Y for the user mode VLAN configuration utility.

config CONFIG_HTTPD
       bool "Web server"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y
       help
       Answer Y for basic web configuration support.

config CONFIG_WWW
       bool "Web pages"
       depends on CONFIG_HTTPD
       help
       Answer Y for additional web pages.

config CONFIG_NETCONF
       bool "Firewall configuration"
       depends on CONFIG_IPTABLES || CONFIG_LIBIPT
       default y
       help
       netconf is a compact, portable replacement for full iptables
       support. It provides enough functionality to configure a basic
       NAT firewall. Answer Y unless you plan on configuring a full
       iptables based firewall setup.

choice
	prompt "Iptables"
	default CONFIG_LIBIPT
	optional
	help
	netconf only requires the iptables support library. Answer
	"Library only" unless you want full iptables support. Full
	iptables support requires libdl (see "Additional C libraries").

config CONFIG_IPTABLES
       bool "Full"
       depends on CONFIG_LIBDL

config CONFIG_LIBIPT
       bool "Library only"

endchoice

choice
	prompt "C library"
	default CONFIG_GLIBC

config CONFIG_GLIBC
       bool "GNU libc"

config CONFIG_UCLIBC
       bool "uClibc"

endchoice

config CONFIG_LIBOPT
       bool "Optimize C library"
       depends on CONFIG_GLIBC || CONFIG_UCLIBC
       default y

endmenu

menu "Options"

config CONFIG_VENDOR
       string "Vendor"
       default "broadcom"
       help
       Answer Y for vendor-specific customization.

config CONFIG_UDHCPD
       bool "DHCP client and server"
       default y

config CONFIG_PPP
       bool "PPPoE client"
       default y

config CONFIG_UPNP
       bool "UPnP IGD server"
       depends on CONFIG_NETCONF && CONFIG_NVRAM && CONFIG_SHARED
       default y

config CONFIG_NAS
       bool "802.1X/WPA network authenticator"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y

config CONFIG_SES
       bool "Secure Easy Setup configurator"
       depends on CONFIG_NVRAM && CONFIG_SHARED && CONFIG_LIBBCM
       default y

config CONFIG_NTP
       bool "NTP client"
       default y

config CONFIG_DNSMASQ
       bool "DNS forwarder"
       default y

config CONFIG_UTILS
       bool "Broadcom driver utilities"
       default y

config CONFIG_TCP_WRAPPER
       bool "TCP wrapper library"
       default y

config CONFIG_PORTMAP
       bool "Portmapper"
       default y

config CONFIG_NFS
       bool "NFS server"
       default y

config CONFIG_POPT
       bool "Popt"
       default y

config CONFIG_RAID
       bool "RAID tools"
       default y

config CONFIG_SAMBA
       bool "SAMBA server"
       default y 

config CONFIG_BUILDINFO
       bool "Build information"
       default y

config CONFIG_SMART
       bool "SMART Drive Diagnostics"
       default y

config CONFIG_IPROUTE2
       bool "tc utility"
       default n

config CONFIG_MISCIOCLI
       bool "Misc IO CLI for debugging"
       default y

config CONFIG_USER_GROUP
       bool "User and group information maintenance"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y

config CONFIG_BCMWPA2
       bool "WPA2 Config"
       default y

config CONFIG_ARCHIVE
       bool "Routines for saving and restoring data"
       depends on CONFIG_NVRAM && CONFIG_SHARED
       default y

config CONFIG_REISERFSPROGS
       bool "ReiserFS utilities"
       default y

config CONFIG_SMTPCLIENT
       bool "smtp client program"
       default y

config CONFIG_HDPARM
       bool "hdparm utility"
       default y

config CONFIG_PRINTSERVER
       bool "print server"
       default y

config CONFIG_SECSRL
       bool "Security library"
       default y

config CONFIG_WIPEDISKS
       bool "wipedisks utility"
       default y

config CONFIG_ATTR
       bool "extended attributes libraries"
       default y

config CONFIG_ACL
       bool "Access Control List Utils"
       default y

config CONFIG_GMP
       bool "GNU Multiple Precision library"
       default y
       
config CONFIG_SEUTIL
       bool "Streaming encryption utilities"
       default y

config CONFIG_USER_NOTE
       bool "User Notification Utility"
       default y

config CONFIG_SENSORD
       bool "Temperature sensor and fan control daemon"
       default y

config CONFIG_UTELNETD
       bool "Micro Telnet Daemon"
       default n

config CONFIG_WEBHOOKS
       bool "Web Hooks Library"
       default y

config CONFIG_COREWEBHOOKS
       bool "Core Web Hooks Library"
       default y

config CONFIG_NETWEBHOOKS
       bool "Networking Web Hooks Library"
       default y

config CONFIG_DISKWEBHOOKS
       bool "Disk Management Web Hooks Library"
       default y

config CONFIG_WINNET
       bool "CIFS Domain/Workgroup Management Library"
       default y

config CONFIG_PRINTWEBHOOKS
       bool "Print Server Web Hooks Library"
       default y

config CONFIG_MKDOSFS
       bool "FAT File System Creation Utility"
       default y

config CONFIG_MTOOLS
       bool "Utilities to Access FAT File Systems Without Mounting Them"
       default n

config CONFIG_DOSFSTOOLS
       bool "FAT File Systems Utilities"
       default y

config CONFIG_PIVOT_ROOT
       bool "Pivot Root support/image"
       default n

config CONFIG_RESPART
       bool "Reserved Disk Partition Creation Utility"
       default y

config CONFIG_DISKTESTWAIT
       bool "Utility to Wait for Disk Tests to Finish, then Report Status"
       default y

config CONFIG_DISCONNECT_DISK
       bool "Utility to Safely Disconnect a Disk"
       default y

config CONFIG_SAMPLEHOOKS
       bool "Sample Web Hooks"
       default n

config CONFIG_NETVARPLUGIN
       bool "Network Variables Registration"
       default y

config CONFIG_SAMPLENETREGISTRATION
       bool "Sample Network Registration"
       default n

config CONFIG_MFGTEST_ROOT
       bool "Manufacturing Test Root support/image"
       default n

config CONFIG_RUNWEBHOOKS
       bool "Web Hook Command-Line Interface"
       default y

config CONFIG_SOFT_POWER_WAITER
       bool "Utility to Wait for Soft Power Button Press"
       default y

config CONFIG_TRANSLATION
       bool "Language Translation Support Library"
       default y

config CONFIG_TRANSLATION_DATABASE
       bool "Language Translation Database"
       default y

config CONFIG_TIMEZONES
       bool "Timezone Database"
       default y

config CONFIG_UPNPAV
       bool "Broadcom's UPnP AV Server"
       default y

config CONFIG_UPNPAV_INSTALL
       bool "Installation of Broadcom's UPnP AV Server"
       default n

config CONFIG_VSFTPD
       bool "Very Secure FTPD server"
       default n

config CONFIG_VARIABLE_INFO
       bool "Variable Information Framework Library"
       default y

config CONFIG_CORE_VARIABLE_INFO
       bool "Library of Core Variable Information"
       default y

config CONFIG_CUSTOM_VARIABLE_INFO
       bool "Library of Custom Variable Information"
       default y

config CONFIG_CHECK_NVRAM_VARIABLES
       bool "Utility to Check NVRAM Variable Values"
       default y

config CONFIG_CHECK_IMAGE_VARIABLES
       bool "Utility to Check Image Variable Values"
       default y

config CONFIG_CHECK_SHARE_VARIABLES
       bool "Utility to Check Share Variable Values"
       default y

config CONFIG_MAKECASETABLES
       bool "Utility to Build Samba Character Case Tables"
       default y

config CONFIG_FREESWAN_VPN
       bool "Freeswan VPN"
       default n 

endmenu

menu "Additional C libraries"

config CONFIG_LIBCRYPT
       bool "libcrypt"
       default y
       help
       libcrypt is the cryptography library.

config CONFIG_LIBDL
       bool "libdl"
       default n
       help
       libdl is the dynamic linking interface library.

config CONFIG_LIBM
       bool "libm"
       default n
       help
       libm is the mathematical library.

config CONFIG_LIBNSL
       bool "libnsl"
       default y
       help
       libnsl is the network services library.

config CONFIG_LIBPTHREAD
       bool "libpthread"
       default y
       help
       The POSIX threads library.

config CONFIG_LIBRESOLV
       bool "libresolv"
       default n
       help
       Functions in this library provide for creating, sending, and
       interpreting packets to the Internet domain name servers.

config CONFIG_LIBDNS
       bool "libdns"
       default n
       help
       Contains code to use dns for host name resolution (if enabled via
       proper settings in /etc/nsswitch.conf file)

config CONFIG_LIBNSS_FILES
       bool "libnss_files"
       default n
       help
       Contains code to use local file (/etc/hosts) for host name resolution

config CONFIG_LIBUTIL
       bool "libutil"
       default n
       help
       Contains code for "standard" functions used in many different
       Unix utilities.

endmenu

menu "Environment"

config PLATFORM
       string "Target architecture"
       default "mipsel"
       help
       Specify the target architecture.

config LINUXDIR
       string "Target Linux kernel"
       default "$(SRCBASE)/linux/linux"
       help
       Specify the location of the target Linux kernel directory.

config LIBDIR
       string "Target /lib"
       default "$(TOOLCHAIN)/lib"
       help
       Specify the location of the target /lib directory.

config USRLIBDIR
       string "Target /usr/lib"
       default "$(TOOLCHAIN)/usr/lib"
       help
       Specify the location of the target /usr/lib directory.

endmenu

menu "Maxtor Specific"

config CONFIG_MXOHNSINIT
       bool "Maxtor HNS startup script"
       default y
       help
       Use mxohnsinit.sh startup script.

menu "Maxtor WebHooks"

config CONFIG_MXOHNSUIHOOKS_DISKHOOKS
       bool "Maxtor HNS webhooks for disk"
       default y

config CONFIG_MXOHNSUIHOOKS_ADVANCEDHOOKS
       bool "Advanced Hook (set nvram, unset nvram...)"
       default y


config CONFIG_MXOHNSUIHOOKS_LANGHOOKS
       bool "Maxtor multi-language support webhooks"
       default y

config CONFIG_MXOHNSUIHOOKS_RMSSHOOKS
       bool "Maxtor remote access MSS support webhooks"
       default n

endmenu
       
menu "Maxtor Utilities"

config CONFIG_MXOHNSUTILITIES_RDV
       bool "Rendez-vous"
       default y
       help

config CONFIG_MXOHNSUTILITIES_GDBM
       bool "Berkely DB Binaries and Library"
       depends on CONFIG_NETCONF && CONFIG_NVRAM && CONFIG_SHARED
       default y
       help
       This is a utility library that provides GDBM API support.

config CONFIG_MXOHNSUTILITIES_LIBID3TAG
		bool "ID3 Tag Binaries and Library"
		depends on CONFIG_NETCONF && CONFIG_NVRAM && CONFIG_SHARED
		default y
		help
		This is a utility library that provides ID 3 Tag API support.

config CONFIG_MXOHNSUTILITIES_ZLIB
		bool "Compression Binaries and Library"
		depends on CONFIG_NETCONF && CONFIG_NVRAM && CONFIG_SHARED
		default y
		help
		This is a utility library that provides compression API support.

config CONFIG_MXOHNSUTILITIES_DAAPD
		bool "DAAP daemon binary"
		depends on CONFIG_MXOHNSUTILITIES_GDBM && CONFIG_MXOHNSUTILITIES_LIBID3TAG && CONFIG_MXOHNSUTILITIES_ZLIB
		default y
		help
		This is a daemon that provides DAAP support.


endmenu
endmenu

