GNU bug report logs -
#40631
[PATCH 0/4] Build QEMU with smartcard support, to get GNOME Boxes working
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Tue, 14 Apr 2020 19:37:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 40631 <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 5 years and 106 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.