diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2011-07-26 19:34:04 +0800 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2011-07-26 19:34:04 +0800 |
commit | ab3ead5ebbf76caf2d6a0e2d2bb8bca768e65b5b (patch) | |
tree | f7963ff33b5091deeea6eec42b7ddeb159666d59 /security | |
parent | aa565cb5299da81438092a5966aebb1521c44efb (diff) | |
download | freebsd-ports-gnome-ab3ead5ebbf76caf2d6a0e2d2bb8bca768e65b5b.tar.gz freebsd-ports-gnome-ab3ead5ebbf76caf2d6a0e2d2bb8bca768e65b5b.tar.zst freebsd-ports-gnome-ab3ead5ebbf76caf2d6a0e2d2bb8bca768e65b5b.zip |
Add security/p11-kit, a library which provides a way to load and enumerate
PKCS#11 modules and provides a standard configuration setup for installing
PKCS#11 modules in such a way that they're discoverable.
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/p11-kit/Makefile | 23 | ||||
-rw-r--r-- | security/p11-kit/distinfo | 2 | ||||
-rw-r--r-- | security/p11-kit/files/patch-configure.ac | 14 | ||||
-rw-r--r-- | security/p11-kit/pkg-descr | 8 | ||||
-rw-r--r-- | security/p11-kit/pkg-plist | 39 |
6 files changed, 87 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index c972d0c5b7bd..b7912b5bf5a4 100644 --- a/security/Makefile +++ b/security/Makefile @@ -346,6 +346,7 @@ SUBDIR += ossec-hids-server SUBDIR += osslsigncode SUBDIR += outguess + SUBDIR += p11-kit SUBDIR += p5-Apache-Htpasswd SUBDIR += p5-Auth-YubikeyDecrypter SUBDIR += p5-AuthCAS diff --git a/security/p11-kit/Makefile b/security/p11-kit/Makefile new file mode 100644 index 000000000000..3f877b868da9 --- /dev/null +++ b/security/p11-kit/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: p11-kit +# Date created: 2011-07-24 +# Whom: Roman Bogorodskiy <novel@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= p11-kit +PORTVERSION= 0.2 +CATEGORIES= security devel +MASTER_SITES= http://p11-glue.freedesktop.org/releases/ + +MAINTAINER= novel@FreeBSD.org +COMMENT= Library for loading and enumurating of PKCS\#11 modules + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-gtk-doc --disable-nls + +USE_AUTOTOOLS= libtool autoconf +USE_GNOME= ltverhack gnomehack +USE_LDCONFIG= yes + +.include <bsd.port.mk> diff --git a/security/p11-kit/distinfo b/security/p11-kit/distinfo new file mode 100644 index 000000000000..c4c6b5dd9f0c --- /dev/null +++ b/security/p11-kit/distinfo @@ -0,0 +1,2 @@ +SHA256 (p11-kit-0.2.tar.gz) = 8d11db283891cb079c85579fb1a072ad84860389cf5d89722f9ebcdd1bc2bd60 +SIZE (p11-kit-0.2.tar.gz) = 505345 diff --git a/security/p11-kit/files/patch-configure.ac b/security/p11-kit/files/patch-configure.ac new file mode 100644 index 000000000000..55ec39a50d21 --- /dev/null +++ b/security/p11-kit/files/patch-configure.ac @@ -0,0 +1,14 @@ +--- configure.ac.orig 2011-07-24 08:07:08.000000000 +0400 ++++ configure.ac 2011-07-24 08:07:47.000000000 +0400 +@@ -29,9 +29,8 @@ + dnl Checks for libraries. + AC_CHECK_LIB(pthread, pthread_mutex_lock,, + [AC_MSG_ERROR([could not find pthread_mutex_lock])]) +-AC_CHECK_LIB(dl, dlopen,, +- [AC_MSG_ERROR([could not find dlopen])]) +- ++AC_SEARCH_LIBS([dlopen], [dl dld], [], [ ++ AC_MSG_ERROR([unable to find the dlopen() function])]) + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_CHECK_MEMBERS([struct dirent.d_type],,,[#include <dirent.h>]) diff --git a/security/p11-kit/pkg-descr b/security/p11-kit/pkg-descr new file mode 100644 index 000000000000..923f213863dc --- /dev/null +++ b/security/p11-kit/pkg-descr @@ -0,0 +1,8 @@ +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. + +Also solves problems with coordinating the use of PKCS#11 by +different components or libraries living in the same process. + +WWW: http://p11-glue.freedesktop.org/p11-kit.html diff --git a/security/p11-kit/pkg-plist b/security/p11-kit/pkg-plist new file mode 100644 index 000000000000..ead6ec118f06 --- /dev/null +++ b/security/p11-kit/pkg-plist @@ -0,0 +1,39 @@ +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/uri.h +include/p11-kit-1/p11-kit/pkcs11.h +lib/libp11-kit.so.0 +lib/libp11-kit.so +lib/libp11-kit.la +libdata/pkgconfig/p11-kit-1.pc +share/gtk-doc/html/p11-kit/api-index-full.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.devhelp +share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +share/gtk-doc/html/p11-kit/up.png +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 +@dirrm share/gtk-doc/html/p11-kit +@dirrmtry share/gtk-doc/html +@dirrmtry share/gtk-doc +@dirrm include/p11-kit-1/p11-kit +@dirrm include/p11-kit-1 |