From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: HELP needed with CA certificates! [PATCH] gnu: Add tup, Add pbpst. Date: Sun, 28 Aug 2016 23:02:35 +0200 Message-ID: <87h9a4y5ck.fsf@gnu.org> References: <87y43ksj47.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1be7E2-0002aF-I1 for guix-devel@gnu.org; Sun, 28 Aug 2016 17:02:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1be7Dy-0000gI-7T for guix-devel@gnu.org; Sun, 28 Aug 2016 17:02:41 -0400 In-Reply-To: <87y43ksj47.fsf@we.make.ritual.n0.is> (ng0@we.make.ritual.n0.is's message of "Thu, 25 Aug 2016 20:12:40 +0000") 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: ng0 Cc: guix-devel@gnu.org ng0 skribis: > First things first: Corrections will happen, this is not what I ask > for. I need help with getting pbpst (which just uses curl for this) to > learn about the certificates on the system. [...] > + (modify-phases %standard-phases > + (replace 'configure > + (lambda _ > + (substitute* "Makefile" > + (("@./make.sh") "") > + ;; XXX: Because this is a drop-in replacement build sys= tem, there are > + ;; some unexplainable special behaviors introduced. One= of them is that > + ;; building pbpst binary out to ../dist/pbpst fails, bu= t inside cwd > + ;; "src/" succeeds. I blame dark matter. Fix this if yo= u feel the > + ;; desire for a headache. > + (("dist/\\$\\(PROGNM\\)") "src/$(PROGNM)") > + (("src/\\$\\(PROGNM\\)\\.1") "dist/$(PROGNM).1")) > + (substitute* "Tuprules.tup" > + (("`git describe --long --tags`") ,version)))) > + ;;(setenv "SSL_CERT_FILE" "/dev/null"))) ; I have no idea. > + ;;(setenv "SSL_CERT_DIR" "/etc/ssl/certs") > + ;;(setenv "SSL_CERT_FILE" "/etc/ssl/certs/ca-certificates= .crt"))) I=E2=80=99m not sure what problem you=E2=80=99re experiencing here. Howeve= r, note that the build environment lacks /etc/ssl as discussed here: https://www.gnu.org/software/guix/manual/html_node/Build-Environment-Setu= p.html#index-chroot The =E2=80=98nss-certs=E2=80=99 package provides X.509 certificates: https://www.gnu.org/software/guix/manual/html_node/X_002e509-Certificates= .html HTH! Ludo=E2=80=99.