perl-IO-Socket-SSL: fix default path to SSL certs

(cherry picked from commit 98096004ce)
This commit is contained in:
Robert Helgesson
2016-06-17 10:39:09 +02:00
parent 4ac7425f18
commit ea672e3bb8

View File

@@ -6227,6 +6227,11 @@ let self = _self // overrides; _self = with self; {
sha256 = "723517ea71f90105579e7db7a1a2e053bf5c8142a187df8bc1fe3881c3383f67";
};
propagatedBuildInputs = [ NetSSLeay URI ];
# Fix path to default certificate store.
postPatch = ''
substituteInPlace lib/IO/Socket/SSL.pm \
--replace "\$openssldir/cert.pem" "/etc/ssl/certs/ca-certificates.crt"
'';
meta = {
homepage = https://github.com/noxxi/p5-io-socket-ssl;
description = "Nearly transparent SSL encapsulation for IO::Socket::INET";