summaryrefslogtreecommitdiff
path: root/security/opensc/Makefile
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2014-03-14 20:49:56 +0000
committergdt <gdt@pkgsrc.org>2014-03-14 20:49:56 +0000
commite596ef4fdfe2947357d441a48f3a66da78ad5e2d (patch)
tree63d4102ba1815f0ebe7316d9837c91d634fde148 /security/opensc/Makefile
parentcbb2985da138216f269f6f32f91bc7a7b840da5a (diff)
downloadpkgsrc-e596ef4fdfe2947357d441a48f3a66da78ad5e2d.tar.gz
Update to 0.13.0, based on wip/opensc (which is a post 0.13.0 git
snapshot) by Richard Hansen of BBN. Mostly the update is straightforward, with a bit more effort to avoid pthreads. (Threads are not ok because pam modules dlopen opensc, and pam modules are used from nonthreaded programs.) New in 0.13.0; 2012-12-04 * New card driver ePass2003. * OpenPGP card: greatly improved card driver and PKCS#15 emulation; implemented write (pkcs15init) mode; greatly enhanced documentation and tools. * ECDSA keys supported in 'read' and 'write' modes by internal PKCS#15 library, PKCS#11 and tools. * Minidriver in 'write' mode. * SM: secure messaging in GlobalPlatform-SP01 and CW14890 specifications; supported by ePass2003, IAS/ECC and AuthentIC cards; "ACL" and "APDU" modes to trigger secure messaging session; 'local' version of the external secure messaging module. * PKCS#15: support of 'secret-key' PKCS#15 objects support of 'authentication-object' PKCS#15 objects support of 'algReference' common key PKCS#15 attribute support of 'algReference' common key PKCS#15 attribute support of 'subjectName' common public key PKCS#15 attribute * PKCS#11: removed 'onepin' version of pkcs#11 module configuration options to expose slots for PINs and present on-card applications. support GOSTR3410 generate key mechanism * Support of PACE reader. * Remove libltdl reference. * ECDSA supported by MyEID card * New card driver for the SmartCard-HSM, a light-weight hardware security module * New useful commands in 'opensc-explorer' tool: 'find', 'put-data', ... * fixed SIGV issue due to the unsupported public key format * fixes for the number of documentation issues
Diffstat (limited to 'security/opensc/Makefile')
-rw-r--r--security/opensc/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index 353fe233569..05b3a6d2670 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.18 2014/02/12 23:18:34 tron Exp $
+# $NetBSD: Makefile,v 1.19 2014/03/14 20:49:56 gdt Exp $
-OPENSC_PKG_VERSION= 0.12.2
+OPENSC_PKG_VERSION= 0.13.0
DISTNAME= opensc-${OPENSC_PKG_VERSION}
-PKGREVISION= 4
CATEGORIES= security
-MASTER_SITES= http://www.opensc-project.org/files/opensc/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opensc/OpenSC/opensc-0.13.0/}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.opensc-project.org/opensc/
+HOMEPAGE= https://github.com/OpenSC/OpenSC/wiki
COMMENT= Smart Card drivers and middleware
LICENSE= gnu-lgpl-v2.1
@@ -16,6 +15,15 @@ USE_LIBTOOL= YES
USE_OLD_DES_API= YES
USE_TOOLS+= gmake pkg-config
+USE_TOOLS+= autoreconf autoconf automake
+AUTOCONF_REQD= 2.60
+AUTOMAKE_REQD= 1.10
+pre-configure:
+ cd ${WRKSRC:Q} && \
+ ./bootstrap \
+ -s ${OPENSC_VERSION_SUFFIX:Q} \
+ -r ${OPENSC_VERSION_REVISION:Q}
+
.include "options.mk"
# Previous versions needed these, but 0.12.2 configure does not
@@ -43,7 +51,9 @@ post-install:
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/docbook-xsl/buildlink3.mk"
-.include "../../devel/libltdl/buildlink3.mk"
+# We avoid pthreads intentionally; tell dlopen not drag it in.
+DLOPEN_REQUIRE_PTHREADS= no
+.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7