#############################################################################

#
#	Kconfig - user applications and library configuration
#

#############################################################################

comment "Base Feature"

config IPV6_SUPPORT
	bool "IPv6 Support"
	help
	  Enable this flag to support IPv6

comment "Got From eagle"

config APP_EAGLE_DHCP_RELAY
	bool "eagle DHCP Relay Agent"
	default n
	help
	  This program forwards DHCP messages between subnets
	  with different sublayer broadcast domains.

config APP_EAGLE_CROWDCONTROL
	bool "eagle Crowd Control"
	help
	  A http filter proxy

config APP_EAGLE_NMBD
	bool "eagle nmbd"
	help
	  A NetBios daemon

config APP_EAGLE_WAKE_ON_LAN_PROXY
	bool "eagle wake on lan proxy"
	help
	  Wake on Lan Proxy

comment "Applications"

config APP_WOLF
	bool "wolf"
	help
	  This package include sw3box and minixml library, it also include New Control Center(ncc).

config APP_AUTH
	bool "auth"
	help
	  A daemon used for Wireless EAP.

config APP_BRCTL
	bool "brctl"
	help
	  Brctl is used to set up, maintain, and inspect the ethernet bridge 
	  configuration in the linux kernel.


config APP_BUSYBOX
	bool "busybox"
	help
	  BusyBox combines tiny versions of many common UNIX utilities into
	  a single small executable.  It provides minimalist replacements
	  for most of the utilities you usually find in fileutils, shellutils,
	  findutils, textutils, grep, gzip, tar, etc.  Simply select those
	  utilities and options you want.

config APP_CTORRENT
	bool "Enhanced Ctorrent"
	help
	  Enhanced Ctorrent is a light-weight BT Client on UNIX like OS.

config APP_DCTS
	bool "dcts"
	help
	  dcts is a controller server for Enhanced Ctorrent

config APP_DHCPPLUS
	bool "dhcp+"
	help
	  dhcp+ is an authentication daemon for CN

choice
  prompt "Select DHCPv6 Package"
  depends on IPV6_SUPPORT

config APP_DHCPV6
	bool "dhcpv6"
	help
	  Dhcp daemon for Ipv6.

config APP_EAGLE_DHCPV6
	bool "eagle dhcpv6"
	help
	  Dhcp daemon for Ipv6, eagle version.
config APP_EAGLE_WIDE_DHCPV6
	bool "eagle wide dhcpv6"
	help
	  Dhcp daemon for Ipv6 from wide opensource project,  eagle version.
endchoice

config APP_DISCOVER
	bool  "discover"
	help
	  Auto Discovery Server

choice 
  prompt "Select DNS PROXY/RELAY Package"

config APP_DNRD
	bool "dnrd"
	help 
	  dns relay for ipv4

config APP_DNSMASQ
	bool "dnsmasq"
	default n
	help
	  dns proxy for IPv4 and IPv6

config APP_EAGLE_DNSMASQ
	bool "eagle dnsmasq"
	help
	  dns proxy for IPv4 and IPv6 eagle version

	config DNSMASQ_DHCP_SUPPORT
		bool "support dhcp server"
		depends on APP_EAGLE_DNSMASQ
		default n
		help
		  dnsmasq support dhcp server
	config DNSMASQ_OPENDNS
		bool "support OpenDNS"
		depends on APP_EAGLE_DNSMASQ
		default n
		help
		  dnsmasq support OpenDNS
endchoice

choice 
  prompt "Select Dynamic DNS Package"

config APP_ORAYDDNS
	bool "oray DDNS"
	help
	  The oray ddns daemon

config APP_UPDATEDD
	bool "updatedd DDNS"
	help
	  An DDNS daemon for serverl DDNS ISP

config APP_EAGLE_NOIP2
	bool "eagle noip2 DDNS"
	help
	  An DDNS daemon from eagle

endchoice

config APP_ORAYDDNS_CAMEO
	bool "oray DDNS (Cameo)"
	help
	  The Oray DDNS daemon

config APP_EAGLE_SNMPD
	bool "eagle snmp daemon"
	help 
	  An snmp daemon from eagle

config APP_DOSFSCK
        bool "dosfsck"
        help
          A tool to check dos file system.

config APP_GOAHEAD
	bool "goahead"
	help
	  A simple HTTPD Daemon. It provides web interface of the Wireless Gateway

config APP_GPROXY
	bool "gproxy"
	help
	  The gproxy daemon

config APP_IAPP
	bool "iapp"
	help
          The IAPP application

choice
  prompt "Select IGMP PROXY Package"

config APP_IGMPPROXY
	bool "igmp proxy"
	help
	  The igmp proxy daemon

config APP_EAGLE_IGMPPROXY
	bool "eagle igmp proxy"
	help
	  The igmp proxy daemon from eagle

        config SUPPORT_PRIVACY_ADDRESS
                bool "support privacy address"
                depends on APP_EAGLE_IGMPPROXY
                default n
                help
                  igmp proxy support privacy address
endchoice

config APP_IPROUTE
	bool "iproute2"
	help
	  The iproute2 daemon

config APP_IPTABLES
	bool "iptables"
	help
	  The iptables daemon

config APP_IWCONTROL
	bool "iwcontrol"
	help
	  The iwcontrol utility.

config APP_L2TPD
	bool "l2tpd"
	help
	  A l2tpd daemon.
choice
  prompt "Select LLTD Package"

config APP_LLTDD
	bool "lltdd"
	help
	  The Link Layer Topology Discovery (LLTD) daemon.

config APP_EAGLE_LLD2D
	bool "eagle_lld2d"
	help
	  The Link Layer Tepology Discovery (LLTD) daemon.

config APP_LLD2D
	bool "lld2d"
	help
	  The Link Layer Tepology Discovery (LLTD) daemon.
endchoice

choice
  prompt "Select UPNP Package"

config APP_MINIIGD
	bool "miniigd"
	help
	  A upnp igd

config APP_MINI_UPNP
	bool "mini_upnp"
	help
	  A Mini-UPNP Daemon and library for miniigd and wsc.

config APP_EAGLE_MINI_UPNP_1_0
	bool "eagle_mini_upnp_1_0"
	help
	  A Mini-UPNP Daemon and library for miniigd and wsc from eagle.

config APP_EAGLE_MINI_UPNP_1_3
	bool "eagle_mini_upnp_1_3"
	help
	  A Mini-UPNP Daemon and library for miniigd and wsc from eagle.

config APP_EAGLE_UPNPD_ATH
	bool "upnpd_ath"
	help
	  UPNPD ath.
endchoice

config APP_MKDOSFS
        bool "mkdosfs"
        help
          A tool to make dos file system.

config APP_MP
        bool "mp daemon"
        help
          A mp daemon.

config APP_NTFS3G
	bool "ntfs3g"
	help
	  NT file system support

choice
  prompt "Select Mail Agent Package"

config	APP_MAILSEND
	bool "mailsend"
	help
	 A simple mail sender via SMTP protocol (RFC-821)

config APP_EAGLE_MSMTP
        bool "eagle MSMTP"
        help
          A send mail tool
endchoice

choice
  prompt "Select NTP Client Package"

config APP_NTPCLIENT
	bool "ntpclient"
	help
	  The ntpclient daemon

config APP_EAGLE_NTPCLIENT
	bool "eagle ntpclient"
	help
	  The ntpclient daemon
endchoice

config APP_OPENSSL
	bool
	help
	  The openssl tool.
	default n

config APP_WAPI
	bool
	depends on APP_OPENSSL
	help
	  The wapi certs related applications.
	default n

config APP_PATHSEL
	bool "pathsel"
	help
	  The mesh path selection paemon

config APP_PPPD
	bool "pppd"
	help
	  A ppp daemon.
 
config APP_PPTP
	bool "pptp"
	help
	  A pptp client.

choice
  prompt "Select radvd Package."
  depends on IPV6_SUPPORT

config APP_RADVD
	bool "radvd"
	help
	  radvd daemon for Ipv6.

config APP_EAGLE_RADVD
	bool "eagle radvd"
	help
	  radvd daemon for Ipv6, eagle version.

endchoice

config APP_RELOAD
	bool "reload"
	help
	  Reload configuration at the end of init.

config APP_ROUTED
	bool "routed"
	help
	   RIP daemon for dynamic routing

config APP_SAMBA
	bool "samba"
	help
	  The samba daemon.

config APP_SCRIPT
	bool "scripts"
	help
	  The scripts used to init the gw and start the daemons

config APP_SQUASHFS40
	bool "squashfs 4.0"
	help
	  squashfs tools to build image 
 
choice
  prompt "Select DHCP Server/Client Package"
 
config APP_UDHCPD
	bool "udhcp" 
	help
	  An embedded DHCP client and server	

config APP_EAGLE_UDHCPD
	bool "eagle_udhcpd"
	help 
	  An embedded DHCP client and server from eagle
	
	config IGNORE_IP_CONTRAST
        	bool "IGNORE IP CONTRAST"
       	 	depends on APP_EAGLE_UDHCPD
		help
         	This is one of the udhcpc recall rc condition when it get IP.
         	Note: If you enabled this option, no matter dhcpc's new IP equal old IP, do rc restart (filter). Otherwise, the static_routing rules would not add to routing table.
	config UDHCPC_STATIC_ROUTE
		bool "UDHCPC STATIC ROUTE"
		depends on APP_EAGLE_UDHCPD
		help
		open the option use for Russia PPTP/L2TP use
	
	config UDHCPD_NETBIOS
		bool "UDHCPC NETBIOS"
		depends on APP_EAGLE_UDHCPD
	
	config UDHCPC_MS_CLASSLESS_STATIC_ROUTE
		bool "UDHCPC MS CLASSLESS STATIC ROUTE"
		depends on APP_EAGLE_UDHCPD

	config UDHCPC_RFC_CLASSLESS_STATIC_ROUTE
		bool "UDHCPC RFC CLASSLESS STATIC ROUTE"
		depends on APP_EAGLE_UDHCPD

endchoice

config APP_USBMOUNT
	bool "usbmount"
	help
	  The usbmount daemon.

config APP_WIRELESSTOOLS
	bool "wireless tools"
	help
	  The wireless tools

config APP_WSC
	bool "wsc daemon"
	select APP_MINI_UPNP
	help
	  The wireless WPS daemon
 
config APP_HOSTAPD
	bool "hostapd"
	help
	  The hostap daemon in vserion 0.6.9
	
config APP_NFBI
	bool "nfbi"
	help
	  User space program for NFBI.
	  
config APP_FW_UPGRADE
	bool "fw-upgrade"
	help
	  cameo fw upgrade 
	  
config APP_PPPOED
	bool "pppoed"
	help
	  pppoe server	  
	  
comment "USB3G support"
config APP_COMGT
	bool "comgt"
	help
	  GSM dialup script.

config APP_CHAT
	bool "chat"
	help
	  PPP chat.

config APP_LIBUSB
 	bool "libusb"
 	help
 	  libusb.

config APP_USBMODESWITCH
	bool "usb-modeswitch"
	help
	  usb-modeswitch.

config APP_MBPK_EJECT
	bool "mbpk_eject"
	help
	  mbpk_eject.

config APP_USBMODESWITCH_DATA
	bool "usb-modeswitch-data"
	help
	  usb-modeswitch-data.

config APP_USBUTILS
	bool "usbutils"
	help
	  usbutils.

config APP_HUBCTRL
	bool "hub-ctrl"
	help
	  hub-ctrl.

config APP_MNET
	bool "mnet"
	help
	  mnet.

config APP_POLL_WPS_DAEMON
	bool "poll_wps_daemon"
	help
	  this daemon use for poll wps param file, base on realtek platform.		  	  

comment "Libraries"

config LIB_PNG
    bool "libpng"
    select LIB_Z
	help
	  A small example library, only for demostration.

config LIB_Z
    bool "zlib"
	help
	  A small example library, only for demostration.

config LIB_NL
    depends on APP_HOSTAPD
    bool "libnl-1.1"
	help
	  library requried by hostapd-0.6.9

config APP_FLEX
	bool "flex library"
	help
	  flex library.

comment "Debug & Test"

config APP_CLE_SHELL
	bool "cle_shell"
	help
	  for debug and IC test.

config APP_UTILS
	bool "utils"
	help
	  A set of useful utilities for debug and IC test.

config APP_IPERF
	bool "iperf"
	help
	  A modern tool for network performance measurement.

config APP_DHRYSTONE
	bool "dhrystone"
	help
	  A small example, only for demostration.

config APP_IOZONE
	bool "iozone"
	help 
	  A filesystem benchmark tool

config APP_LTP
	bool "ltp"
	help 
	  Linux Test Project

config APP_EXAMPLE
	bool "example"
	help
	  A small example, only for demostration.

config APP_RELOAD
	bool "reload"
	help
	  A periodly checking utility

config APP_DLNA_DMS
	bool "dlna_dms"
	help
	 ushare daemon
#############################################################################
