[gnome-build-meta/valentindavid/opensc: 5/5] Add OpenSC to add PKCS11 support for smartcards, usb security devices




commit f1a65c8164664815caa0412d7b5c5c6ffbb44766
Author: Valentin David <valentin david codethink co uk>
Date:   Fri Apr 30 15:54:45 2021 +0200

    Add OpenSC to add PKCS11 support for smartcards, usb security devices
    
    This was tested logging in with systemd homed.

 elements/vm/common-deps.bst |  1 +
 elements/vm/opensc.bst      | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
---
diff --git a/elements/vm/common-deps.bst b/elements/vm/common-deps.bst
index 99721666..d8ea2544 100644
--- a/elements/vm/common-deps.bst
+++ b/elements/vm/common-deps.bst
@@ -20,6 +20,7 @@ depends:
 - vm/fish.bst
 - vm/nss-mdns.bst
 - vm/ntfs-3g.bst
+- vm/opensc.bst
 - vm/uresourced.bst
 - vm/android-udev-rules.bst
 
diff --git a/elements/vm/opensc.bst b/elements/vm/opensc.bst
new file mode 100644
index 00000000..bd8c0758
--- /dev/null
+++ b/elements/vm/opensc.bst
@@ -0,0 +1,14 @@
+kind: autotools
+sources:
+- kind: tar
+  url: github_com:OpenSC/OpenSC/releases/download/0.21.0/opensc-0.21.0.tar.gz
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+depends:
+- freedesktop-sdk.bst:components/pcsc-lite.bst
+config:
+  install-commands:
+    (>):
+    - |
+      echo 'module: opensc-pkcs11.so' >opensc.module
+      install -Dm644 -t '%{install-root}%{datadir}/p11-kit/modules' opensc.module


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]