1.8.14: Ludovic Rousseau 5 August 2015 - Threading: lock the PC/SC context in a safe way - Threading: lock the card context in a safe way - SCardGetStatusChange(): fix card movement rare bug - Doxygen: . SCardTransmit() may return SCARD_E_INSUFFICIENT_BUFFER . SCardEndTransaction() The disposition IS used and the dwDisposition parameter HAS an effect. . SCardReconnect() do not release locks . fix typos - Move the source code repository from subversion to git - Use asprintf(3) instead of strlcat(3) and strlcpy(3) - Allow to use pcscd in a remote session (polkit issue) - Some other minor improvements and bug corrections pcsc-lite-1.8.13: Ludovic Rousseau 7 November 2014 - fix a systemd + libudev hotplug bug introduced in version 1.8.12. The list of readers was not (yet) available just after the start of pcscd - Make the license more 3-clause BSD like - fix a rare race condition in the (non default) libusb hotplug - Some other minor improvements and bug corrections
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2015/09/07 19:34:30 gdt Exp $
|
|
|
|
DISTNAME= pcsc-lite-1.8.14
|
|
CATEGORIES= security
|
|
# Note that the MASTER_SITES URL is not stable with version changes,
|
|
# and one can end up with an old version if DISTNAME is changed but
|
|
# not the magic number in MASTER_SITES.
|
|
# https://alioth.debian.org/frs/?group_id=30105&release_id=2010#pcsclite-_1.8.14-title-content
|
|
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4138/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pcsclite.alioth.debian.org/
|
|
#
|
|
COMMENT= Middleware to access a smart card using SCard API (PC/SC)
|
|
LICENSE= modified-bsd
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config gmake
|
|
USE_LANGUAGES= c c++
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PLIST_VARS+= spy
|
|
#REPLACE_PYTHON= src/spy/pcsc-spy
|
|
#.include "../../lang/python/application.mk"
|
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --enable-confdir=${PKG_SYSCONFDIR:Q}/reader.conf.d
|
|
CONFIGURE_ARGS+= --enable-ipcdir=${VARBASE}/pcsc-lite
|
|
CONFIGURE_ARGS+= --enable-usbdropdir=${PREFIX}/lib/pcsc-lite/drivers
|
|
CONFIGURE_ARGS+= --disable-libudev
|
|
MAKE_DIRS+= ${VARBASE}/pcsc-lite
|
|
MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite
|
|
MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite/drivers
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/reader.conf.d
|
|
|
|
EGDIR= ${PREFIX}/share/examples/pcsc-lite
|
|
|
|
PKGCONFIG_OVERRIDE+= src/libpcsclite.pc.in
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
RCD_SCRIPTS= pcscd
|
|
|
|
.include "../../devel/libusb1/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|