Date: Fri, 20 Feb 2004 13:10:41 +0100 (CET) From: Toni Andjelkovic <toni@soth.at> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63120: New port: devel/slb_rf60 Message-ID: <200402201210.i1KCAfGh075681@shaft.soth.at> Resent-Message-ID: <200402201220.i1KCKHa9007536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63120 >Category: ports >Synopsis: New port: devel/slb_rf60 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Feb 20 04:20:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Toni Andjelkovic >Release: FreeBSD 5.2-RELEASE i386 >Organization: >Environment: System: FreeBSD shaft.soth.at 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is a pcsc-lite driver for the Schlumberger Reflex 62/64 serial smartcard reader. >How-To-Repeat: >Fix: # 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: # # slb_rf60 # slb_rf60/files # slb_rf60/files/pkg-message.in # slb_rf60/files/patch-ctapi.c # slb_rf60/files/patch-serial.h # slb_rf60/Makefile # slb_rf60/pkg-plist # slb_rf60/pkg-descr # slb_rf60/distinfo # echo c - slb_rf60 mkdir -p slb_rf60 > /dev/null 2>&1 echo c - slb_rf60/files mkdir -p slb_rf60/files > /dev/null 2>&1 echo x - slb_rf60/files/pkg-message.in sed 's/^X//' >slb_rf60/files/pkg-message.in << 'END-of-slb_rf60/files/pkg-message.in' X------------------------------------------------------------------------ X XYou can activate the driver on /dev/cuaa0 by adding the following Xlines to %%PREFIX%%/etc/reader.conf: X XFRIENDLYNAME "Reflex 62" XDEVICENAME GEN_SMART_RDR XLIBPATH %%PREFIX%%/pcsc/drivers/libslb_rf60.so XCHANNELID 0x0103F8 X X------------------------------------------------------------------------ END-of-slb_rf60/files/pkg-message.in echo x - slb_rf60/files/patch-ctapi.c sed 's/^X//' >slb_rf60/files/patch-ctapi.c << 'END-of-slb_rf60/files/patch-ctapi.c' X--- ctapi.c.bak Fri Feb 20 05:40:24 2004 X+++ ctapi.c Fri Feb 20 12:32:47 2004 X@@ -29,7 +29,7 @@ X #endif X X #ifndef SUN_SPARC X- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS0"); X+ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa0"); X #endif X X break; X@@ -41,7 +41,7 @@ X #endif X X #ifndef SUN_SPARC X- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS1"); X+ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa1"); X #endif X X break; X@@ -53,7 +53,7 @@ X #endif X X #ifndef SUN_SPARC X- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS2"); X+ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa2"); X #endif X X break; X@@ -65,7 +65,7 @@ X #endif X X #ifndef SUN_SPARC X- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS3"); X+ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa3"); X #endif X X break; END-of-slb_rf60/files/patch-ctapi.c echo x - slb_rf60/files/patch-serial.h sed 's/^X//' >slb_rf60/files/patch-serial.h << 'END-of-slb_rf60/files/patch-serial.h' X--- serial.h.bak Fri Feb 20 07:26:31 2004 X+++ serial.h Fri Feb 20 07:26:45 2004 X@@ -65,6 +65,6 @@ X void X ); X X-#define DATA_DUMP_FILE "dump" X+/* #define DATA_DUMP_FILE "dump" */ X X #endif END-of-slb_rf60/files/patch-serial.h echo x - slb_rf60/Makefile sed 's/^X//' >slb_rf60/Makefile << 'END-of-slb_rf60/Makefile' X# New ports collection makefile for: slb_rf60 X# Date created: 20 Feb 2003 X# Whom: Toni Andjelkovic <toni@soth.at> X# X# $FreeBSD$ X# X XPORTNAME= slb_rf60 XPORTVERSION= 2.2.0 XCATEGORIES= devel security XMASTER_SITES= http://www.linuxnet.com/drivers/readers/files/ XDISTNAME= ${PORTNAME}-drv-${PORTVERSION} XWRKSRC= ${WRKDIR}/${PORTNAME} X XMAINTAINER= toni@soth.at XCOMMENT= pcsc-lite driver for Schlumberger Reflex 62/64 XCOMMENT+= serial smartcard reader X XLIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite X XUSE_GMAKE= yes X XPKGMESSAGE= ${WRKDIR}/pkg-message X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/libslb_rf60.so \ X ${PREFIX}/pcsc/drivers/libslb_rf60.so X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} X.endif X @${SED} 's,%%PREFIX%%,${PREFIX},g' < ${FILESDIR}/pkg-message.in > \ X ${WRKDIR}/pkg-message X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-slb_rf60/Makefile echo x - slb_rf60/pkg-plist sed 's/^X//' >slb_rf60/pkg-plist << 'END-of-slb_rf60/pkg-plist' Xpcsc/drivers/libslb_rf60.so X%%PORTDOCS%%share/doc/slb_rf60/README X%%PORTDOCS%%@dirrm share/doc/slb_rf60 END-of-slb_rf60/pkg-plist echo x - slb_rf60/pkg-descr sed 's/^X//' >slb_rf60/pkg-descr << 'END-of-slb_rf60/pkg-descr' XThis is a pcsc-lite driver for the Schlumberger Reflex 62/64 Xserial smartcard reader. X XAuthors: David Corcoran <corcoran@linuxnet.com>, X XWWW: http://www.linuxnet.com/sourcedrivers.html END-of-slb_rf60/pkg-descr echo x - slb_rf60/distinfo sed 's/^X//' >slb_rf60/distinfo << 'END-of-slb_rf60/distinfo' XMD5 (slb_rf60-drv-2.2.0.tar.gz) = 3f6866fd52f166bbed026a1292a5a621 END-of-slb_rf60/distinfo exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402201210.i1KCAfGh075681>