summaryrefslogtreecommitdiff
path: root/package/freeradius-client
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-01 19:32:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-01 19:32:18 +0200
commitd1a85ceca38c54caff040cd6e5a4b329a47893d7 (patch)
tree746df118b620ecf8edd018874307c5b183ae4ad6 /package/freeradius-client
parentec275cae0293507fd03a7eeb972780fdbd5d40aa (diff)
cleanup radius packages
- radiusclient-ng is now integrated to freeradius.org as freeradius-client - update freeradius-server, disable eap for now
Diffstat (limited to 'package/freeradius-client')
-rw-r--r--package/freeradius-client/Config.in21
-rw-r--r--package/freeradius-client/Makefile41
2 files changed, 62 insertions, 0 deletions
diff --git a/package/freeradius-client/Config.in b/package/freeradius-client/Config.in
new file mode 100644
index 000000000..79325a755
--- /dev/null
+++ b/package/freeradius-client/Config.in
@@ -0,0 +1,21 @@
+config ADK_COMPILE_FREERADIUS_CLIENT
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBFREERADIUS_CLIENT
+
+config ADK_PACKAGE_FREERADIUS_CLIENT
+ prompt "freeradius-client................. RADIUS client"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBOPENSSL
+ select ADK_PACKAGE_LIBFREERADIUS_CLIENT
+ help
+ http://freeradius.org/freeradius-client/
+
+config ADK_PACKAGE_LIBFREERADIUS_CLIENT
+ prompt "libfreeradius-client.............. RADIUS client library"
+ tristate
+ default n
+ select ADK_COMPILE_FREERADIUS_CLIENT
+ help
+ http://freeradius.org/freeradius-client/
diff --git a/package/freeradius-client/Makefile b/package/freeradius-client/Makefile
new file mode 100644
index 000000000..5cf7d10b0
--- /dev/null
+++ b/package/freeradius-client/Makefile
@@ -0,0 +1,41 @@
+# $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-client
+PKG_VERSION:= 1.1.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= edd4d904e802ff66d35532be1475cfa7
+PKG_DESCR:= RADIUS client
+PKG_SECTION:= net
+PKG_DEPENDS:= libopenssl
+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/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,FREERADIUS_CLIENT,freeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBFREERADIUS_CLIENT,libfreeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= ac_cv_func_uname=no
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_FREERADIUS_CLIENT}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/radiusclient \
+ ${IDIR_FREERADIUS_CLIENT}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/rad{login,status} \
+ ${IDIR_FREERADIUS_CLIENT}/usr/sbin
+ ${CP} ${WRKINST}/etc ${IDIR_FREERADIUS_CLIENT}/
+ ${INSTALL_DIR} ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libfreeradius-client.so* \
+ ${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk