pkgsrc/security/ccid/Makefile
gdt 0527294b72 Update to 1.4.16
1.4.16 - 23 March 2014, Ludovic Rousseau
    - Add support of
      . Crypto Stick Crypto Stick v1.4
      . Hewlett Packard USB Smartcard CCID Keyboard
      . IID AT90S064 CCID READER
      . INSIDE Secure VaultIC 405 Smart Object
      . INSIDE Secure VaultIC 441 Smart Object
      . Microchip SEC1110
      . Microchip SEC1210
      . Watchdata W5181
    - Add support of DRIVER_OPTION_DISABLE_PIN_RETRIES
      The Gemalto pinpad reader sends a VERIFY command with no PIN value
      in order to retreive the remaining retries from the card.  Some
      cards (like the OpenPGP card) do not support this.
      It is now possible to disable this behavior from the Gemalto
      Pinpad and Covadis Véga Alpha.
    - Add support of WTX received before SW during Secure Pin Entry Verify
      The Swiss health care card sends a WTX request before returning
      the SW code. If the reader is in TPDU and the card is in T=1 the
      driver must manage the request itself.
2014-04-02 19:47:12 +00:00

55 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2014/04/02 19:47:12 gdt Exp $
#
DISTNAME= ccid-1.4.16
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.
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4016/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://pcsclite.alioth.debian.org/ccid.html
COMMENT= Middleware to access a smart card using SCard API (PC/SC)
LICENSE= gnu-lgpl-v2.1
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS= VARBASE
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_TOOLS+= autoconf automake aclocal autoheader
USE_TOOLS+= flex perl
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
INSTALLATION_DIRS+= sbin share/doc/ccid
pre-configure:
cd ${WRKSRC} && ${SH} bootstrap
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ccid/README
${INSTALL_DATA} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd \
${DESTDIR}${PREFIX}/bin/RSA_SecurID_getpasswd
${INSTALL_DATA} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/RSA_SecurID_getpasswd.1
${INSTALL_DATA} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch \
${DESTDIR}${PREFIX}/sbin/Kobil_mIDentity_switch
${INSTALL_DATA} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/Kobil_mIDentity_switch.8
${INSTALL_DATA} ${WRKSRC}/contrib/Kobil_mIDentity_switch/README_Kobil_mIDentity_switch.txt \
${DESTDIR}${PREFIX}/share/doc/ccid/README_Kobil_mIDentity_switch.txt
.include "../../security/pcsc-lite/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"