summaryrefslogtreecommitdiff
path: root/repo/system/libp11-kit.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/system/libp11-kit.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/system/libp11-kit.xibuild')
-rw-r--r--repo/system/libp11-kit.xibuild33
1 files changed, 0 insertions, 33 deletions
diff --git a/repo/system/libp11-kit.xibuild b/repo/system/libp11-kit.xibuild
deleted file mode 100644
index 11d33be..0000000
--- a/repo/system/libp11-kit.xibuild
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make "
-DEPS="musl libtasn1 libffi"
-
-PKG_VER=0.24.1
-SOURCE=https://github.com/p11-glue/p11-kit/releases/download/$PKG_VER/p11-kit-$PKG_VER.tar.xz
-DESC="Loads and enumerates PKCS#11 modules"
-
-prepare () {
- 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
-}
-
-build () {
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --with-trust-paths=/etc/pki/anchors
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
- ln -sf $PKG_DEST/usr/libexec/p11-kit/trust-extract-compat \
- $PKG_DEST/usr/bin/update-ca-certificates
-}
-