ports/82990: [NEW PORT] security/openct: A middleware framework for smart card terminals
Janos Mohacsi
janos.mohacsi at niif.hu
Mon Jul 4 23:00:34 UTC 2005
>Number: 82990
>Category: ports
>Synopsis: [NEW PORT] security/openct: A middleware framework for smart card terminals
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 04 23:00:33 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Jul 1 10:29:34 CEST
>Description:
OpenCT, a middleware framework for smart card terminals.
It all started with a reader driver library to provide a framework for people
writing drivers for smart card readers. The idea was to provide all the usual
stuff (T=0, T=1, serial vs. USB device handling, etc) in a single place, and
reduce driver writing to interaction with the device itself.
OpenCT provides a native OpenCT, CT-API and PC/SC Lite IFD interface with an
OpenCT ifdhandler resource manager.
OpenCT is an open source implementation providing card terminal drivers:
Towitoko CHIPDRIVE micro - serial interface reader
KOBIL KAAN Professional - serial interface reader
Schlumberger e-gate - USB token / smart card reader
Aladdin eToken PRO - USB crypto Token
Eutron CryptoIdentity IT-SEC - A USB crypto Token
Rainbow iKey 3000 - USB crypto Token
OMNIKEY CardMan - UDB smart card reader
WWW: http://www.opensc.org/
Warning! usb detach is not working yet....
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- openct-0.6.5.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# openct
# openct/pkg-descr
# openct/Makefile
# openct/pkg-plist
# openct/distinfo
# openct/files
# openct/files/patch-src_ct_Makefile.in
#
echo c - openct
mkdir -p openct > /dev/null 2>&1
echo x - openct/pkg-descr
sed 's/^X//' >openct/pkg-descr << 'END-of-openct/pkg-descr'
XOpenCT, a middleware framework for smart card terminals.
XIt all started with a reader driver library to provide a framework for people
Xwriting drivers for smart card readers. The idea was to provide all the usual
Xstuff (T=0, T=1, serial vs. USB device handling, etc) in a single place, and
Xreduce driver writing to interaction with the device itself.
X
XOpenCT provides a native OpenCT, CT-API and PC/SC Lite IFD interface with an
XOpenCT ifdhandler resource manager.
X
XOpenCT is an open source implementation providing card terminal drivers:
XTowitoko CHIPDRIVE micro - serial interface reader
XKOBIL KAAN Professional - serial interface reader
XSchlumberger e-gate - USB token / smart card reader
XAladdin eToken PRO - USB crypto Token
XEutron CryptoIdentity IT-SEC - A USB crypto Token
XRainbow iKey 3000 - USB crypto Token
XOMNIKEY CardMan - UDB smart card reader
X
XWWW: http://www.opensc.org/
END-of-openct/pkg-descr
echo x - openct/Makefile
sed 's/^X//' >openct/Makefile << 'END-of-openct/Makefile'
X# New ports collection makefile for: openct
X# Date created: 2004-09-08
X# Whom: Janos Mohacsi <janos.mohacsi at bsd.hu>
X#
X# $FreeBSD$
X#
X
XPORTNAME= openct
XPORTVERSION= 0.6.5
XCATEGORIES= security
XMASTER_SITES= http://www.opensc.org/files/
X
XMAINTAINER= janos.mohacsi at bsd.hu
XCOMMENT= A middleware framework for smart card terminals
X
XBUILD_DEPENDS= ${LOCALBASE}/bin/pkg-config:${PORTSDIR}/devel/pkgconfig
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XUSE_LIBTOOL_VER= 15
XUSE_GMAKE= yes
XINSTALLS_SHLIB= yes
X
XCONFIGURE_ARGS= --prefix=${PREFIX}
X
XDOC_FILES= README export-wiki.sh export-wiki.xsl ${HTML_FILES}
X
XHTML_FILES= AuthorsAndCredits.html FilesTools.html LicenseText.html \
X OperatingSystems.html QuickStart.html RecentResults.html \
X RemoteAccess.html SecureSetup.html SupportedReaders.html \
X TroubleShooting.html cardman.html ccid.html egate.html \
X etoken.html eutron.html gempc.html ikey2032.html \
X ikey3000.html index.html kaan.html smartboard.html \
X towitoko.html trac.css
X
X.if !defined(WITHOUT_PCSC_LITE)
XLIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
X.endif
X
Xpost-install:
X #run files
X ${MKDIR} /var/run/${PORTNAME}
X #sample config file
X ${INSTALL_DATA} ${WRKSRC}/etc/openct.conf ${PREFIX}/etc/openct.conf-sample
X #start daemons script
X ${INSTALL_SCRIPT} ${WRKSRC}/etc/init-script ${PREFIX}/etc/rc.d/openct.sh
X.ifndef(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-openct/Makefile
echo x - openct/pkg-plist
sed 's/^X//' >openct/pkg-plist << 'END-of-openct/pkg-plist'
Xbin/openct-tool
Xsbin/ifdhandler
Xsbin/ifdproxy
Xsbin/openct-control
Xinclude/openct/apdu.h
Xinclude/openct/buffer.h
Xinclude/openct/conf.h
Xinclude/openct/ctapi.h
Xinclude/openct/device.h
Xinclude/openct/driver.h
Xinclude/openct/error.h
Xinclude/openct/ifd.h
Xinclude/openct/logging.h
Xinclude/openct/openct.h
Xinclude/openct/protocol.h
Xinclude/openct/server.h
Xinclude/openct/socket.h
Xinclude/openct/tlv.h
Xinclude/openct/types.h
Xlib/openct-ifd.so
Xlib/openct-ifd.bundle/Contents/Info.plist
Xlib/openct-ifd.bundle/Contents/PkgInfo
Xlib/openct-ifd.bundle/Contents/FreeBSD/openct-ifd.so
Xlib/libopenct.a
Xlib/libopenct.so
Xlib/libopenct.so.1
Xlib/libopenctapi.a
Xlib/libopenctapi.so
Xlib/libifd.a
Xlib/libifd.so
Xlib/libifd.so.1
Xlibdata/pkgconfig/libopenct.pc
Xetc/openct.conf-sample
Xetc/rc.d/openct.sh
X at dirrm include/openct/
X at dirrm lib/openct-ifd.bundle/Contents/FreeBSD/
X at dirrm lib/openct-ifd.bundle/Contents/
X at dirrm lib/openct-ifd.bundle/
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/export-wiki.sh
X%%PORTDOCS%%%%DOCSDIR%%/export-wiki.xsl
X%%PORTDOCS%%%%DOCSDIR%%/AuthorsAndCredits.html
X%%PORTDOCS%%%%DOCSDIR%%/FilesTools.html
X%%PORTDOCS%%%%DOCSDIR%%/LicenseText.html
X%%PORTDOCS%%%%DOCSDIR%%/OperatingSystems.html
X%%PORTDOCS%%%%DOCSDIR%%/QuickStart.html
X%%PORTDOCS%%%%DOCSDIR%%/RecentResults.html
X%%PORTDOCS%%%%DOCSDIR%%/RemoteAccess.html
X%%PORTDOCS%%%%DOCSDIR%%/SecureSetup.html
X%%PORTDOCS%%%%DOCSDIR%%/SupportedReaders.html
X%%PORTDOCS%%%%DOCSDIR%%/TroubleShooting.html
X%%PORTDOCS%%%%DOCSDIR%%/cardman.html
X%%PORTDOCS%%%%DOCSDIR%%/ccid.html
X%%PORTDOCS%%%%DOCSDIR%%/egate.html
X%%PORTDOCS%%%%DOCSDIR%%/etoken.html
X%%PORTDOCS%%%%DOCSDIR%%/eutron.html
X%%PORTDOCS%%%%DOCSDIR%%/gempc.html
X%%PORTDOCS%%%%DOCSDIR%%/ikey2032.html
X%%PORTDOCS%%%%DOCSDIR%%/ikey3000.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/kaan.html
X%%PORTDOCS%%%%DOCSDIR%%/smartboard.html
X%%PORTDOCS%%%%DOCSDIR%%/towitoko.html
X%%PORTDOCS%%%%DOCSDIR%%/trac.css
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-openct/pkg-plist
echo x - openct/distinfo
sed 's/^X//' >openct/distinfo << 'END-of-openct/distinfo'
XMD5 (openct-0.6.5.tar.gz) = 86bafd61788139f28671872da287fa0a
XSIZE (openct-0.6.5.tar.gz) = 486355
END-of-openct/distinfo
echo c - openct/files
mkdir -p openct/files > /dev/null 2>&1
echo x - openct/files/patch-src_ct_Makefile.in
sed 's/^X//' >openct/files/patch-src_ct_Makefile.in << 'END-of-openct/files/patch-src_ct_Makefile.in'
X
X$FreeBSD$
X
X--- src/ct/Makefile.in.orig Tue Jul 20 23:56:08 2004
X+++ src/ct/Makefile.in Wed Sep 8 18:38:25 2004
X@@ -169,7 +169,7 @@
X
X libopenct_la_LDFLAGS = -version-info @OPENCT_LT_CURRENT@:@OPENCT_LT_REVISION@:@OPENCT_LT_AGE@
X
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = @prefix@/libdata/pkgconfig
X pkgconfig_DATA = libopenct.pc
X subdir = src/ct
X ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
END-of-openct/files/patch-src_ct_Makefile.in
exit
--- openct-0.6.5.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list