diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-10-05 13:39:50 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-10-05 13:39:50 +0000 |
commit | c2ccbfa1189f84cf60490d833a47d69266dac82f (patch) | |
tree | 0d2781c2131375a961dd6e1de3380d91b3252cbc /sys-auth/bioapi | |
parent | Stable on sparc wrt #150110 (diff) | |
download | historical-c2ccbfa1189f84cf60490d833a47d69266dac82f.tar.gz historical-c2ccbfa1189f84cf60490d833a47d69266dac82f.tar.bz2 historical-c2ccbfa1189f84cf60490d833a47d69266dac82f.zip |
Initial import. Ebuild by Jochen Maes <jochen.maes@sejo.be> who will be maintaining this package. I will be his proxy maintainer.
Package-Manager: portage-2.1.2_pre1-r4
Diffstat (limited to 'sys-auth/bioapi')
-rw-r--r-- | sys-auth/bioapi/ChangeLog | 12 | ||||
-rw-r--r-- | sys-auth/bioapi/Manifest | 34 | ||||
-rw-r--r-- | sys-auth/bioapi/bioapi-1.2.2.ebuild | 97 | ||||
-rw-r--r-- | sys-auth/bioapi/files/51-bioapi.rules | 2 | ||||
-rw-r--r-- | sys-auth/bioapi/files/bioapi-1.2.2_patch | 58 | ||||
-rw-r--r-- | sys-auth/bioapi/files/digest-bioapi-1.2.2 | 3 | ||||
-rw-r--r-- | sys-auth/bioapi/metadata.xml | 13 |
7 files changed, 219 insertions, 0 deletions
diff --git a/sys-auth/bioapi/ChangeLog b/sys-auth/bioapi/ChangeLog new file mode 100644 index 000000000000..9fb730afa636 --- /dev/null +++ b/sys-auth/bioapi/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for sys-auth/bioapi +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v 1.1 2006/10/05 13:39:49 wolf31o2 Exp $ + +*bioapi-1.2.2 (05 Oct 2006) + + 05 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> + +files/51-bioapi.rules, +files/bioapi-1.2.2_patch, +metadata.xml, + +bioapi-1.2.2.ebuild: + Initial import. Ebuild by Jochen Maes <jochen.maes@sejo.be> who will be + maintaining this package. I will be his proxy maintainer. + diff --git a/sys-auth/bioapi/Manifest b/sys-auth/bioapi/Manifest new file mode 100644 index 000000000000..114416471d02 --- /dev/null +++ b/sys-auth/bioapi/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 51-bioapi.rules 83 RMD160 08b67ae225eb9090a77b73dc49fb485e3b56e67f SHA1 e63106d32ecf065c445c4efad1d7726421eb1916 SHA256 9dca7e01b1206bc126da352ea535f061d9680d3a53e586e46f24b93d0323c1c0 +MD5 7b6e9601f94a99404d910d676d6b809d files/51-bioapi.rules 83 +RMD160 08b67ae225eb9090a77b73dc49fb485e3b56e67f files/51-bioapi.rules 83 +SHA256 9dca7e01b1206bc126da352ea535f061d9680d3a53e586e46f24b93d0323c1c0 files/51-bioapi.rules 83 +AUX bioapi-1.2.2_patch 2524 RMD160 cf51e1d53848665c60118abf45f8055f5034d9f1 SHA1 c4f7c6dedf373641939fa7a98b690dc4b69fb85d SHA256 fd86461eadc64ba5b9f4be75c96161c3876dd7a27f44b11a9ffdf5c5082a357a +MD5 92ee04643b04a700a2fead4b7be6d337 files/bioapi-1.2.2_patch 2524 +RMD160 cf51e1d53848665c60118abf45f8055f5034d9f1 files/bioapi-1.2.2_patch 2524 +SHA256 fd86461eadc64ba5b9f4be75c96161c3876dd7a27f44b11a9ffdf5c5082a357a files/bioapi-1.2.2_patch 2524 +DIST bioapi-1.2.2.tar.bz2 572282 RMD160 2785ca6c8b384cf6fc8013bfc67f033840150e5c SHA1 932425e847449e9612c6894dcbaf44630aecfc13 SHA256 17c3482c2518c5e5e686e6650c22625324cd5279dbe8b8a2297da575095ee224 +EBUILD bioapi-1.2.2.ebuild 2607 RMD160 bf952507225d3f125192e5631fa64638f29b3ce9 SHA1 c3c959a7a6bf5560574a03d8b4102e21d8b27be1 SHA256 63a68cf20512bac41d346670ff144d19a418616a3673e03f575d4df4893830e2 +MD5 a5d1f67716c879636b2b93f667f75a38 bioapi-1.2.2.ebuild 2607 +RMD160 bf952507225d3f125192e5631fa64638f29b3ce9 bioapi-1.2.2.ebuild 2607 +SHA256 63a68cf20512bac41d346670ff144d19a418616a3673e03f575d4df4893830e2 bioapi-1.2.2.ebuild 2607 +MISC ChangeLog 515 RMD160 26328f8dee5b31d7de2a35cf6212ca3a73aac00c SHA1 fea8865f2dafab783ed778aa1daf09fcc1a50726 SHA256 ab8ea540f8d192bc69af8d1640f9c71d1cc5a2389d8953954969f884b8c1a9ec +MD5 68d9ae37a2f8c54baae2ad0d374fbbc5 ChangeLog 515 +RMD160 26328f8dee5b31d7de2a35cf6212ca3a73aac00c ChangeLog 515 +SHA256 ab8ea540f8d192bc69af8d1640f9c71d1cc5a2389d8953954969f884b8c1a9ec ChangeLog 515 +MISC metadata.xml 347 RMD160 b671d869bb51c14c7b956b5731d8e00707c32bef SHA1 d858172cc1c00fd6b7511996c506dbe4562a0468 SHA256 6af5ab66ade55cf27df9db296a1373b014a206158678cf79bc0aacbe80342913 +MD5 e514427ef36697fe1949b5ef910d6a01 metadata.xml 347 +RMD160 b671d869bb51c14c7b956b5731d8e00707c32bef metadata.xml 347 +SHA256 6af5ab66ade55cf27df9db296a1373b014a206158678cf79bc0aacbe80342913 metadata.xml 347 +MD5 5f8730d5f97828ad3aaa31925167e89c files/digest-bioapi-1.2.2 241 +RMD160 0677293ab1252277e8094b48c6e7c647cadf2c5f files/digest-bioapi-1.2.2 241 +SHA256 a790209e19714ae67347601c5c6e6fdb2ecffb67461f3f092d949340408f887b files/digest-bioapi-1.2.2 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFJQsqkT4lNIS36YERAqmqAJ9pTM6cGAVEax9VQbBcVCGsn+AIoACgs6oG +QHjtxeDvUHCu22ec/8eEevQ= +=oEj7 +-----END PGP SIGNATURE----- diff --git a/sys-auth/bioapi/bioapi-1.2.2.ebuild b/sys-auth/bioapi/bioapi-1.2.2.ebuild new file mode 100644 index 000000000000..2144f26ce62b --- /dev/null +++ b/sys-auth/bioapi/bioapi-1.2.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/bioapi-1.2.2.ebuild,v 1.1 2006/10/05 13:39:49 wolf31o2 Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Framework for biometric-based authentication" +HOMEPAGE="http://www.bioapi.org" +SRC_URI="http://www.qrivy.net/~michael/blua/${PN}/${P}.tar.bz2" +LICENSE="bioapi" + +SLOT="0" +KEYWORDS="~x86" +IUSE="qt" + +#DEPEND="" +RDEPEND="${DEPEND} + qt? ( >=x11-libs/qt-3 )" + +src_compile() { + VERGCC=$(gcc-version) + if [ ${VERGCC} == 4.1 ]; then + epatch ${FILESDIR}/bioapi-1.2.2_patch + fi + myconf=" + --host=${CHOST}\ + --prefix=/opt/bioapi \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libdir=/usr/$(get_libdir) \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man" + + if use qt; then + myconf="${myconf} --with-Qt-dir=/usr/qt/3" + else + myconf="${myconf} --without-Qt-dir" + fi + + econf $myconf || die "./configure failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + #and now we have to handle the docs + dodoc README\ + 00_License.htm \ + 01_Readme.htm \ + 09_Manifest.htm \ + 10_Build.htm \ + 11_Install.htm \ + 12_Use.htm \ + 20_Todo.htm \ + 30_History.htm \ + 31_Contributors.htm \ + 32_Contacts.htm \ + Disclaimer + insinto /opt/bioapi/include + doins include/bioapi_util.h include/installdefs.h \ + imports/cdsa/v2_0/inc/cssmtype.h + insinto /etc/env.d + doins ${FILESDIR}/20bioapi + insinto /etc/udev/rules.d + doins ${FILESDIR}/51-bioapi.rules +} + +pkg_postinst() { + einfo "Running Module Directory Services (MDS) ..." + /opt/bioapi/bin/mds_install -s /usr/lib || die " MDS failure" + /opt/bioapi/bin/mod_install -fi /usr/lib/libbioapi100.so || die " mds bioapi100 failed" + /opt/bioapi/bin/mod_install -fi /usr/lib/libbioapi_dummy100.so || die " mds bioapi_dummy100 failed" + /opt/bioapi/bin/mod_install -fi /usr/lib/libpwbsp.so || die " mds pwbsp failed" + + if use qt; then + /opt/bioapi/bin/mod_install -fi /usr/lib/libqtpwbsp.so || die " mds qtpwbsp failed" + fi + + enewgroup bioapi + chgrp bioapi /var/bioapi -R + chmod g+w,o= /var/bioapi -R + einfo "Note: users using bioapi must be in group bioapi." +} + +pkg_prerm() { + einfo "Running Module Directory Services (MDS) ..." + /opt/bioapi/bin/mod_install -fu libbioapi100.so + /opt/bioapi/bin/mod_install -fu libbioapi_dummy100.so + /opt/bioapi/bin/mod_install -fu libpwbsp.so + + if use qt; then + /opt/bioapi/bin/mod_install -fu libqtpwbsp.so + fi + + einfo "You might want to remove the group bioapi." + einfo "You might want to remove /var/bioapi." +} diff --git a/sys-auth/bioapi/files/51-bioapi.rules b/sys-auth/bioapi/files/51-bioapi.rules new file mode 100644 index 000000000000..81319516ba7f --- /dev/null +++ b/sys-auth/bioapi/files/51-bioapi.rules @@ -0,0 +1,2 @@ +#Permissions for the Biometrics +SUBSYSTEM=="usb_device", MODE="0660", GROUP="usb" diff --git a/sys-auth/bioapi/files/bioapi-1.2.2_patch b/sys-auth/bioapi/files/bioapi-1.2.2_patch new file mode 100644 index 000000000000..ee5202f4a138 --- /dev/null +++ b/sys-auth/bioapi/files/bioapi-1.2.2_patch @@ -0,0 +1,58 @@ +diff -Nur bioapi-1.2.2-orig/addins/dl/mds/dal_classes.h bioapi-1.2.2/addins/dl/mds/dal_classes.h +--- bioapi-1.2.2-orig/addins/dl/mds/dal_classes.h 2005-06-10 02:35:44.000000000 +0200 ++++ bioapi-1.2.2/addins/dl/mds/dal_classes.h 2006-06-29 18:15:29.669647000 +0200 +@@ -455,9 +455,9 @@ + DAL_DATABASE_INFO_REF_PTR &prefDatabase,
+ PORT_MUTEX_HANDLE &Mutex);
+
+- CSSM_RETURN DAL_DATABASE_INFO_LIST::GetDBNamesAndParameters(
+- CSSM_DL_DB_HANDLE DLDBHandle,
+- DAL_DB_OPEN_PARAM_PTR pParam);
++ CSSM_RETURN GetDBNamesAndParameters(
++ CSSM_DL_DB_HANDLE DLDBHandle,
++ DAL_DB_OPEN_PARAM_PTR pParam);
+ };
+
+ #endif
+diff -Nur bioapi-1.2.2-orig/apps/Cmds/CdsaRec.cpp bioapi-1.2.2/apps/Cmds/CdsaRec.cpp +--- bioapi-1.2.2-orig/apps/Cmds/CdsaRec.cpp 2005-06-08 02:51:04.000000000 +0200 ++++ bioapi-1.2.2/apps/Cmds/CdsaRec.cpp 2006-06-29 18:14:14.889647000 +0200 +@@ -10,7 +10,7 @@ + #endif + ////////////////////////////////////////////////////////////////////// + +-void QCdsaRecType< CCssmRecInfoType >::SpecifyAttributes() ++template <> void QCdsaRecType< CCssmRecInfoType >::SpecifyAttributes() + { + m_outputAttributeData[CCssmRecInfoType::IDX_MODULEID].Info = s_BioApiAttrInfo_ModuleId; + m_outputAttributeData[CCssmRecInfoType::IDX_MODULENAME].Info = s_BioApiAttrInfo_ModuleName; +@@ -20,7 +20,7 @@ + m_outputAttributeData[CCssmRecInfoType::IDX_DESC].Info = s_BioApiAttrInfo_Description; + } + +-void QCdsaRecType< CEmmRecInfoType >::SpecifyAttributes() ++template <> void QCdsaRecType< CEmmRecInfoType >::SpecifyAttributes() + { + m_outputAttributeData[CEmmRecInfoType::IDX_MODULEID].Info = s_BioApiAttrInfo_ModuleId; + m_outputAttributeData[CEmmRecInfoType::IDX_DEVICEID].Info = s_BioApiAttrInfo_DeviceId; +@@ -47,7 +47,7 @@ + + + +-void QCdsaRecType< CBioAPI_DeviceInfoType >::SpecifyAttributes() ++template <> void QCdsaRecType< CBioAPI_DeviceInfoType >::SpecifyAttributes() + { + m_outputAttributeData[CBioAPI_DeviceInfoType::IDX_MODULE_ID].Info = s_BioApiAttrInfo_ModuleId; + m_outputAttributeData[CBioAPI_DeviceInfoType::IDX_DEVICE_ID].Info = s_BioApiAttrInfo_DeviceId; +diff -Nur bioapi-1.2.2-orig/apps/Cmds/QDirectory.h bioapi-1.2.2/apps/Cmds/QDirectory.h +--- bioapi-1.2.2-orig/apps/Cmds/QDirectory.h 2005-06-13 08:22:00.000000000 +0200 ++++ bioapi-1.2.2/apps/Cmds/QDirectory.h 2006-06-29 18:14:14.889647000 +0200 +@@ -16,7 +16,7 @@ + public: + + QString m_strDirName; +- QMDS *m_pMds; ++ class QMDS *m_pMds; + MDS_DB_HANDLE m_hDb; + + CSSM_RETURN Open( QMDS *pMds, const char *szDirName ); diff --git a/sys-auth/bioapi/files/digest-bioapi-1.2.2 b/sys-auth/bioapi/files/digest-bioapi-1.2.2 new file mode 100644 index 000000000000..8ffd62394ab2 --- /dev/null +++ b/sys-auth/bioapi/files/digest-bioapi-1.2.2 @@ -0,0 +1,3 @@ +MD5 924f723895c339552e501999945b7920 bioapi-1.2.2.tar.bz2 572282 +RMD160 2785ca6c8b384cf6fc8013bfc67f033840150e5c bioapi-1.2.2.tar.bz2 572282 +SHA256 17c3482c2518c5e5e686e6650c22625324cd5279dbe8b8a2297da575095ee224 bioapi-1.2.2.tar.bz2 572282 diff --git a/sys-auth/bioapi/metadata.xml b/sys-auth/bioapi/metadata.xml new file mode 100644 index 000000000000..87871acf04f2 --- /dev/null +++ b/sys-auth/bioapi/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>wolf31o2@gentoo.org</email> + <name>Chris Gianelloni</name> +</maintainer> +<maintainer> + <email>jochen.maes@sejo.be</email> + <name>Jochen Maes</name> +</maintainer> +</pkgmetadata> |