summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhasso <hasso>2009-03-05 20:30:52 +0000
committerhasso <hasso>2009-03-05 20:30:52 +0000
commit3f07462cd47fd5f3e4241977777b221d1b7ad259 (patch)
tree001e8d164b32c7be59907cf1ebfd05845abaae07 /security
parent0ffa20685684774a88ebc5d2f684af52080ed595 (diff)
downloadpkgsrc-3f07462cd47fd5f3e4241977777b221d1b7ad259.tar.gz
Engine_pkcs11 is a PKCS#11 engine for OpenSSL. It can be loaded using code,
config file or command line and will pass any function call by openssl to a PKCS#11 module. Engine_pkcs11 is meant to be used with smart cards and software for using smart cards in PKCS#11 format, such as OpenSC. Originaly this engine was a part of OpenSC, until OpenSC was split into several small projects for improved flexibility.
Diffstat (limited to 'security')
-rw-r--r--security/engine-pkcs11/DESCR8
-rw-r--r--security/engine-pkcs11/Makefile25
-rw-r--r--security/engine-pkcs11/PLIST2
-rw-r--r--security/engine-pkcs11/distinfo6
-rw-r--r--security/engine-pkcs11/patches/patch-aa16
5 files changed, 57 insertions, 0 deletions
diff --git a/security/engine-pkcs11/DESCR b/security/engine-pkcs11/DESCR
new file mode 100644
index 00000000000..1ef9907d348
--- /dev/null
+++ b/security/engine-pkcs11/DESCR
@@ -0,0 +1,8 @@
+Engine_pkcs11 is a PKCS#11 engine for OpenSSL. It can be loaded using code,
+config file or command line and will pass any function call by openssl to a
+PKCS#11 module.
+
+Engine_pkcs11 is meant to be used with smart cards and software for using
+smart cards in PKCS#11 format, such as OpenSC. Originaly this engine was a
+part of OpenSC, until OpenSC was split into several small projects for
+improved flexibility.
diff --git a/security/engine-pkcs11/Makefile b/security/engine-pkcs11/Makefile
new file mode 100644
index 00000000000..dad4663cdf8
--- /dev/null
+++ b/security/engine-pkcs11/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/05 20:30:52 hasso Exp $
+#
+
+DISTNAME= engine_pkcs11-0.1.5
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= security
+MASTER_SITES= http://www.opensc-project.org/files/engine_pkcs11/
+
+MAINTAINER= hasso@NetBSD.org
+HOMEPAGE= http://www.opensc-project.org/engine_pkcs11/
+COMMENT= PKCS\#11 engine for OpenSSL
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
+
+.include "../../security/libp11/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/engine-pkcs11/PLIST b/security/engine-pkcs11/PLIST
new file mode 100644
index 00000000000..0bc9514af1d
--- /dev/null
+++ b/security/engine-pkcs11/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/05 20:30:52 hasso Exp $
+lib/engines/engine_pkcs11.so
diff --git a/security/engine-pkcs11/distinfo b/security/engine-pkcs11/distinfo
new file mode 100644
index 00000000000..c745eda57b9
--- /dev/null
+++ b/security/engine-pkcs11/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/05 20:30:52 hasso Exp $
+
+SHA1 (engine_pkcs11-0.1.5.tar.gz) = 189da9a9156c86df99d16567acbf141869f87729
+RMD160 (engine_pkcs11-0.1.5.tar.gz) = e1edcab5008cc0d524c904808de3344b9520700e
+Size (engine_pkcs11-0.1.5.tar.gz) = 355324 bytes
+SHA1 (patch-aa) = 996cdb0f077c923a2c2552ad03443e449b7c70fe
diff --git a/security/engine-pkcs11/patches/patch-aa b/security/engine-pkcs11/patches/patch-aa
new file mode 100644
index 00000000000..f03d92455cd
--- /dev/null
+++ b/security/engine-pkcs11/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/03/05 20:30:52 hasso Exp $
+
+--- Makefile.in.orig 2009-03-05 16:05:48 +0200
++++ Makefile.in 2009-03-05 16:24:01 +0200
+@@ -227,9 +227,9 @@ MAINTAINERCLEANFILES = \
+ $(srcdir)/packaged
+
+ EXTRA_DIST = svnignore
+-SUBDIRS = src doc
++SUBDIRS = src
+ dist_noinst_SCRIPTS = bootstrap
+-dist_doc_DATA = NEWS
++dist_doc_DATA =
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+