# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= p11-kit VERSION= 0.25.3 KEYWORDS= security devel VARIANTS= standard SDESC[standard]= Library for loading and sharing PKCS#11 modules HOMEPAGE= https://p11-glue.freedesktop.org/p11-kit.html CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://github.com/p11-glue/p11-kit/releases/download/0.25.3/ DISTFILE[1]= p11-kit-0.25.3.tar.xz:main DF_INDEX= 1 SPKGS[standard]= complete primary dev tools docs OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= libffi:dev:standard libtasn1:dev:standard glib:dev:standard BUILDRUN_DEPENDS= nss:caroot:standard libtasn1:primary:standard libffi:primary:standard B_DEPS[sunos]= libbsd4sol:single:standard EXRUN[tools]= p11-kit:primary:standard USES= cpe meson pkgconfig gtk-doc LICENSE= BSD3CLAUSE:primary LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING LICENSE_SCHEME= solo CPE_VENDOR= p11-kit_project FPC_EQUIVALENT= security/p11-kit MESON_ARGS= -Dnls=false -Dgtk_doc=true -Dtrust_paths={{LOCALBASE}}/share/certs/ca-root-nss.crt INSTALL_TARGET= install-strip SOVERSION= 0.3.1 VAR_OPSYS[sunos]= CPPFLAGS=-I{{LOCALBASE}}/include/bsd [FILE:290:descriptions/desc.primary] 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. [FILE:50:descriptions/desc.tools] This package contains tools based on the P11 kit. [FILE:100:distinfo] d8ddce1bb7e898986f9d250ccae7c09ce14d82f1009046d202a0eb1b428b2adc 991528 p11-kit-0.25.3.tar.xz [FILE:135:manifests/plist.primary] lib/ libp11-kit.so.%%SOMAJOR%% libp11-kit.so.%%SOVERSION%% p11-kit-proxy.so lib/pkcs11/p11-kit-client.so @dir share/p11-kit/modules [FILE:150:manifests/plist.dev] include/p11-kit-1/p11-kit/ deprecated.h iter.h p11-kit.h pin.h pkcs11.h pkcs11x.h remote.h uri.h lib/libp11-kit.so lib/pkgconfig/p11-kit-1.pc [FILE:92:manifests/plist.tools] bin/p11-kit etc/pkcs11/pkcs11.conf.example libexec/p11-kit/ p11-kit-remote p11-kit-server [FILE:685:manifests/plist.docs] share/doc/p11-kit/ config-example.html config-files.html config.html devel-building-style.html devel-building.html devel-commands.html devel-debugging.html devel-paths.html devel-testing.html devel.html home.png index.html left-insensitive.png left.png p11-kit-Deprecated.html p11-kit-Future.html p11-kit-Modules.html p11-kit-PIN-Callbacks.html p11-kit-URIs.html p11-kit-Utilities.html p11-kit.html pkcs11-conf.html reference.html remoting.html right-insensitive.png right.png sharing-managed.html sharing.html style.css tools.html trust-disable.html trust-glib-networking.html trust-module.html trust-nss.html trust.html up-insensitive.png up.png [FILE:354:patches/patch-common_message.c] --- common/message.c.orig 2023-10-24 12:58:49 UTC +++ common/message.c @@ -41,7 +41,9 @@ * Oh god. glibc is nasty. Changes behavior and definitions of POSIX * functions to completely different signatures depending on defines */ +#ifdef __linux__ #define _POSIX_C_SOURCE 200112L +#endif #include "compat.h" #define P11_DEBUG_FLAG P11_DEBUG_LIB [FILE:214:patches/patch-p11-kit_lists.c] --- p11-kit/lists.c.orig 2023-10-26 09:56:44 UTC +++ p11-kit/lists.c @@ -44,6 +44,7 @@ #include #include #include +#include #include #include [FILE:336:patches/patch-p11-kit_server.c] --- p11-kit/server.c.orig 2023-10-24 12:58:49 UTC +++ p11-kit/server.c @@ -92,6 +92,12 @@ typedef void (*sighandler_t)(int); #define _(x) (x) #endif +#ifdef __sun__ +# ifndef SUN_LEN +# define SUN_LEN(su) (sizeof (sa_family_t) + strlen((su)->sun_path)) +# endif +#endif + typedef struct { const char **tokens; size_t n_tokens;