summaryrefslogtreecommitdiff
path: root/package/freeradius-server
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/freeradius-server
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/freeradius-server')
-rw-r--r--package/freeradius-server/Config.in98
-rw-r--r--package/freeradius-server/Makefile116
-rw-r--r--package/freeradius-server/files/freeradius-server.conffiles (renamed from package/freeradius-server/files/freeradius.conffiles)0
-rw-r--r--package/freeradius-server/files/freeradius-server.postinst (renamed from package/freeradius-server/files/freeradius.postinst)0
-rw-r--r--package/freeradius-server/files/radiusd.init2
-rw-r--r--package/freeradius-server/patches/patch-share_dictionary123
-rw-r--r--package/freeradius-server/patches/patch-src_main_event_c21
-rw-r--r--package/freeradius-server/patches/patch-src_main_modules_c11
-rw-r--r--package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in5
9 files changed, 99 insertions, 277 deletions
diff --git a/package/freeradius-server/Config.in b/package/freeradius-server/Config.in
deleted file mode 100644
index d7dc0cb03..000000000
--- a/package/freeradius-server/Config.in
+++ /dev/null
@@ -1,98 +0,0 @@
-config ADK_PACKAGE_FREERADIUS_SERVER
- prompt "freeradius-server................. 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/
-
-config ADK_PACKAGE_FREERADIUS_DEMOCERTS
- prompt "freeradius-democerts.......... Demo certificates to test the server"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_CHAP
- prompt "freeradius-mod-chap........... CHAP module"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_DETAIL
- prompt "freeradius-mod-detail......... Detailed accounting module"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_DIGEST
- prompt "freeradius-mod-digest......... Digest authentication"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_FILES
- prompt "freeradius-mod-files.......... Module using local files for authorization"
- tristate
- default y
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_LDAP
- prompt "freeradius-mod-ldap........... LDAP module"
- tristate
- default n
- select ADK_PACKAGE_LIBOPENLDAP
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_MSCHAP
- prompt "freeradius-mod-mschap......... MS-CHAP and MS-CHAPv2 module"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_PAP
- prompt "freeradius-mod-pap............ PAP module"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_PREPROCESS
- prompt "freeradius-mod-preprocess..... Request pre-processing module"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_REALM
- prompt "freeradius-mod-realm.......... Realms handling module"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_SQL
- prompt "freeradius-mod-sql............ Base SQL module"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
-
-config ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL
- prompt "freeradius-mod-sql-mysql.... MySQL module"
- tristate
- default n
- depends on ADK_CXX
- depends on 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 on ADK_PACKAGE_FREERADIUS_MOD_SQL
- select ADK_PACKAGE_LIBPQ
-
-config ADK_PACKAGE_FREERADIUS_UTILS
- prompt "freeradius-utils.............. Misc. client utilities"
- tristate
- default n
- depends on ADK_PACKAGE_FREERADIUS_SERVER
diff --git a/package/freeradius-server/Makefile b/package/freeradius-server/Makefile
index 895ae527b..b202f44fd 100644
--- a/package/freeradius-server/Makefile
+++ b/package/freeradius-server/Makefile
@@ -4,45 +4,71 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= freeradius-server
-PKG_VERSION:= 2.1.6
+PKG_VERSION:= 2.1.8
PKG_RELEASE:= 1
-PKG_MD5SUM:= 078f7d29b4d2d34f7c992abf772c28a0
+PKG_MD5SUM:= aa2ae711387af144df7c351b28b8789c
PKG_DESCR:= a flexible RADIUS server
PKG_SECTION:= net
+PKG_MULTI:= 1
PKG_DEPENDS:= libltdl libopenssl libpthread
+PKG_BUILDDEP+= libtool openssl
+ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_LDAP),)
+PKG_BUILDDEP+= openldap
+PKG_DEPENDS_LDAP:= libopenldap
+endif
+ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL),)
+PKG_BUILDDEP+= mysql
+PKG_DEPENDS_MYSQL:= libmysqlclient
+endif
+ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_SQL_PGSQL),)
+PKG_BUILDDEP+= postgresql
+PKG_DEPENDS_PGSQL:= libpq
+endif
PKG_URL:= http://www.freeradius.org
-PKG_SITES:= ftp://ftp.freeradius.org/pub/radius/ \
- http://freeradius.portal-to-web.de/ \
- ftp://ftp.uk.freeradius.org/pub/radius/
+PKG_SITES:= ftp://ftp.freeradius.org/pub/radius/
+
+PKG_HOST_DEPENDS:= !cygwin
+
+PKG_DESCR_DEMOCERTS:= Demo certificates to test the server
+PKG_DESCR_CHAP:= CHAP authentication module
+PKG_DESCR_DETAIL:= Detailed accounting module
+PKG_DESCR_DIGEST:= Digest authentication module
+PKG_DESCR_FILES:= Module using local files for authorization
+PKG_DESCR_LDAP:= LDAP module
+PKG_DESCR_MSCHAP:= MS-CHAP and MS-CHAPv2 module
+PKG_DESCR_PAP:= PAP authentication module
+PKG_DESCR_PREPROCESS:= Request pre-processing module
+PKG_DESCR_REALM:= Realms handling module
+PKG_DESCR_SQL:= Base SQL module
+PKG_DESCR_MYSQL:= MySQL module
+PKG_DESCR_PGSQL:= PostgreSQL module
+PKG_DESCR_UTILS:= Misc. client utilities
-PKG_CONFIGURE_OPTIONS:=
+PKG_CONFIGURE_OPTS:=
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"
+PKG_CONFIGURE_LIBS+= -lcrypto -lssl
+PKG_CONFIGURE_OPTS+= --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
+PKG_CONFIGURE_OPTS+= --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
+PKG_CONFIGURE_OPTS+= --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
+PKG_CONFIGURE_OPTS+= --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
+PKG_CONFIGURE_OPTS+= --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
+PKG_CONFIGURE_OPTS+= --without-rlm_sql_postgresql
endif
include ${TOPDIR}/mk/package.mk
@@ -65,20 +91,20 @@ ${2}-install:
endef
$(eval $(call PKG_template,FREERADIUS_SERVER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_DEMOCERTS,freeradius-democerts,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_CHAP,freeradius-mod-chap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_DETAIL,freeradius-mod-detail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_DIGEST,freeradius-mod-digest,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_FILES,freeradius-mod-files,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_LDAP,freeradius-mod-ldap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_MSCHAP,freeradius-mod-mschap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_PAP,freeradius-mod-pap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_PREPROCESS,freeradius-mod-preprocess,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_REALM,freeradius-mod-realm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_SQL,freeradius-mod-sql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_SQL_MYSQL,freeradius-mod-sql-mysql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_MOD_SQL_PGSQL,freeradius-mod-sql-pgsql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FREERADIUS_UTILS,freeradius-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_DEMOCERTS,freeradius-democerts,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_DEMOCERTS},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_CHAP,freeradius-mod-chap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_CHAP},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_DETAIL,freeradius-mod-detail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_DETAIL},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_DIGEST,freeradius-mod-digest,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_DIGEST},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_FILES,freeradius-mod-files,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_FILES},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_LDAP,freeradius-mod-ldap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_LDAP},${PKG_DESCR_LDAP},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_MSCHAP,freeradius-mod-mschap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_MSCHAP},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_PAP,freeradius-mod-pap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_PAP},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_PREPROCESS,freeradius-mod-preprocess,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_PREPROCESS},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_REALM,freeradius-mod-realm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_REALM},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_SQL,freeradius-mod-sql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_SQL},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_SQL_MYSQL,freeradius-mod-sql-mysql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_MYSQL},${PKG_DESCR_MYSQL},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_MOD_SQL_PGSQL,freeradius-mod-sql-pgsql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_PGSQL},${PKG_DESCR_PGSQL},${PKG_SECTION}))
+$(eval $(call PKG_template,FREERADIUS_UTILS,freeradius-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_UTILS},${PKG_SECTION}))
$(eval $(call PKG_mod_template,FREERADIUS_MOD_CHAP,rlm_chap,))
$(eval $(call PKG_mod_template,FREERADIUS_MOD_DETAIL,rlm_detail,))
@@ -93,16 +119,15 @@ $(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_ENV+= ac_cv_lib_nsl_inet_ntoa=no
-CONFIGURE_ARGS+= ${PKG_CONFIGURE_OPTIONS} \
+CONFIGURE_ARGS+= ${PKG_CONFIGURE_OPTS} \
--with-openssl-includes=${STAGING_DIR}/usr/include \
--with-openssl-libraries=${STAGING_DIR}/usr/lib \
+ --with-system-libltld \
--enable-strict-dependencies \
--with-raddbdir=/etc/freeradius \
--without-edir \
--without-snmp \
- --with-experimental-modules \
+ --without-experimental-modules \
--without-rlm_attr-rewrite \
--without-rlm_checkval \
--without-rlm_counter \
@@ -137,16 +162,16 @@ CONFIGURE_ARGS+= ${PKG_CONFIGURE_OPTIONS} \
--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_SERVER}/etc/freeradius
${CP} ./files/users ${IDIR_FREERADIUS_SERVER}/etc/freeradius/
- ${INSTALL_DATA} ./files/radiusd.conf ${IDIR_FREERADIUS_SERVER}/etc/freeradius
- ${INSTALL_DATA} ./files/clients.conf ${IDIR_FREERADIUS_SERVER}/etc/freeradius
+ ${INSTALL_DATA} ./files/radiusd.conf \
+ ${IDIR_FREERADIUS_SERVER}/etc/freeradius
+ ${INSTALL_DATA} ./files/clients.conf \
+ ${IDIR_FREERADIUS_SERVER}/etc/freeradius
for f in dictionary; do \
${CP} ${WRKINST}/etc/freeradius/$${f} \
${IDIR_FREERADIUS_SERVER}/etc/freeradius/ ; \
@@ -172,6 +197,7 @@ post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
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
- ${INSTALL_BIN} ${WRKINST}/usr/bin/radclient ${IDIR_FREERADIUS_UTILS}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/radclient \
+ ${IDIR_FREERADIUS_UTILS}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/freeradius-server/files/freeradius.conffiles b/package/freeradius-server/files/freeradius-server.conffiles
index 56552e6c1..56552e6c1 100644
--- a/package/freeradius-server/files/freeradius.conffiles
+++ b/package/freeradius-server/files/freeradius-server.conffiles
diff --git a/package/freeradius-server/files/freeradius.postinst b/package/freeradius-server/files/freeradius-server.postinst
index c65fa195f..c65fa195f 100644
--- a/package/freeradius-server/files/freeradius.postinst
+++ b/package/freeradius-server/files/freeradius-server.postinst
diff --git a/package/freeradius-server/files/radiusd.init b/package/freeradius-server/files/radiusd.init
index 818f803ff..e43c5f94e 100644
--- a/package/freeradius-server/files/radiusd.init
+++ b/package/freeradius-server/files/radiusd.init
@@ -14,7 +14,7 @@ start)
radiusd
;;
stop)
- killall radiusd
+ pkill radiusd
;;
restart)
sh $0 stop
diff --git a/package/freeradius-server/patches/patch-share_dictionary b/package/freeradius-server/patches/patch-share_dictionary
deleted file mode 100644
index 6027a7810..000000000
--- a/package/freeradius-server/patches/patch-share_dictionary
+++ /dev/null
@@ -1,123 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- freeradius-server-2.1.6.orig/share/dictionary 2009-05-18 13:13:55.000000000 +0200
-+++ freeradius-server-2.1.6/share/dictionary 2009-06-01 16:15:56.702126337 +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.
-@@ -82,110 +82,12 @@ $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
- #
- # 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.dhcp
--$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.infonet
--$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
--#
--# 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
-
- #
- # And finally the server internal attributes.
diff --git a/package/freeradius-server/patches/patch-src_main_event_c b/package/freeradius-server/patches/patch-src_main_event_c
index 99184d09a..1750f53d5 100644
--- a/package/freeradius-server/patches/patch-src_main_event_c
+++ b/package/freeradius-server/patches/patch-src_main_event_c
@@ -1,14 +1,21 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- freeradius-server-2.1.6.orig/src/main/event.c 2009-05-18 13:13:55.000000000 +0200
-+++ freeradius-server-2.1.6/src/main/event.c 2009-06-01 17:06:44.356592479 +0200
-@@ -1667,8 +1667,9 @@ static int originated_coa_request(REQUES
+--- freeradius-server-2.1.8.orig/src/main/event.c 2009-12-30 16:44:35.000000000 +0100
++++ freeradius-server-2.1.8/src/main/event.c 2010-02-05 19:43:55.803074411 +0100
+@@ -1177,7 +1177,7 @@ static void wait_a_bit(void *ctx)
+ }
+
+ stop_processing:
+-#if defined(HAVE_PTHREAD_H) || defined(WITH_PROXY)
++#if defined(HAVE_PTHREAD_H)
+ /*
+ * A child thread MAY still be running on the
+ * request. Ask the thread to stop working on
+@@ -1646,7 +1646,9 @@ static int originated_coa_request(REQUES
*/
request->num_proxied_requests = 1;
request->num_proxied_responses = 0;
-+#if defined(HAVE_PTHREAD_H)
++#ifdef 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;
diff --git a/package/freeradius-server/patches/patch-src_main_modules_c b/package/freeradius-server/patches/patch-src_main_modules_c
new file mode 100644
index 000000000..c72807f5c
--- /dev/null
+++ b/package/freeradius-server/patches/patch-src_main_modules_c
@@ -0,0 +1,11 @@
+--- freeradius-server-2.1.8.orig/src/main/modules.c 2009-12-30 16:44:35.000000000 +0100
++++ freeradius-server-2.1.8/src/main/modules.c 2010-02-05 20:05:22.174324929 +0100
+@@ -22,6 +22,8 @@
+ * Copyright 2000 Alan Curry <pacman@world.std.com>
+ */
+
++#define lt__PROGRAM__LTX_preloaded_symbols lt_libltdl_LTX_preloaded_symbols
++
+ #include <freeradius-devel/ident.h>
+ RCSID("$Id$")
+
diff --git a/package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in b/package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in
index 13cbb8215..da95c44c1 100644
--- a/package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in
+++ b/package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in
@@ -1,6 +1,5 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- freeradius-server-2.1.6.orig/src/modules/rlm_eap/Makefile.in 2009-05-18 13:13:55.000000000 +0200
-+++ freeradius-server-2.1.6/src/modules/rlm_eap/Makefile.in 2009-06-01 17:23:33.047631797 +0200
+--- freeradius-server-2.1.8.orig/src/modules/rlm_eap/Makefile.in 2009-12-30 16:44:35.000000000 +0100
++++ freeradius-server-2.1.8/src/modules/rlm_eap/Makefile.in 2010-02-05 20:33:01.401922559 +0100
@@ -37,7 +37,7 @@ radeapclient.lo: radeapclient.c $(HEADER
install-subdirs: