FreeBSD Ports

devel/pcsc-lite 2.5.2_1,2

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

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
aadf19a6d7
License
BSD3CLAUSE, GPLv3+
Categories
devel, security
Package size
115.9 KiB, 361.6 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.

Install

As a binary package — by origin, or by package name:

pkg install devel/pcsc-lite
pkg install pcsc-lite

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pcsc-lite>0:devel/pcsc-lite
LIB_DEPENDS=	libpcsclite.so:devel/pcsc-lite

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.5.2_1,22.5.2_1,21.9.9,22.3.3_1,22.5.2_1,2
FreeBSD:14:quarterly2.5.2,22.5.2,2n/a2.3.3_1,22.5.2,2
FreeBSD:15:latest2.5.2_1,22.5.2_1,2n/a2.3.3_1,22.3.3_1,2
FreeBSD:15:quarterly2.5.2,22.5.2,2n/an/an/a
FreeBSD:16:latest2.5.2,22.5.2_1,2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 30
All run dependencies 26
Required by 95

Configuration

Options name: devel_pcsc-lite

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
FILTERoffControl (Ignore or Extend) reported reader names
POLKITonPolkit authorization support
USES
meson perl5 pkgconfig python:env shebangfix tar:xz
Service scripts
pcscd

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";
};

Files

Manual pages 3
  • pcsc-spy(1)
  • pcscd(8)
  • reader.conf(5)
pkg-plist 25
  • bin/pcsc-spy
  • @sample etc/default/pcscd.sample
  • include/PCSC/debuglog.h
  • include/PCSC/ifdhandler.h
  • include/PCSC/pcsclite.h
  • include/PCSC/reader.h
  • include/PCSC/winscard.h
  • include/PCSC/wintypes.h
  • lib/libpcsclite.so
  • lib/libpcsclite.so.1
  • lib/libpcsclite_real.so
  • lib/libpcsclite_real.so.1
  • lib/libpcscspy.so
  • lib/libpcscspy.so.0
  • libdata/pkgconfig/libpcsclite.pc
  • sbin/pcscd
  • share/doc/pcsc-lite/setup_spy.sh
  • share/examples/pcsc-lite/pcsc_demo.c
  • share/man/man1/pcsc-spy.1.gz
  • share/man/man5/reader.conf.5.gz
  • share/man/man8/pcscd.8.gz
  • share/metainfo/fr.apdu.pcsclite.metainfo.xml
  • share/polkit-1/actions/org.debian.pcsc-lite.policy
  • @dir lib/pcsc/drivers
  • @dir lib/pcsc/services
distinfo 1
FileSizeSHA256
pcsc-lite-2.5.2.tar.xz20752460a08942d8c00a1d86a3bf4c64eddbf7a5569c7c54f6904e3f07801bb5316acd
Master sites 1
  • https://pcsclite.apdu.fr/files/

Commit history 2

DateCommitCreditsLog message
aadf19a6d7 Stéphane Rochoy devel/pcsc-lite: Add support for passing flags to the rc script
This might be useful to make the daemon run in the non-polkit mode.
ca9d42e892 Gleb Popov devel/pcsc-lite: Update to 2.5.2