Import openct 0.6.6

OpenCT implements drivers for several smart card readers. It comes as
driver in ifdhandler format for PC/SC-Lite, as CT-API driver, or as a
small and lean middleware, so applications can use it with minimal
overhead. OpenCT also has a primitive mechanism to export smart card
readers to remote machines via tcp/ip.

From Douglas Santos <dsantos@hydroxyl.org>
This commit is contained in:
alek 2005-10-04 21:58:54 +00:00
parent f6534cb730
commit aec38b75c2
5 changed files with 97 additions and 0 deletions

39
security/openct/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/10/04 21:58:54 alek Exp $
COMMENT= "drivers for several smart card readers"
DISTNAME= openct-0.6.6
CATEGORIES= security
HOMEPAGE= http://www.opensc.org/openct
MAINTAINER= Douglas Santos <dsantos@hydroxyl.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.opensc.org/files/
WANTLIB= c pthread
LIB_DEPENDS= usb.8::devel/libusb \
ltdl.4::devel/libtool
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu old
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--sysconfdir=${SYSCONFDIR} \
--with-common-dir=${LOCALBASE}
CONFIGURE_ENV= PTHREAD_LIBS=-pthread
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openct
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf \
${PREFIX}/share/examples/openct
.include <bsd.port.mk>

4
security/openct/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (openct-0.6.6.tar.gz) = a9de3bef8e5e2827b8d72a2a50d0bc66
RMD160 (openct-0.6.6.tar.gz) = cbeb9b594af1b83e721d550dc8de0a012a782433
SHA1 (openct-0.6.6.tar.gz) = ba1137098e3357863a54aba44a4306567c5141c4
SIZE (openct-0.6.6.tar.gz) = 563890

15
security/openct/pkg/DESCR Normal file
View File

@ -0,0 +1,15 @@
OpenCT implements drivers for several smart card readers. It comes as
driver in ifdhandler format for PC/SC-Lite, as CT-API driver, or as a
small and lean middleware, so applications can use it with minimal
overhead. OpenCT also has a primitive mechanism to export smart card
readers to remote machines via tcp/ip.
All recent usb readers most likely implement the CCID specification and
thus the generic USB CCID driver should work.
* generic USB CCID driver
* Towitoko readers and compatibles
* Schlumberger/Axalto e-gate tokens
* Aladdin eToken PRO
* Rainbow iKey 3000
* PertoSmart USB and Serial (ACS AC-1030)

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/10/04 21:58:54 alek Exp $
@lib lib/libopenct.so.1.0
lib/libopenctapi.so

36
security/openct/pkg/PLIST Normal file
View File

@ -0,0 +1,36 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/10/04 21:58:54 alek Exp $
%%SHARED%%
bin/openct-tool
include/openct/
include/openct/apdu.h
include/openct/buffer.h
include/openct/conf.h
include/openct/ctapi.h
include/openct/device.h
include/openct/driver.h
include/openct/error.h
include/openct/ifd.h
include/openct/logging.h
include/openct/openct.h
include/openct/protocol.h
include/openct/server.h
include/openct/socket.h
include/openct/tlv.h
include/openct/types.h
lib/libopenct.a
lib/libopenct.la
lib/libopenctapi.a
lib/libopenctapi.la
lib/pkgconfig/
lib/pkgconfig/libopenct.pc
@man man/man1/openct-tool.1
sbin/ifdhandler
sbin/ifdproxy
sbin/openct-control
share/examples/openct/
share/examples/openct/openct.conf
@mode 644
@sample ${SYSCONFDIR}/openct.conf
@mode 755
@sample /var/run/openct/
@extraunexec rm -rf /var/run/openct/*