pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pkcs11-helper take wip/pkcs11-helper as gener...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c6a02c254104
branches: trunk
changeset: 399238:c6a02c254104
user: spz <spz%pkgsrc.org@localhost>
date: Tue Sep 15 20:03:47 2009 +0000
description:
take wip/pkcs11-helper as generated by Daniel 'morr' Horecki <shinden@@linux.pl>
add options, DESTDIR, LICENSE and other small updates to pkgsrc-current
diffstat:
security/pkcs11-helper/DESCR | 2 ++
security/pkcs11-helper/Makefile | 26 ++++++++++++++++++++++++++
security/pkcs11-helper/PLIST | 19 +++++++++++++++++++
security/pkcs11-helper/buildlink3.mk | 27 +++++++++++++++++++++++++++
security/pkcs11-helper/distinfo | 6 ++++++
security/pkcs11-helper/options.mk | 30 ++++++++++++++++++++++++++++++
6 files changed, 110 insertions(+), 0 deletions(-)
diffs (134 lines):
diff -r 08c2250351a7 -r c6a02c254104 security/pkcs11-helper/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pkcs11-helper/DESCR Tue Sep 15 20:03:47 2009 +0000
@@ -0,0 +1,2 @@
+Library that simplifies the interaction with PKCS#11 providers for end-user
+applications using a simple API and optional OpenSSL engine.
diff -r 08c2250351a7 -r c6a02c254104 security/pkcs11-helper/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pkcs11-helper/Makefile Tue Sep 15 20:03:47 2009 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2009/09/15 20:03:47 spz Exp $
+#
+
+DISTNAME= pkcs11-helper-1.06
+CATEGORIES= security
+MASTER_SITES= http://www.opensc-project.org/files/pkcs11-helper/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.opensc-project.org/pkcs11-helper/
+COMMENT= Library that simplifies the interaction with PKCS#11
+LICENSE= modified-bsd # OR gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config autoconf gmake autoreconf
+
+PKGCONFIG_OVERRIDE+= lib/libpkcs11-helper-1.pc.in
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf
+
+.include "options.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 08c2250351a7 -r c6a02c254104 security/pkcs11-helper/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pkcs11-helper/PLIST Tue Sep 15 20:03:47 2009 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2009/09/15 20:03:47 spz Exp $
+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.la
+lib/pkgconfig/libpkcs11-helper-1.pc
+man/man8/pkcs11-helper-1.8
+share/aclocal/pkcs11-helper-1.m4
+share/doc/pkcs11-helper/COPYING
+share/doc/pkcs11-helper/COPYING.BSD
+share/doc/pkcs11-helper/COPYING.GPL
+share/doc/pkcs11-helper/README
+@exec ${MKDIR} %D/share/doc/pkcs11-helper/api
diff -r 08c2250351a7 -r c6a02c254104 security/pkcs11-helper/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pkcs11-helper/buildlink3.mk Tue Sep 15 20:03:47 2009 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink3.mk,v 1.1 2009/09/15 20:03:47 spz Exp $
+
+BUILDLINK_TREE+= pkcs11-helper
+
+.if !defined(PKCS11_HELPER_BUILDLINK3_MK)
+PKCS11_HELPER_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.pkcs11-helper?= build
+BUILDLINK_API_DEPENDS.pkcs11-helper+= pkcs11-helper>=1.06
+BUILDLINK_PKGSRCDIR.pkcs11-helper?= ../../security/pkcs11-helper
+
+pkgbase := pkcs11-helper
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.pkcs11-helper:Mopenssl)
+. include "../../security/openssl/buildlink3.mk"
+.endif
+.if !empty(PKG_BUILD_OPTIONS.pkcs11-helper:Mgnutls)
+. include "../../security/gnutls/buildlink3.mk"
+.endif
+.if !empty(PKG_BUILD_OPTIONS.pkcs11-helper:Mnss)
+. include "../../devel/nss/buildlink3.mk"
+.endif
+
+.endif # PKCS11_HELPER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -pkcs11-helper
diff -r 08c2250351a7 -r c6a02c254104 security/pkcs11-helper/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pkcs11-helper/distinfo Tue Sep 15 20:03:47 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2009/09/15 20:03:47 spz Exp $
+
+SHA1 (pkcs11-helper-1.06.tar.bz2) = 5bd56d4001c4d6e0d1f60b5a467ee2490cdaf9f2
+RMD160 (pkcs11-helper-1.06.tar.bz2) = 0f599b76379ce6e481d235f0ff82f2b2cfddbed5
+Size (pkcs11-helper-1.06.tar.bz2) = 338705 bytes
+SHA1 (patch-aa) = 05294e1f777717a54dc63425edd5cb8c13a70978
diff -r 08c2250351a7 -r c6a02c254104 security/pkcs11-helper/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pkcs11-helper/options.mk Tue Sep 15 20:03:47 2009 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: options.mk,v 1.1 2009/09/15 20:03:47 spz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pkcs11-helper
+PKG_SUPPORTED_OPTIONS= openssl gnutls nss
+PKG_SUGGESTED_OPTIONS= openssl
+
+.include "../../mk/bsd.options.mk"
+
+# crypto engines to use
+
+.if !empty(PKG_OPTIONS:Mopenssl)
+.include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=--enable-crypto-engine-openssl
+.else
+CONFIGURE_ARGS+=--disable-crypto-engine-openssl
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnutls)
+.include "../../security/gnutls/buildlink3.mk"
+CONFIGURE_ARGS+=--enable-crypto-engine-gnutls
+.else
+CONFIGURE_ARGS+=--disable-crypto-engine-gnutls
+.endif
+
+.if !empty(PKG_OPTIONS:Mnss)
+.include "../../devel/nss/buildlink3.mk"
+CONFIGURE_ARGS+=--enable-crypto-engine-nss
+.else
+CONFIGURE_ARGS+=--disable-crypto-engine-nss
+.endif
Home |
Main Index |
Thread Index |
Old Index