diff options
author | davidovski <david@davidovski.xyz> | 2022-01-03 16:44:09 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-03 16:44:09 +0000 |
commit | 93d60f57780b9f1e9206f411e183bf28e6272334 (patch) | |
tree | d278fe89abb43e459cd80ebd4d67f2ba3d2e9901 /repo/core/libp11-kit.xibuild | |
parent | 924ee9d18af78b561fc78b0239b9ae38d5f808b3 (diff) |
added new files; git works
Diffstat (limited to 'repo/core/libp11-kit.xibuild')
-rw-r--r-- | repo/core/libp11-kit.xibuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/core/libp11-kit.xibuild b/repo/core/libp11-kit.xibuild new file mode 100644 index 0000000..e9e5e4a --- /dev/null +++ b/repo/core/libp11-kit.xibuild @@ -0,0 +1,28 @@ +#!/bin/bash + +DEPS=(glibc libtasn1 libffi) + +SOURCE=https://github.com/p11-glue/p11-kit +DESC="Loads and enumerates PKCS#11 modules" + +build () { + + 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 + +# Generate a new trust store +/usr/sbin/make-ca -f -g +EOF + + ./autogen.sh + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-trust-paths=/etc/pki/anchors + make + make DESTDIR=$PKG_DEST install + ln -sfv $PKG_DEST/usr/libexec/p11-kit/trust-extract-compat \ + $PKG_DEST/usr/bin/update-ca-certificates +} + |