Thu Oct 30 03:32:19 2008 UTC ()
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.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(bjs)
diff -r0 -r1.1.1.1 pkgsrc/security/pakchois/Makefile
diff -r0 -r1.1.1.1 pkgsrc/security/pakchois/PLIST
diff -r0 -r1.1.1.1 pkgsrc/security/pakchois/distinfo
diff -r0 -r1.1.1.1 pkgsrc/security/pakchois/DESCR
diff -r0 -r1.1.1.1 pkgsrc/security/pakchois/buildlink3.mk

File Added: pkgsrc/security/pakchois/Makefile
# $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
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"

File Added: pkgsrc/security/pakchois/PLIST
@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

File Added: pkgsrc/security/pakchois/distinfo
$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

File Added: pkgsrc/security/pakchois/DESCR
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.

File Added: pkgsrc/security/pakchois/buildlink3.mk
# $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/+$//}