>From 7e54dd89d698d1209f9cc2cfde95f9f6fd0ecbaf Mon Sep 17 00:00:00 2001 From: Andreas Enge
Date: Sat, 7 Feb 2015 13:14:27 +0100 Subject: [PATCH] gnu: openssl: Use /etc/ssl as the base directory for certificates. * gnu/packages/openssl.scm (openssl)[source]: Add a snippet to use /etc/ssl/certs/ as the directory and /etc/ssl/cert.pem as the file where certificates are searched. --- gnu/packages/openssl.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/openssl.scm b/gnu/packages/openssl.scm index 34e1351..b6dfe6d 100644 --- a/gnu/packages/openssl.scm +++ b/gnu/packages/openssl.scm @@ -36,7 +36,13 @@ ".tar.gz")) (sha256 (base32 - "1s988w1h1yxh7lhrhh164hv6vil94lkwzh6g2rfm03dypbrvlj4c")))) + "1s988w1h1yxh7lhrhh164hv6vil94lkwzh6g2rfm03dypbrvlj4c")) + (modules '((guix build utils))) ; for substitute* + (snippet + '(begin + ;; Use /etc/ssl as the base directory for certificates. + (substitute* "crypto/cryptlib.h" + (("OPENSSLDIR") "\"/etc/ssl\"")))))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl))) (arguments -- 2.2.1