summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/.footprint1
-rw-r--r--p11-kit/.signature8
-rw-r--r--p11-kit/Pkgfile20
-rwxr-xr-xp11-kit/post-install4
4 files changed, 25 insertions, 8 deletions
diff --git a/p11-kit/.footprint b/p11-kit/.footprint
index 749cab200..639a94ab4 100644
--- a/p11-kit/.footprint
+++ b/p11-kit/.footprint
@@ -5,6 +5,7 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/p11-kit
-rwxr-xr-x root/root usr/bin/trust
+lrwxrwxrwx root/root usr/bin/update-ca-trust -> ../lib/p11-kit/trust-extract-compat
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/p11-kit-1/
drwxr-xr-x root/root usr/include/p11-kit-1/p11-kit/
diff --git a/p11-kit/.signature b/p11-kit/.signature
index 1aa7d3703..a7250d3a7 100644
--- a/p11-kit/.signature
+++ b/p11-kit/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/ddRF04NiBxWouryRYT6OBGDBIo16p5P1JV2nTTCwE8EKWyNSnab1Xau87pW/IzhuOtFwRTy74LrtDYQ2LFzIA8=
-SHA256 (Pkgfile) = b7c6dcb6393deea460da005d9f6fd11a2fa88245466db0dac14c704e4e1f51e6
-SHA256 (.footprint) = 4e2fe216262bf976e45eea1a384dd523dd94aab388009b3c43ed51b94080356c
-SHA256 (p11-kit-0.23.10.tar.gz) = f9212a3f225ef543e13fae9945527d66c0cbb67246320035dd94fab2bce5ae43
+RWSE3ohX2g5d/WTowRxXCQu74zhqk5ImnklrH96Uw1MK8kKgRmHuqoHIcm5qis0z0yqf+NzjjUaZxB1IBxCEIT4Ne6wM5gTQ3Qc=
+SHA256 (Pkgfile) = a83f3ac3a23326c66e02443fb957a31913c061715102c643be717766f165ee12
+SHA256 (.footprint) = 4a57f118bc98c03a14643c715ab813dcabedb8f719a0faedaeac2d1e165c650c
+SHA256 (p11-kit-0.23.15.tar.gz) = f7c139a0c77a1f0012619003e542060ba8f94799a0ef463026db390680e4d798
diff --git a/p11-kit/Pkgfile b/p11-kit/Pkgfile
index 17f44122c..cfb0c515a 100644
--- a/p11-kit/Pkgfile
+++ b/p11-kit/Pkgfile
@@ -1,26 +1,38 @@
# Description: Provides a way to load and enumerate PKCS#11 modules
-# URL: http://p11-glue.freedesktop.org/p11-kit.html
+# URL: https://p11-glue.github.io/p11-glue/p11-kit.html
# Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: libtasn1 libffi
+# Depends on: libtasn1 libffi make-ca
name=p11-kit
-version=0.23.10
+version=0.23.15
release=1
source=(https://github.com/p11-glue/$name/releases/download/$version/$name-$version.tar.gz)
build() {
cd $name-$version
+ sed '20,$ d' -i trust/trust-extract-compat.in
+ cat >> trust/trust-extract-compat.in << "EOF"
+# Copy existing anchor modifications to /etc/ssl/local
+/usr/lib/make-ca/copy-trust-modifications
+
+# Generate a new trust store
+/usr/sbin/make-ca -f -g
+EOF
+
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--with-module-path=/usr/lib/pkcs11 \
- --with-trust-paths=/etc/ssl
+ --with-trust-paths=/etc/pki/anchors
make
make DESTDIR=$PKG install
+ ln -s ../lib/p11-kit/trust-extract-compat \
+ $PKG/usr/bin/update-ca-trust
+
rm -r $PKG/usr/share/gtk-doc
}
diff --git a/p11-kit/post-install b/p11-kit/post-install
new file mode 100755
index 000000000..2670d36ba
--- /dev/null
+++ b/p11-kit/post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/bin/update-ca-trust
+

Generated by cgit