From d1a85ceca38c54caff040cd6e5a4b329a47893d7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 1 Jun 2009 19:32:18 +0200 Subject: cleanup radius packages - radiusclient-ng is now integrated to freeradius.org as freeradius-client - update freeradius-server, disable eap for now --- package/freeradius/Config.in | 153 --------------- package/freeradius/Makefile | 195 ------------------- package/freeradius/files/clients.conf | 7 - .../freeradius/files/freeradius-mod-eap.conffiles | 1 - .../files/freeradius-mod-files.conffiles | 3 - .../freeradius/files/freeradius-mod-ldap.conffiles | 1 - .../files/freeradius-mod-preprocess.conffiles | 2 - .../files/freeradius-mod-realm.conffiles | 1 - .../freeradius/files/freeradius-mod-sql.conffiles | 1 - package/freeradius/files/freeradius.conffiles | 2 - package/freeradius/files/freeradius.postinst | 6 - package/freeradius/files/radiusd.conf | 73 ------- package/freeradius/files/radiusd.init | 28 --- package/freeradius/files/users | 1 - package/freeradius/patches/patch-share_dictionary | 210 --------------------- package/freeradius/patches/patch-src_main_event_c | 14 -- 16 files changed, 698 deletions(-) delete mode 100644 package/freeradius/Config.in delete mode 100644 package/freeradius/Makefile delete mode 100644 package/freeradius/files/clients.conf delete mode 100644 package/freeradius/files/freeradius-mod-eap.conffiles delete mode 100644 package/freeradius/files/freeradius-mod-files.conffiles delete mode 100644 package/freeradius/files/freeradius-mod-ldap.conffiles delete mode 100644 package/freeradius/files/freeradius-mod-preprocess.conffiles delete mode 100644 package/freeradius/files/freeradius-mod-realm.conffiles delete mode 100644 package/freeradius/files/freeradius-mod-sql.conffiles delete mode 100644 package/freeradius/files/freeradius.conffiles delete mode 100644 package/freeradius/files/freeradius.postinst delete mode 100644 package/freeradius/files/radiusd.conf delete mode 100644 package/freeradius/files/radiusd.init delete mode 100644 package/freeradius/files/users delete mode 100644 package/freeradius/patches/patch-share_dictionary delete mode 100644 package/freeradius/patches/patch-src_main_event_c (limited to 'package/freeradius') diff --git a/package/freeradius/Config.in b/package/freeradius/Config.in deleted file mode 100644 index a7a2fa7c1..000000000 --- a/package/freeradius/Config.in +++ /dev/null @@ -1,153 +0,0 @@ -#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 deleted file mode 100644 index f6e4a29ca..000000000 --- a/package/freeradius/Makefile +++ /dev/null @@ -1,195 +0,0 @@ -# $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 -PKG_DESCR:= a flexible RADIUS server -PKG_SECTION:= net -PKG_DEPENDS:= libltdl libopenssl libpthread -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/ - -DISTFILES:= ${PKG_NAME}-server-${PKG_VERSION}.tar.gz -WRKDIST= ${WRKDIR}/${PKG_NAME}-server-${PKG_VERSION} - -PKG_CONFIGURE_OPTIONS:= - -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},${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_EAP,freeradius-mod-eap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,FREERADIUS_MOD_EAP_GTC,freeradius-mod-eap-gtc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,FREERADIUS_MOD_EAP_MD5,freeradius-mod-eap-md5,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,FREERADIUS_MOD_EAP_MSCHAPV2,freeradius-mod-eap-mschapv2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,FREERADIUS_MOD_EAP_PEAP,freeradius-mod-eap-peap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,FREERADIUS_MOD_EAP_TLS,freeradius-mod-eap-tls,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,FREERADIUS_MOD_EAP_TTLS,freeradius-mod-eap-ttls,${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_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/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 deleted file mode 100644 index 6c136a197..000000000 --- a/package/freeradius/files/clients.conf +++ /dev/null @@ -1,7 +0,0 @@ -## 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/freeradius-mod-eap.conffiles b/package/freeradius/files/freeradius-mod-eap.conffiles deleted file mode 100644 index 7e0e30e73..000000000 --- a/package/freeradius/files/freeradius-mod-eap.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/freeradius/eap.conf diff --git a/package/freeradius/files/freeradius-mod-files.conffiles b/package/freeradius/files/freeradius-mod-files.conffiles deleted file mode 100644 index 4fcd92bff..000000000 --- a/package/freeradius/files/freeradius-mod-files.conffiles +++ /dev/null @@ -1,3 +0,0 @@ -/etc/freeradius/acct_users -/etc/freeradius/preproxy_users -/etc/freeradius/users diff --git a/package/freeradius/files/freeradius-mod-ldap.conffiles b/package/freeradius/files/freeradius-mod-ldap.conffiles deleted file mode 100644 index ada9fafc1..000000000 --- a/package/freeradius/files/freeradius-mod-ldap.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/freeradius/ldap.attrmap diff --git a/package/freeradius/files/freeradius-mod-preprocess.conffiles b/package/freeradius/files/freeradius-mod-preprocess.conffiles deleted file mode 100644 index b29cca816..000000000 --- a/package/freeradius/files/freeradius-mod-preprocess.conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/freeradius/hints -/etc/freeradius/huntgroups diff --git a/package/freeradius/files/freeradius-mod-realm.conffiles b/package/freeradius/files/freeradius-mod-realm.conffiles deleted file mode 100644 index a4d412612..000000000 --- a/package/freeradius/files/freeradius-mod-realm.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/freeradius/proxy.conf diff --git a/package/freeradius/files/freeradius-mod-sql.conffiles b/package/freeradius/files/freeradius-mod-sql.conffiles deleted file mode 100644 index 8ab119d07..000000000 --- a/package/freeradius/files/freeradius-mod-sql.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/freeradius/sql.conf diff --git a/package/freeradius/files/freeradius.conffiles b/package/freeradius/files/freeradius.conffiles deleted file mode 100644 index 56552e6c1..000000000 --- a/package/freeradius/files/freeradius.conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/freeradius/clients.conf -/etc/freeradius/radiusd.conf diff --git a/package/freeradius/files/freeradius.postinst b/package/freeradius/files/freeradius.postinst deleted file mode 100644 index c65fa195f..000000000 --- a/package/freeradius/files/freeradius.postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/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/files/radiusd.conf b/package/freeradius/files/radiusd.conf deleted file mode 100644 index b9a573f69..000000000 --- a/package/freeradius/files/radiusd.conf +++ /dev/null @@ -1,73 +0,0 @@ -## 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 deleted file mode 100644 index 818f803ff..000000000 --- a/package/freeradius/files/radiusd.init +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -#PKG freeradius -#INIT 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 deleted file mode 100644 index df78de04c..000000000 --- a/package/freeradius/files/users +++ /dev/null @@ -1 +0,0 @@ -steve Auth-Type := Local, User-Password == "testing123" diff --git a/package/freeradius/patches/patch-share_dictionary b/package/freeradius/patches/patch-share_dictionary deleted file mode 100644 index 49b472d43..000000000 --- a/package/freeradius/patches/patch-share_dictionary +++ /dev/null @@ -1,210 +0,0 @@ -$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 deleted file mode 100644 index c2067c04e..000000000 --- a/package/freeradius/patches/patch-src_main_event_c +++ /dev/null @@ -1,14 +0,0 @@ -$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; -- cgit v1.2.3