diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/ifd-slb_rf60/Makefile | 40 | ||||
-rw-r--r-- | security/ifd-slb_rf60/distinfo | 1 | ||||
-rw-r--r-- | security/ifd-slb_rf60/files/patch-ctapi.c | 38 | ||||
-rw-r--r-- | security/ifd-slb_rf60/files/patch-serial.h | 10 | ||||
-rw-r--r-- | security/ifd-slb_rf60/files/pkg-message.in | 11 | ||||
-rw-r--r-- | security/ifd-slb_rf60/pkg-descr | 6 |
7 files changed, 107 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 0ee9c8a50156..d15044d5692a 100644 --- a/security/Makefile +++ b/security/Makefile @@ -132,6 +132,7 @@ SUBDIR += ifd-devkit SUBDIR += ifd-gempc410 SUBDIR += ifd-gpr400 + SUBDIR += ifd-slb_rf60 SUBDIR += ike-scan SUBDIR += integrit SUBDIR += ipfmeta diff --git a/security/ifd-slb_rf60/Makefile b/security/ifd-slb_rf60/Makefile new file mode 100644 index 000000000000..7ff82dd2804f --- /dev/null +++ b/security/ifd-slb_rf60/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: slb_rf60 +# Date created: 20 Feb 2003 +# Whom: Toni Andjelkovic <toni@soth.at> +# +# $FreeBSD$ +# + +PORTNAME= ifd-slb_rf60 +PORTVERSION= 2.2.0 +CATEGORIES= security devel +MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/ +DISTNAME= ${PORTNAME:S/^ifd-//}-drv-${PORTVERSION} + +MAINTAINER= toni@soth.at +COMMENT= PC/SC Lite driver for the Reflex 62 serial smart card reader + +LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite + +USE_GMAKE= yes + +PKGMESSAGE= ${WRKDIR}/pkg-message +WRKSRC= ${WRKDIR}/${PORTNAME:S/^ifd-//} + +PORTDOCS= README +PLIST_FILES= pcsc/drivers/libslb_rf60.so + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libslb_rf60.so \ + ${PREFIX}/pcsc/drivers/libslb_rf60.so + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + @${SED} 's,%%PREFIX%%,${PREFIX},g' < ${FILESDIR}/pkg-message.in > \ + ${WRKDIR}/pkg-message + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/security/ifd-slb_rf60/distinfo b/security/ifd-slb_rf60/distinfo new file mode 100644 index 000000000000..0a044a85d2ed --- /dev/null +++ b/security/ifd-slb_rf60/distinfo @@ -0,0 +1 @@ +MD5 (slb_rf60-drv-2.2.0.tar.gz) = 3f6866fd52f166bbed026a1292a5a621 diff --git a/security/ifd-slb_rf60/files/patch-ctapi.c b/security/ifd-slb_rf60/files/patch-ctapi.c new file mode 100644 index 000000000000..3b723e099892 --- /dev/null +++ b/security/ifd-slb_rf60/files/patch-ctapi.c @@ -0,0 +1,38 @@ +--- ctapi.c.bak Fri Feb 20 05:40:24 2004 ++++ ctapi.c Fri Feb 20 12:32:47 2004 +@@ -29,7 +29,7 @@ + #endif + + #ifndef SUN_SPARC +- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS0"); ++ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa0"); + #endif + + break; +@@ -41,7 +41,7 @@ + #endif + + #ifndef SUN_SPARC +- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS1"); ++ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa1"); + #endif + + break; +@@ -53,7 +53,7 @@ + #endif + + #ifndef SUN_SPARC +- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS2"); ++ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa2"); + #endif + + break; +@@ -65,7 +65,7 @@ + #endif + + #ifndef SUN_SPARC +- BretVal = IO_InitializePort(9600,8,'E',"/dev/ttyS3"); ++ BretVal = IO_InitializePort(9600,8,'E',"/dev/cuaa3"); + #endif + + break; diff --git a/security/ifd-slb_rf60/files/patch-serial.h b/security/ifd-slb_rf60/files/patch-serial.h new file mode 100644 index 000000000000..8c4fd2644e5d --- /dev/null +++ b/security/ifd-slb_rf60/files/patch-serial.h @@ -0,0 +1,10 @@ +--- serial.h.bak Fri Feb 20 07:26:31 2004 ++++ serial.h Fri Feb 20 07:26:45 2004 +@@ -65,6 +65,6 @@ + void + ); + +-#define DATA_DUMP_FILE "dump" ++/* #define DATA_DUMP_FILE "dump" */ + + #endif diff --git a/security/ifd-slb_rf60/files/pkg-message.in b/security/ifd-slb_rf60/files/pkg-message.in new file mode 100644 index 000000000000..61e8c7f76c02 --- /dev/null +++ b/security/ifd-slb_rf60/files/pkg-message.in @@ -0,0 +1,11 @@ +------------------------------------------------------------------------ + +You can activate the driver on /dev/cuaa0 by adding the following +lines to %%PREFIX%%/etc/reader.conf: + +FRIENDLYNAME "Reflex 62" +DEVICENAME GEN_SMART_RDR +LIBPATH %%PREFIX%%/pcsc/drivers/libslb_rf60.so +CHANNELID 0x0103F8 + +------------------------------------------------------------------------ diff --git a/security/ifd-slb_rf60/pkg-descr b/security/ifd-slb_rf60/pkg-descr new file mode 100644 index 000000000000..14d1ebe0d466 --- /dev/null +++ b/security/ifd-slb_rf60/pkg-descr @@ -0,0 +1,6 @@ +This is a pcsc-lite driver for the Schlumberger Reflex 62/64 +serial smartcard reader. + +Authors: David Corcoran <corcoran@linuxnet.com>, + +WWW: http://www.linuxnet.com/sourcedrivers.html |