From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KHK/GbeSrl7jEwAA0tVLHw (envelope-from ) for ; Sun, 03 May 2020 09:45:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UNrzBMKSrl5jOwAAbx9fmQ (envelope-from ) for ; Sun, 03 May 2020 09:45:38 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 244DE943482 for ; Sun, 3 May 2020 09:45:36 +0000 (UTC) Received: from localhost ([::1]:49618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVBBo-0000DC-6Q for larch@yhetil.org; Sun, 03 May 2020 05:45:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVBBG-0007f2-Hk for guix-patches@gnu.org; Sun, 03 May 2020 05:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVBBG-0008RN-87 for guix-patches@gnu.org; Sun, 03 May 2020 05:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVBBG-0006w0-5V for guix-patches@gnu.org; Sun, 03 May 2020 05:45:02 -0400 Subject: bug#40631: [PATCH 0/4] Build QEMU with smartcard support, to get GNOME Boxes working Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 03 May 2020 09:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40631 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brice Waegeneire Cc: 40631-done@debbugs.gnu.org Mail-Followup-To: 40631@debbugs.gnu.org, mail@cbaines.net, mail@cbaines.net Received: via spool by 40631-done@debbugs.gnu.org id=D40631.158849905326573 (code D ref 40631); Sun, 03 May 2020 09:45:01 +0000 Received: (at 40631-done) by debbugs.gnu.org; 3 May 2020 09:44:13 +0000 Received: from localhost ([127.0.0.1]:54654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVBAP-0006uU-MC for submit@debbugs.gnu.org; Sun, 03 May 2020 05:44:13 -0400 Received: from mira.cbaines.net ([212.71.252.8]:55688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVBAM-0006uK-RB for 40631-done@debbugs.gnu.org; Sun, 03 May 2020 05:44:07 -0400 Received: from localhost (unknown [46.237.174.129]) by mira.cbaines.net (Postfix) with ESMTPSA id D533927BBE1; Sun, 3 May 2020 10:44:05 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 35240819; Sun, 3 May 2020 09:44:03 +0000 (UTC) References: <0d9b8d67ec45e445eac9b5ecbae268ad@waegenei.re> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines In-reply-to: <0d9b8d67ec45e445eac9b5ecbae268ad@waegenei.re> Date: Sun, 03 May 2020 10:43:59 +0100 Message-ID: <87a72pmjz4.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-3.11 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.4935481744094]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[mail@cbaines.net,guix-patches-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[opendnssec.org:url,gnu.org:url,waegenei.re:email]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[cbaines.net]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: fkh7SM+wnHed --=-=-= Content-Type: text/plain Brice Waegeneire writes: > 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? Yep, I've got a bug open for that change [1]. 1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40654 >> + (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]. Ah, interesting, I've updated the package to 2.6.1. >> + (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. Sure, I've changed the phase name. > LGTM otherwise, building and linting is successful. Great, I've gone ahead and pushed these patches as 17adb70f78b34a490b8e692f1a110cef72097685. Thanks for taking a look! Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6ukl9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xfjdw/8CNVZeFDpNWTuJsEssw0ubOjbYvbLNVB3J2I09/TkE0gWYOkekAY3+APA ixllSHK00t2biP8+uMoU9q/VlHYpgrh0mxa0/vCDuNEuM4xjYMLPfxPgm1kkPvgw q7ujGX72Z9wCo0RMBdkC3pb7mtQ0qhVoXAGZcma8VQSR3qpQY8NFN9y1F/irMWUI Sls5mWhcaLLcmB3VuQAjHNZtfmIJbscMb8jB/VrmpvQSXZK/0O1+wSs3VtWl0AgO i9OOEXhGZVuWXYunEUHmcTY7c4I2ECLBG30906xNVflx00Ju0NQinoe8320lI0W0 qqV+utEl19hknkFNDgvEsaIj1TSdha9R0Tjxxo3HJvqarD7ajlyitceN93hun70W N+mF8x9zk5D2t6Ddg1FiB6owNO50HrQgRoQckusFFOuxvVBisfu32YnoeiXALzDy od7KULj/xodm4v5SUz6Z3TnYntY4LBfVSuk3/oA1mKonOuOHnL2xjJ+JPkjK2+vs G4eSM8+oQzE0oc/zUV0/Bgj1RbpteIAsCob3OhqVTuCpHSfee8OBqdbvNONGp1xg ApuLIIJTVq5RFHtTQSXEAdhgEW6SCYpQAmCbJCecX+BkOZQ7fSNVeqovqfISUq3X /6QrH0B/GBQ3lxQ8OA59ViGjJ1kLWKIxOcLmtUDG6SASMV8Abpg= =4GxP -----END PGP SIGNATURE----- --=-=-=--