pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pcsc-lite The purpose of PC/SC Lite is to pro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d8e2f950cb87
branches: trunk
changeset: 539359:d8e2f950cb87
user: shannonjr <shannonjr%pkgsrc.org@localhost>
date: Tue Mar 04 11:29:08 2008 +0000
description:
The purpose of PC/SC Lite is to provide a Windows(R) SCard interface in a
very small form factor for communicating to smartcards and readers.
The PC/SC Lite library is used to connect to the PC/SC daemon from a
client application and provide access to the desired reader.
diffstat:
security/pcsc-lite/DESCR | 8 ++++++
security/pcsc-lite/Makefile | 44 +++++++++++++++++++++++++++++++++++++
security/pcsc-lite/PLIST | 20 ++++++++++++++++
security/pcsc-lite/buildlink3.mk | 21 +++++++++++++++++
security/pcsc-lite/distinfo | 11 +++++++++
security/pcsc-lite/options.mk | 12 ++++++++++
security/pcsc-lite/patches/patch-aa | 22 ++++++++++++++++++
security/pcsc-lite/patches/patch-ab | 10 ++++++++
security/pcsc-lite/patches/patch-ac | 12 ++++++++++
security/pcsc-lite/patches/patch-ad | 13 ++++++++++
security/pcsc-lite/patches/patch-ae | 13 ++++++++++
security/pcsc-lite/patches/patch-af | 13 ++++++++++
12 files changed, 199 insertions(+), 0 deletions(-)
diffs (247 lines):
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/DESCR Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,8 @@
+The purpose of PC/SC Lite is to provide a
+Windows(R) SCard interface in a very small
+form factor for communicating to smartcards
+and readers.
+
+The PC/SC Lite library is used to connect to
+the PC/SC daemon from a client application
+and provide access to the desired reader.
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/Makefile Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+#
+
+DISTNAME= pcsc-lite-1.4.99
+CATEGORIES= security
+MASTER_SITES= http://alioth.debian.org/frs/download.php/2257/
+
+MAINTAINER= shannonjr%NetBSD.org@localhost
+HOMEPAGE= http://alioth.debian.org/frs/download.php/2257/
+COMMENT= Middleware to access a smart card using SCard API (PC/SC).
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_TOOLS+= autoconf automake aclocal autoheader
+AUTOMAKE_REQD= 1.10
+AUTOCONF_REQD= 2.58
+USE_LANGUAGES= c c++
+
+.include "options.mk"
+
+CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --enable-ipcdir=${VARBASE}/pcsc-lite
+CONFIGURE_ARGS+= --enable-usbdropdir=${PREFIX}/lib/pcsc-lite/drivers
+MAKE_DIRS+= ${VARBASE}/pcsc-lite
+MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite
+MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite/drivers
+
+EGDIR= ${PREFIX}/share/examples/pcsc-lite
+CONF_FILES+= ${EGDIR}/reader.conf ${PKG_SYSCONFDIR}/reader.conf
+
+PKGCONFIG_OVERRIDE+= src/libpcsclite.pc.in
+
+pre-configure:
+ cd ${WRKSRC} && ${SH} bootstrap
+
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${EGDIR}
+
+.include "../../devel/libusb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/PLIST Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+include/PCSC/debuglog.h
+include/PCSC/ifdhandler.h
+include/PCSC/pcsclite.h
+include/PCSC/reader.h
+include/PCSC/winscard.h
+include/PCSC/wintypes.h
+lib/libpcsclite.la
+lib/pkgconfig/libpcsclite.pc
+man/man5/reader.conf.5
+man/man8/pcscd.8
+man/man8/update-reader.conf.8
+sbin/pcscd
+share/doc/pcsc-lite/README.DAEMON
+share/doc/pcsc-lite/ifdhandler-3.tex
+share/doc/pcsc-lite/pcsc-lite.bib
+share/doc/pcsc-lite/pcsc-lite.tex
+share/examples/pcsc-lite/reader.conf
+@dirrm share/doc/pcsc-lite
+@dirrm include/PCSC
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/buildlink3.mk Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PCSC_LITE_BUILDLINK3_MK:= ${PCSC_LITE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= pcsc-lite
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npcsc-lite}
+BUILDLINK_PACKAGES+= pcsc-lite
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pcsc-lite
+
+.if ${PCSC_LITE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.pcsc-lite+= pcsc-lite>=1.4.99
+BUILDLINK_PKGSRCDIR.pcsc-lite?= ../../local/pcsc-lite
+.endif # PCSC_LITE_BUILDLINK3_MK
+
+.include "../../devel/libusb/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/distinfo Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+SHA1 (pcsc-lite-1.4.99.tar.gz) = 7f5ff7d8e187c1d46f3bc26567d393107ac0e362
+RMD160 (pcsc-lite-1.4.99.tar.gz) = 689d99ae26a13dc78856670b0deafbd5fed517ab
+Size (pcsc-lite-1.4.99.tar.gz) = 637727 bytes
+SHA1 (patch-aa) = d58fa48e3778f5dc07fcc8234c9b8aa064a498db
+SHA1 (patch-ab) = 61bf6dbc2b245e888cbb561dae0a380b14bb1700
+SHA1 (patch-ac) = 4404dec1418df59baafdc5c45fae9dc810418991
+SHA1 (patch-ad) = 3172e6063cc48b1302d08865cd8e9039b502a807
+SHA1 (patch-ae) = 79978e1a6e1b6cd11ba4411e69bbf6f7d83c90ae
+SHA1 (patch-af) = 931c031eba226336ceb1c12bc2ffd9193cb24e44
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/options.mk Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pcsc-lite
+PKG_SUPPORTED_OPTIONS= extendedapdu
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mextendedapdu)
+CONFIGURE_ARGS+= --enable-extendedapdu
+.else
+CONFIGURE_ARGS+= --enable-extendedapdu=no
+.endif
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/patches/patch-aa Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+--- src/PCSC/reader.h.in.orig 2007-11-23 09:47:44.000000000 -0700
++++ src/PCSC/reader.h.in
+@@ -119,7 +119,7 @@
+
+ /* Set structure elements aligment on bytes
+ * http://gcc.gnu.org/onlinedocs/gcc/Structure_002dPacking-Pragmas.html */
+-#if defined(__APPLE__) | defined(sun)
++#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__)
+ #pragma pack(1)
+ #else
+ #pragma pack(push, 1)
+@@ -197,7 +197,7 @@ typedef struct
+ } PIN_MODIFY_STRUCTURE;
+
+ /* restore default structure elements alignment */
+-#if defined(__APPLE__) | defined(sun)
++#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__)
+ #pragma pack()
+ #else
+ #pragma pack(pop)
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/patches/patch-ab Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+--- src/Makefile.am.orig 2007-10-13 15:21:11.000000000 -0600
++++ src/Makefile.am
+@@ -150,3 +150,5 @@ tokenparser.c: tokenparser.l
+
+ EXTRA_DIST = README_INTERNALS.txt dyn_win32.c thread_win32.c winscard_scf.c
+
++install-data-local:
++ ${INSTALL} -d ${DESTDIR}${includedir}/PCSC
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/patches/patch-ac Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+--- Makefile.am.orig 2007-10-13 15:21:11.000000000 -0600
++++ Makefile.am
+@@ -1,6 +1,6 @@
+ # Process this file with automake to create Makefile.in.
+
+-SUBDIRS = m4 win32 src etc doc
++SUBDIRS = m4 win32 src doc
+
+ ACLOCAL_AMFLAGS = -I m4
+
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/patches/patch-ad Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+--- src/PCSC/pcsclite.h.in.orig 2007-11-23 09:48:26.000000000 -0700
++++ src/PCSC/pcsclite.h.in
+@@ -16,7 +16,7 @@
+ #ifndef __pcsclite_h__
+ #define __pcsclite_h__
+
+-#include <wintypes.h>
++#include <PCSC/wintypes.h>
+
+ #ifdef __cplusplus
+ extern "C"
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/patches/patch-ae Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+--- src/PCSC/winscard.h.orig 2007-10-13 15:21:10.000000000 -0600
++++ src/PCSC/winscard.h
+@@ -16,7 +16,7 @@
+ #ifndef __winscard_h__
+ #define __winscard_h__
+
+-#include <pcsclite.h>
++#include <PCSC/pcsclite.h>
+
+ #ifdef __cplusplus
+ extern "C"
diff -r 9ede464af2fc -r d8e2f950cb87 security/pcsc-lite/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/patches/patch-af Tue Mar 04 11:29:08 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+--- src/PCSC/ifdhandler.h.orig 2007-10-20 07:56:43.000000000 -0600
++++ src/PCSC/ifdhandler.h
+@@ -16,7 +16,7 @@
+ #ifndef _ifd_handler_h_
+ #define _ifd_handler_h_
+
+-#include <pcsclite.h>
++#include <PCSC/pcsclite.h>
+
+ #ifdef __cplusplus
+ extern "C"
Home |
Main Index |
Thread Index |
Old Index