Index: head/devel/pcsc-lite/Makefile =================================================================== --- head/devel/pcsc-lite/Makefile (revision 481810) +++ head/devel/pcsc-lite/Makefile (revision 481811) @@ -1,57 +1,58 @@ # Created by: Toni Andjelkovic # $FreeBSD$ PORTNAME= pcsc-lite 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 OPTIONS_GROUP= FEATURES OPTIONS_GROUP_FEATURES= FILTER FEATURES_DESC= Default features knobs FILTER_DESC= Control (Ignore or Extend) reader names reported by PCSC FILTER_CONFIGURE_ENABLE= filter post-patch: ${REINPLACE_CMD} -e "s,^datadir,#datadir,; s,^data_DATA,#data_DATA," \ ${WRKSRC}/doc/Makefile.in ${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h,; \ s,libusb_strerror(ret),ret," ${WRKSRC}/configure \ ${WRKSRC}/src/hotplug_libusb.c ${REINPLACE_CMD} -e "s,-ldl,," ${WRKSRC}/src/spy/Makefile.in post-patch-DOCS-off: ${REINPLACE_CMD} -e '/^install-data-am: / s|install-docDATA||' ${WRKSRC}/doc/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/example/Makefile.am ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/example/Makefile.in ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/example/pcsc_demo.c ${STAGEDIR}${EXAMPLESDIR} .include Index: head/devel/pcsc-lite/files/pkg-message.in =================================================================== --- head/devel/pcsc-lite/files/pkg-message.in (revision 481810) +++ head/devel/pcsc-lite/files/pkg-message.in (revision 481811) @@ -1,24 +1,26 @@ ------------------------------------------------------------------------ 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]+"; action "%%PREFIX%%/sbin/pcscd -H"; }; detach 100 { device-name "ugen[0-9]+"; action "%%PREFIX%%/sbin/pcscd -H"; }; + ------------------------------------------------------------------------ Index: head/devel/pcsc-lite/pkg-descr =================================================================== --- head/devel/pcsc-lite/pkg-descr (revision 481810) +++ head/devel/pcsc-lite/pkg-descr (revision 481811) @@ -1,6 +1,6 @@ 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. -WWW: http://alioth.debian.org/projects/pcsclite/ +WWW: https://pcsclite.apdu.fr/