Thu Apr 30 06:24:11 2009 UTC ()
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


(hasso)
diff -r1.4 -r1.5 pkgsrc/security/pcsc-lite/Makefile
diff -r1.4 -r1.5 pkgsrc/security/pcsc-lite/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/security/pcsc-lite/patches/patch-aa

cvs diff -r1.4 -r1.5 pkgsrc/security/pcsc-lite/Makefile (expand / switch to unified diff)

--- pkgsrc/security/pcsc-lite/Makefile 2009/03/16 14:08:33 1.4
+++ pkgsrc/security/pcsc-lite/Makefile 2009/04/30 06:24:10 1.5
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile,v 1.4 2009/03/16 14:08:33 hasso Exp $ 1# $NetBSD: Makefile,v 1.5 2009/04/30 06:24:10 hasso Exp $
2# 2#
3 3
4DISTNAME= pcsc-lite-1.5.2 4DISTNAME= pcsc-lite-1.5.3
5CATEGORIES= security 5CATEGORIES= security
6MASTER_SITES= http://alioth.debian.org/frs/download.php/2795/ 6MASTER_SITES= http://alioth.debian.org/frs/download.php/3017/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= shannonjr@NetBSD.org 9MAINTAINER= shannonjr@NetBSD.org
10HOMEPAGE= http://pcsclite.alioth.debian.org/ 10HOMEPAGE= http://pcsclite.alioth.debian.org/
11COMMENT= Middleware to access a smart card using SCard API (PC/SC). 11COMMENT= Middleware to access a smart card using SCard API (PC/SC).
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_TOOLS+= pkg-config 17USE_TOOLS+= pkg-config
18USE_TOOLS+= autoconf automake aclocal autoheader 18USE_TOOLS+= autoconf automake aclocal autoheader
19AUTOMAKE_REQD= 1.10 19AUTOMAKE_REQD= 1.10

cvs diff -r1.4 -r1.5 pkgsrc/security/pcsc-lite/distinfo (expand / switch to unified diff)

--- pkgsrc/security/pcsc-lite/distinfo 2009/03/16 14:08:33 1.4
+++ pkgsrc/security/pcsc-lite/distinfo 2009/04/30 06:24:11 1.5
@@ -1,11 +1,11 @@ @@ -1,11 +1,11 @@
1$NetBSD: distinfo,v 1.4 2009/03/16 14:08:33 hasso Exp $ 1$NetBSD: distinfo,v 1.5 2009/04/30 06:24:11 hasso Exp $
2 2
3SHA1 (pcsc-lite-1.5.2.tar.bz2) = 179d84193c215b770ad1d932b1185d29799ec0ad 3SHA1 (pcsc-lite-1.5.3.tar.bz2) = 00b936acbfd14686eba66c26e00cd86c811ab78a
4RMD160 (pcsc-lite-1.5.2.tar.bz2) = 1e73e088a58c6713e3af23afbe47e39fffbc2264 4RMD160 (pcsc-lite-1.5.3.tar.bz2) = b3ae810be8f15701e0ec815308990e96716bda7d
5Size (pcsc-lite-1.5.2.tar.bz2) = 467157 bytes 5Size (pcsc-lite-1.5.3.tar.bz2) = 469752 bytes
6SHA1 (patch-aa) = d58fa48e3778f5dc07fcc8234c9b8aa064a498db 6SHA1 (patch-aa) = a30db3af5181f7d37d16c25d2679070e2fdf6652
7SHA1 (patch-ab) = 40437e4db3295318942f292dcfc7dc7a59b5c77e 7SHA1 (patch-ab) = 40437e4db3295318942f292dcfc7dc7a59b5c77e
8SHA1 (patch-ac) = dfeb4bb8eef71e161ee5738d4640a00888a43b49 8SHA1 (patch-ac) = dfeb4bb8eef71e161ee5738d4640a00888a43b49
9SHA1 (patch-ad) = 3172e6063cc48b1302d08865cd8e9039b502a807 9SHA1 (patch-ad) = 3172e6063cc48b1302d08865cd8e9039b502a807
10SHA1 (patch-ae) = 79978e1a6e1b6cd11ba4411e69bbf6f7d83c90ae 10SHA1 (patch-ae) = 79978e1a6e1b6cd11ba4411e69bbf6f7d83c90ae
11SHA1 (patch-af) = 931c031eba226336ceb1c12bc2ffd9193cb24e44 11SHA1 (patch-af) = 931c031eba226336ceb1c12bc2ffd9193cb24e44

cvs diff -r1.1.1.1 -r1.2 pkgsrc/security/pcsc-lite/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/security/pcsc-lite/patches/Attic/patch-aa 2008/03/04 11:29:08 1.1.1.1
+++ pkgsrc/security/pcsc-lite/patches/Attic/patch-aa 2009/04/30 06:24:11 1.2
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1$NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $ 1$NetBSD: patch-aa,v 1.2 2009/04/30 06:24:11 hasso Exp $
2 2
3--- src/PCSC/reader.h.in.orig 2007-11-23 09:47:44.000000000 -0700 3--- src/PCSC/reader.h.in.orig 2009-03-24 21:41:03 +0200
4+++ src/PCSC/reader.h.in 4+++ src/PCSC/reader.h.in 2009-04-30 09:03:08 +0300
5@@ -119,7 +119,7 @@ 5@@ -126,7 +126,7 @@
6  6
7 /* Set structure elements aligment on bytes 7 /* Set structure elements aligment on bytes
8 * http://gcc.gnu.org/onlinedocs/gcc/Structure_002dPacking-Pragmas.html */ 8 * http://gcc.gnu.org/onlinedocs/gcc/Structure_002dPacking-Pragmas.html */
9-#if defined(__APPLE__) | defined(sun) 9-#if defined(__APPLE__) | defined(sun)
10+#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__) 10+#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__)
11 #pragma pack(1) 11 #pragma pack(1)
12 #else 12 #else
13 #pragma pack(push, 1) 13 #pragma pack(push, 1)
14@@ -197,7 +197,7 @@ typedef struct 14@@ -213,7 +213,7 @@ typedef struct {
15 } PIN_MODIFY_STRUCTURE; 15 } PIN_PROPERTIES_STRUCTURE;
16  16
17 /* restore default structure elements alignment */ 17 /* restore default structure elements alignment */
18-#if defined(__APPLE__) | defined(sun) 18-#if defined(__APPLE__) | defined(sun)
19+#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__) 19+#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__)
20 #pragma pack() 20 #pragma pack()
21 #else 21 #else
22 #pragma pack(pop) 22 #pragma pack(pop)