[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HELP needed with CA certificates! [PATCH] gnu: Add tup, Add pbpst.
From: |
Ludovic Courtès |
Subject: |
Re: HELP needed with CA certificates! [PATCH] gnu: Add tup, Add pbpst. |
Date: |
Sun, 28 Aug 2016 23:02:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
ng0 <address@hidden> 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 system,
> there are
> + ;; some unexplainable special behaviors introduced. One of
> them is that
> + ;; building pbpst binary out to ../dist/pbpst fails, but
> inside cwd
> + ;; "src/" succeeds. I blame dark matter. Fix this if you
> 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’m not sure what problem you’re experiencing here. However, note that
the build environment lacks /etc/ssl as discussed here:
https://www.gnu.org/software/guix/manual/html_node/Build-Environment-Setup.html#index-chroot
The ‘nss-certs’ package provides X.509 certificates:
https://www.gnu.org/software/guix/manual/html_node/X_002e509-Certificates.html
HTH!
Ludo’.