Index: head/devel/pcsc-lite/Makefile =================================================================== --- head/devel/pcsc-lite/Makefile +++ head/devel/pcsc-lite/Makefile @@ -5,25 +5,26 @@ PORTVERSION= 1.8.23 PORTEPOCH= 2 CATEGORIES= devel security -MASTER_SITES= https://alioth.debian.org/frs/download.php/latestfile/39/ +MASTER_SITES= https://pcsclite.apdu.fr/files/ MAINTAINER= mmokhi@FreeBSD.org -COMMENT= Smartcard development library +COMMENT= Middleware library to access a smart card using SCard API (PC/SC) -LICENSE= BSD3CLAUSE +LICENSE= BSD3CLAUSE GPLv3+ +LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip USES= libtool pathfix perl5 pkgconfig python:2.7,build shebangfix tar:bzip2 +USE_LDCONFIG= yes USE_PERL5= build USE_RC_SUBR= pcscd -SHEBANG_FILES= src/spy/pcsc-spy -USE_LDCONFIG= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-libsystemd \ --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers/ +INSTALL_TARGET= install-strip +SHEBANG_FILES= src/spy/pcsc-spy SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES Index: head/devel/pcsc-lite/files/pkg-message.in =================================================================== --- head/devel/pcsc-lite/files/pkg-message.in +++ head/devel/pcsc-lite/files/pkg-message.in @@ -1,16 +1,17 @@ ------------------------------------------------------------------------ PC/SC-Lite has been installed. -You need to install a driver for your smartcard reader e.g. -devel/libccid -security/ifd-slb_rf60 +You need to install a driver for your smartcard reader e.g., +- devel/libccid +- security/ifd-slb_rf60 + For cardreaders connected to the serial port: After installing the driver, -please update the pcscd configuration file +please update the pcscd configuration file: %%PREFIX%%/etc/reader.conf For USB cardreaders add the following lines to /etc/devd.conf to enable -hotplugging. +hotplugging: attach 100 { device-name "ugen[0-9]+"; @@ -21,4 +22,5 @@ device-name "ugen[0-9]+"; action "%%PREFIX%%/sbin/pcscd -H"; }; + ------------------------------------------------------------------------ Index: head/devel/pcsc-lite/pkg-descr =================================================================== --- head/devel/pcsc-lite/pkg-descr +++ head/devel/pcsc-lite/pkg-descr @@ -3,4 +3,4 @@ operating systems. Supports many types of serial, PCMCIA, and USB smartcard readers and cryptographic tokens. -WWW: http://alioth.debian.org/projects/pcsclite/ +WWW: https://pcsclite.apdu.fr/