[pcsc-lite] Disabled automatic card power down which seems to be unreliable at this point
Kalev Lember
kalev at fedoraproject.org
Mon Dec 13 14:56:35 UTC 2010
commit ab22f81cdec5ec3ff324f2ac758ecfcd80830b39
Author: Kalev Lember <kalev at smartlink.ee>
Date: Mon Dec 13 16:55:15 2010 +0200
Disabled automatic card power down which seems to be unreliable at this point
pcsc-lite-1.6.6-no_auto_power_down | 24 ++++++++++++++++++++++++
pcsc-lite.spec | 7 ++++++-
2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/pcsc-lite-1.6.6-no_auto_power_down b/pcsc-lite-1.6.6-no_auto_power_down
new file mode 100644
index 0000000..324642c
--- /dev/null
+++ b/pcsc-lite-1.6.6-no_auto_power_down
@@ -0,0 +1,24 @@
+diff -up pcsc-lite-1.6.6/src/pcscd.h.in.no_auto_power_down pcsc-lite-1.6.6/src/pcscd.h.in
+--- pcsc-lite-1.6.6/src/pcscd.h.in.no_auto_power_down 2010-12-13 16:29:40.328693266 +0200
++++ pcsc-lite-1.6.6/src/pcscd.h.in 2010-12-13 16:30:04.531954586 +0200
+@@ -63,7 +63,7 @@ enum
+ #define PCSCLITE_STATUS_EVENT_TIMEOUT 10*60*1000 /* 10 minutes */
+
+ /* Uncomment the next line if you do NOT want to use auto power off */
+-/* #define DISABLE_ON_DEMAND_POWER_ON */
++#define DISABLE_ON_DEMAND_POWER_ON
+
+ /* Uncomment the next line if you do not want the card to be powered on
+ * when inserted */
+diff -up pcsc-lite-1.6.6/src/pcscd.h.no_auto_power_down pcsc-lite-1.6.6/src/pcscd.h
+--- pcsc-lite-1.6.6/src/pcscd.h.no_auto_power_down 2010-12-13 16:29:31.064593222 +0200
++++ pcsc-lite-1.6.6/src/pcscd.h 2010-12-13 16:29:55.337855295 +0200
+@@ -63,7 +63,7 @@ enum
+ #define PCSCLITE_STATUS_EVENT_TIMEOUT 10*60*1000 /* 10 minutes */
+
+ /* Uncomment the next line if you do NOT want to use auto power off */
+-/* #define DISABLE_ON_DEMAND_POWER_ON */
++#define DISABLE_ON_DEMAND_POWER_ON
+
+ /* Uncomment the next line if you do not want the card to be powered on
+ * when inserted */
diff --git a/pcsc-lite.spec b/pcsc-lite.spec
index e56e0c6..1371772 100644
--- a/pcsc-lite.spec
+++ b/pcsc-lite.spec
@@ -2,7 +2,7 @@
Name: pcsc-lite
Version: 1.6.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: PC/SC Lite smart card framework and applications
Group: System Environment/Daemons
@@ -14,6 +14,8 @@ Patch0: %{name}-1.4-docinst.patch
Patch1: %{name}-1.5.5-rpath64.patch
# Disable pcscd on-demand startup (#653903)
Patch2: %{name}-1.6.4-noautostart.patch
+# Disable automatic card power down which seems to be unreliable at this point
+Patch3: %{name}-1.6.6-no_auto_power_down
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: hal-devel
@@ -146,6 +148,9 @@ fi
%changelog
+* Mon Dec 13 2010 Kalev Lember <kalev at smartlink.ee> - 1.6.6-2
+- Disabled automatic card power down which seems to be unreliable at this point
+
* Mon Dec 13 2010 Kalev Lember <kalev at smartlink.ee> - 1.6.6-1
- Update to 1.6.6
More information about the scm-commits
mailing list