menu "freeradius........................ A Flexible RADIUS server implementation"

config BR2_PACKAGE_FREERADIUS
	prompt "freeradius........................ Flexible RADIUS server"
	tristate
	default m if CONFIG_DEVEL
	select BR2_PACKAGE_LIBLTDL
	select BR2_PACKAGE_LIBOPENSSL
	select BR2_PACKAGE_LIBPTHREAD
	help
	  A flexible RADIUS server
	  
	  http://www.freeradius.org/
	  
	  Depends:
	    - libltdl
	    - libopenssl
	    - libpthread
	    - libmysqlclient (for MySQL support)
	    - libopenldap (for LDAP support)
	    - libpq (for PostgreSQL support)

config BR2_PACKAGE_FREERADIUS_DEMOCERTS
	prompt   "freeradius-democerts............ Demo certificates to test the server"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_CHAP
	prompt   "freeradius-mod-chap............. CHAP module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_DETAIL
	prompt   "freeradius-mod-detail........... Detailed accounting module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_EAP
	prompt   "freeradius-mod-eap.............. Base EAP module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_EAP_GTC
	prompt     "freeradius-mod-eap-gtc........ EAP/GTC module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_EAP

config BR2_PACKAGE_FREERADIUS_MOD_EAP_MD5
	prompt     "freeradius-mod-eap-md5........ EAP/MD5 module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_EAP

config BR2_PACKAGE_FREERADIUS_MOD_EAP_MSCHAPV2
	prompt     "freeradius-mod-eap-mschapv2... EAP/MS-CHAPv2 module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_EAP

config BR2_PACKAGE_FREERADIUS_MOD_EAP_PEAP
	prompt     "freeradius-mod-eap-peap....... EAP/PEAP module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_EAP

config BR2_PACKAGE_FREERADIUS_MOD_EAP_TLS
	prompt     "freeradius-mod-eap-tls........ EAP/TLS module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_EAP

config BR2_PACKAGE_FREERADIUS_MOD_EAP_TTLS
	prompt       "freeradius-mod-eap-ttls..... EAP/TTLS module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_EAP_TLS

config BR2_PACKAGE_FREERADIUS_MOD_FILES
	prompt   "freeradius-mod-files............ Module using local files for authorization"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_LDAP
	prompt   "freeradius-mod-ldap............. LDAP module"
	tristate
	default m if CONFIG_DEVEL
	select BR2_PACKAGE_LIBOPENLDAP
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_MSCHAP
	prompt   "freeradius-mod-mschap........... MS-CHAP and MS-CHAPv2 module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_PAP
	prompt   "freeradius-mod-pap.............. PAP module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_PREPROCESS
	prompt   "freeradius-mod-preprocess....... Request pre-processing module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_REALM
	prompt   "freeradius-mod-realm............ Realms handling module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_SQL
	prompt   "freeradius-mod-sql.............. Base SQL module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

config BR2_PACKAGE_FREERADIUS_MOD_SQL_MYSQL
	prompt     "freeradius-mod-sql-mysql...... MySQL module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_SQL
	select BR2_PACKAGE_LIBMYSQLCLIENT

config BR2_PACKAGE_FREERADIUS_MOD_SQL_PGSQL
	prompt     "freeradius-mod-sql-pgsql...... PostgreSQL module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_SQL
	select BR2_PACKAGE_LIBPQ

config BR2_PACKAGE_FREERADIUS_MOD_SQLCOUNTER
	prompt     "freeradius-mod-sqlcounter..... Generic SQL Counter module"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS_MOD_SQL

config BR2_PACKAGE_FREERADIUS_UTILS
	prompt   "freeradius-utils................ Misc. client utilities"
	tristate
	default m if CONFIG_DEVEL
	depends BR2_PACKAGE_FREERADIUS

endmenu
