# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= p11-kit VERSION= 0.23.18.1 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.23.18.1/ DISTFILE[1]= p11-kit-0.23.18.1.tar.gz:main DF_INDEX= 1 SPKGS[standard]= complete primary docs examples OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILDRUN_DEPENDS= nss:caroot:standard libtasn1:primary:standard libffi:single:standard B_DEPS[sunos]= libbsd4sol:single:standard USES= gmake libtool pkgconfig LICENSE= BSD3CLAUSE:primary LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING LICENSE_SCHEME= solo FPC_EQUIVALENT= security/p11-kit MUST_CONFIGURE= gnu CONFIGURE_ARGS= --disable-nls --enable-debug=no --with-trust-paths={{LOCALBASE}}/share/certs/ca-root-nss.crt INSTALL_TARGET= install-strip VAR_OPSYS[sunos]= CPPFLAGS=-I{{LOCALBASE}}/include/bsd post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc ${MV} ${STAGEDIR}${PREFIX}/share/gtk-doc/html/p11-kit \ ${STAGEDIR}${STD_DOCDIR} ${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc pre-configure: ${REINPLACE_CMD} -e \ 's|exampledir = $$(p11_system_config)|exampledir = ${STD_EXAMPLESDIR}|' \ ${WRKSRC}/Makefile.in [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:103:distinfo] 34c3bd8c0050dd7c4e6228aecf0f168de0a1b34562ddbf74a1c70904c2523c6f 1305755 p11-kit-0.23.18.1.tar.gz [FILE:422:manifests/plist.primary] bin/ p11-kit trust 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 libp11-kit.so.0 libp11-kit.so.0.3.0 p11-kit-proxy.so lib/pkcs11/ p11-kit-client.%%SHARED_OBJECT%% p11-kit-trust.%%SHARED_OBJECT%% lib/pkgconfig/p11-kit-1.pc libexec/p11-kit/ p11-kit-remote p11-kit-server trust-extract-compat share/p11-kit/modules/p11-kit-trust.module [FILE:716: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 gtk-doc.css 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.devhelp2 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:43:manifests/plist.examples] share/examples/p11-kit/pkcs11.conf.example [FILE:469:patches/patch-common_compat.c] --- common/compat.c.orig 2019-06-18 15:25:53 UTC +++ common/compat.c @@ -38,7 +38,11 @@ * This is needed to expose pthread_mutexattr_settype and PTHREAD_MUTEX_DEFAULT * on older pthreads implementations */ +#ifdef __sun__ +#define _XOPEN_SOURCE 600 +#else #define _XOPEN_SOURCE 700 +#endif #include "compat.h" #include "debug.h" @@ -48,6 +52,7 @@ #include #include #include +#include #include /*- [FILE:354:patches/patch-common_message.c] --- common/message.c.orig 2019-02-26 15:04:41 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:334:patches/patch-p11-kit_server.c] --- p11-kit/server.c.orig 2019-06-14 13:29:39 UTC +++ p11-kit/server.c @@ -79,6 +79,12 @@ typedef void (*sighandler_t)(int); #endif /* OS_UNIX */ +#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;