Ravenports generated: 02 Nov 2019 16:47
[ravenports.git] / bucket_B6 / p11-kit
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               p11-kit
4 VERSION=                0.23.18.1
5 KEYWORDS=               security devel
6 VARIANTS=               standard
7 SDESC[standard]=        Library for loading and sharing PKCS#11 modules
8 HOMEPAGE=               https://p11-glue.freedesktop.org/p11-kit.html
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://github.com/p11-glue/p11-kit/releases/download/0.23.18.1/
13 DISTFILE[1]=            p11-kit-0.23.18.1.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         docs
18                         examples
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILDRUN_DEPENDS=       nss:caroot:standard
24                         libtasn1:primary:standard
25                         libffi:single:standard
26 B_DEPS[sunos]=          libbsd4sol:single:standard
27
28 USES=                   gmake libtool pkgconfig
29
30 LICENSE=                BSD3CLAUSE:primary
31 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/COPYING
32 LICENSE_SCHEME=         solo
33
34 FPC_EQUIVALENT=         security/p11-kit
35
36 MUST_CONFIGURE=         gnu
37 CONFIGURE_ARGS=         --disable-nls
38                         --enable-debug=no
39                         --with-trust-paths={{LOCALBASE}}/share/certs/ca-root-nss.crt
40
41 INSTALL_TARGET=         install-strip
42
43 VAR_OPSYS[sunos]=       CPPFLAGS=-I{{LOCALBASE}}/include/bsd
44
45 post-install:
46         @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc
47         ${MV} ${STAGEDIR}${PREFIX}/share/gtk-doc/html/p11-kit \
48                 ${STAGEDIR}${STD_DOCDIR}
49         ${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc
50
51 pre-configure:
52         ${REINPLACE_CMD} -e \
53         's|exampledir = $$(p11_system_config)|exampledir = ${STD_EXAMPLESDIR}|' \
54         ${WRKSRC}/Makefile.in
55
56 [FILE:290:descriptions/desc.primary]
57 Provides a way to load and enumerate PKCS#11 modules. Provides a
58 standard configuration setup for installing PKCS#11 modules in
59 such a way that they're discoverable.
60
61 Also solves problems with coordinating the use of PKCS#11 by
62 different components or libraries living in the same process.
63
64
65 [FILE:103:distinfo]
66 34c3bd8c0050dd7c4e6228aecf0f168de0a1b34562ddbf74a1c70904c2523c6f      1305755 p11-kit-0.23.18.1.tar.gz
67
68
69 [FILE:422:manifests/plist.primary]
70 bin/
71  p11-kit
72  trust
73 include/p11-kit-1/p11-kit/
74  deprecated.h
75  iter.h
76  p11-kit.h
77  pin.h
78  pkcs11.h
79  pkcs11x.h
80  remote.h
81  uri.h
82 lib/
83  libp11-kit.so
84  libp11-kit.so.0
85  libp11-kit.so.0.3.0
86  p11-kit-proxy.so
87 lib/pkcs11/
88  p11-kit-client.%%SHARED_OBJECT%%
89  p11-kit-trust.%%SHARED_OBJECT%%
90 lib/pkgconfig/p11-kit-1.pc
91 libexec/p11-kit/
92  p11-kit-remote
93  p11-kit-server
94  trust-extract-compat
95 share/p11-kit/modules/p11-kit-trust.module
96
97
98 [FILE:716:manifests/plist.docs]
99 share/doc/p11-kit/
100  config-example.html
101  config-files.html
102  config.html
103  devel-building-style.html
104  devel-building.html
105  devel-commands.html
106  devel-debugging.html
107  devel-paths.html
108  devel-testing.html
109  devel.html
110  gtk-doc.css
111  home.png
112  index.html
113  left-insensitive.png
114  left.png
115  p11-kit-Deprecated.html
116  p11-kit-Future.html
117  p11-kit-Modules.html
118  p11-kit-PIN-Callbacks.html
119  p11-kit-URIs.html
120  p11-kit-Utilities.html
121  p11-kit.devhelp2
122  p11-kit.html
123  pkcs11-conf.html
124  reference.html
125  remoting.html
126  right-insensitive.png
127  right.png
128  sharing-managed.html
129  sharing.html
130  style.css
131  tools.html
132  trust-disable.html
133  trust-glib-networking.html
134  trust-module.html
135  trust-nss.html
136  trust.html
137  up-insensitive.png
138  up.png
139
140
141 [FILE:43:manifests/plist.examples]
142 share/examples/p11-kit/pkcs11.conf.example
143
144
145 [FILE:469:patches/patch-common_compat.c]
146 --- common/compat.c.orig        2019-06-18 15:25:53 UTC
147 +++ common/compat.c
148 @@ -38,7 +38,11 @@
149   * This is needed to expose pthread_mutexattr_settype and PTHREAD_MUTEX_DEFAULT
150   * on older pthreads implementations
151   */
152 +#ifdef __sun__
153 +#define _XOPEN_SOURCE 600
154 +#else
155  #define _XOPEN_SOURCE 700
156 +#endif
157  
158  #include "compat.h"
159  #include "debug.h"
160 @@ -48,6 +52,7 @@
161  #include <errno.h>
162  #include <stdint.h>
163  #include <stdlib.h>
164 +#include <stdint.h>
165  #include <string.h>
166  
167  /*-
168
169
170 [FILE:354:patches/patch-common_message.c]
171 --- common/message.c.orig       2019-02-26 15:04:41 UTC
172 +++ common/message.c
173 @@ -41,7 +41,9 @@
174   * Oh god. glibc is nasty. Changes behavior and definitions of POSIX
175   * functions to completely different signatures depending on defines
176   */
177 +#ifdef __linux__
178  #define _POSIX_C_SOURCE 200112L
179 +#endif
180  
181  #include "compat.h"
182  #define P11_DEBUG_FLAG P11_DEBUG_LIB
183
184
185 [FILE:334:patches/patch-p11-kit_server.c]
186 --- p11-kit/server.c.orig       2019-06-14 13:29:39 UTC
187 +++ p11-kit/server.c
188 @@ -79,6 +79,12 @@ typedef void (*sighandler_t)(int);
189  
190  #endif /* OS_UNIX */
191  
192 +#ifdef __sun__
193 +# ifndef SUN_LEN
194 +# define SUN_LEN(su)   (sizeof (sa_family_t) + strlen((su)->sun_path))
195 +# endif
196 +#endif
197 +
198  typedef struct {
199         const char **tokens;
200         size_t n_tokens;
201