858f96ac14
Packaging changes: - adapt to non-standardly-named github WRKSRC - bootstrap automake (this is a git snapshot, not "make distribution" output) Upstream changes: New in 0.1.8; 2010-01-07; Andreas Jellinghaus * Fix problem causing slot_n parsing returning not certs or keys by Camille Moncelier * Fix missing declaration of set_init_args symbol by Arfrever Frehtes Taifersar Arahesis New in 0.1.7; 2009-10-20; Andreas Jellinghaus * Buffer overrun fixed by David Smith New in 0.1.6; 2009-06-15; Andreas Jellinghaus * Fixed set_pin (strdup causes segfault in OPENSSL_CLEANSE later) * Require new libp11 0.2.5 with new function to get the slot id. * Revert changes to slot parsing code - seems partial bogus and orginal author doesn't respond to questions. * print slot id in verbose mode (Douglas E. Engert).
31 lines
861 B
Makefile
31 lines
861 B
Makefile
# $NetBSD: Makefile,v 1.9 2014/04/02 19:23:06 gdt Exp $
|
|
#
|
|
|
|
VERSION= 0.1.8
|
|
DISTNAME= engine_pkcs11-${VERSION}
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
PKGREVISION= 4
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://github.com/OpenSC/engine_pkcs11/archive/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/OpenSC/OpenSC/wiki/OpenSSL-engine-for-PKCS%2311-modules
|
|
COMMENT= PKCS\#11 engine for OpenSSL
|
|
LICENSE= original-bsd
|
|
|
|
WRKSRC= ${WRKDIR}/engine_pkcs11-engine_pkcs11-${VERSION}
|
|
|
|
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
|
|
|
|
USE_TOOLS+= autoconf automake gmake pkg-config
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ./bootstrap
|
|
|
|
.include "../../security/libp11/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|