diff options
author | Alex Dupre <ale@FreeBSD.org> | 2007-01-08 09:12:58 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2007-01-08 09:12:58 +0000 |
commit | 7c7317bc096f8b9f59cdc6849206a0d02b12dca1 (patch) | |
tree | 12b60bb1e83fa18ad399ece6ca091fb23a171e92 /security/pkcs11-helper | |
parent | bf23c2dac2e47a02aa98819ce4fb314291733f4f (diff) |
Notes
Diffstat (limited to 'security/pkcs11-helper')
-rw-r--r-- | security/pkcs11-helper/Makefile | 37 | ||||
-rw-r--r-- | security/pkcs11-helper/distinfo | 3 | ||||
-rw-r--r-- | security/pkcs11-helper/files/patch-configure | 13 | ||||
-rw-r--r-- | security/pkcs11-helper/pkg-descr | 19 | ||||
-rw-r--r-- | security/pkcs11-helper/pkg-plist | 16 |
5 files changed, 88 insertions, 0 deletions
diff --git a/security/pkcs11-helper/Makefile b/security/pkcs11-helper/Makefile new file mode 100644 index 000000000000..e48d062094c6 --- /dev/null +++ b/security/pkcs11-helper/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: pkcs11-helper +# Date created: 8 Jan 2007 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pkcs11-helper +PORTVERSION= 1.02 +CATEGORIES= security devel +MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ + +MAINTAINER= ale@FreeBSD.org +COMMENT= A helper library for multiple PKCS#11 providers + +USE_BZIP2= yes +USE_OPENSSL= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomehack pkgconfig +USE_LDCONFIG= yes + +CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" + +CONFIGURE_ARGS= --mandir=${PREFIX}/man + +MAN8= pkcs11-helper.8 + +PORTDOCS= * + +.if defined(NOPORTDOCS) +post-patch: + @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am|' + ${WRKSRC}/Makefile.in +.endif + +.include <bsd.port.mk> diff --git a/security/pkcs11-helper/distinfo b/security/pkcs11-helper/distinfo new file mode 100644 index 000000000000..8056c28fc19c --- /dev/null +++ b/security/pkcs11-helper/distinfo @@ -0,0 +1,3 @@ +MD5 (pkcs11-helper-1.02.tar.bz2) = db8a23bee8fb31f0f3a23666f0a6e057 +SHA256 (pkcs11-helper-1.02.tar.bz2) = 9596b41a9dbc04b482835c1976580f527a05a675360604bb3620b985699ad184 +SIZE (pkcs11-helper-1.02.tar.bz2) = 325416 diff --git a/security/pkcs11-helper/files/patch-configure b/security/pkcs11-helper/files/patch-configure new file mode 100644 index 000000000000..fb26ec8dc2e5 --- /dev/null +++ b/security/pkcs11-helper/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig Mon Jan 8 10:03:39 2007 ++++ configure Mon Jan 8 10:05:15 2007 +@@ -22472,8 +22472,8 @@ + PKCS11H_FEATURES="${PKCS11H_FEATURES} engine_crypto" + fi + +-docdir="${docdir}-${PACKAGE_VERSION}" +-pkgconfigdir="${libdir}/pkgconfig" ++docdir="${docdir}" ++pkgconfigdir="${prefix}/libdata/pkgconfig" + + + diff --git a/security/pkcs11-helper/pkg-descr b/security/pkcs11-helper/pkg-descr new file mode 100644 index 000000000000..f8740c09ecc5 --- /dev/null +++ b/security/pkcs11-helper/pkg-descr @@ -0,0 +1,19 @@ +pkcs11-helper is a library that simplifies the interaction +with PKCS#11 providers for end-user applications. + +pkcs11-helper allows using multiple PKCS#11 providers at +the same time, enumerating available token certificates, or +selecting a certificate directly by serialized id, handling +card removal and card insert events, handling card re-insert +to a different slot, supporting session expiration and much +more all using a simple API. + +pkcs11-helper is not designed to manage card content, since +object attributes are usually vendor specific, and 99% of +application need to access existing objects in order to +perform signature and decryption. + +WWW: http://www.opensc-project.org/pkcs11-helper/ + +- Alex Dupre +ale@FreeBSD.org diff --git a/security/pkcs11-helper/pkg-plist b/security/pkcs11-helper/pkg-plist new file mode 100644 index 000000000000..e47423b4b969 --- /dev/null +++ b/security/pkcs11-helper/pkg-plist @@ -0,0 +1,16 @@ +include/pkcs11-helper-1.0/pkcs11.h +include/pkcs11-helper-1.0/pkcs11h-certificate.h +include/pkcs11-helper-1.0/pkcs11h-core.h +include/pkcs11-helper-1.0/pkcs11h-data.h +include/pkcs11-helper-1.0/pkcs11h-def.h +include/pkcs11-helper-1.0/pkcs11h-engines.h +include/pkcs11-helper-1.0/pkcs11h-openssl.h +include/pkcs11-helper-1.0/pkcs11h-token.h +include/pkcs11-helper-1.0/pkcs11h-version.h +lib/libpkcs11-helper.a +lib/libpkcs11-helper.la +lib/libpkcs11-helper.so +lib/libpkcs11-helper.so.1 +libdata/pkgconfig/libpkcs11-helper-1.pc +share/aclocal/pkcs11-helper-1.m4 +@dirrm include/pkcs11-helper-1.0 |