summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-05 13:50:36 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-05 13:50:36 +0000
commit6911c7d3fb506f8334ee074e5df75d5f7f1ad425 (patch)
tree2aebb028a821fa52a7cc985b34245b2e486b0911 /sys-auth/pam_bioapi/files
parentqt USE should be qt3. (diff)
downloadgentoo-2-6911c7d3fb506f8334ee074e5df75d5f7f1ad425.tar.gz
gentoo-2-6911c7d3fb506f8334ee074e5df75d5f7f1ad425.tar.bz2
gentoo-2-6911c7d3fb506f8334ee074e5df75d5f7f1ad425.zip
Initial import. Ebuild by Jochen Maes <jochen.maes@sejo.be> who will be maintaining this package. I will be his proxy maintainer.
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'sys-auth/pam_bioapi/files')
-rw-r--r--sys-auth/pam_bioapi/files/digest-pam_bioapi-0.2.13
-rw-r--r--sys-auth/pam_bioapi/files/pam_bioapi.c-0.2.1.patch28
2 files changed, 31 insertions, 0 deletions
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.");