guix-patches
[Top][All Lists]
Advanced

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

[bug#40631] [PATCH 0/4] Build QEMU with smartcard support, to get GNOME


From: Brice Waegeneire
Subject: [bug#40631] [PATCH 0/4] Build QEMU with smartcard support, to get GNOME Boxes working
Date: Tue, 28 Apr 2020 09:07:59 +0000
User-agent: Roundcube Webmail/1.3.8

Hello Christopher,

I was thinking of packaging libcacard the other day, thankfully you've already
done it.

If I understand correctly softhsm is needed to test libcacard, but it's tests can't be enabled because our gnutls is missing some features and rebuilding it
would rebuild the world, right?

+    (name "softhsm")
+    (version "2.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://dist.opendnssec.org/source/";
+                    "softhsm-" version ".tar.gz"))

The latest version is 2.6.0, even though the home-page don't list it, it's present
in the source you defined or in their Github page[0].


+         (add-after 'unpack 'patch
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "tests/setup-softhsm2.sh"
+               (("\\/usr\\/lib64\\/pkcs11\\/libsofthsm2\\.so")
+                (string-append (assoc-ref inputs "softhsm")
+                               "/lib/softhsm/libsofthsm2.so")))
+             #t)))))

Instead of 'patch' 'patch-tests' would be more descriptive.

LGTM otherwise, building and linting is successful.

[0]: https://github.com/opendnssec/SoftHSMv2/releases

- Brice





reply via email to

[Prev in Thread] Current Thread [Next in Thread]