summaryrefslogtreecommitdiff
path: root/security/p11-kit
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-02-03 14:43:12 +0000
committerdrochner <drochner@pkgsrc.org>2012-02-03 14:43:12 +0000
commit66d6be20445750ad7661bba91ae1a54170fe0d71 (patch)
tree15ca9a3506cbebe2da4cdd562f19b6528f8aa222 /security/p11-kit
parentf97e1111d5847e2680a6b122a2697f99f9b8a090 (diff)
downloadpkgsrc-66d6be20445750ad7661bba91ae1a54170fe0d71.tar.gz
add p11-kit-0.10, a PKCS#11 module manager, needed by gnome3 components
Diffstat (limited to 'security/p11-kit')
-rw-r--r--security/p11-kit/DESCR4
-rw-r--r--security/p11-kit/Makefile24
-rw-r--r--security/p11-kit/PLIST35
-rw-r--r--security/p11-kit/buildlink3.mk12
-rw-r--r--security/p11-kit/distinfo6
-rw-r--r--security/p11-kit/patches/patch-aa13
6 files changed, 94 insertions, 0 deletions
diff --git a/security/p11-kit/DESCR b/security/p11-kit/DESCR
new file mode 100644
index 00000000000..b4c0069e22f
--- /dev/null
+++ b/security/p11-kit/DESCR
@@ -0,0 +1,4 @@
+P11-KIT
+Provides a way to load and enumerate PKCS#11 modules. Provides a standard
+configuration setup for installing PKCS#11 modules in such a way that they're
+discoverable.
diff --git a/security/p11-kit/Makefile b/security/p11-kit/Makefile
new file mode 100644
index 00000000000..10d2d467b4f
--- /dev/null
+++ b/security/p11-kit/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/03 14:43:12 drochner Exp $
+#
+
+DISTNAME= p11-kit-0.10
+CATEGORIES= security
+MASTER_SITES= http://p11-glue.freedesktop.org/releases/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://p11-glue.freedesktop.org/
+COMMENT= PKCS#11 module manager
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+PKGCONFIG_OVERRIDE+= p11-kit/p11-kit-1.pc.in
+
+PKG_SYSCONFSUBDIR= pkcs11
+CONF_FILES+= share/examples/p11-kit/pkcs11.conf.example \
+ ${PKG_SYSCONFDIR}/pkcs11.conf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p11-kit/PLIST b/security/p11-kit/PLIST
new file mode 100644
index 00000000000..89874a4bdaa
--- /dev/null
+++ b/security/p11-kit/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/03 14:43:12 drochner Exp $
+bin/p11-kit
+include/p11-kit-1/p11-kit/p11-kit.h
+include/p11-kit-1/p11-kit/pin.h
+include/p11-kit-1/p11-kit/pkcs11.h
+include/p11-kit-1/p11-kit/uri.h
+lib/libp11-kit.la
+lib/p11-kit-proxy.so
+lib/pkgconfig/p11-kit-1.pc
+share/examples/p11-kit/pkcs11.conf.example
+share/gtk-doc/html/p11-kit/api-index-full.html
+share/gtk-doc/html/p11-kit/config-example.html
+share/gtk-doc/html/p11-kit/config-format.html
+share/gtk-doc/html/p11-kit/config-global.html
+share/gtk-doc/html/p11-kit/config-locations.html
+share/gtk-doc/html/p11-kit/config-module.html
+share/gtk-doc/html/p11-kit/config.html
+share/gtk-doc/html/p11-kit/gtk-doc.css
+share/gtk-doc/html/p11-kit/home.png
+share/gtk-doc/html/p11-kit/index.html
+share/gtk-doc/html/p11-kit/index.sgml
+share/gtk-doc/html/p11-kit/left.png
+share/gtk-doc/html/p11-kit/p11-kit-Future.html
+share/gtk-doc/html/p11-kit/p11-kit-Modules.html
+share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html
+share/gtk-doc/html/p11-kit/p11-kit-URIs.html
+share/gtk-doc/html/p11-kit/p11-kit-Utilities.html
+share/gtk-doc/html/p11-kit/p11-kit.devhelp2
+share/gtk-doc/html/p11-kit/reference.html
+share/gtk-doc/html/p11-kit/right.png
+share/gtk-doc/html/p11-kit/sharing-initialize.html
+share/gtk-doc/html/p11-kit/sharing-module.html
+share/gtk-doc/html/p11-kit/sharing.html
+share/gtk-doc/html/p11-kit/style.css
+share/gtk-doc/html/p11-kit/up.png
diff --git a/security/p11-kit/buildlink3.mk b/security/p11-kit/buildlink3.mk
new file mode 100644
index 00000000000..91b830a6bb3
--- /dev/null
+++ b/security/p11-kit/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/02/03 14:43:12 drochner Exp $
+
+BUILDLINK_TREE+= p11-kit
+
+.if !defined(P11_KIT_BUILDLINK3_MK)
+P11_KIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.p11-kit+= p11-kit>=0.10
+BUILDLINK_PKGSRCDIR.p11-kit?= ../../security/p11-kit
+.endif # P11_KIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -p11-kit
diff --git a/security/p11-kit/distinfo b/security/p11-kit/distinfo
new file mode 100644
index 00000000000..0c86918d548
--- /dev/null
+++ b/security/p11-kit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/02/03 14:43:12 drochner Exp $
+
+SHA1 (p11-kit-0.10.tar.gz) = 861e8d19a2c578ef8009c8ac93975db9884bb002
+RMD160 (p11-kit-0.10.tar.gz) = f305a865b4d267b79abb183965704ae406e357ae
+Size (p11-kit-0.10.tar.gz) = 528279 bytes
+SHA1 (patch-aa) = 16b1ed56c062ed5fe3227489e8d44071882ac1df
diff --git a/security/p11-kit/patches/patch-aa b/security/p11-kit/patches/patch-aa
new file mode 100644
index 00000000000..3a1b5e69613
--- /dev/null
+++ b/security/p11-kit/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/02/03 14:43:12 drochner Exp $
+
+--- p11-kit/Makefile.in.orig 2012-01-03 16:00:59.000000000 +0000
++++ p11-kit/Makefile.in
+@@ -334,7 +334,7 @@ libp11_kit_testable_la_LDFLAGS = \
+ libp11_kit_testable_la_SOURCES = $(MODULE_SRCS)
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = p11-kit-1.pc
+-exampledir = $(p11_system_config)
++exampledir = $(prefix)/share/examples/p11-kit
+ example_DATA = pkcs11.conf.example
+ EXTRA_DIST = \
+ p11-kit-1.pc.in \