7c7317bc09
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/
37 lines
793 B
Makefile
37 lines
793 B
Makefile
# 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>
|