summaryrefslogtreecommitdiff
path: root/security/gnupg-pkcs11-scd
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2010-07-03 04:59:19 +0000
committermanu <manu@pkgsrc.org>2010-07-03 04:59:19 +0000
commitb216c70d9fc4118149408a11f1bac1bdab5fa139 (patch)
tree8fd0c328939dcb1c432f669f774788ef331df44f /security/gnupg-pkcs11-scd
parentbf03c705fe6743341d4d684abae4b78403541c2a (diff)
downloadpkgsrc-b216c70d9fc4118149408a11f1bac1bdab5fa139.tar.gz
gnupg-pkcs11 is a project to implement a BSD-licensed smart-card
daemon to enable the use of PKCS#11 tokens with GnuPG. The motivation behind this project originates in the following two threads: * http://lists.gnupg.org/pipermail/gnupg-users/2006-February/027964.html * http://lists.gnupg.org/pipermail/gnupg-devel/2004-November/021522.html * http://lists.gnupg.org/pipermail/gnupg-users/2004-November/023673.html PKCS#11 is the de-facto standard for accessing cryptographic tokens, and thus we strongly disagree with WK's attitude towards it. The patch mentioned in the above threads is unmaintained, so we decided to implement PKCS#11 support "the right way". gnupg-pkcs11 is a (hopefully) drop-in replacement for the smart-card daemon (scd) shipped with GnuPG.
Diffstat (limited to 'security/gnupg-pkcs11-scd')
-rw-r--r--security/gnupg-pkcs11-scd/DESCR15
-rw-r--r--security/gnupg-pkcs11-scd/Makefile33
-rw-r--r--security/gnupg-pkcs11-scd/PLIST6
-rw-r--r--security/gnupg-pkcs11-scd/distinfo5
4 files changed, 59 insertions, 0 deletions
diff --git a/security/gnupg-pkcs11-scd/DESCR b/security/gnupg-pkcs11-scd/DESCR
new file mode 100644
index 00000000000..f8d249ac48a
--- /dev/null
+++ b/security/gnupg-pkcs11-scd/DESCR
@@ -0,0 +1,15 @@
+gnupg-pkcs11 is a project to implement a BSD-licensed smart-card
+daemon to enable the use of PKCS#11 tokens with GnuPG. The motivation
+behind this project originates in the following two threads:
+
+ * http://lists.gnupg.org/pipermail/gnupg-users/2006-February/027964.html
+ * http://lists.gnupg.org/pipermail/gnupg-devel/2004-November/021522.html
+ * http://lists.gnupg.org/pipermail/gnupg-users/2004-November/023673.html
+
+PKCS#11 is the de-facto standard for accessing cryptographic tokens,
+and thus we strongly disagree with WK's attitude towards it.
+
+The patch mentioned in the above threads is unmaintained, so we
+decided to implement PKCS#11 support "the right way". gnupg-pkcs11
+is a (hopefully) drop-in replacement for the smart-card daemon
+(scd) shipped with GnuPG.
diff --git a/security/gnupg-pkcs11-scd/Makefile b/security/gnupg-pkcs11-scd/Makefile
new file mode 100644
index 00000000000..a15f51556a2
--- /dev/null
+++ b/security/gnupg-pkcs11-scd/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/03 04:59:19 manu Exp $
+#
+
+VERSION= 0.7.0
+DISTNAME= gnupg-pkcs11-scd-${VERSION}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnupg-pkcs11/gnupg-pkcs11-scd/${VERSION}/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://gnupg-pkcs11.sourceforge.net/
+COMMENT= OpenSC smart card support for GnuPG
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+LIBS.OperatingSystem+= -ldl
+CONFIGURE_ARGS+= --with-libgpg-error-prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-libassuan-prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-libgcrypt-prefix=${PREFIX}
+
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../security/pkcs11-helper/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libassuan2/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+
+# url2pkg-marker (please do not remove this line.)
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/gnupg-pkcs11-scd/PLIST b/security/gnupg-pkcs11-scd/PLIST
new file mode 100644
index 00000000000..6b7c645b9c5
--- /dev/null
+++ b/security/gnupg-pkcs11-scd/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/03 04:59:19 manu Exp $
+bin/gnupg-pkcs11-scd
+share/doc/gnupg-pkcs11-scd/gnupg-pkcs11-scd.conf.example
+share/doc/gnupg-pkcs11-scd/README
+share/doc/gnupg-pkcs11-scd/COPYING
+man/man1/gnupg-pkcs11-scd.1
diff --git a/security/gnupg-pkcs11-scd/distinfo b/security/gnupg-pkcs11-scd/distinfo
new file mode 100644
index 00000000000..9a4149cfdc7
--- /dev/null
+++ b/security/gnupg-pkcs11-scd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/03 04:59:19 manu Exp $
+
+SHA1 (gnupg-pkcs11-scd-0.7.0.tar.bz2) = 66f83d11c17be43da63d6ccd2478a38251e4cd9c
+RMD160 (gnupg-pkcs11-scd-0.7.0.tar.bz2) = 0b21a8dd907523df795dfbc5e8e84ee78d6618b4
+Size (gnupg-pkcs11-scd-0.7.0.tar.bz2) = 120460 bytes