pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pakchois Add pakchois-0.4. (upcoming new neon...
details: https://anonhg.NetBSD.org/pkgsrc/rev/caec62ffbe22
branches: trunk
changeset: 549225:caec62ffbe22
user: bjs <bjs%pkgsrc.org@localhost>
date: Thu Oct 30 03:32:19 2008 +0000
description:
Add pakchois-0.4. (upcoming new neon can use it)
--
pakchois is just another PKCS#11 wrapper library. pakchois aims to
provide a thin wrapper over the PKCS#11 interface.
The goals are:
1) to offer a modern* object-oriented C interface wrapper for PKCS#11.
2) to not hide or abstract away any details of the PKCS#11 interface
itself except where absolutely necessary.
3) to handle the details of loading DSOs
4) to allow the caller to avoid caring about where on the system
PKCS#11 modules might be stored, or exactly how they are named.
5) to avoid any dependency on a particular cryptography toolkit.
Existing PKCS#11 wrapper libraries solutions differ in at least one of
the above goals.
*: "modern" being a euphemism for not using process-global state,
having a sane symbol namespace, etc.
diffstat:
security/pakchois/DESCR | 22 ++++++++++++++++++++++
security/pakchois/Makefile | 32 ++++++++++++++++++++++++++++++++
security/pakchois/PLIST | 6 ++++++
security/pakchois/buildlink3.mk | 22 ++++++++++++++++++++++
security/pakchois/distinfo | 5 +++++
5 files changed, 87 insertions(+), 0 deletions(-)
diffs (107 lines):
diff -r 19a30ccd1647 -r caec62ffbe22 security/pakchois/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pakchois/DESCR Thu Oct 30 03:32:19 2008 +0000
@@ -0,0 +1,22 @@
+pakchois is just another PKCS#11 wrapper library. pakchois aims to
+provide a thin wrapper over the PKCS#11 interface.
+
+The goals are:
+
+1) to offer a modern* object-oriented C interface wrapper for PKCS#11.
+
+2) to not hide or abstract away any details of the PKCS#11 interface
+itself except where absolutely necessary.
+
+3) to handle the details of loading DSOs
+
+4) to allow the caller to avoid caring about where on the system
+PKCS#11 modules might be stored, or exactly how they are named.
+
+5) to avoid any dependency on a particular cryptography toolkit.
+
+Existing PKCS#11 wrapper libraries solutions differ in at least one of
+the above goals.
+
+*: "modern" being a euphemism for not using process-global state,
+having a sane symbol namespace, etc.
diff -r 19a30ccd1647 -r caec62ffbe22 security/pakchois/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pakchois/Makefile Thu Oct 30 03:32:19 2008 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/30 03:32:19 bjs Exp $
+#
+
+DISTNAME= pakchois-0.4
+CATEGORIES= security
+MASTER_SITES= http://www.manyfish.co.uk/pakchois/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.manyfish.co.uk/pakchois/
+COMMENT= PKCS#11 wrapper library
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+CONFIGURE_ARGS+= --enable-dlopen
+
+PKGCONFIG_OVERRIDE+= pakchois.pc.in
+
+PTHREAD_OPTS+= require
+PKG_PTHREAD_FLAGS= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+BROKEN_GETTEXT_DETECTION= yes
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
+BUILDLINK_TRANSFORM+= opt:-lpthread:${PKG_PTHREAD_FLAGS:M*}
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 19a30ccd1647 -r caec62ffbe22 security/pakchois/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pakchois/PLIST Thu Oct 30 03:32:19 2008 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/30 03:32:19 bjs Exp $
+include/pakchois/pakchois.h
+include/pakchois/pakchois11.h
+lib/libpakchois.la
+lib/pkgconfig/pakchois.pc
+@dirrm include/pakchois
diff -r 19a30ccd1647 -r caec62ffbe22 security/pakchois/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pakchois/buildlink3.mk Thu Oct 30 03:32:19 2008 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/10/30 03:32:19 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PAKCHOIS_BUILDLINK3_MK:= ${PAKCHOIS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= pakchois
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npakchois}
+BUILDLINK_PACKAGES+= pakchois
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pakchois
+
+.if ${PAKCHOIS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.pakchois+= pakchois>=0.4
+BUILDLINK_PKGSRCDIR.pakchois?= ../../security/pakchois
+.endif # PAKCHOIS_BUILDLINK3_MK
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 19a30ccd1647 -r caec62ffbe22 security/pakchois/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pakchois/distinfo Thu Oct 30 03:32:19 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/30 03:32:19 bjs Exp $
+
+SHA1 (pakchois-0.4.tar.gz) = dea8a9a50ec06595b498bdefd1daacdb86e9ceda
+RMD160 (pakchois-0.4.tar.gz) = 354c4bb62645c12349a441153a4979cae04a4403
+Size (pakchois-0.4.tar.gz) = 371126 bytes
Home |
Main Index |
Thread Index |
Old Index