diff options
Diffstat (limited to 'sys-auth/pam_bioapi')
-rw-r--r-- | sys-auth/pam_bioapi/ChangeLog | 11 | ||||
-rw-r--r-- | sys-auth/pam_bioapi/Manifest | 20 | ||||
-rw-r--r-- | sys-auth/pam_bioapi/files/digest-pam_bioapi-0.2.1 | 3 | ||||
-rw-r--r-- | sys-auth/pam_bioapi/files/pam_bioapi.c-0.2.1.patch | 28 | ||||
-rw-r--r-- | sys-auth/pam_bioapi/metadata.xml | 13 | ||||
-rw-r--r-- | sys-auth/pam_bioapi/pam_bioapi-0.2.1.ebuild | 36 |
6 files changed, 111 insertions, 0 deletions
diff --git a/sys-auth/pam_bioapi/ChangeLog b/sys-auth/pam_bioapi/ChangeLog new file mode 100644 index 000000000000..cba5d380d074 --- /dev/null +++ b/sys-auth/pam_bioapi/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-auth/pam_bioapi +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/ChangeLog,v 1.1 2006/10/05 13:50:35 wolf31o2 Exp $ + +*pam_bioapi-0.2.1 (05 Oct 2006) + + 05 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> + +files/pam_bioapi.c-0.2.1.patch, +metadata.xml, +pam_bioapi-0.2.1.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/pam_bioapi/Manifest b/sys-auth/pam_bioapi/Manifest new file mode 100644 index 000000000000..f905070a9a65 --- /dev/null +++ b/sys-auth/pam_bioapi/Manifest @@ -0,0 +1,20 @@ +AUX pam_bioapi.c-0.2.1.patch 1096 RMD160 a6950030799023ee2663e820714a51ec9190da71 SHA1 619254a5bcd3acb8bf1d72b15ea69bfe00f0f064 SHA256 c0c4fa14637fee2f39a0a923d332249603810f7cbf82c8dcd8d71358f5a65f49 +MD5 b7b3707bf631c2300de8caa73628ced5 files/pam_bioapi.c-0.2.1.patch 1096 +RMD160 a6950030799023ee2663e820714a51ec9190da71 files/pam_bioapi.c-0.2.1.patch 1096 +SHA256 c0c4fa14637fee2f39a0a923d332249603810f7cbf82c8dcd8d71358f5a65f49 files/pam_bioapi.c-0.2.1.patch 1096 +DIST pam_bioapi-0.2.1.tar.bz2 190025 RMD160 8629841e99da13607c3e3f124bb2612af3b166b6 SHA1 a0bdf3436e55f7dc8b4795243f08a4c9b399dec8 SHA256 36b73c41fe455a5eb7c2b5f1de5d2fa147865c8b0e69e7c9cc8c164936ae72c6 +EBUILD pam_bioapi-0.2.1.ebuild 793 RMD160 30c02c098ffef5b190b0cbe107735f22b2c5b18d SHA1 1a57dccef0d06a75a72ae4d3013c4dd361b21a53 SHA256 fcbc73313d5d7d748891cd2116febb55d591e4c7f9d9fc86ddbd056935b6ae1f +MD5 6ef7ba9b4ef445e3ddaad90c3d07d873 pam_bioapi-0.2.1.ebuild 793 +RMD160 30c02c098ffef5b190b0cbe107735f22b2c5b18d pam_bioapi-0.2.1.ebuild 793 +SHA256 fcbc73313d5d7d748891cd2116febb55d591e4c7f9d9fc86ddbd056935b6ae1f pam_bioapi-0.2.1.ebuild 793 +MISC ChangeLog 418 RMD160 ba27a65e83cd3d9c86acafa195eb54b02789e02a SHA1 d0be594e7f37bf91f5acae4384d368f3c5694b2e SHA256 c7ad8072b4eeace754281180f89237a74422d9b598258a667c05c20134593f2e +MD5 c221e3ac0afea0d63776517e7773ebd5 ChangeLog 418 +RMD160 ba27a65e83cd3d9c86acafa195eb54b02789e02a ChangeLog 418 +SHA256 c7ad8072b4eeace754281180f89237a74422d9b598258a667c05c20134593f2e ChangeLog 418 +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 be550ce84692c1ea3538686586842182 files/digest-pam_bioapi-0.2.1 253 +RMD160 f70750ca1ac141a13ea2e7fbc42443b499cbeafc files/digest-pam_bioapi-0.2.1 253 +SHA256 cf72f7b02e552462a16da7580e1a388c872e9db2f44c6e7e2a9575e3cfec777e files/digest-pam_bioapi-0.2.1 253 diff --git a/sys-auth/pam_bioapi/files/digest-pam_bioapi-0.2.1 b/sys-auth/pam_bioapi/files/digest-pam_bioapi-0.2.1 new file mode 100644 index 000000000000..f57f5622104d --- /dev/null +++ b/sys-auth/pam_bioapi/files/digest-pam_bioapi-0.2.1 @@ -0,0 +1,3 @@ +MD5 7101c49d5774e892f0eda401b4c1f634 pam_bioapi-0.2.1.tar.bz2 190025 +RMD160 8629841e99da13607c3e3f124bb2612af3b166b6 pam_bioapi-0.2.1.tar.bz2 190025 +SHA256 36b73c41fe455a5eb7c2b5f1de5d2fa147865c8b0e69e7c9cc8c164936ae72c6 pam_bioapi-0.2.1.tar.bz2 190025 diff --git a/sys-auth/pam_bioapi/files/pam_bioapi.c-0.2.1.patch b/sys-auth/pam_bioapi/files/pam_bioapi.c-0.2.1.patch new file mode 100644 index 000000000000..3b778ce6ac99 --- /dev/null +++ b/sys-auth/pam_bioapi/files/pam_bioapi.c-0.2.1.patch @@ -0,0 +1,28 @@ +--- libpam_bioapi/pam_bioapi.c 2005-10-24 17:31:26.000000000 +0200 ++++ libpam_bioapi/pam_bioapi.c.patched 2005-10-24 17:33:25.000000000 +0200 +@@ -54,6 +54,7 @@ + BioAPI_HANDLE bspHandle; + BioAPI_INPUT_BIR BIR; + BioAPI_BOOL result = BioAPI_FALSE; ++ BioAPI_BOOL bPrecedence = BioAPI_TRUE; + BioAPI_FAR FARAchieved; + BioAPI_UUID tempUuid; + const BioAPI_UUID *uuid; +@@ -143,7 +144,7 @@ + + tries = 3; + do { +- bRet = BioAPI_Verify(bspHandle, &maxFAR, NULL, NULL, &BIR, NULL, &result, &FARAchieved, NULL, NULL, -1, NULL); ++ bRet = BioAPI_Verify(bspHandle, &maxFAR, NULL, &bPrecedence, &BIR, NULL, &result, &FARAchieved, NULL, NULL, -1, NULL); + switch(bRet) { + case BioAPI_OK: + if (result == BioAPI_TRUE) { +@@ -370,7 +371,7 @@ + } + + bytesRead = fread(&(tempBir->Header), bytes, 1, inputFile); +- bytes = (tempBir->Header.Length) - sizeof(BioAPI_DATA); ++ bytes = (tempBir->Header.Length) - sizeof(BioAPI_BIR_HEADER); + tempBir->BiometricData = (BioAPI_BIR_BIOMETRIC_DATA_PTR)malloc(bytes); + if (tempBir->BiometricData == 0) { + syslog(LOG_ALERT, "Unable to allocate memory."); diff --git a/sys-auth/pam_bioapi/metadata.xml b/sys-auth/pam_bioapi/metadata.xml new file mode 100644 index 000000000000..87871acf04f2 --- /dev/null +++ b/sys-auth/pam_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> diff --git a/sys-auth/pam_bioapi/pam_bioapi-0.2.1.ebuild b/sys-auth/pam_bioapi/pam_bioapi-0.2.1.ebuild new file mode 100644 index 000000000000..62e198de4a18 --- /dev/null +++ b/sys-auth/pam_bioapi/pam_bioapi-0.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/pam_bioapi-0.2.1.ebuild,v 1.1 2006/10/05 13:50:35 wolf31o2 Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="PAM interface for biometric auth" +HOMEPAGE="http://www.qrivy.net/~michael/blua/" +SRC_URI="http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="sys-auth/bioapi + sys-auth/tfm-fingerprint" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/pam_bioapi.c-${PV}.patch +} + +src_compile() { + export CPPFLAGS="${CPPFLAGS} -I/opt/bioapi/include" + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + einstall || die "einstall failed" + dodir /lib/security + mv ${D}/usr/lib/security/* ${D}/lib/security + rmdir ${D}/usr/lib/security +} |