# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= pcsc-lite VERSION= 1.8.23 KEYWORDS= devel security VARIANTS= standard SDESC[standard]= Smartcard development library HOMEPAGE= https://alioth.debian.org/projects/pcsclite/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://alioth.debian.org/frs/download.php/latestfile/39/ DISTFILE[1]= pcsc-lite-1.8.23.tar.bz2:main DF_INDEX= 1 SPKGS[standard]= complete primary docs OPTIONS_AVAILABLE= FILTER OPTIONS_STANDARD= FILTER BR_DEPS[sunos]= libusb:single:standard BR_DEPS[linux]= libusb:single:standard USES= libtool perl:build pkgconfig shebangfix python:py35 LICENSE= BSD3CLAUSE:primary LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING LICENSE_SCHEME= solo FPC_EQUIVALENT= devel/pcsc-lite SHEBANG_FILES= src/spy/pcsc-spy MUST_CONFIGURE= gnu CONFIGURE_ARGS= --enable-usbdropdir={{PREFIX}}/lib/pcsc/drivers/ --disable-libsystemd --disable-libudev INSTALL_TARGET= install-strip RC_SUBR= pcscd:primary SUB_FILES= pkg-message-primary [FILTER].DESCRIPTION= Control reader names reported by PCSC [FILTER].CONFIGURE_ENABLE_BOTH= 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 post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services [FILE:224:descriptions/desc.primary] 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. [FILE:103:distinfo] 5a27262586eff39cfd5c19aadc8891dd71c0818d3d629539bd631b958be689c9 749922 pcsc-lite-1.8.23.tar.bz2 [FILE:385:manifests/plist.primary] @dir lib/pcsc/drivers @dir lib/pcsc/services bin/pcsc-spy include/PCSC/ debuglog.h ifdhandler.h pcsclite.h reader.h winscard.h wintypes.h lib/ libpcsclite.so libpcsclite.so.1 libpcsclite.so.1.0.0 libpcscspy.so libpcscspy.so.0 libpcscspy.so.0.0.0 lib/pkgconfig/libpcsclite.pc sbin/pcscd share/man/man1/pcsc-spy.1.gz share/man/man5/reader.conf.5.gz share/man/man8/pcscd.8.gz [FILE:51:manifests/plist.docs] share/doc/pcsc-lite/ README.DAEMON README.polkit [FILE:310:files/pcscd.in] #!/bin/sh # # PROVIDE: pcscd # REQUIRE: LOGIN # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # pcscd_enable="YES" . /etc/rc.subr name="pcscd" rcvar=pcscd_enable command="%%PREFIX%%/sbin/pcscd" load_rc_config "$name" : ${pcscd_enable="NO"} run_rc_command "$1" [FILE:694:files/pkg-message-primary.in] ------------------------------------------------------------------------ PC/SC-Lite has been installed. 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 %%PREFIX%%/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 "%%PREFIX%%/sbin/pcscd -H"; }; detach 100 { device-name "ugen[0-9]+"; action "%%PREFIX%%/sbin/pcscd -H"; }; ------------------------------------------------------------------------