From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Help acme-client find its certificate store Date: Tue, 13 Dec 2016 17:15:05 -0500 Message-ID: <20161213221505.GA26365@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGvLt-0002sS-Ch for guix-devel@gnu.org; Tue, 13 Dec 2016 17:15:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGvLp-0005wR-AH for guix-devel@gnu.org; Tue, 13 Dec 2016 17:15:13 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52592) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGvLp-0005ud-4y for guix-devel@gnu.org; Tue, 13 Dec 2016 17:15:09 -0500 Received: from localhost (static-70-20-200-201.phil.east.verizon.net [70.20.200.201]) by mail.messagingengine.com (Postfix) with ESMTPA id E916F249CC for ; Tue, 13 Dec 2016 17:15:06 -0500 (EST) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --qlTNgmc+xy1dBmNv Content-Type: multipart/mixed; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm successfully using this package with this change. I don't know if this is the "right way" to solve this. Your thoughts? --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-acme-client-Provide-path-to-certificates.patch" Content-Transfer-Encoding: quoted-printable =46rom a732b5ffaae2b80496d9c7fc5f957c69919072e5 Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Mon, 12 Dec 2016 21:04:43 -0500 Subject: [PATCH] gnu: acme-client: Provide path to certificates. * gnu/packages/tls.scm (acme-client)[arguments]: Add 'patch-paths' phase. --- gnu/packages/tls.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index f5ffe42b9..e577421fa 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -717,6 +717,13 @@ number generator") (string-append "PREFIX=3D" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((pem (string-append (assoc-ref inputs "libressl") + "/etc/ssl/cert.pem"))) + (substitute* "http.c" + (("/etc/ssl/cert.pem") pem)) + #t))) (delete 'configure)))) ; no './configure' script (native-inputs `(("pkg-config" ,pkg-config))) --=20 2.11.0 --0F1p//8PRICkK4MW-- --qlTNgmc+xy1dBmNv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlhQcukACgkQJkb6MLrK fwim0g//X++e0ik9k1rR/wZZDYQYajj1gr7UaJfTKASSZzPmfVFG2Smy9hBdBUFG J/VvVjhXgrkc5o3GrmnUbPk6GAzW4jKO44azEmg9+3PIgPJSnXiEZsvl60YPZscR YR80zOgokLxRSX5OhB4iZSZJpdynyEUTNuFkOFtlanctEeWlBWID88+k/naDwkCk 1oPmWSPSMaUTwDoSovc4wT321tUb73sGBHAeuKQLJoznRwVg8/plenxBL/AgjKb8 pfGAyE4w+c8s8o98vWS9e+EQVJ4JPvUYHAZ0u8e7HegBl3wmf+6ReS4Rg4nIexZ6 4OVWGwX/OFu9tQk/6S9hylrwaqsisvcBBKWq3KNesLxhkUP2DVEoB4REP31q3VOP YSnjxjStt39U4GQ2mM1vTrA41aDfWtY7qhUKVyYMc1jZCTuteB2CYRWG2Iqtcbmo EvMPNyNxZ+g6jv+nLfIpCMT4TWIwHyDgsrQudzEETpWAwqD7de5J2J7ucR1iRi5t JvV7PQI0N81jFc14OLtEOFDpdKaFOvvIxIQeuVofCZjRG/OT0JEUq6sIPqYHwlDK Zdx5j9WvFPUaRDP3Hcit1cmlG43BN+vdudMRwdnZqB8OIeI9ezsxt7JvLlXWXngg 1/K7RSheL6Y8vC3N/vyuuPaiWc5aQcYLzePC6fKrPeuvNyAYjEs= =Hcpr -----END PGP SIGNATURE----- --qlTNgmc+xy1dBmNv--