diff options
author | hasso <hasso@pkgsrc.org> | 2009-03-05 20:28:24 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-03-05 20:28:24 +0000 |
commit | 01e775f711af4f3dc4d36def211765c11e172509 (patch) | |
tree | d9fed6f29d1ffd431be8de9bdb39bf74e154b7c7 /security | |
parent | 946109ba72112338b2ffb8dd87e70aa137837df5 (diff) | |
download | pkgsrc-01e775f711af4f3dc4d36def211765c11e172509.tar.gz |
Libp11 is a library implementing a small layer on top of PKCS#11 API to make
using PKCS#11 implementations easier.
Diffstat (limited to 'security')
-rw-r--r-- | security/libp11/DESCR | 2 | ||||
-rw-r--r-- | security/libp11/Makefile | 24 | ||||
-rw-r--r-- | security/libp11/PLIST | 4 | ||||
-rw-r--r-- | security/libp11/buildlink3.mk | 22 | ||||
-rw-r--r-- | security/libp11/distinfo | 6 | ||||
-rw-r--r-- | security/libp11/patches/patch-aa | 15 |
6 files changed, 73 insertions, 0 deletions
diff --git a/security/libp11/DESCR b/security/libp11/DESCR new file mode 100644 index 00000000000..a9fbf90d046 --- /dev/null +++ b/security/libp11/DESCR @@ -0,0 +1,2 @@ +Libp11 is a library implementing a small layer on top of PKCS#11 API to make +using PKCS#11 implementations easier. diff --git a/security/libp11/Makefile b/security/libp11/Makefile new file mode 100644 index 00000000000..92cbe9c5951 --- /dev/null +++ b/security/libp11/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/03/05 20:28:24 hasso Exp $ +# + +DISTNAME= libp11-0.2.4 +CATEGORIES= security +MASTER_SITES= http://www.opensc-project.org/files/libp11/ + +MAINTAINER= hasso@NetBSD.org +HOMEPAGE= http://www.opensc-project.org/libp11/ +COMMENT= Convenience library for easy PKCS\#11 implementation + +PKG_DESTDIR_SUPPORT= user-destdir + +BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7 + +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +PKGCONFIG_OVERRIDE+= ${WRKSRC}/src/libp11.pc.in +GNU_CONFIGURE= yes +USE_TOOLS+= gmake pkg-config + +.include "../../devel/libltdl/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/libp11/PLIST b/security/libp11/PLIST new file mode 100644 index 00000000000..62b89499701 --- /dev/null +++ b/security/libp11/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/05 20:28:24 hasso Exp $ +include/libp11.h +lib/libp11.la +lib/pkgconfig/libp11.pc diff --git a/security/libp11/buildlink3.mk b/security/libp11/buildlink3.mk new file mode 100644 index 00000000000..c8be83f7139 --- /dev/null +++ b/security/libp11/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/03/05 20:28:24 hasso Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBP11_BUILDLINK3_MK:= ${LIBP11_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libp11 +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibp11} +BUILDLINK_PACKAGES+= libp11 +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libp11 + +.if !empty(LIBP11_BUILDLINK3_MK:M+) +BUILDLINK_API_DEPENDS.libp11+= libp11>=0.2.4 +BUILDLINK_PKGSRCDIR.libp11?= ../../security/libp11 +.endif # LIBP11_BUILDLINK3_MK + +.include "../../devel/libltdl/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/security/libp11/distinfo b/security/libp11/distinfo new file mode 100644 index 00000000000..0b2aaf3a241 --- /dev/null +++ b/security/libp11/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/03/05 20:28:24 hasso Exp $ + +SHA1 (libp11-0.2.4.tar.gz) = 04914daf930544c330bd25798edd899050b7f4eb +RMD160 (libp11-0.2.4.tar.gz) = f73598f34d356fdc58207759afdab18eb11b3fa2 +Size (libp11-0.2.4.tar.gz) = 414058 bytes +SHA1 (patch-aa) = 97e85e23d74f7fdc7db67bc8f40844679846e96c diff --git a/security/libp11/patches/patch-aa b/security/libp11/patches/patch-aa new file mode 100644 index 00000000000..20121177a4c --- /dev/null +++ b/security/libp11/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/03/05 20:28:24 hasso Exp $ + +--- Makefile.in.orig 2009-03-05 21:27:02 +0200 ++++ Makefile.in 2009-03-05 21:27:26 +0200 +@@ -232,8 +232,8 @@ EXTRA_DIST = svnignore + dist_noinst_DATA = COPYING bootstrap \ + $(srcdir)/examples/Makefile $(srcdir)/examples/*.c $(srcdir)/examples/README + +-dist_doc_DATA = NEWS +-SUBDIRS = src doc ++dist_doc_DATA = ++SUBDIRS = src + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + |