diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/radiusclient-ng |
Initial import
Diffstat (limited to 'package/radiusclient-ng')
-rw-r--r-- | package/radiusclient-ng/Config.in | 27 | ||||
-rw-r--r-- | package/radiusclient-ng/Makefile | 33 | ||||
-rw-r--r-- | package/radiusclient-ng/ipkg/libradiusclient-ng.control | 4 | ||||
-rw-r--r-- | package/radiusclient-ng/ipkg/radiusclient-ng.control | 5 | ||||
-rw-r--r-- | package/radiusclient-ng/patches/01-cross_compile.patch | 13 |
5 files changed, 82 insertions, 0 deletions
diff --git a/package/radiusclient-ng/Config.in b/package/radiusclient-ng/Config.in new file mode 100644 index 000000000..4e37c02da --- /dev/null +++ b/package/radiusclient-ng/Config.in @@ -0,0 +1,27 @@ +config ADK_COMPILE_RADIUSCLIENT_NG + tristate + default n + depends ADK_PACKAGE_LIBRADIUSCLIENT_NG + +config ADK_PACKAGE_RADIUSCLIENT_NG + prompt "radiusclient-ng................... RADIUS client" + tristate + default n + select ADK_PACKAGE_LIBOPENSSL + select ADK_PACKAGE_LIBRADIUSCLIENT_NG + help + Purpose of this project is to build portable, easy-to-use and standard compliant + library suitable for developing free and commercial software that need support + for a RADIUS protocol (RFCs 2128 and 2139). + + http://developer.berlios.de/projects/radiusclient-ng/ + + Depends: libopenssl + +config ADK_PACKAGE_LIBRADIUSCLIENT_NG + prompt "libradiusclient-ng................ RADIUS client library" + tristate + default n + select ADK_COMPILE_RADIUSCLIENT_NG + help + Developpment library from radiusclient-ng diff --git a/package/radiusclient-ng/Makefile b/package/radiusclient-ng/Makefile new file mode 100644 index 000000000..695c41bbc --- /dev/null +++ b/package/radiusclient-ng/Makefile @@ -0,0 +1,33 @@ +# $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:= radiusclient-ng +PKG_VERSION:= 0.5.6 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 6fb7d4d0aefafaee7385831ac46a8e9c +MASTER_SITES:= http://download.berlios.de/radiusclient-ng/ \ + http://download2.berlios.de/radiusclient-ng/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,RADIUSCLIENT_NG,radiusclient-ng,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) +$(eval $(call PKG_template,LIBRADIUSCLIENT_NG,libradiusclient-ng,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE:= gnu +CONFIGURE_ARGS+= ac_cv_func_getdomainname=yes +BUILD_STYLE:= auto +ALL_TARGET:= install-exec install-data +MAKE_FLAGS+= DESTDIR="${WRKINST}" + +do-install: + ${INSTALL_DIR} ${IDIR_RADIUSCLIENT_NG}/usr + ${CP} ${WRKINST}/usr/sbin ${IDIR_RADIUSCLIENT_NG}/usr/ + ${CP} ${WRKINST}/etc ${IDIR_RADIUSCLIENT_NG}/ + ${INSTALL_DIR} ${IDIR_LIBRADIUSCLIENT_NG}/usr + ${CP} ${WRKINST}/usr/lib ${IDIR_LIBRADIUSCLIENT_NG}/usr/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/radiusclient-ng/ipkg/libradiusclient-ng.control b/package/radiusclient-ng/ipkg/libradiusclient-ng.control new file mode 100644 index 000000000..8b8726cd2 --- /dev/null +++ b/package/radiusclient-ng/ipkg/libradiusclient-ng.control @@ -0,0 +1,4 @@ +Package: libradiusclient-ng +Section: libs +Description: RADIUS client library +Priority: optional diff --git a/package/radiusclient-ng/ipkg/radiusclient-ng.control b/package/radiusclient-ng/ipkg/radiusclient-ng.control new file mode 100644 index 000000000..d11a837bd --- /dev/null +++ b/package/radiusclient-ng/ipkg/radiusclient-ng.control @@ -0,0 +1,5 @@ +Package: radiusclient-ng +Section: net +Description: RADIUS client +Priority: optional +Depends: libopenssl diff --git a/package/radiusclient-ng/patches/01-cross_compile.patch b/package/radiusclient-ng/patches/01-cross_compile.patch new file mode 100644 index 000000000..3c4e3d192 --- /dev/null +++ b/package/radiusclient-ng/patches/01-cross_compile.patch @@ -0,0 +1,13 @@ +diff -Nur radiusclient-ng-0.5.5.orig/configure radiusclient-ng-0.5.5/configure +--- radiusclient-ng-0.5.5.orig/configure 2007-02-05 13:53:08.000000000 +0100 ++++ radiusclient-ng-0.5.5/configure 2007-03-05 10:36:37.000000000 +0100 +@@ -23332,8 +23332,7 @@ + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + See \`config.log' for more details." >&5 + echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; } ++See \`config.log' for more details." >&2;} } + else + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ |