Size: 584
Comment:
|
Size: 2275
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
== SlackBuild == su cd /tmp wget http://slackbuilds.org/slackbuilds/13.1/system/pcsc-lite.tar.gz tar xvzf pcsc-lite.tar.gz cd pcsc-lite wget http://alioth.debian.org/frs/download.php/3479/pcsc-lite-1.6.6.tar.bz2 http://alioth.debian.org/frs/download.php/file/3479/pcsc-lite-1.6.6.tar.bz2 chmod 755 pcsc-lite.SlackBuild vim pcsc-lite.SlackBuild add --disable-libhal after ./configure ./pcsc-lite.SlackBuild installpkg /tmp/pcsc-lite-1.6.6-x86_64-1_SBo.tgz |
== pcsc-lite SlackBuild == * su * cd /tmp * wget http://slackbuilds.org/slackbuilds/14.0/system/pcsc-lite.tar.gz * tar xvzf pcsc-lite.tar.gz * cd pcsc-lite * wget https://alioth.debian.org/frs/download.php/3862/pcsc-lite-1.8.8.tar.bz2 * chmod 755 pcsc-lite.SlackBuild * groupadd -g 257 pcscd * useradd -u 257 -g pcscd -d /var/run/pcscd -s /bin/false pcscd * ./pcsc-lite.SlackBuild * installpkg /tmp/pcsc-lite-1.8.8-x86_64-1_SBo.tgz |
Line 18: | Line 17: |
Package 64 bit: [[]] | Package 64 bit: [[attachment:pcsc-lite-1.8.8-x86_64-1_SBo.tgz]] Package 32 bit: [[attachment:pcsc-lite-1.8.8-i486-1_SBo.tgz]] === ccid SlackBuild === * cd /tmp * wget http://slackbuilds.org/slackbuilds/14.0/system/ccid.tar.gz * tar xvzf ccid.tar.gz * cd ccid * wget https://alioth.debian.org/frs/download.php/file/3535/ccid-1.4.3.tar.bz2 * chmod 755 ccid.SlackBuild * ./ccid.SlackBuild * installpkg /tmp/ccid-1.4.3-x86_64-1_SBo.tgz Package 64 bit: [[attachment:ccid-1.4.3-x86_64-1_SBo.tgz]] Package 32 bit: [[attachment:ccid-1.4.3-i486-1_SBo.tgz]] == Configuration on Slackware 14 == Verify service pcsc: '''pcsd -v -f''', insert and remove smart cards to check ATRs and smart card reader name. Enable the service on slackware: '''chmod 755 /etc/rc.d/rc.pcscd''' Start the service manually: '''/etc/rc.d/rc.pcscd start''' Add init to '''/etc/rc.d/rc.M''': {{{#!highlight bash #start smart card service if [ -x /etc/rc.d/rc.pcscd ]; then . /etc/rc.d/rc.pcscd start fi }}} Add stop to '''/etc/rc.d/rc.K''' before kill all processes: {{{#!highlight bash #stop smart card service if [ -x /etc/rc.d/rc.pcscd ]; then . /etc/rc.d/rc.pcscd stop fi }}} Add stop to '''/etc/rc.d/rc.6''' (rc.0 is a symbolic link) before kill all processes: {{{#!highlight bash #stop smart card service if [ -x /etc/rc.d/rc.pcscd ]; then /etc/rc.d/rc.pcscd stop fi }}} == CentOS 6.4 pcsc-lite == Files: * pcsc-lite-libs-1.5.2-13.el6_4.x86_64 * pcsc-lite-1.5.2-13.el6_4.x86_64 * pcsc-lite-devel-1.5.2-13.el6_4.x86_64 * pcsc-lite-acr38u-1.7.10-1.el6.rf.x86_64 If the service don't start, service pscsd start, delete file /var/run/pcsdc.pid and /var/run/pcsdc.pub . |
pcsc-lite
PC/SC-lite is a middleware to access a smart card using SCard API (PC/SC)
pcsc-lite SlackBuild
- su
- cd /tmp
wget http://slackbuilds.org/slackbuilds/14.0/system/pcsc-lite.tar.gz
- tar xvzf pcsc-lite.tar.gz
- cd pcsc-lite
wget https://alioth.debian.org/frs/download.php/3862/pcsc-lite-1.8.8.tar.bz2
chmod 755 pcsc-lite.SlackBuild
- groupadd -g 257 pcscd
- useradd -u 257 -g pcscd -d /var/run/pcscd -s /bin/false pcscd
./pcsc-lite.SlackBuild
- installpkg /tmp/pcsc-lite-1.8.8-x86_64-1_SBo.tgz
Package 64 bit: pcsc-lite-1.8.8-x86_64-1_SBo.tgz
Package 32 bit: pcsc-lite-1.8.8-i486-1_SBo.tgz
ccid SlackBuild
- cd /tmp
wget http://slackbuilds.org/slackbuilds/14.0/system/ccid.tar.gz
- tar xvzf ccid.tar.gz
- cd ccid
wget https://alioth.debian.org/frs/download.php/file/3535/ccid-1.4.3.tar.bz2
chmod 755 ccid.SlackBuild
./ccid.SlackBuild
- installpkg /tmp/ccid-1.4.3-x86_64-1_SBo.tgz
Package 64 bit: ccid-1.4.3-x86_64-1_SBo.tgz
Package 32 bit: ccid-1.4.3-i486-1_SBo.tgz
Configuration on Slackware 14
Verify service pcsc: pcsd -v -f, insert and remove smart cards to check ATRs and smart card reader name.
Enable the service on slackware: chmod 755 /etc/rc.d/rc.pcscd
Start the service manually: /etc/rc.d/rc.pcscd start
Add init to /etc/rc.d/rc.M:
Add stop to /etc/rc.d/rc.K before kill all processes:
Add stop to /etc/rc.d/rc.6 (rc.0 is a symbolic link) before kill all processes:
CentOS 6.4 pcsc-lite
Files:
- pcsc-lite-libs-1.5.2-13.el6_4.x86_64
- pcsc-lite-1.5.2-13.el6_4.x86_64
- pcsc-lite-devel-1.5.2-13.el6_4.x86_64
- pcsc-lite-acr38u-1.7.10-1.el6.rf.x86_64
If the service don't start, service pscsd start, delete file /var/run/pcsdc.pid and /var/run/pcsdc.pub .