From 87ca8061dbf8f8bf96c73e6dc604ad409ae984d2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Feb 25 2011 15:40:15 +0000 Subject: Update to 1.6.7 Rebased noautostart patch. --- diff --git a/.gitignore b/.gitignore index 74e0692..f73c611 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pcsc-lite-1.6.4.tar.bz2 /pcsc-lite-1.6.6.tar.bz2 +/pcsc-lite-1.6.7.tar.bz2 diff --git a/pcsc-lite-1.6.4-noautostart.patch b/pcsc-lite-1.6.4-noautostart.patch deleted file mode 100644 index 6e58f8d..0000000 --- a/pcsc-lite-1.6.4-noautostart.patch +++ /dev/null @@ -1,99 +0,0 @@ -diff -up pcsc-lite-1.6.4/src/winscard_clnt.c.noautostart pcsc-lite-1.6.4/src/winscard_clnt.c ---- pcsc-lite-1.6.4/src/winscard_clnt.c.noautostart 2010-12-12 23:46:43.228293593 +0200 -+++ pcsc-lite-1.6.4/src/winscard_clnt.c 2010-12-12 23:52:44.388532774 +0200 -@@ -387,79 +387,15 @@ LONG SCardEstablishContext(DWORD dwScope - LPCVOID pvReserved2, LPSCARDCONTEXT phContext) - { - LONG rv; -- int daemon_launched = FALSE; -- int retries = 0; - - PROFILE_START - --again: - /* Check if the server is running */ - rv = SCardCheckDaemonAvailability(); - if (SCARD_E_INVALID_HANDLE == rv) - /* we reconnected to a daemon or we got called from a forked child */ - rv = SCardCheckDaemonAvailability(); - -- if (SCARD_E_NO_SERVICE == rv) -- { --launch: -- if (daemon_launched) -- { -- retries++; -- if (retries < 50) /* 50 x 100ms = 5 seconds */ -- { -- /* give some more time to the server to start */ -- SYS_USleep(100*1000); /* 100 ms */ -- goto again; -- } -- -- /* the server failed to start (in time) */ -- goto end; -- } -- else -- { -- int pid; -- -- pid = fork(); -- -- if (pid < 0) -- { -- Log2(PCSC_LOG_CRITICAL, "fork failed: %s", strerror(errno)); -- rv = SCARD_F_INTERNAL_ERROR; -- goto end; -- } -- -- if (0 == pid) -- { -- int ret, i, max; -- char *param = getenv("PCSCLITE_PCSCD_ARGS"); -- -- /* close all file handles except stdin, stdout and -- * stderr so that pcscd does not confiscate ressources -- * allocated by the application */ -- max = sysconf(_SC_OPEN_MAX); -- if (-1 == max) -- max = 1024; -- for (i=3; i - 1.6.7-1 +- Update to 1.6.7 +- Rebased noautostart patch + * Tue Feb 08 2011 Fedora Release Engineering - 1.6.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 08d2abc..5f948d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f80d3ecd9569b71d557f283f16295c74 pcsc-lite-1.6.6.tar.bz2 +62115ae6dc6fc23da7ffe50986e84eb7 pcsc-lite-1.6.7.tar.bz2