d7957d3666
1.9.0: - SCardEndTransaction(): greatly improve performances (x300) - tokenparser: accept any Unicode character in a reader name - Use /run instead of /var/run by default - Fix a memory leak from a polkit call - Some other minor improvements 1.8.26: - Use poll() instead of select() to allow file descriptor higher than FD_SETSIZE - Enable reader filtering by default - pcsc-spy: . Do not read output buffer after error . Adjust code to handle autoallocated buffers . fix year-2038 issue by using long instead of int - Android: fix compilation - if client/server protocol mismatch: . log an explicit message . SCardEstablishContext() returns SCARD_E_SERVICE_STOPPED - polkit: log the error message if polkit_authority_get_sync() fails - Exit with EXIT_SUCCESS on shutdown to please systemd - Doxygen: fix minor issues in the documentation - Add --disable-documentation option - Fix a minor memory leak 1.8.25: - Fix a socket issue when pcscd is used inside LXC container - pcsc-spy: always provide a total time of execution - Fix resource leak if SCardEstablishContext() fails - Fix realloc(3) error handling (possible memory leak) - Remove usage of function chmod(2) to use fchmod(2) (fix race condition) 1.8.24: - the project moved to https://pcsclite.apdu.fr/ - SCardGetStatusChange(): Fix a rare race condition - SCardReleaseContext(): do not release a lock owned by another context - SCardReconnect(): suspend card auto power off - Allow "=" in serial driver filenames - Add the thread id in the pcscd log lines - pcsc-spy: correctly handle incomplete log file - Simclist: avoid to divide by zero in list_findpos() - Some other minor improvements
46 lines
1.5 KiB
Makefile
46 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2020/06/20 19:03:37 adam Exp $
|
|
|
|
DISTNAME= pcsc-lite-1.9.0
|
|
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=2031#pcsclite-_1.8.18-title-content
|
|
MASTER_SITES= https://pcsclite.apdu.fr/files/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pcsclite.apdu.fr/
|
|
COMMENT= Middleware to access a smart card using SCard API (PC/SC)
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --enable-confdir=${PKG_SYSCONFDIR}/reader.conf.d
|
|
CONFIGURE_ARGS+= --enable-ipcdir=${VARBASE}/pcsc-lite
|
|
CONFIGURE_ARGS+= --enable-usbdropdir=${PREFIX}/lib/pcsc-lite/drivers
|
|
CONFIGURE_ARGS+= --disable-libudev
|
|
CONFIGURE_ARGS+= --disable-libsystemd
|
|
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"
|