From 75a8b62cda1454d32c65e90df4bed53447b2e7db Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 30 Apr 2009 06:24:10 +0000 Subject: Update to 1.5.3. Changelog: pcsc-lite-1.5.3: Ludovic Rousseau - SCardEstablishContext(): check we do not reuse an already allocated hContext Thanks to Daniel Nobs for the bug report and patch - pcsclite.h: add missing SCARD_E_* and SCARD_W_* return code. They are unused by pcsc-lite but defined on Windows - reader.h: add PIN_PROPERTIES_STRUCTURE structure and FEATURE_IFD_PIN_PROPERTIES Thanks to Martin Paljak for the patch - remove powermgt_macosx.c since it is using APSL version 1.1 instead of the BSD-like licence like the other files Thanks to Stanislav Brabec for the bug report - avoid a possible crash due to a race condition Thanks to Matheus Ribeiro for the patch - change default log level from PCSC_LOG_INFO to PCSC_LOG_ERROR to limit syslog pollution - CardDisconnect(): call RFUnlockAllSharing() instead of RFUnlockSharing() to release all nested locks. The problem occurs if SCardBeginTransaction() are made without corresponding SCardEndTransaction(). OpenSC "pkcs11-tool -I" exhibits such a behavior. Thanks to Marc Rios Valles for the bug report - some other minor improvements and bug corrections --- security/pcsc-lite/Makefile | 6 +++--- security/pcsc-lite/distinfo | 10 +++++----- security/pcsc-lite/patches/patch-aa | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'security/pcsc-lite') diff --git a/security/pcsc-lite/Makefile b/security/pcsc-lite/Makefile index 2fef94aaeea..c206da39bae 100644 --- a/security/pcsc-lite/Makefile +++ b/security/pcsc-lite/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2009/03/16 14:08:33 hasso Exp $ +# $NetBSD: Makefile,v 1.5 2009/04/30 06:24:10 hasso Exp $ # -DISTNAME= pcsc-lite-1.5.2 +DISTNAME= pcsc-lite-1.5.3 CATEGORIES= security -MASTER_SITES= http://alioth.debian.org/frs/download.php/2795/ +MASTER_SITES= http://alioth.debian.org/frs/download.php/3017/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= shannonjr@NetBSD.org diff --git a/security/pcsc-lite/distinfo b/security/pcsc-lite/distinfo index 858f9cffe07..132936ec136 100644 --- a/security/pcsc-lite/distinfo +++ b/security/pcsc-lite/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.4 2009/03/16 14:08:33 hasso Exp $ +$NetBSD: distinfo,v 1.5 2009/04/30 06:24:11 hasso Exp $ -SHA1 (pcsc-lite-1.5.2.tar.bz2) = 179d84193c215b770ad1d932b1185d29799ec0ad -RMD160 (pcsc-lite-1.5.2.tar.bz2) = 1e73e088a58c6713e3af23afbe47e39fffbc2264 -Size (pcsc-lite-1.5.2.tar.bz2) = 467157 bytes -SHA1 (patch-aa) = d58fa48e3778f5dc07fcc8234c9b8aa064a498db +SHA1 (pcsc-lite-1.5.3.tar.bz2) = 00b936acbfd14686eba66c26e00cd86c811ab78a +RMD160 (pcsc-lite-1.5.3.tar.bz2) = b3ae810be8f15701e0ec815308990e96716bda7d +Size (pcsc-lite-1.5.3.tar.bz2) = 469752 bytes +SHA1 (patch-aa) = a30db3af5181f7d37d16c25d2679070e2fdf6652 SHA1 (patch-ab) = 40437e4db3295318942f292dcfc7dc7a59b5c77e SHA1 (patch-ac) = dfeb4bb8eef71e161ee5738d4640a00888a43b49 SHA1 (patch-ad) = 3172e6063cc48b1302d08865cd8e9039b502a807 diff --git a/security/pcsc-lite/patches/patch-aa b/security/pcsc-lite/patches/patch-aa index 815b850cc4c..f1514d1db7a 100644 --- a/security/pcsc-lite/patches/patch-aa +++ b/security/pcsc-lite/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $ +$NetBSD: patch-aa,v 1.2 2009/04/30 06:24:11 hasso Exp $ ---- src/PCSC/reader.h.in.orig 2007-11-23 09:47:44.000000000 -0700 -+++ src/PCSC/reader.h.in -@@ -119,7 +119,7 @@ +--- src/PCSC/reader.h.in.orig 2009-03-24 21:41:03 +0200 ++++ src/PCSC/reader.h.in 2009-04-30 09:03:08 +0300 +@@ -126,7 +126,7 @@ /* Set structure elements aligment on bytes * http://gcc.gnu.org/onlinedocs/gcc/Structure_002dPacking-Pragmas.html */ @@ -11,8 +11,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $ #pragma pack(1) #else #pragma pack(push, 1) -@@ -197,7 +197,7 @@ typedef struct - } PIN_MODIFY_STRUCTURE; +@@ -213,7 +213,7 @@ typedef struct { + } PIN_PROPERTIES_STRUCTURE; /* restore default structure elements alignment */ -#if defined(__APPLE__) | defined(sun) -- cgit v1.2.3