diff options
author | edwin <edwin@FreeBSD.org> | 2003-01-20 14:48:17 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-01-20 14:48:17 +0800 |
commit | c4226c2f462cd093c59638b818eff78624e03054 (patch) | |
tree | 45c788cf78206a7262a0f44741ecd7a343a5cc07 /security | |
parent | ac38fa5d3fc013b6c3b7cf26ac4d36cfb56059cb (diff) | |
download | freebsd-ports-graphics-c4226c2f462cd093c59638b818eff78624e03054.tar.gz freebsd-ports-graphics-c4226c2f462cd093c59638b818eff78624e03054.tar.zst freebsd-ports-graphics-c4226c2f462cd093c59638b818eff78624e03054.zip |
New port: devel/ifd-devkit: PC/SC Lite IFD Driver Kit
Smart card intermediate driver development kit for PC/SC Lite.
PR: ports/42694
Submitted by: Bruce M Simpson <bms@spc.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/ifd-devkit/Makefile | 21 | ||||
-rw-r--r-- | security/ifd-devkit/distinfo | 1 | ||||
-rw-r--r-- | security/ifd-devkit/files/patch-Makefile | 72 | ||||
-rw-r--r-- | security/ifd-devkit/pkg-comment | 1 | ||||
-rw-r--r-- | security/ifd-devkit/pkg-descr | 8 | ||||
-rw-r--r-- | security/ifd-devkit/pkg-plist | 3 |
7 files changed, 107 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 900d384ff4b..2388487d353 100644 --- a/security/Makefile +++ b/security/Makefile @@ -84,6 +84,7 @@ SUBDIR += hping SUBDIR += ident2 SUBDIR += identify + SUBDIR += ifd-devkit SUBDIR += inflex SUBDIR += integrit SUBDIR += ipfmeta diff --git a/security/ifd-devkit/Makefile b/security/ifd-devkit/Makefile new file mode 100644 index 00000000000..bf11756b05e --- /dev/null +++ b/security/ifd-devkit/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: ifd-devkit +# Date created: 23 August 2002 +# Whom: Bruce M Simpson +# +# $FreeBSD$ +# + +PORTNAME= ifd-devkit +PORTVERSION= 1.0.0 +CATEGORIES= security +MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/ + +MAINTAINER= bms@spc.org + +LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite + +INSTALLS_SHLIB= yes + +NOMAN= + +.include <bsd.port.mk> diff --git a/security/ifd-devkit/distinfo b/security/ifd-devkit/distinfo new file mode 100644 index 00000000000..58360c96418 --- /dev/null +++ b/security/ifd-devkit/distinfo @@ -0,0 +1 @@ +MD5 (ifd-devkit-1.0.0.tar.gz) = 0531600fa02117060e461ec61d4662cd diff --git a/security/ifd-devkit/files/patch-Makefile b/security/ifd-devkit/files/patch-Makefile new file mode 100644 index 00000000000..725d48d1b43 --- /dev/null +++ b/security/ifd-devkit/files/patch-Makefile @@ -0,0 +1,72 @@ +--- Makefile.orig Tue Aug 1 20:36:42 2000 ++++ Makefile Wed Aug 28 14:53:02 2002 +@@ -1,31 +1,41 @@ +-# Muscle Smartcard Development +-# Makefile +-# David Corcoran ++# ++# BSD makefile for ifd-gen (in ifd-devkit) ++# ++ ++PREFIX?= /usr/local ++DESTDIR?= ${PREFIX} ++ ++#XXX ++#LIBDIR= /pcsc ++LIBDIR= /lib ++INCSDIR= /include ++ ++SHLIB_NAME= libgen_ifd.so ++SHLIB_MAJOR= 1 ++SHLIB_MINOR= 0 ++ ++NOMAN= 1 ++NOPROFILE= 1 ++ ++.if !defined(NO_DEBUG) ++CFLAGS+= -g -Wall ++.endif ++ ++CFLAGS+= -I. ++CFLAGS+= -I${DESTDIR}${INCSDIR} ++ ++LDFLAGS+= -L${DESTDIR}/lib ++LDADD+= -lpcsclite ++ ++.if !defined(NO_PCSC_DEBUG) ++CFLAGS+= -DPCSC_DEBUG=1 ++.if defined(PCSC_ATR_DEBUG) ++CFLAGS+= -DATR_DEBUG=1 ++.endif ++.endif + +-CC = cc +-CFLAGS = -g -fpic -w +-LD = ld +-LEX = flex +-OBJ := $(filter-out test.o, $(patsubst %.c,%.o,$(wildcard *.c))) +-INCLUDE = -I. ++SRCS= ifdhandler.c ++INCS= ifdhandler.h pcscdefines.h + +-MAKEXE = make +-LIBNAME = libgen_ifd.dylib +-PREFIX = /usr/local/pcsc +- +-DEFS = -DPCSC_DEBUG=1 #-DATR_DEBUG=1 +- +-all: unix +- +-clean: +- rm -f *.o $(LIBNAME) core +- +-osx: $(OBJ) +- $(CC) -dynamiclib $(OBJ) -o $(LIBNAME) +- +-unix: $(OBJ) +- $(LD) -shared $(OBJ) -o $(LIBNAME) +- +-$(patsubst %.c,%.o,$(wildcard *.c)) : %.o : %.c +- $(CC) $(CFLAGS) -c $< $(INCLUDE) $(DEFS) ++.include <bsd.lib.mk> + diff --git a/security/ifd-devkit/pkg-comment b/security/ifd-devkit/pkg-comment new file mode 100644 index 00000000000..db04f980a76 --- /dev/null +++ b/security/ifd-devkit/pkg-comment @@ -0,0 +1 @@ +IFD Handler Developer's Kit for MUSCLE PC/SC Lite diff --git a/security/ifd-devkit/pkg-descr b/security/ifd-devkit/pkg-descr new file mode 100644 index 00000000000..a9396fb49f7 --- /dev/null +++ b/security/ifd-devkit/pkg-descr @@ -0,0 +1,8 @@ +This is the developer's kit for a PC/SC driver for Unix and Mac OS X. +Please refer to the documentation in PDF format in the docs directory +for a complete guide to creating your own driver. + +WWW: http://www.linuxnet.com/sourcedrivers.html + +Bruce +bms@spc.org diff --git a/security/ifd-devkit/pkg-plist b/security/ifd-devkit/pkg-plist new file mode 100644 index 00000000000..0abf7565e02 --- /dev/null +++ b/security/ifd-devkit/pkg-plist @@ -0,0 +1,3 @@ +lib/libgen_ifd.so +include/ifdhandler.h +include/pcscdefines.h |