BSD Ports

devel/pcsc-lite 2.3.1,2 DragonFly

Middleware library to access a smart card using SCard API (PC/SC)

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE, GPLv3+
Categories
devel, security
Package size
104.2 KiB, 400.5 KiB installed

Description

This is a port of the MUSCLE PC/SC-Lite architecture. Allows easy porting of Windows smartcard software to other operating systems. Supports many types of serial, PCMCIA, and USB smartcard readers and cryptographic tokens.

In the other systems

SystemPortVersion
DragonFlydevel/pcsc-lite2.3.1,2
FreeBSDdevel/pcsc-lite2.5.2_1,2
OpenBSDsecurity/pcsc-lite2.5.0
NetBSDsecurity/pcsc-lite2.5.1nb1
MidnightBSDdevel/pcsc-lite2.0.0_1
HardenedBSDdevel/pcsc-lite2.5.2,2
GhostBSDdevel/pcsc-lite2.5.1,2

Install

Binary package:

pkg install pcsc-lite

From DPorts:

cd /usr/dports/devel/pcsc-lite && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none

Message after installing

PC/SC-Lite has been installed.

You need to install a driver for your smartcard reader e.g.,
- devel/libccid

For cardreaders connected to the serial port: After installing the driver,
please update the pcscd configuration file:
/usr/local/etc/reader.conf

For USB cardreaders add the following lines to /etc/devd.conf to enable
hotplugging:

attach 100 {
        device-name "ugen[0-9]+";
        action "/usr/local/sbin/pcscd -H";
};

detach 100 {
        device-name "ugen[0-9]+";
        action "/usr/local/sbin/pcscd -H";
};