A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « GTK-Doc | HOME | P11-Kit 32-bit » |
Name: P11-Kit 64-bit
Summary: Tools for loading and enumerating PKCS11 modules
License: BSD 3-clause
Version: 0.26.2
URL: https://github.com/p11-glue/p11-kit/releases/download/0.26.2/p11-kit-0.26.2.tar.xz
Average Build Time: 0.5 SBU
Used Install Space: 110 MiB
To prepare P11-Kit 64-bit for build, create the distribution specific anchor hook:
sed '20,$ d' -i trust/trust-extract-compat
cat >> trust/trust-extract-compat << "EOF"
# Copy existing anchor modifications to /etc/ssl/local
/usr/libexec/make-ca/copy-trust-modifications
# Update trust stores
/usr/sbin/make-ca -r
EOF
To configure P11-Kit 64-bit for install into the build root, run the following command:
mkdir p11-build && cd p11-build
meson setup .. \
--prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--buildtype=release \
-D trust_paths=/etc/pki/anchors
To compile P11-Kit 64-bit, run the following command:
ninja
Next, run the test suite:
ninja test
Finally, to install P11-Kit 64-bit into the build tree, run the following command:
ninja install
ln -sfv /usr/lib64/p11-kit/trust-extract-compat /usr/bin/update-ca-certificates
NOTE: Do not delete the unpacked sources after build.
| Contents | |
|---|---|
| Installed Programs | p11-kit, trust, and update-ca-certificates |
| Installed Libraries | libp11-kit.so and p11-kit-proxy.so |
| Navigation | ||
|---|---|---|
| « GTK-Doc | HOME | P11-Kit 32-bit » |