summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-20 06:48:17 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-20 06:48:17 +0000
commitf26d576876493cec3a60126e97e0de4cc3224183 (patch)
treee03202bc17678a510e2946e1eaacc5cb0473e1c2 /security
parentNew port: kdirstat - A small KDE utility that sums up disk usage for direcory... (diff)
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>
Notes
Notes: svn path=/head/; revision=73618
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/ifd-devkit/Makefile21
-rw-r--r--security/ifd-devkit/distinfo1
-rw-r--r--security/ifd-devkit/files/patch-Makefile72
-rw-r--r--security/ifd-devkit/pkg-comment1
-rw-r--r--security/ifd-devkit/pkg-descr8
-rw-r--r--security/ifd-devkit/pkg-plist3
7 files changed, 107 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 900d384ff4b6..2388487d353c 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 000000000000..bf11756b05e3
--- /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 000000000000..58360c96418e
--- /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 000000000000..725d48d1b43f
--- /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 000000000000..db04f980a768
--- /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 000000000000..a9396fb49f7c
--- /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 000000000000..0abf7565e025
--- /dev/null
+++ b/security/ifd-devkit/pkg-plist
@@ -0,0 +1,3 @@
+lib/libgen_ifd.so
+include/ifdhandler.h
+include/pcscdefines.h