diff options
author | LukenShiro <lukenshiro@ngi.it> | 2013-02-10 10:26:14 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-02-13 19:33:43 -0500 |
commit | 8bf7ff734b12dd6386019fd23a6e631c5414c08b (patch) | |
tree | e4608c50377b14be7b1f7f6f0a4c703f17950840 /system/pcsc-lite | |
parent | a6a4b0989a628e073542284dfe1a27bfe627d73b (diff) |
system/pcsc-lite: Updated for version 1.8.8.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/pcsc-lite')
-rw-r--r-- | system/pcsc-lite/README | 5 | ||||
-rw-r--r-- | system/pcsc-lite/doinst.sh | 1 | ||||
-rw-r--r-- | system/pcsc-lite/pcsc-lite.SlackBuild | 12 | ||||
-rw-r--r-- | system/pcsc-lite/pcsc-lite.info | 6 |
4 files changed, 20 insertions, 4 deletions
diff --git a/system/pcsc-lite/README b/system/pcsc-lite/README index b1c0a5045e04..46b47574a760 100644 --- a/system/pcsc-lite/README +++ b/system/pcsc-lite/README @@ -5,6 +5,11 @@ form factor for communicating to smart cards and readers. Compiling with "DEBUGATR=1 ./pcsc-lite.SlackBuild" enables ATR parsing debug output messages. +On-demand power on (auto power off) feature for an inserted card is +disabled, now. If you want it re-enabled, so the card is powered off +after a few seconds of inactivity (upstream's default since version 1.6.5) +you can compile with "AUTOPOFF=1 ./pcsc-lite.SlackBuild". + pcsc-lite no longer uses (deprecated) libhal for smart-card reader's detection. By default libudev is used now. diff --git a/system/pcsc-lite/doinst.sh b/system/pcsc-lite/doinst.sh index 713fd54d6eef..8a2aa3a5c979 100644 --- a/system/pcsc-lite/doinst.sh +++ b/system/pcsc-lite/doinst.sh @@ -23,3 +23,4 @@ preserve_perms() { } preserve_perms etc/rc.d/rc.pcscd.new + diff --git a/system/pcsc-lite/pcsc-lite.SlackBuild b/system/pcsc-lite/pcsc-lite.SlackBuild index dc007d1fedbe..3c49c0090c09 100644 --- a/system/pcsc-lite/pcsc-lite.SlackBuild +++ b/system/pcsc-lite/pcsc-lite.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pcsc-lite -VERSION=${VERSION:-1.8.7} +VERSION=${VERSION:-1.8.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,6 +55,8 @@ fi # Debug is off by default DEBUGATR=${DEBUGATR:-0} +# Inserted card's automatic poweroff (on-demand power on) +AUTOPOFF=${AUTOPOFF:-0} # disabled by default # README and README.DAEMON are not useful and partly outdated. DOCFILES="DRIVERS SECURITY ChangeLog* COPYING HELP NEWS TODO AUTHORS INSTALL" @@ -98,6 +100,14 @@ case "$DEBUGATR" in *) DEBUGATR_FLAG="en" ;; esac +# disabling/enabling card's automatic power off +case "$AUTOPOFF" in + 0) sed -i "s|^\/\* #define DISABLE_ON_DEMAND_POWER_ON \*\/|#define DISABLE_ON_DEMAND_POWER_ON|" \ + src/pcscd.h.in + ;; + *) ;; +esac + # --enable-runpid=/var/run/pcscd.pid, and # --enable-muscledropdir="<libdir>/pcsc/services" are not supported anymore; # pid directory changed to /var/run/pcscd for consistency diff --git a/system/pcsc-lite/pcsc-lite.info b/system/pcsc-lite/pcsc-lite.info index 6856f66d8e99..82875fcfd840 100644 --- a/system/pcsc-lite/pcsc-lite.info +++ b/system/pcsc-lite/pcsc-lite.info @@ -1,8 +1,8 @@ PRGNAM="pcsc-lite" -VERSION="1.8.7" +VERSION="1.8.8" HOMEPAGE="http://pcsclite.alioth.debian.org" -DOWNLOAD="https://alioth.debian.org/frs/download.php/3842/pcsc-lite-1.8.7.tar.bz2" -MD5SUM="744f4b437492ce22ae23aa483a76becf" +DOWNLOAD="https://alioth.debian.org/frs/download.php/3862/pcsc-lite-1.8.8.tar.bz2" +MD5SUM="069dc875a2ae2d85a2ebceac73252c0a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="%README%" |