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

This commit is contained in:
Robert Helgesson 2016-06-17 10:39:09 +02:00
parent fcf72b82ae
commit 98096004ce

View file

@ -6563,6 +6563,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";