summaryrefslogtreecommitdiff
path: root/package/freeradius
diff options
context:
space:
mode:
Diffstat (limited to 'package/freeradius')
-rw-r--r--package/freeradius/Config.in153
-rw-r--r--package/freeradius/Makefile195
-rw-r--r--package/freeradius/files/clients.conf7
-rw-r--r--package/freeradius/files/radiusd.conf73
-rw-r--r--package/freeradius/files/radiusd.init27
-rw-r--r--package/freeradius/files/users1
-rw-r--r--package/freeradius/ipkg/freeradius-democerts.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-chap.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-detail.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-digest.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap-gtc.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap-md5.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap-mschapv2.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap-peap.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap-tls.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap-ttls.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap.conffiles1
-rw-r--r--package/freeradius/ipkg/freeradius-mod-eap.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-files.conffiles3
-rw-r--r--package/freeradius/ipkg/freeradius-mod-files.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-ldap.conffiles1
-rw-r--r--package/freeradius/ipkg/freeradius-mod-ldap.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-mschap.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-pap.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-preprocess.conffiles2
-rw-r--r--package/freeradius/ipkg/freeradius-mod-preprocess.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-realm.conffiles1
-rw-r--r--package/freeradius/ipkg/freeradius-mod-realm.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-sql-mysql.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-sql-pgsql.control5
-rw-r--r--package/freeradius/ipkg/freeradius-mod-sql.conffiles1
-rw-r--r--package/freeradius/ipkg/freeradius-mod-sql.control5
-rw-r--r--package/freeradius/ipkg/freeradius-utils.control5
-rw-r--r--package/freeradius/ipkg/freeradius.conffiles2
-rw-r--r--package/freeradius/ipkg/freeradius.control5
-rw-r--r--package/freeradius/ipkg/freeradius.postinst6
-rw-r--r--package/freeradius/patches/patch-share_dictionary210
-rw-r--r--package/freeradius/patches/patch-src_main_event_c14
38 files changed, 807 insertions, 0 deletions
diff --git a/package/freeradius/Config.in b/package/freeradius/Config.in
new file mode 100644
index 000000000..a7a2fa7c1
--- /dev/null
+++ b/package/freeradius/Config.in
@@ -0,0 +1,153 @@
+#menu "freeradius........................ A Flexible RADIUS server implementation"
+
+config ADK_PACKAGE_FREERADIUS
+ prompt "freeradius........................ Flexible RADIUS server"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBLTDL
+ select ADK_PACKAGE_LIBOPENSSL
+ select ADK_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 ADK_PACKAGE_FREERADIUS_DEMOCERTS
+ prompt " freeradius-democerts.......... Demo certificates to test the server"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_CHAP
+ prompt " freeradius-mod-chap........... CHAP module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_DETAIL
+ prompt " freeradius-mod-detail......... Detailed accounting module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_DIGEST
+ prompt " freeradius-mod-digest......... Digest authentication"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_EAP
+ prompt " freeradius-mod-eap............ Base EAP module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_EAP_GTC
+ prompt " freeradius-mod-eap-gtc...... EAP/GTC module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS_MOD_EAP
+
+config ADK_PACKAGE_FREERADIUS_MOD_EAP_MD5
+ prompt " freeradius-mod-eap-md5...... EAP/MD5 module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS_MOD_EAP
+
+config ADK_PACKAGE_FREERADIUS_MOD_EAP_MSCHAPV2
+ prompt " freeradius-mod-eap-mschapv2. EAP/MS-CHAPv2 module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS_MOD_EAP
+
+config ADK_PACKAGE_FREERADIUS_MOD_EAP_PEAP
+ prompt " freeradius-mod-eap-peap..... EAP/PEAP module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS_MOD_EAP
+
+config ADK_PACKAGE_FREERADIUS_MOD_EAP_TLS
+ prompt " freeradius-mod-eap-tls...... EAP/TLS module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS_MOD_EAP
+
+config ADK_PACKAGE_FREERADIUS_MOD_EAP_TTLS
+ prompt " freeradius-mod-eap-ttls... EAP/TTLS module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS_MOD_EAP_TLS
+
+config ADK_PACKAGE_FREERADIUS_MOD_FILES
+ prompt " freeradius-mod-files.......... Module using local files for authorization"
+ tristate
+ default y
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_LDAP
+ prompt " freeradius-mod-ldap........... LDAP module"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBOPENLDAP
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_MSCHAP
+ prompt " freeradius-mod-mschap......... MS-CHAP and MS-CHAPv2 module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_PAP
+ prompt " freeradius-mod-pap............ PAP module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_PREPROCESS
+ prompt " freeradius-mod-preprocess..... Request pre-processing module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_REALM
+ prompt " freeradius-mod-realm.......... Realms handling module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_SQL
+ prompt " freeradius-mod-sql............ Base SQL module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+config ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL
+ prompt " freeradius-mod-sql-mysql.... MySQL module"
+ tristate
+ default n
+ depends on ADK_CXX
+ depends ADK_PACKAGE_FREERADIUS_MOD_SQL
+ select ADK_PACKAGE_LIBMYSQLCLIENT
+
+config ADK_PACKAGE_FREERADIUS_MOD_SQL_PGSQL
+ prompt " freeradius-mod-sql-pgsql.... PostgreSQL module"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS_MOD_SQL
+ select ADK_PACKAGE_LIBPQ
+
+config ADK_PACKAGE_FREERADIUS_UTILS
+ prompt " freeradius-utils.............. Misc. client utilities"
+ tristate
+ default n
+ depends ADK_PACKAGE_FREERADIUS
+
+#endmenu
diff --git a/package/freeradius/Makefile b/package/freeradius/Makefile
new file mode 100644
index 000000000..fa9d232cf
--- /dev/null
+++ b/package/freeradius/Makefile
@@ -0,0 +1,195 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= freeradius
+PKG_VERSION:= 2.1.4
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 07837a2e78028a0fcf5fc3bb5ca292e9
+MASTER_SITES:= ftp://ftp.freeradius.org/pub/radius/ \
+ http://freeradius.portal-to-web.de/ \
+ ftp://ftp.uk.freeradius.org/pub/radius/
+
+DISTFILES:= ${PKG_NAME}-server-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-server-${PKG_VERSION}
+
+PKG_CONFIGURE_OPTIONS:=
+
+# disabled, problems exist when libldap is installed on hostsystem
+ifneq (${ADK_PACKAGE_FREERADIUS_MOD_LDAP},)
+PKG_CONFIGURE_LIBS+= -lcrypto -lssl
+PKG_CONFIGURE_OPTIONS+= \
+ --with-rlm_ldap-include-dir="${STAGING_DIR}/usr/include" \
+ --with-rlm_ldap-lib-dir="${STAGING_DIR}/usr/lib"
+else
+PKG_CONFIGURE_OPTIONS+= --without-rlm_ldap
+endif
+
+ifneq (${ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL},)
+PKG_CONFIGURE_LIBS+= -lz
+PKG_CONFIGURE_OPTIONS+= \
+ --with-mysql-include-dir="${STAGING_DIR}/usr/include" \
+ --with-mysql-lib-dir="${STAGING_DIR}/usr/lib/mysql" \
+ --without-threads \
+ --with-rlm_sql
+else
+PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_mysql
+endif
+ifneq (${ADK_PACKAGE_FREERADIUS_MOD_SQL_PGSQL},)
+PKG_CONFIGURE_OPTIONS+= \
+ --with-rlm_sql_postgresql-include-dir="${STAGING_DIR}/usr/include" \
+ --with-rlm_sql_postgresql-lib-dir="${STAGING_DIR}/usr/lib" \
+ --with-rlm_sql
+else
+PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_postgresql
+endif
+
+include ${TOPDIR}/mk/package.mk
+
+define PKG_mod_template
+
+INSTALL_MODS_$${ADK_PACKAGE_${1}}+= ${2}-install
+
+${2}-install:
+ ${INSTALL_DIR} $${IDIR_${1}}/usr/lib/freeradius
+ for m in ${2}; do \
+ ${CP} ${WRKINST}/usr/lib/freeradius/$$$${m}{,-*}.so \
+ $${IDIR_${1}}/usr/lib/freeradius/ ; \
+ done
+ ${INSTALL_DIR} $${IDIR_${1}}/etc/freeradius
+ for f in ${3}; do \
+ ${CP} ${WRKINST}/etc/freeradius/$$$${f} \
+ $${IDIR_${1}}/etc/freeradius/ ; \
+ done
+endef
+
+$(eval $(call PKG_template,FREERADIUS,freeradius,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_DEMOCERTS,freeradius-democerts,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_CHAP,freeradius-mod-chap,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_DETAIL,freeradius-mod-detail,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_DIGEST,freeradius-mod-digest,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_EAP,freeradius-mod-eap,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_EAP_GTC,freeradius-mod-eap-gtc,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_EAP_MD5,freeradius-mod-eap-md5,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_EAP_MSCHAPV2,freeradius-mod-eap-mschapv2,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_EAP_PEAP,freeradius-mod-eap-peap,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_EAP_TLS,freeradius-mod-eap-tls,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_EAP_TTLS,freeradius-mod-eap-ttls,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_FILES,freeradius-mod-files,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_LDAP,freeradius-mod-ldap,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_MSCHAP,freeradius-mod-mschap,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_PAP,freeradius-mod-pap,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_PREPROCESS,freeradius-mod-preprocess,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_REALM,freeradius-mod-realm,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_SQL,freeradius-mod-sql,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_SQL_MYSQL,freeradius-mod-sql-mysql,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_MOD_SQL_PGSQL,freeradius-mod-sql-pgsql,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,FREERADIUS_UTILS,freeradius-utils,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_CHAP,rlm_chap,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_DETAIL,rlm_detail,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_DIGEST,rlm_digest,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_EAP,libeap rlm_eap,eap.conf))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_EAP_GTC,rlm_eap_gtc,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_EAP_MD5,rlm_eap_md5,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_EAP_MSCHAPV2,rlm_eap_mschapv2,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_EAP_PEAP,rlm_eap_peap,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_EAP_TLS,rlm_eap_tls,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_EAP_TTLS,rlm_eap_ttls,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_FILES,rlm_files,acct_users preproxy_users users))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_MSCHAP,rlm_mschap,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_LDAP,rlm_ldap,ldap.attrmap))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_PAP,rlm_pap,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_PREPROCESS,rlm_preprocess,hints huntgroups))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_REALM,rlm_realm,proxy.conf))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_SQL,rlm_sql,sql.conf))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_SQL_MYSQL,rlm_sql_mysql,))
+$(eval $(call PKG_mod_template,FREERADIUS_MOD_SQL_PGSQL,rlm_sql_postgresql,))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= ${PKG_CONFIGURE_OPTIONS} \
+ --with-openssl-includes=${STAGING_DIR}/usr/include \
+ --with-openssl-libraries=${STAGING_DIR}/usr/lib \
+ --enable-strict-dependencies \
+ --with-raddbdir=/etc/freeradius \
+ --without-edir \
+ --without-snmp \
+ --with-experimental-modules \
+ --without-rlm_attr-rewrite \
+ --without-rlm_checkval \
+ --without-rlm_counter \
+ --without-rlm_dbm \
+ --without-rlm_eap_sim \
+ --without-rlm_example \
+ --without-rlm_ippool \
+ --without-rlm_krb5 \
+ --without-rlm_otp \
+ --without-rlm_smsotp \
+ --without-rlm_pam \
+ --without-rlm_perl \
+ --without-rlm_python \
+ --without-rlm_radutmp \
+ --without-rlm_smb \
+ --without-rlm_sqlcounter \
+ --without-rlm_sql_db2 \
+ --without-rlm_sql_freetds \
+ --without-rlm_sql_iodbc \
+ --without-rlm_sql_oracle \
+ --without-rlm_sql_sybase \
+ --without-rlm_sql_unixodbc \
+ --without-rlm_sql_log \
+ --without-rlm_unix \
+ --without-rlm_eap_ikev2 \
+ --without-rlm_eap_tnc \
+ --without-rlm_opendirectory \
+ --without-rlm_sql_firebird \
+ --without-rlm_sql_sqlite \
+ --libdir=/usr/lib/freeradius \
+ --libexecdir=/usr/lib/freeradius
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+FAKE_FLAGS+= R="${WRKINST}" \
+ INSTALLSTRIP=""
+
+post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
+ ${INSTALL_DIR} ${IDIR_FREERADIUS}/etc/init.d
+ install -m0755 ./files/radiusd.init \
+ ${IDIR_FREERADIUS}/etc/init.d/radiusd
+ ${INSTALL_DIR} ${IDIR_FREERADIUS}/etc/freeradius
+ ${CP} ./files/users ${IDIR_FREERADIUS}/etc/freeradius/
+ ${INSTALL_DATA} ./files/radiusd.conf ${IDIR_FREERADIUS}/etc/freeradius
+ ${INSTALL_DATA} ./files/clients.conf ${IDIR_FREERADIUS}/etc/freeradius
+ for f in dictionary; do \
+ ${CP} ${WRKINST}/etc/freeradius/$${f} \
+ ${IDIR_FREERADIUS}/etc/freeradius/ ; \
+ done
+ ${INSTALL_DIR} ${IDIR_FREERADIUS}/usr/share/freeradius
+ ${CP} ${WRKINST}/usr/share/freeradius/dictionary \
+ ${IDIR_FREERADIUS}/usr/share/freeradius/
+ for f in freeradius freeradius.internal rfc2865 rfc2866 rfc2867 rfc2868 rfc2869 rfc3162 rfc3576 rfc3580 rfc4072 rfc4372 rfc4675 rfc4679 rfc5176; do \
+ cp ${WRKINST}/usr/share/freeradius/dictionary.$${f} \
+ ${IDIR_FREERADIUS}/usr/share/freeradius/ ; \
+ done
+ ${INSTALL_DIR} ${IDIR_FREERADIUS}/usr/lib/freeradius
+ ${CP} ${WRKINST}/usr/lib/freeradius/libfreeradius-radius{,-*}.so \
+ ${IDIR_FREERADIUS}/usr/lib
+ ${INSTALL_DIR} ${IDIR_FREERADIUS}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/radiusd \
+ ${IDIR_FREERADIUS}/usr/sbin/
+ ${INSTALL_DIR} ${IDIR_FREERADIUS_DEMOCERTS}/etc/freeradius
+ ${CP} ${WRKINST}/etc/freeradius/certs \
+ ${IDIR_FREERADIUS_DEMOCERTS}/etc/freeradius/
+ rm -rf ${IDIR_FREERADIUS_DEMOCERTS}/etc/freeradius/certs/README
+ rm -rf ${IDIR_FREERADIUS_DEMOCERTS}/etc/freeradius/certs/new*
+ rm -rf ${IDIR_FREERADIUS_DEMOCERTS}/etc/freeradius/certs/demoCA/index*
+ rm -rf ${IDIR_FREERADIUS_DEMOCERTS}/etc/freeradius/certs/demoCA/serial*
+ ${INSTALL_DIR} ${IDIR_FREERADIUS_UTILS}/usr/bin
+ for f in radclient; do \
+ ${CP} ${WRKINST}/usr/bin/$${f} \
+ ${IDIR_FREERADIUS_UTILS}/usr/bin/ ; \
+ done
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/freeradius/files/clients.conf b/package/freeradius/files/clients.conf
new file mode 100644
index 000000000..6c136a197
--- /dev/null
+++ b/package/freeradius/files/clients.conf
@@ -0,0 +1,7 @@
+## clients.conf -- client configuration directives
+client localhost {
+ ipaddr = 127.0.0.1
+ secret = testing123
+ require_message_authenticator = no
+ nastype = other # localhost isn't usually a NAS...
+}
diff --git a/package/freeradius/files/radiusd.conf b/package/freeradius/files/radiusd.conf
new file mode 100644
index 000000000..b9a573f69
--- /dev/null
+++ b/package/freeradius/files/radiusd.conf
@@ -0,0 +1,73 @@
+## radiusd.conf -- FreeRADIUS server configuration file.
+name = radiusd
+
+prefix = /usr
+exec_prefix = ${prefix}
+sysconfdir = /etc
+localstatedir = /var
+sbindir = ${exec_prefix}/sbin
+logdir = ${localstatedir}/log/radius
+raddbdir = /etc/freeradius
+radacctdir = ${logdir}/radacct
+# Location of config and logfiles.
+confdir = ${raddbdir}
+run_dir = ${localstatedir}/run
+db_dir = ${raddbdir}
+libdir = /usr/lib/freeradius
+pidfile = ${run_dir}/${name}.pid
+user = radius
+group = radius
+#chroot = /path/to/chroot/directory
+
+max_request_time = 30
+cleanup_delay = 5
+max_requests = 1024
+
+listen {
+ type = auth
+ ipaddr = *
+ port = 1812
+}
+
+listen {
+ type = acct
+ ipaddr = *
+ port = 1813
+}
+
+hostname_lookups = no
+allow_core_dumps = no
+regular_expressions = yes
+extended_expressions = yes
+
+log {
+ destination = syslog
+ syslog_facility = daemon
+ stripped_names = no
+ auth = no
+ auth_badpass = no
+ auth_goodpass = no
+}
+
+checkrad = ${sbindir}/checkrad
+
+security {
+ max_attributes = 200
+ reject_delay = 1
+ status_server = yes
+}
+
+$INCLUDE clients.conf
+
+thread pool {
+ start_servers = 4
+ max_servers = 8
+ min_spare_servers = 3
+ max_spare_servers = 10
+ max_requests_per_server = 0
+}
+modules {
+}
+
+instantiate {
+}
diff --git a/package/freeradius/files/radiusd.init b/package/freeradius/files/radiusd.init
new file mode 100644
index 000000000..4e47678da
--- /dev/null
+++ b/package/freeradius/files/radiusd.init
@@ -0,0 +1,27 @@
+#!/bin/sh
+#FWINIT 75
+. /etc/rc.conf
+
+case $1 in
+autostop) ;;
+autostart)
+ test x"${radiusd:-NO}" = x"NO" && exit 0
+ exec sh $0 start
+ ;;
+start)
+ [ -d /var/log/radius ] || mkdir -p /var/log/radius
+ radiusd
+ ;;
+stop)
+ killall radiusd
+ ;;
+restart)
+ sh $0 stop
+ sh $0 start
+ ;;
+*)
+ echo "Usage: $0 {start | stop | restart}"
+ exit 1
+ ;;
+esac
+exit $?
diff --git a/package/freeradius/files/users b/package/freeradius/files/users
new file mode 100644
index 000000000..df78de04c
--- /dev/null
+++ b/package/freeradius/files/users
@@ -0,0 +1 @@
+steve Auth-Type := Local, User-Password == "testing123"
diff --git a/package/freeradius/ipkg/freeradius-democerts.control b/package/freeradius/ipkg/freeradius-democerts.control
new file mode 100644
index 000000000..c77c62a7a
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-democerts.control
@@ -0,0 +1,5 @@
+Package: freeradius-democerts
+Priority: optional
+Section: net
+Description: a set of certificates to test FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-chap.control b/package/freeradius/ipkg/freeradius-mod-chap.control
new file mode 100644
index 000000000..36f945345
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-chap.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-chap
+Priority: optional
+Section: net
+Description: a CHAP module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-detail.control b/package/freeradius/ipkg/freeradius-mod-detail.control
new file mode 100644
index 000000000..8254c0076
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-detail.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-detail
+Priority: optional
+Section: net
+Description: a detailed accounting module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-digest.control b/package/freeradius/ipkg/freeradius-mod-digest.control
new file mode 100644
index 000000000..aec524320
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-digest.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-digest
+Priority: optional
+Section: net
+Description: digest authentication for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-eap-gtc.control b/package/freeradius/ipkg/freeradius-mod-eap-gtc.control
new file mode 100644
index 000000000..16fd01a4b
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap-gtc.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-eap-gtc
+Priority: optional
+Section: net
+Description: an EAP/GTC module for FreeRADIUS
+Depends: freeradius, freeradius-mod-eap
diff --git a/package/freeradius/ipkg/freeradius-mod-eap-md5.control b/package/freeradius/ipkg/freeradius-mod-eap-md5.control
new file mode 100644
index 000000000..7c060b465
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap-md5.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-eap-md5
+Priority: optional
+Section: net
+Description: an EAP/MD5 module for FreeRADIUS
+Depends: freeradius, freeradius-mod-eap
diff --git a/package/freeradius/ipkg/freeradius-mod-eap-mschapv2.control b/package/freeradius/ipkg/freeradius-mod-eap-mschapv2.control
new file mode 100644
index 000000000..b4e23f483
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap-mschapv2.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-eap-mschapv2
+Priority: optional
+Section: net
+Description: an EAP/MS-CHAPv2 module for FreeRADIUS
+Depends: freeradius, freeradius-mod-eap
diff --git a/package/freeradius/ipkg/freeradius-mod-eap-peap.control b/package/freeradius/ipkg/freeradius-mod-eap-peap.control
new file mode 100644
index 000000000..cfd8aec7e
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap-peap.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-eap-peap
+Priority: optional
+Section: net
+Description: an EAP/PEAP module for FreeRADIUS
+Depends: freeradius, freeradius-mod-eap, freeradius-mod-eap-tls
diff --git a/package/freeradius/ipkg/freeradius-mod-eap-tls.control b/package/freeradius/ipkg/freeradius-mod-eap-tls.control
new file mode 100644
index 000000000..3f09ceb90
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap-tls.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-eap-tls
+Priority: optional
+Section: net
+Description: an EAP/TLS module for FreeRADIUS
+Depends: freeradius, freeradius-mod-eap
diff --git a/package/freeradius/ipkg/freeradius-mod-eap-ttls.control b/package/freeradius/ipkg/freeradius-mod-eap-ttls.control
new file mode 100644
index 000000000..84be74c4e
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap-ttls.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-eap-ttls
+Priority: optional
+Section: net
+Description: an EAP/TTLS module for FreeRADIUS
+Depends: freeradius, freeradius-mod-eap, freeradius-mod-eap-tls
diff --git a/package/freeradius/ipkg/freeradius-mod-eap.conffiles b/package/freeradius/ipkg/freeradius-mod-eap.conffiles
new file mode 100644
index 000000000..7e0e30e73
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/eap.conf
diff --git a/package/freeradius/ipkg/freeradius-mod-eap.control b/package/freeradius/ipkg/freeradius-mod-eap.control
new file mode 100644
index 000000000..f01a045e7
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-eap.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-eap
+Priority: optional
+Section: net
+Description: an EAP module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-files.conffiles b/package/freeradius/ipkg/freeradius-mod-files.conffiles
new file mode 100644
index 000000000..4fcd92bff
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-files.conffiles
@@ -0,0 +1,3 @@
+/etc/freeradius/acct_users
+/etc/freeradius/preproxy_users
+/etc/freeradius/users
diff --git a/package/freeradius/ipkg/freeradius-mod-files.control b/package/freeradius/ipkg/freeradius-mod-files.control
new file mode 100644
index 000000000..5126aa13c
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-files.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-files
+Priority: optional
+Section: net
+Description: a module for FreeRADIUS, using local files for authorization
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-ldap.conffiles b/package/freeradius/ipkg/freeradius-mod-ldap.conffiles
new file mode 100644
index 000000000..ada9fafc1
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-ldap.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/ldap.attrmap
diff --git a/package/freeradius/ipkg/freeradius-mod-ldap.control b/package/freeradius/ipkg/freeradius-mod-ldap.control
new file mode 100644
index 000000000..7649e6ec9
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-ldap.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-ldap
+Priority: optional
+Section: net
+Description: an LDAP module for FreeRADIUS
+Depends: freeradius, libopenldap, libopenssl, libsasl2
diff --git a/package/freeradius/ipkg/freeradius-mod-mschap.control b/package/freeradius/ipkg/freeradius-mod-mschap.control
new file mode 100644
index 000000000..69edfd6f2
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-mschap.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-mschap
+Priority: optional
+Section: net
+Description: an MS-CHAP and MS-CHAPv2 module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-pap.control b/package/freeradius/ipkg/freeradius-mod-pap.control
new file mode 100644
index 000000000..e094b6a7c
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-pap.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-pap
+Priority: optional
+Section: net
+Description: a PAP module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-preprocess.conffiles b/package/freeradius/ipkg/freeradius-mod-preprocess.conffiles
new file mode 100644
index 000000000..b29cca816
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-preprocess.conffiles
@@ -0,0 +1,2 @@
+/etc/freeradius/hints
+/etc/freeradius/huntgroups
diff --git a/package/freeradius/ipkg/freeradius-mod-preprocess.control b/package/freeradius/ipkg/freeradius-mod-preprocess.control
new file mode 100644
index 000000000..7adc171a4
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-preprocess.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-preprocess
+Priority: optional
+Section: net
+Description: a request preprocessing module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-realm.conffiles b/package/freeradius/ipkg/freeradius-mod-realm.conffiles
new file mode 100644
index 000000000..a4d412612
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-realm.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/proxy.conf
diff --git a/package/freeradius/ipkg/freeradius-mod-realm.control b/package/freeradius/ipkg/freeradius-mod-realm.control
new file mode 100644
index 000000000..3f84e3621
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-realm.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-realm
+Priority: optional
+Section: net
+Description: a realm module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-mod-sql-mysql.control b/package/freeradius/ipkg/freeradius-mod-sql-mysql.control
new file mode 100644
index 000000000..532cbd0e6
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-sql-mysql.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-sql-mysql
+Priority: optional
+Section: net
+Description: a MySQL module for FreeRADIUS
+Depends: freeradius, freeradius-mod-sql, libmysqlclient
diff --git a/package/freeradius/ipkg/freeradius-mod-sql-pgsql.control b/package/freeradius/ipkg/freeradius-mod-sql-pgsql.control
new file mode 100644
index 000000000..31e308045
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-sql-pgsql.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-sql-pgsql
+Priority: optional
+Section: net
+Description: a PostgreSQL module for FreeRADIUS
+Depends: freeradius, freeradius-mod-sql, libpq
diff --git a/package/freeradius/ipkg/freeradius-mod-sql.conffiles b/package/freeradius/ipkg/freeradius-mod-sql.conffiles
new file mode 100644
index 000000000..8ab119d07
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-sql.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/sql.conf
diff --git a/package/freeradius/ipkg/freeradius-mod-sql.control b/package/freeradius/ipkg/freeradius-mod-sql.control
new file mode 100644
index 000000000..e4040acb8
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-mod-sql.control
@@ -0,0 +1,5 @@
+Package: freeradius-mod-sql
+Priority: optional
+Section: net
+Description: an SQL module for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius-utils.control b/package/freeradius/ipkg/freeradius-utils.control
new file mode 100644
index 000000000..b29c94dd3
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius-utils.control
@@ -0,0 +1,5 @@
+Package: freeradius-utils
+Priority: optional
+Section: net
+Description: some client utilities for FreeRADIUS
+Depends: freeradius
diff --git a/package/freeradius/ipkg/freeradius.conffiles b/package/freeradius/ipkg/freeradius.conffiles
new file mode 100644
index 000000000..56552e6c1
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius.conffiles
@@ -0,0 +1,2 @@
+/etc/freeradius/clients.conf
+/etc/freeradius/radiusd.conf
diff --git a/package/freeradius/ipkg/freeradius.control b/package/freeradius/ipkg/freeradius.control
new file mode 100644
index 000000000..329d329b1
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius.control
@@ -0,0 +1,5 @@
+Package: freeradius
+Priority: optional
+Section: net
+Description: a flexible RADIUS server
+Depends: libltdl, libopenssl, libpthread
diff --git a/package/freeradius/ipkg/freeradius.postinst b/package/freeradius/ipkg/freeradius.postinst
new file mode 100644
index 000000000..c65fa195f
--- /dev/null
+++ b/package/freeradius/ipkg/freeradius.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf radiusd radiusd NO
+gid=$(get_next_gid)
+add_group radius $gid
+add_user radius $(get_next_uid) $gid /usr/lib/radius
diff --git a/package/freeradius/patches/patch-share_dictionary b/package/freeradius/patches/patch-share_dictionary
new file mode 100644
index 000000000..49b472d43
--- /dev/null
+++ b/package/freeradius/patches/patch-share_dictionary
@@ -0,0 +1,210 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- freeradius-server-2.1.4.orig/share/dictionary 2009-03-11 03:26:50.000000000 +0100
++++ freeradius-server-2.1.4/share/dictionary 2009-04-29 21:42:22.287143645 +0200
+@@ -54,7 +54,7 @@
+ # this directive to the end of this file if you want to see the
+ # old names in the logfiles, INSTEAD OF the new names.
+ #
+-$INCLUDE dictionary.compat
++#$INCLUDE dictionary.compat
+
+ #
+ # Include the RFC dictionaries next.
+@@ -80,109 +80,109 @@ $INCLUDE dictionary.rfc5176
+ #
+ # Include vendor dictionaries after the standard ones.
+ #
+-$INCLUDE dictionary.3com
+-$INCLUDE dictionary.3gpp
+-$INCLUDE dictionary.3gpp2
+-$INCLUDE dictionary.acc
+-$INCLUDE dictionary.airespace
+-$INCLUDE dictionary.alcatel
+-$INCLUDE dictionary.alteon
+-$INCLUDE dictionary.alvarion
+-$INCLUDE dictionary.apc
+-$INCLUDE dictionary.aruba
+-$INCLUDE dictionary.azaire
+-$INCLUDE dictionary.ascend
+-$INCLUDE dictionary.bay
+-$INCLUDE dictionary.bintec
+-$INCLUDE dictionary.cablelabs
+-$INCLUDE dictionary.cabletron
+-$INCLUDE dictionary.cisco
++#$INCLUDE dictionary.3com
++#$INCLUDE dictionary.3gpp
++#$INCLUDE dictionary.3gpp2
++#$INCLUDE dictionary.acc
++#$INCLUDE dictionary.airespace
++#$INCLUDE dictionary.alcatel
++#$INCLUDE dictionary.alteon
++#$INCLUDE dictionary.alvarion
++#$INCLUDE dictionary.apc
++#$INCLUDE dictionary.aruba
++#$INCLUDE dictionary.azaire
++#$INCLUDE dictionary.ascend
++#$INCLUDE dictionary.bay
++#$INCLUDE dictionary.bintec
++#$INCLUDE dictionary.cablelabs
++#$INCLUDE dictionary.cabletron
++#$INCLUDE dictionary.cisco
+ #
+ # The Cisco VPN300 dictionary is the same as the altiga one.
+ # You shouldn't use both at the same time.
+ #
+ #$INCLUDE dictionary.cisco.vpn3000
+-$INCLUDE dictionary.cisco.vpn5000
+-$INCLUDE dictionary.cisco.bbsm
+-$INCLUDE dictionary.clavister
+-$INCLUDE dictionary.colubris
+-$INCLUDE dictionary.cosine
++#$INCLUDE dictionary.cisco.vpn5000
++#$INCLUDE dictionary.cisco.bbsm
++#$INCLUDE dictionary.clavister
++#$INCLUDE dictionary.colubris
++#$INCLUDE dictionary.cosine
+ #$INCLUDE dictionary.dhcp
+-$INCLUDE dictionary.digium
+-$INCLUDE dictionary.epygi
+-$INCLUDE dictionary.erx
+-$INCLUDE dictionary.ericsson
+-$INCLUDE dictionary.extreme
++#$INCLUDE dictionary.digium
++#$INCLUDE dictionary.epygi
++#$INCLUDE dictionary.erx
++#$INCLUDE dictionary.ericsson
++#$INCLUDE dictionary.extreme
+ $INCLUDE dictionary.freeradius
+-$INCLUDE dictionary.freeswitch
+-$INCLUDE dictionary.fortinet
+-$INCLUDE dictionary.foundry
+-$INCLUDE dictionary.gandalf
+-$INCLUDE dictionary.gemtek
+-$INCLUDE dictionary.h3c
+-$INCLUDE dictionary.hp
+-$INCLUDE dictionary.huawei
+-$INCLUDE dictionary.issanni
+-$INCLUDE dictionary.itk
+-$INCLUDE dictionary.ipunplugged
+-$INCLUDE dictionary.juniper
+-$INCLUDE dictionary.jradius
+-$INCLUDE dictionary.karlnet
+-$INCLUDE dictionary.lancom
+-$INCLUDE dictionary.livingston
+-$INCLUDE dictionary.localweb
+-$INCLUDE dictionary.lucent
+-$INCLUDE dictionary.manzara
+-$INCLUDE dictionary.merit
+-$INCLUDE dictionary.microsoft
+-$INCLUDE dictionary.mikrotik
+-$INCLUDE dictionary.navini
+-$INCLUDE dictionary.netscreen
+-$INCLUDE dictionary.networkphysics
+-$INCLUDE dictionary.nexans
+-$INCLUDE dictionary.ntua
+-$INCLUDE dictionary.nokia
++#$INCLUDE dictionary.freeswitch
++#$INCLUDE dictionary.fortinet
++#$INCLUDE dictionary.foundry
++#$INCLUDE dictionary.gandalf
++#$INCLUDE dictionary.gemtek
++#$INCLUDE dictionary.h3c
++#$INCLUDE dictionary.hp
++#$INCLUDE dictionary.huawei
++#$INCLUDE dictionary.issanni
++#$INCLUDE dictionary.itk
++#$INCLUDE dictionary.ipunplugged
++#$INCLUDE dictionary.juniper
++#$INCLUDE dictionary.jradius
++#$INCLUDE dictionary.karlnet
++#$INCLUDE dictionary.lancom
++#$INCLUDE dictionary.livingston
++#$INCLUDE dictionary.localweb
++#$INCLUDE dictionary.lucent
++#$INCLUDE dictionary.manzara
++#$INCLUDE dictionary.merit
++#$INCLUDE dictionary.microsoft
++#$INCLUDE dictionary.mikrotik
++#$INCLUDE dictionary.navini
++#$INCLUDE dictionary.netscreen
++#$INCLUDE dictionary.networkphysics
++#$INCLUDE dictionary.nexans
++#$INCLUDE dictionary.ntua
++#$INCLUDE dictionary.nokia
+ #
+ # Commented out because of attribute conflicts.
+ #
+ #$INCLUDE dictionary.nokia.conflict
+-$INCLUDE dictionary.nomadix
+-$INCLUDE dictionary.nortel
++#$INCLUDE dictionary.nomadix
++#$INCLUDE dictionary.nortel
+ #
+ # Commented out because of attribute conflicts.
+ #
+ #$INCLUDE dictionary.openser
+-$INCLUDE dictionary.packeteer
+-$INCLUDE dictionary.patton
+-$INCLUDE dictionary.propel
+-$INCLUDE dictionary.prosoft
+-$INCLUDE dictionary.quiconnect
+-$INCLUDE dictionary.quintum
+-$INCLUDE dictionary.redback
+-$INCLUDE dictionary.redcreek
+-$INCLUDE dictionary.riverstone
+-$INCLUDE dictionary.roaringpenguin
+-$INCLUDE dictionary.shasta
+-$INCLUDE dictionary.shiva
+-$INCLUDE dictionary.slipstream
+-$INCLUDE dictionary.sonicwall
+-$INCLUDE dictionary.springtide
+-$INCLUDE dictionary.starent
+-$INCLUDE dictionary.telebit
+-$INCLUDE dictionary.trapeze
+-$INCLUDE dictionary.tropos
+-$INCLUDE dictionary.t_systems_nova
+-$INCLUDE dictionary.usr
+-$INCLUDE dictionary.utstarcom
+-$INCLUDE dictionary.valemount
+-$INCLUDE dictionary.versanet
+-$INCLUDE dictionary.vqp
+-$INCLUDE dictionary.waverider
+-$INCLUDE dictionary.walabi
+-$INCLUDE dictionary.wimax
+-$INCLUDE dictionary.wispr
+-$INCLUDE dictionary.xedia
+-$INCLUDE dictionary.xylan
++#$INCLUDE dictionary.packeteer
++#$INCLUDE dictionary.patton
++#$INCLUDE dictionary.propel
++#$INCLUDE dictionary.prosoft
++#$INCLUDE dictionary.quiconnect
++#$INCLUDE dictionary.quintum
++#$INCLUDE dictionary.redback
++#$INCLUDE dictionary.redcreek
++#$INCLUDE dictionary.riverstone
++#$INCLUDE dictionary.roaringpenguin
++#$INCLUDE dictionary.shasta
++#$INCLUDE dictionary.shiva
++#$INCLUDE dictionary.slipstream
++#$INCLUDE dictionary.sonicwall
++#$INCLUDE dictionary.springtide
++#$INCLUDE dictionary.starent
++#$INCLUDE dictionary.telebit
++#$INCLUDE dictionary.trapeze
++#$INCLUDE dictionary.tropos
++#$INCLUDE dictionary.t_systems_nova
++#$INCLUDE dictionary.usr
++#$INCLUDE dictionary.utstarcom
++#$INCLUDE dictionary.valemount
++#$INCLUDE dictionary.versanet
++#$INCLUDE dictionary.vqp
++#$INCLUDE dictionary.waverider
++#$INCLUDE dictionary.walabi
++#$INCLUDE dictionary.wimax
++#$INCLUDE dictionary.wispr
++#$INCLUDE dictionary.xedia
++#$INCLUDE dictionary.xylan
+
+ #
+ # And finally the server internal attributes.
diff --git a/package/freeradius/patches/patch-src_main_event_c b/package/freeradius/patches/patch-src_main_event_c
new file mode 100644
index 000000000..c2067c04e
--- /dev/null
+++ b/package/freeradius/patches/patch-src_main_event_c
@@ -0,0 +1,14 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- freeradius-server-2.1.4.orig/src/main/event.c 2009-03-11 03:26:50.000000000 +0100
++++ freeradius-server-2.1.4/src/main/event.c 2009-05-09 23:47:40.000000000 +0200
+@@ -1628,8 +1628,9 @@ static int originated_coa_request(REQUES
+ */
+ request->num_proxied_requests = 1;
+ request->num_proxied_responses = 0;
++#if defined(HAVE_PTHREAD_H)
+ request->child_pid = NO_SUCH_CHILD_PID;
+-
++#endif
+ update_event_timestamp(request->proxy, request->proxy_when.tv_sec);
+
+ request->child_state = REQUEST_PROXIED;