#
# 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_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_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_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_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_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

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 n
       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

