pkgsrc/security/ccid/Makefile

62 lines
2.2 KiB
Makefile
Raw Normal View History

2019-08-11 15:17:48 +02:00
# $NetBSD: Makefile,v 1.27 2019/08/11 13:22:45 wiz Exp $
#
Update to 1.4.26 1.4.26 - 7 January 2017, Ludovic Rousseau - Add support of . Bit4id Digital DNA Key . Bit4id tokenME FIPS v3 . INGENICO Leo . appidkey GmbH ID60-USB - Add support of - PowerOn: the default algorithm is now 5V then 1.8V then 3V then fail. It is still possible to change the initial voltage in the Info.plist file. Now, in any case, all the values are tried before failing. - Negociate maximum baud rate when bNumDataRatesSupported = 0 - Some minor improvements 1.4.25 - 30 September 2016, Ludovic Rousseau - Add support of . Aladdin R.D. JaCarta (idProduct: 0x0402) . Broadcom Corp 5880 (idProduct: 0x5832) . Broadcom Corp 5880 (idProduct: 0x5833) . Broadcom Corp 5880 (idProduct: 0x5834) . ESMART Token GOST X2 ET1020-A . Feitian VR504 VHBR Contactless & Contact Card Reader . Feitian bR500 . Gemalto K50 . appidkey GmbH ID100-USB SC Reader . appidkey GmbH ID50 -USB - Remove suport of . Broadcom Corp 5880 (idProduct: 0x5800) . Broadcom Corp 5880 (idProduct: 0x5805) . KEBTechnology KONA USB SmartCard - macOS: Fix composite device enumeration - Fix crash with GemCore Pos Pro and GemCore Sim Pro - Some minor improvements 1.4.24 - 22 May 2016, Ludovic Rousseau - Add support of . Generic USB Smart Card Reader . Giesecke & Devrient GmbH StarSign CUT S . HID AVIATOR Generic - better support of Elatec TWN4 SmartCard NFC - better support of SCM SCL011 - betetr support of HID Aviator generic - fix SCARD_ATTR_VENDOR_IFD_SERIAL_NO attribute size - fix a race condition on card events with multiple readers - Some minor improvements 1.4.23 - 20 April 2016, Ludovic Rousseau - Add support of . ACS ACR3901U ICC Reader . Alcor Micro AU9560 . Cherry SmartTerminal XX44 . HID Global OMNIKEY 3x21 Smart Card Reader . HID Global OMNIKEY 5022 Smart Card Reader . HID Global OMNIKEY 6121 Smart Card Reader . IonIDe Smartcard Reader reader . KACST HSID Reader . KACST HSID Reader Dual Storage . KACST HSID Reader Single Storage - Remove support of . VMware Virtual USB CCID - Do NOT add support of . DUALi DE-ABCM6 - Fix a busy loop consuming 100% of CPU for some composite USB devices impacted readers: Yubico Yubikey NEO U2F+CCID and Broadcom BCM5880 - Remove support of (unused) option DRIVER_OPTION_RESET_ON_CLOSE - log libusb error name instead of decimal value - Some minor improvements 1.4.22 - 10 January 2016, Ludovic Rousseau - Add support of . Aktiv Rutoken PINPad 2 . Aladdin R.D. JC-WebPass (JC600) . Aladdin R.D. JCR-770 . Aladdin R.D. JaCarta . Aladdin R.D. JaCarta Flash . Aladdin R.D. JaCarta LT . Aladdin R.D. JaCarta U2F (JC602) . Athena ASEDrive IIIe Combo Bio PIV . Athena ASEDrive IIIe KB Bio PIV . GEMALTO CT1100 . GEMALTO K1100 . Hitachi, Ltd. Hitachi Biometric Reader . Hitachi, Ltd. Hitachi Portable Biometric Reader . Nitrokey Nitrokey Storage . THURSBY SOFTWARE TSS-PK1 . Thursby Software Systems, Inc. TSS-PK7 . Thursby Software Systems, Inc. TSS-PK8 - Patch for Microchip SEC1110 reader on Mac OS X (card events notification) - Patch for Cherry KC 1000 SC (problem was with a T=1 card and case 2 APDU) - Fix support of FEATURE_MCT_READER_DIRECT for the Kobil mIDentity visual reader - Set timeout to 90 sec for PPDU (Pseudo APDU) commands. This change allows the use of a Secure Verify command sent as a PPDU through SCardTransmit(). - Fix a crash when reader reader initialization failed - Fix initialization bug with Gemalto Pinpad reader on Mac OS X - Some minor bugs fixed 1.4.21 - 21 October 2015, Ludovic Rousseau - Add support of . ACS ACR1252 Dual Reader . Chicony HP USB Smartcard CCID Keyboard JP . Chicony HP USB Smartcard CCID Keyboard KR . FT ePass2003Auto . Feitian bR301 BLE . Feitian iR301 (ProductID 0x0619) . Feitian iR301 (ProductID 0x061C) . Identiv @MAXX ID-1 Smart Card Reader . Identiv @MAXX Light2 token . Identiv CLOUD 2980 F Smart Card Reader . Identiv Identiv uTrust 4701 F Dual Interface Reader . Identiv SCR3500 A Contact Reader . Identiv SCR3500 B Contact Reader . Identiv SCR35xx USB Smart Card Reader . Identiv uTrust 2900 R Smart Card Reader . Identiv uTrust 2910 R Smart Card Reader . Identiv uTrust 2910 R Taglio SC Reader . Identiv uTrust 3512 SAM slot Token . Identiv uTrust 3522 embd SE RFID Token . Identiv uTrust 3700 F CL Reader . Identiv uTrust 3701 F CL Reader . Identive Identive CLOUD 4000 F DTC . Liteon HP SC Keyboard - Apollo (Liteon) . Liteon HP SC Keyboard - Apollo JP (Liteon) . Liteon HP SC Keyboard - Apollo KR (Liteon) . Nitrokey Nitrokey HSM . Nitrokey Nitrokey Pro . Nitrokey Nitrokey Start . Rocketek RT-SCR1 . VASCO DIGIPASS 875 . WatchCNPC USB CCID Key - Remove support of . Crypto Stick Crypto Stick v1.4 is an old version of Nitrokey Nitrokey Pro . Free Software Initiative of Japan Gnuk Token is an old version of Nitrokey Nitrokey Start - Add Feitain R502 dual interface (composite) reader on Mac OS X - display a human readable version of the error code returned by libusb - Mac OS X: wait until libusb/the reader is ready - some minor bugs fixed
2017-02-16 15:30:50 +01:00
DISTNAME= ccid-1.4.26
2019-08-11 15:17:48 +02:00
PKGREVISION= 3
CATEGORIES= security
Update to 1.4.15 (from 1.4.12). (This update was not tested, but built fine.) http://ludovicrousseau.blogspot.fr/2014/02/new-version-of-libccid-1415.html 1.4.15 - 14 February 2014, Ludovic Rousseau - Add support of . DUALi DRAGON NFC READER . Feitian bR301 . Gemalto CR30 reader in serial communication . Gemalto Ezio Shield Pro SC . IIT E.Key Almaz-1C - PIN_MODIFY_STRUCTURE & PIN_VERIFY_STRUCTURE: Fix calculation of the command length after pcsc-lite 1.8.9 (October 2013) changed the PCSC/reader.h header - Add specific PIN min (0) & max (25) sizes for SmartTerminal ST-2xxx - Do not get the data rates if bNumDataRatesSupported = 0 - Support Gemalto features for pinpad readers MinimumPINSize, MaximumPINSize and bEntryValidationCondition are fetched from the reader firmware - disable (broken) pinpad for Fujitsu SmartCase KB SCR eSIG - examples/scardcontrol.c: . Parse codes returned by a pinpad (as SW1/SW2) Known codes for now are: 0x9000: Success 0x6400: Timeout 0x6401: Cancelled by user 0x6402: PIN mismatch 0x6403: Too short or too long PIN . Retrieve min and max PIN sizes from the driver . Retrieve bEntryValidationCondition from the driver - be more strict for bInterfaceClass = 255 by also checking extra_length - some minor bugs removed http://ludovicrousseau.blogspot.fr/2013/11/new-version-of-libccid-1414.html 1.4.14 - 25 November 2013, Ludovic Rousseau - Add support of . Gemalto GemCore SIM Pro firmware 2.0 (using USB) - report FEATURE_IFD_PIN_PROPERTIES only for pinpad readers - Generalize the management of (old) readers with bDeviceClass = 0xFF - some minor bugs removed http://ludovicrousseau.blogspot.fr/2013/10/new-version-of-libccid-1413.html 1.4.13 - 9 October 2013, Ludovic Rousseau - Add support of . Access IS ePassport Reader . Planeta RC700-NFC CCID - Add support of Windows value for CM_IOCTL_GET_FEATURE_REQUEST Windows uses 0x313520 for SCARD_CTL_CODE(3400) pcsc-lite uses 0x42000D48 for SCARD_CTL_CODE(3400) RDP aplications (like rdesktop) will convert SCardControl() commands from a Windows application (so using 0x313520) to pcsc-lite. - fix multi-slot support for card movement notification (introduced in 1.4.12) - Mac OS X: differentiate each libccid library by the dynamic linker using --prefix=/fake/$BUNDLE_ID - some minor bugs removed
2014-02-25 18:16:35 +01:00
# 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.
Update to 1.4.26 1.4.26 - 7 January 2017, Ludovic Rousseau - Add support of . Bit4id Digital DNA Key . Bit4id tokenME FIPS v3 . INGENICO Leo . appidkey GmbH ID60-USB - Add support of - PowerOn: the default algorithm is now 5V then 1.8V then 3V then fail. It is still possible to change the initial voltage in the Info.plist file. Now, in any case, all the values are tried before failing. - Negociate maximum baud rate when bNumDataRatesSupported = 0 - Some minor improvements 1.4.25 - 30 September 2016, Ludovic Rousseau - Add support of . Aladdin R.D. JaCarta (idProduct: 0x0402) . Broadcom Corp 5880 (idProduct: 0x5832) . Broadcom Corp 5880 (idProduct: 0x5833) . Broadcom Corp 5880 (idProduct: 0x5834) . ESMART Token GOST X2 ET1020-A . Feitian VR504 VHBR Contactless & Contact Card Reader . Feitian bR500 . Gemalto K50 . appidkey GmbH ID100-USB SC Reader . appidkey GmbH ID50 -USB - Remove suport of . Broadcom Corp 5880 (idProduct: 0x5800) . Broadcom Corp 5880 (idProduct: 0x5805) . KEBTechnology KONA USB SmartCard - macOS: Fix composite device enumeration - Fix crash with GemCore Pos Pro and GemCore Sim Pro - Some minor improvements 1.4.24 - 22 May 2016, Ludovic Rousseau - Add support of . Generic USB Smart Card Reader . Giesecke & Devrient GmbH StarSign CUT S . HID AVIATOR Generic - better support of Elatec TWN4 SmartCard NFC - better support of SCM SCL011 - betetr support of HID Aviator generic - fix SCARD_ATTR_VENDOR_IFD_SERIAL_NO attribute size - fix a race condition on card events with multiple readers - Some minor improvements 1.4.23 - 20 April 2016, Ludovic Rousseau - Add support of . ACS ACR3901U ICC Reader . Alcor Micro AU9560 . Cherry SmartTerminal XX44 . HID Global OMNIKEY 3x21 Smart Card Reader . HID Global OMNIKEY 5022 Smart Card Reader . HID Global OMNIKEY 6121 Smart Card Reader . IonIDe Smartcard Reader reader . KACST HSID Reader . KACST HSID Reader Dual Storage . KACST HSID Reader Single Storage - Remove support of . VMware Virtual USB CCID - Do NOT add support of . DUALi DE-ABCM6 - Fix a busy loop consuming 100% of CPU for some composite USB devices impacted readers: Yubico Yubikey NEO U2F+CCID and Broadcom BCM5880 - Remove support of (unused) option DRIVER_OPTION_RESET_ON_CLOSE - log libusb error name instead of decimal value - Some minor improvements 1.4.22 - 10 January 2016, Ludovic Rousseau - Add support of . Aktiv Rutoken PINPad 2 . Aladdin R.D. JC-WebPass (JC600) . Aladdin R.D. JCR-770 . Aladdin R.D. JaCarta . Aladdin R.D. JaCarta Flash . Aladdin R.D. JaCarta LT . Aladdin R.D. JaCarta U2F (JC602) . Athena ASEDrive IIIe Combo Bio PIV . Athena ASEDrive IIIe KB Bio PIV . GEMALTO CT1100 . GEMALTO K1100 . Hitachi, Ltd. Hitachi Biometric Reader . Hitachi, Ltd. Hitachi Portable Biometric Reader . Nitrokey Nitrokey Storage . THURSBY SOFTWARE TSS-PK1 . Thursby Software Systems, Inc. TSS-PK7 . Thursby Software Systems, Inc. TSS-PK8 - Patch for Microchip SEC1110 reader on Mac OS X (card events notification) - Patch for Cherry KC 1000 SC (problem was with a T=1 card and case 2 APDU) - Fix support of FEATURE_MCT_READER_DIRECT for the Kobil mIDentity visual reader - Set timeout to 90 sec for PPDU (Pseudo APDU) commands. This change allows the use of a Secure Verify command sent as a PPDU through SCardTransmit(). - Fix a crash when reader reader initialization failed - Fix initialization bug with Gemalto Pinpad reader on Mac OS X - Some minor bugs fixed 1.4.21 - 21 October 2015, Ludovic Rousseau - Add support of . ACS ACR1252 Dual Reader . Chicony HP USB Smartcard CCID Keyboard JP . Chicony HP USB Smartcard CCID Keyboard KR . FT ePass2003Auto . Feitian bR301 BLE . Feitian iR301 (ProductID 0x0619) . Feitian iR301 (ProductID 0x061C) . Identiv @MAXX ID-1 Smart Card Reader . Identiv @MAXX Light2 token . Identiv CLOUD 2980 F Smart Card Reader . Identiv Identiv uTrust 4701 F Dual Interface Reader . Identiv SCR3500 A Contact Reader . Identiv SCR3500 B Contact Reader . Identiv SCR35xx USB Smart Card Reader . Identiv uTrust 2900 R Smart Card Reader . Identiv uTrust 2910 R Smart Card Reader . Identiv uTrust 2910 R Taglio SC Reader . Identiv uTrust 3512 SAM slot Token . Identiv uTrust 3522 embd SE RFID Token . Identiv uTrust 3700 F CL Reader . Identiv uTrust 3701 F CL Reader . Identive Identive CLOUD 4000 F DTC . Liteon HP SC Keyboard - Apollo (Liteon) . Liteon HP SC Keyboard - Apollo JP (Liteon) . Liteon HP SC Keyboard - Apollo KR (Liteon) . Nitrokey Nitrokey HSM . Nitrokey Nitrokey Pro . Nitrokey Nitrokey Start . Rocketek RT-SCR1 . VASCO DIGIPASS 875 . WatchCNPC USB CCID Key - Remove support of . Crypto Stick Crypto Stick v1.4 is an old version of Nitrokey Nitrokey Pro . Free Software Initiative of Japan Gnuk Token is an old version of Nitrokey Nitrokey Start - Add Feitain R502 dual interface (composite) reader on Mac OS X - display a human readable version of the error code returned by libusb - Mac OS X: wait until libusb/the reader is ready - some minor bugs fixed
2017-02-16 15:30:50 +01:00
# https://alioth.debian.org/frs/?group_id=30105#title_ccid
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4205/
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)
A major version bump gives a long changelog... 1.4.5: - Add support of Alcor Micro AU9540, Ubisys 13.56MHz RFID (CCID), BIFIT USB-Token iBank2key, BIFIT iBank2Key, Gemalto Ezio Shield PinPad reader, Gemalto SA .NET Dual, Precise Sense MC reader (with fingerprint), SDS DOMINO-Key TWIN Pro - Add support of bPPDUSupport and FEATURE_CCID_ESC_COMMAND - SCARD_ATTR_VENDOR_NAME and SCARD_ATTR_VENDOR_IFD_VERSION are not the vendor name and version of the driver but of the IFD: InterFace Device i.e. the smart card reader. We then return the USB iManufacturer string as SCARD_ATTR_VENDOR_NAME and USB bcdDevice as SCARD_ATTR_VENDOR_IFD_VERSION - reduce binary size bu removing unused features from simclist - Fix some warnings reported bu Coverity 1.4.4: - Add support of Gemalto Ezio Shield, Gemalto Ezio CB+, Gemalto Ezio Shield Secure Channel, Gemalto Ezio Shield PinPad and Gemalto Ezio Generic - Activate USB automatic power suspend. The Linux kernel should power off the reader automatically if it is not used (pcscd is not running). - Add support of TLV Properties wLcdMaxCharacters and wLcdMaxLines. They just duplicate wLcdLayout - some minor bugs removed 1.4.3: - Add support of Neowave Weneo, Vasco DIGIPASS 920, SCM SCL011, Feitian ePass2003 readers - use :libudev: instead of :libhal: naming scheme. - Do not install RSA_SecurID_getpasswd and Kobil_mIDentity_switch and the associated documentation. - the Secure Pin Entry of the HP USB Smart Card Keyboard is bogus so disable it - some minor bugs removed 1.4.2: - Add support of Feitian SCR310 reader (also known as 301v2), ACS APG8201 PINhandy 1, Oberthur ID-ONE TOKEN SLIM v2, new Neowave Weneo token, Vasco DIGIPASS KEY 860, Vasco DIGIPASS KEY 200, Xiring Leo v2, Xiring MyLeo, Aktiv Rutoken lite readers - Add back support of "bogus" Oz776, REINER SCT and BLUDRIVE II - Ease detection of OpenCT by pcsc-lite - disable use of interrupt card events for multi slots readers (the algorithm is bogus and can't be used) - fix minor problems detected by the clang tool - some minor bugs removed 1.4.1: - Add support of Gemalto Smart Guardian (SG CCID), ReinerSCT cyberJack RFID basis, Akasa AK-CR-03, BZH uKeyCI800-K18, Free Software Initiative of Japan Gnuk token readers - Remove O2 Micro Oz776 and Blutronics Bludrive II CCID since they are no more supported since version 1.4.0 - SecurePINVerify() & SecurePINModify(): Accept big and little endian byte orders for multibytes fields. The application should not use HOST_TO_CCID_16() and HOST_TO_CCID_32() any more and just use the normal byte order of the architecture. - Need pcsc-lite 1.6.5 for TAG_IFD_POLLING_THREAD_WITH_TIMEOUT - Add --enable-embedded (default is no) to build libccid for an embedded system. This will activate the NO_LOG option to disable logging and limit RAM and disk consumption. - Remove --enable-udev option since it is not used anymore with libhal. The udev rules file is now used to change the access rights of the device and not send a hotplug signal to pcscd. See http://ludovicrousseau.blogspot.com/2010/09/pcscd-auto-start.html - some minor bugs removed 1.4.0: - add support of Kingtrust Multi-Reader, Dectel CI692, Todos CX00, C3PO LTC36, ACS AET65, Broadcom 5880, Tianyu Smart Card Reader, Gemalto Hybrid Smartcard Reader - Add support of the SCM SDI 010 again. At least the contact interface can be used. - Use libusb-1.0 instead of libusb-0.1 - add support of TAG_IFD_STOP_POLLING_THREAD and use of the asynchronous libusb API to be able to stop a transfer. - Request pcsc-lite 1.6.2 minimum (instead of 1.6.0) to have TAG_IFD_STOP_POLLING_THREAD defined - The O2MICRO OZ776 patch (for OZ776, OZ776_7772, REINER_SCT and BLUDRIVEII_CCID) is no more supported with libusb-1.0 - correctly get the IFSC from the ATR (ATR parsing was not always correct) - some minor bugs removed
2012-12-15 01:29:31 +01:00
LICENSE= gnu-lgpl-v2.1
.include "../../mk/bsd.prefs.mk"
A major version bump gives a long changelog... 1.4.5: - Add support of Alcor Micro AU9540, Ubisys 13.56MHz RFID (CCID), BIFIT USB-Token iBank2key, BIFIT iBank2Key, Gemalto Ezio Shield PinPad reader, Gemalto SA .NET Dual, Precise Sense MC reader (with fingerprint), SDS DOMINO-Key TWIN Pro - Add support of bPPDUSupport and FEATURE_CCID_ESC_COMMAND - SCARD_ATTR_VENDOR_NAME and SCARD_ATTR_VENDOR_IFD_VERSION are not the vendor name and version of the driver but of the IFD: InterFace Device i.e. the smart card reader. We then return the USB iManufacturer string as SCARD_ATTR_VENDOR_NAME and USB bcdDevice as SCARD_ATTR_VENDOR_IFD_VERSION - reduce binary size bu removing unused features from simclist - Fix some warnings reported bu Coverity 1.4.4: - Add support of Gemalto Ezio Shield, Gemalto Ezio CB+, Gemalto Ezio Shield Secure Channel, Gemalto Ezio Shield PinPad and Gemalto Ezio Generic - Activate USB automatic power suspend. The Linux kernel should power off the reader automatically if it is not used (pcscd is not running). - Add support of TLV Properties wLcdMaxCharacters and wLcdMaxLines. They just duplicate wLcdLayout - some minor bugs removed 1.4.3: - Add support of Neowave Weneo, Vasco DIGIPASS 920, SCM SCL011, Feitian ePass2003 readers - use :libudev: instead of :libhal: naming scheme. - Do not install RSA_SecurID_getpasswd and Kobil_mIDentity_switch and the associated documentation. - the Secure Pin Entry of the HP USB Smart Card Keyboard is bogus so disable it - some minor bugs removed 1.4.2: - Add support of Feitian SCR310 reader (also known as 301v2), ACS APG8201 PINhandy 1, Oberthur ID-ONE TOKEN SLIM v2, new Neowave Weneo token, Vasco DIGIPASS KEY 860, Vasco DIGIPASS KEY 200, Xiring Leo v2, Xiring MyLeo, Aktiv Rutoken lite readers - Add back support of "bogus" Oz776, REINER SCT and BLUDRIVE II - Ease detection of OpenCT by pcsc-lite - disable use of interrupt card events for multi slots readers (the algorithm is bogus and can't be used) - fix minor problems detected by the clang tool - some minor bugs removed 1.4.1: - Add support of Gemalto Smart Guardian (SG CCID), ReinerSCT cyberJack RFID basis, Akasa AK-CR-03, BZH uKeyCI800-K18, Free Software Initiative of Japan Gnuk token readers - Remove O2 Micro Oz776 and Blutronics Bludrive II CCID since they are no more supported since version 1.4.0 - SecurePINVerify() & SecurePINModify(): Accept big and little endian byte orders for multibytes fields. The application should not use HOST_TO_CCID_16() and HOST_TO_CCID_32() any more and just use the normal byte order of the architecture. - Need pcsc-lite 1.6.5 for TAG_IFD_POLLING_THREAD_WITH_TIMEOUT - Add --enable-embedded (default is no) to build libccid for an embedded system. This will activate the NO_LOG option to disable logging and limit RAM and disk consumption. - Remove --enable-udev option since it is not used anymore with libhal. The udev rules file is now used to change the access rights of the device and not send a hotplug signal to pcscd. See http://ludovicrousseau.blogspot.com/2010/09/pcscd-auto-start.html - some minor bugs removed 1.4.0: - add support of Kingtrust Multi-Reader, Dectel CI692, Todos CX00, C3PO LTC36, ACS AET65, Broadcom 5880, Tianyu Smart Card Reader, Gemalto Hybrid Smartcard Reader - Add support of the SCM SDI 010 again. At least the contact interface can be used. - Use libusb-1.0 instead of libusb-0.1 - add support of TAG_IFD_STOP_POLLING_THREAD and use of the asynchronous libusb API to be able to stop a transfer. - Request pcsc-lite 1.6.2 minimum (instead of 1.6.0) to have TAG_IFD_STOP_POLLING_THREAD defined - The O2MICRO OZ776 patch (for OZ776, OZ776_7772, REINER_SCT and BLUDRIVEII_CCID) is no more supported with libusb-1.0 - correctly get the IFSC from the ATR (ATR parsing was not always correct) - some minor bugs removed
2012-12-15 01:29:31 +01:00
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++
# Work around a bug where the rules for parse do not include the
# PTHREAD vars. Not yet reported upstream.
PTHREAD_AUTO_VARS= yes
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
A major version bump gives a long changelog... 1.4.5: - Add support of Alcor Micro AU9540, Ubisys 13.56MHz RFID (CCID), BIFIT USB-Token iBank2key, BIFIT iBank2Key, Gemalto Ezio Shield PinPad reader, Gemalto SA .NET Dual, Precise Sense MC reader (with fingerprint), SDS DOMINO-Key TWIN Pro - Add support of bPPDUSupport and FEATURE_CCID_ESC_COMMAND - SCARD_ATTR_VENDOR_NAME and SCARD_ATTR_VENDOR_IFD_VERSION are not the vendor name and version of the driver but of the IFD: InterFace Device i.e. the smart card reader. We then return the USB iManufacturer string as SCARD_ATTR_VENDOR_NAME and USB bcdDevice as SCARD_ATTR_VENDOR_IFD_VERSION - reduce binary size bu removing unused features from simclist - Fix some warnings reported bu Coverity 1.4.4: - Add support of Gemalto Ezio Shield, Gemalto Ezio CB+, Gemalto Ezio Shield Secure Channel, Gemalto Ezio Shield PinPad and Gemalto Ezio Generic - Activate USB automatic power suspend. The Linux kernel should power off the reader automatically if it is not used (pcscd is not running). - Add support of TLV Properties wLcdMaxCharacters and wLcdMaxLines. They just duplicate wLcdLayout - some minor bugs removed 1.4.3: - Add support of Neowave Weneo, Vasco DIGIPASS 920, SCM SCL011, Feitian ePass2003 readers - use :libudev: instead of :libhal: naming scheme. - Do not install RSA_SecurID_getpasswd and Kobil_mIDentity_switch and the associated documentation. - the Secure Pin Entry of the HP USB Smart Card Keyboard is bogus so disable it - some minor bugs removed 1.4.2: - Add support of Feitian SCR310 reader (also known as 301v2), ACS APG8201 PINhandy 1, Oberthur ID-ONE TOKEN SLIM v2, new Neowave Weneo token, Vasco DIGIPASS KEY 860, Vasco DIGIPASS KEY 200, Xiring Leo v2, Xiring MyLeo, Aktiv Rutoken lite readers - Add back support of "bogus" Oz776, REINER SCT and BLUDRIVE II - Ease detection of OpenCT by pcsc-lite - disable use of interrupt card events for multi slots readers (the algorithm is bogus and can't be used) - fix minor problems detected by the clang tool - some minor bugs removed 1.4.1: - Add support of Gemalto Smart Guardian (SG CCID), ReinerSCT cyberJack RFID basis, Akasa AK-CR-03, BZH uKeyCI800-K18, Free Software Initiative of Japan Gnuk token readers - Remove O2 Micro Oz776 and Blutronics Bludrive II CCID since they are no more supported since version 1.4.0 - SecurePINVerify() & SecurePINModify(): Accept big and little endian byte orders for multibytes fields. The application should not use HOST_TO_CCID_16() and HOST_TO_CCID_32() any more and just use the normal byte order of the architecture. - Need pcsc-lite 1.6.5 for TAG_IFD_POLLING_THREAD_WITH_TIMEOUT - Add --enable-embedded (default is no) to build libccid for an embedded system. This will activate the NO_LOG option to disable logging and limit RAM and disk consumption. - Remove --enable-udev option since it is not used anymore with libhal. The udev rules file is now used to change the access rights of the device and not send a hotplug signal to pcscd. See http://ludovicrousseau.blogspot.com/2010/09/pcscd-auto-start.html - some minor bugs removed 1.4.0: - add support of Kingtrust Multi-Reader, Dectel CI692, Todos CX00, C3PO LTC36, ACS AET65, Broadcom 5880, Tianyu Smart Card Reader, Gemalto Hybrid Smartcard Reader - Add support of the SCM SDI 010 again. At least the contact interface can be used. - Use libusb-1.0 instead of libusb-0.1 - add support of TAG_IFD_STOP_POLLING_THREAD and use of the asynchronous libusb API to be able to stop a transfer. - Request pcsc-lite 1.6.2 minimum (instead of 1.6.0) to have TAG_IFD_STOP_POLLING_THREAD defined - The O2MICRO OZ776 patch (for OZ776, OZ776_7772, REINER_SCT and BLUDRIVEII_CCID) is no more supported with libusb-1.0 - correctly get the IFSC from the ATR (ATR parsing was not always correct) - some minor bugs removed
2012-12-15 01:29:31 +01:00
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:
A major version bump gives a long changelog... 1.4.5: - Add support of Alcor Micro AU9540, Ubisys 13.56MHz RFID (CCID), BIFIT USB-Token iBank2key, BIFIT iBank2Key, Gemalto Ezio Shield PinPad reader, Gemalto SA .NET Dual, Precise Sense MC reader (with fingerprint), SDS DOMINO-Key TWIN Pro - Add support of bPPDUSupport and FEATURE_CCID_ESC_COMMAND - SCARD_ATTR_VENDOR_NAME and SCARD_ATTR_VENDOR_IFD_VERSION are not the vendor name and version of the driver but of the IFD: InterFace Device i.e. the smart card reader. We then return the USB iManufacturer string as SCARD_ATTR_VENDOR_NAME and USB bcdDevice as SCARD_ATTR_VENDOR_IFD_VERSION - reduce binary size bu removing unused features from simclist - Fix some warnings reported bu Coverity 1.4.4: - Add support of Gemalto Ezio Shield, Gemalto Ezio CB+, Gemalto Ezio Shield Secure Channel, Gemalto Ezio Shield PinPad and Gemalto Ezio Generic - Activate USB automatic power suspend. The Linux kernel should power off the reader automatically if it is not used (pcscd is not running). - Add support of TLV Properties wLcdMaxCharacters and wLcdMaxLines. They just duplicate wLcdLayout - some minor bugs removed 1.4.3: - Add support of Neowave Weneo, Vasco DIGIPASS 920, SCM SCL011, Feitian ePass2003 readers - use :libudev: instead of :libhal: naming scheme. - Do not install RSA_SecurID_getpasswd and Kobil_mIDentity_switch and the associated documentation. - the Secure Pin Entry of the HP USB Smart Card Keyboard is bogus so disable it - some minor bugs removed 1.4.2: - Add support of Feitian SCR310 reader (also known as 301v2), ACS APG8201 PINhandy 1, Oberthur ID-ONE TOKEN SLIM v2, new Neowave Weneo token, Vasco DIGIPASS KEY 860, Vasco DIGIPASS KEY 200, Xiring Leo v2, Xiring MyLeo, Aktiv Rutoken lite readers - Add back support of "bogus" Oz776, REINER SCT and BLUDRIVE II - Ease detection of OpenCT by pcsc-lite - disable use of interrupt card events for multi slots readers (the algorithm is bogus and can't be used) - fix minor problems detected by the clang tool - some minor bugs removed 1.4.1: - Add support of Gemalto Smart Guardian (SG CCID), ReinerSCT cyberJack RFID basis, Akasa AK-CR-03, BZH uKeyCI800-K18, Free Software Initiative of Japan Gnuk token readers - Remove O2 Micro Oz776 and Blutronics Bludrive II CCID since they are no more supported since version 1.4.0 - SecurePINVerify() & SecurePINModify(): Accept big and little endian byte orders for multibytes fields. The application should not use HOST_TO_CCID_16() and HOST_TO_CCID_32() any more and just use the normal byte order of the architecture. - Need pcsc-lite 1.6.5 for TAG_IFD_POLLING_THREAD_WITH_TIMEOUT - Add --enable-embedded (default is no) to build libccid for an embedded system. This will activate the NO_LOG option to disable logging and limit RAM and disk consumption. - Remove --enable-udev option since it is not used anymore with libhal. The udev rules file is now used to change the access rights of the device and not send a hotplug signal to pcscd. See http://ludovicrousseau.blogspot.com/2010/09/pcscd-auto-start.html - some minor bugs removed 1.4.0: - add support of Kingtrust Multi-Reader, Dectel CI692, Todos CX00, C3PO LTC36, ACS AET65, Broadcom 5880, Tianyu Smart Card Reader, Gemalto Hybrid Smartcard Reader - Add support of the SCM SDI 010 again. At least the contact interface can be used. - Use libusb-1.0 instead of libusb-0.1 - add support of TAG_IFD_STOP_POLLING_THREAD and use of the asynchronous libusb API to be able to stop a transfer. - Request pcsc-lite 1.6.2 minimum (instead of 1.6.0) to have TAG_IFD_STOP_POLLING_THREAD defined - The O2MICRO OZ776 patch (for OZ776, OZ776_7772, REINER_SCT and BLUDRIVEII_CCID) is no more supported with libusb-1.0 - correctly get the IFSC from the ATR (ATR parsing was not always correct) - some minor bugs removed
2012-12-15 01:29:31 +01:00
${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"
A major version bump gives a long changelog... 1.4.5: - Add support of Alcor Micro AU9540, Ubisys 13.56MHz RFID (CCID), BIFIT USB-Token iBank2key, BIFIT iBank2Key, Gemalto Ezio Shield PinPad reader, Gemalto SA .NET Dual, Precise Sense MC reader (with fingerprint), SDS DOMINO-Key TWIN Pro - Add support of bPPDUSupport and FEATURE_CCID_ESC_COMMAND - SCARD_ATTR_VENDOR_NAME and SCARD_ATTR_VENDOR_IFD_VERSION are not the vendor name and version of the driver but of the IFD: InterFace Device i.e. the smart card reader. We then return the USB iManufacturer string as SCARD_ATTR_VENDOR_NAME and USB bcdDevice as SCARD_ATTR_VENDOR_IFD_VERSION - reduce binary size bu removing unused features from simclist - Fix some warnings reported bu Coverity 1.4.4: - Add support of Gemalto Ezio Shield, Gemalto Ezio CB+, Gemalto Ezio Shield Secure Channel, Gemalto Ezio Shield PinPad and Gemalto Ezio Generic - Activate USB automatic power suspend. The Linux kernel should power off the reader automatically if it is not used (pcscd is not running). - Add support of TLV Properties wLcdMaxCharacters and wLcdMaxLines. They just duplicate wLcdLayout - some minor bugs removed 1.4.3: - Add support of Neowave Weneo, Vasco DIGIPASS 920, SCM SCL011, Feitian ePass2003 readers - use :libudev: instead of :libhal: naming scheme. - Do not install RSA_SecurID_getpasswd and Kobil_mIDentity_switch and the associated documentation. - the Secure Pin Entry of the HP USB Smart Card Keyboard is bogus so disable it - some minor bugs removed 1.4.2: - Add support of Feitian SCR310 reader (also known as 301v2), ACS APG8201 PINhandy 1, Oberthur ID-ONE TOKEN SLIM v2, new Neowave Weneo token, Vasco DIGIPASS KEY 860, Vasco DIGIPASS KEY 200, Xiring Leo v2, Xiring MyLeo, Aktiv Rutoken lite readers - Add back support of "bogus" Oz776, REINER SCT and BLUDRIVE II - Ease detection of OpenCT by pcsc-lite - disable use of interrupt card events for multi slots readers (the algorithm is bogus and can't be used) - fix minor problems detected by the clang tool - some minor bugs removed 1.4.1: - Add support of Gemalto Smart Guardian (SG CCID), ReinerSCT cyberJack RFID basis, Akasa AK-CR-03, BZH uKeyCI800-K18, Free Software Initiative of Japan Gnuk token readers - Remove O2 Micro Oz776 and Blutronics Bludrive II CCID since they are no more supported since version 1.4.0 - SecurePINVerify() & SecurePINModify(): Accept big and little endian byte orders for multibytes fields. The application should not use HOST_TO_CCID_16() and HOST_TO_CCID_32() any more and just use the normal byte order of the architecture. - Need pcsc-lite 1.6.5 for TAG_IFD_POLLING_THREAD_WITH_TIMEOUT - Add --enable-embedded (default is no) to build libccid for an embedded system. This will activate the NO_LOG option to disable logging and limit RAM and disk consumption. - Remove --enable-udev option since it is not used anymore with libhal. The udev rules file is now used to change the access rights of the device and not send a hotplug signal to pcscd. See http://ludovicrousseau.blogspot.com/2010/09/pcscd-auto-start.html - some minor bugs removed 1.4.0: - add support of Kingtrust Multi-Reader, Dectel CI692, Todos CX00, C3PO LTC36, ACS AET65, Broadcom 5880, Tianyu Smart Card Reader, Gemalto Hybrid Smartcard Reader - Add support of the SCM SDI 010 again. At least the contact interface can be used. - Use libusb-1.0 instead of libusb-0.1 - add support of TAG_IFD_STOP_POLLING_THREAD and use of the asynchronous libusb API to be able to stop a transfer. - Request pcsc-lite 1.6.2 minimum (instead of 1.6.0) to have TAG_IFD_STOP_POLLING_THREAD defined - The O2MICRO OZ776 patch (for OZ776, OZ776_7772, REINER_SCT and BLUDRIVEII_CCID) is no more supported with libusb-1.0 - correctly get the IFSC from the ATR (ATR parsing was not always correct) - some minor bugs removed
2012-12-15 01:29:31 +01:00
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"