diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-24 11:30:20 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-24 11:30:20 +0100 |
commit | 537a2c4eaa446e52c6ba07007eb9ae75998b5580 (patch) | |
tree | b48cc775042b4274dce470527826007de7a7fa84 /package/freeradius-server | |
parent | 18b3987c6d890f02c80b976b6cf6835053ef1fe9 (diff) | |
parent | ce621815fecece2b4d8a4cb7115eb82c1cb7ed44 (diff) |
Merge commit 'origin/confgen'
finally autogenerate menu Config.in files and Depends.mk
for packages. thx mirabilos
Conflicts:
.gitignore
Makefile
mk/build.mk
package/eglibc/Config.in
package/glibc/Config.in
package/uclibc++/Config.in
package/uclibc/Config.in
rules.mk
Diffstat (limited to 'package/freeradius-server')
-rw-r--r-- | package/freeradius-server/Config.in | 97 | ||||
-rw-r--r-- | package/freeradius-server/Makefile | 62 |
2 files changed, 45 insertions, 114 deletions
diff --git a/package/freeradius-server/Config.in b/package/freeradius-server/Config.in deleted file mode 100644 index fe119c0a3..000000000 --- a/package/freeradius-server/Config.in +++ /dev/null @@ -1,97 +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_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 1e5304103..f8f769da5 100644 --- a/package/freeradius-server/Makefile +++ b/package/freeradius-server/Makefile @@ -10,11 +10,39 @@ PKG_MD5SUM:= b1f77c5e3116bcb0ac0aa9080a06ebf1 PKG_DESCR:= a flexible RADIUS server PKG_SECTION:= net 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_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:= ifneq (${ADK_PACKAGE_FREERADIUS_MOD_LDAP},) @@ -65,20 +93,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,7 +121,7 @@ $(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_STYLE:= gnu CONFIGURE_ENV+= ac_cv_lib_nsl_inet_ntoa=no CONFIGURE_ARGS+= ${PKG_CONFIGURE_OPTIONS} \ --with-openssl-includes=${STAGING_DIR}/usr/include \ @@ -137,8 +165,8 @@ CONFIGURE_ARGS+= ${PKG_CONFIGURE_OPTIONS} \ --without-rlm_sql_sqlite \ --libdir=/usr/lib/freeradius \ --libexecdir=/usr/lib/freeradius -BUILD_STYLE= auto -INSTALL_STYLE= auto +BUILD_STYLE:= auto +INSTALL_STYLE:= auto FAKE_FLAGS+= R="${WRKINST}" \ INSTALLSTRIP="" |