pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/p5-pcsc This package contains a Perl wrapper ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0a4a8d61042
branches:  trunk
changeset: 539361:d0a4a8d61042
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Tue Mar 04 11:31:04 2008 +0000

description:
This package contains a Perl wrapper to the PC/SC smartcard library
(pcsc-lite) from MUSCLE together with some small examples.

diffstat:

 security/p5-pcsc/DESCR            |   2 ++
 security/p5-pcsc/Makefile         |  26 ++++++++++++++++++++++++++
 security/p5-pcsc/distinfo         |   6 ++++++
 security/p5-pcsc/patches/patch-aa |  13 +++++++++++++
 4 files changed, 47 insertions(+), 0 deletions(-)

diffs (63 lines):

diff -r 4a7d53cd6cdc -r d0a4a8d61042 security/p5-pcsc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-pcsc/DESCR    Tue Mar 04 11:31:04 2008 +0000
@@ -0,0 +1,2 @@
+This package contains a Perl wrapper to the PC/SC smartcard library
+(pcsc-lite) from MUSCLE together with some small examples.
diff -r 4a7d53cd6cdc -r d0a4a8d61042 security/p5-pcsc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-pcsc/Makefile Tue Mar 04 11:31:04 2008 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:31:04 shannonjr Exp $
+#
+
+DISTNAME=      pcsc-perl-1.4.6
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    security
+MASTER_SITES=  http://ludovic.rousseau.free.fr/softwares/pcsc-perl/
+
+MAINTAINER=    shannonjr%NetBSD.org@localhost
+HOMEPAGE=      http://ludovic.rousseau.free.fr/softwares/pcsc-perl/
+COMMENT=       Allows communication with a smart card from a Perl script
+
+PERL5_MODULE_TYPE=     MakeMaker
+
+SUBST_CLASSES+=                perl
+SUBST_STAGE.perl=      post-patch
+SUBST_FILES.perl=      Card/t/test.t examples/test_iso_error.pl examples/gsm_directory.pl t/test.t test/multiple_readers.pl test/single_reader.pl
+SUBST_SED.perl=                -e 's,/usr/bin/perl,${PERL5},'
+
+PERL5_USE_PACKLIST=    yes
+MAKE_PARAMS+=          INSTALLDIRS=vendor
+PERL5_PACKLIST=                auto/Chipcard/PCSC/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../security/pcsc-lite/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4a7d53cd6cdc -r d0a4a8d61042 security/p5-pcsc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-pcsc/distinfo Tue Mar 04 11:31:04 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/04 11:31:04 shannonjr Exp $
+
+SHA1 (pcsc-perl-1.4.6.tar.gz) = 4f6cb030aa5f20d071ab9ab56ad81ee10a74e493
+RMD160 (pcsc-perl-1.4.6.tar.gz) = bfdc0149bcb82ec2ac1e24e107692d68d9de8f0d
+Size (pcsc-perl-1.4.6.tar.gz) = 41828 bytes
+SHA1 (patch-aa) = 2b8ec38a837888784ad8e12c26238e9e1170e924
diff -r 4a7d53cd6cdc -r d0a4a8d61042 security/p5-pcsc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-pcsc/patches/patch-aa Tue Mar 04 11:31:04 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:31:04 shannonjr Exp $
+
+--- PCSCperl.h.orig    2008-02-13 10:50:31.000000000 -0700
++++ PCSCperl.h
+@@ -59,7 +59,7 @@
+ #endif
+ 
+ 
+-#if (defined __linux__) || (defined __FreeBSD_kernel__)
++#if (defined __linux__) || (defined __FreeBSD_kernel__) || (defined __NetBSD__)
+ #  include <dlfcn.h>
+ #  include <pcsclite.h>
+ #  define LOAD_LIB()      dlopen("libpcsclite.so.1", RTLD_LAZY)



Home | Main Index | Thread Index | Old Index