diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-01-01 15:48:20 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-01-01 15:55:03 +0100 |
commit | 55b8c321048b1d4ebfbd30968e11d2a68ee4d242 (patch) | |
tree | c65df0adaf8b22ddb5d115501d7a5cb62c249eb8 | |
parent | 9cbaed6527c3030819976dbe41bfb4392d6a6fa2 (diff) |
Bump required Net::SSLeay version to 1.86_06.
That's when get_version() was introduced. Unfortunately the manual
doesn't mention it, but 1.85 is lacking the function, see
https://github.com/radiator-software/p5-net-ssleay/blob/1.88/Changes#L216
https://github.com/radiator-software/p5-net-ssleay/commit/ae33bb5405dadde973bc25a0c5e3941d5c83f8b1
Compatibility with Net::SSLeay 1.83 can be restored by reverting this
commit and 35f4ecefa9c9ff55acfdb337b215e3d13345c86d.
-rw-r--r-- | Changelog | 7 | ||||
-rw-r--r-- | doc/build.md | 2 | ||||
-rw-r--r-- | lib/Net/IMAP/InterIMAP.pm | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +interimap (0.5.6) upstream; + + - Bump required Net::SSLeay version to 1.86_06 as it's when get_version() + was introduced. + + -- Guilhem Moulin <guilhem@fripost.org> Fri, 01 Jan 2021 15:46:35 +0100 + interimap (0.5.5) upstream; * libinterimap: remove default SSL_protocols value "!SSLv2 !SSLv3 diff --git a/doc/build.md b/doc/build.md index b9291f7..2e4e511 100644 --- a/doc/build.md +++ b/doc/build.md @@ -24,7 +24,7 @@ following Perl modules: * [`Getopt::Long`](https://perldoc.perl.org/Getopt/Long.html) (*core module*) * [`MIME::Base64`](https://perldoc.perl.org/MIME/Base64.html) (*core module*) — if authentication is required * [`List::Util`](https://perldoc.perl.org/List/Util.html) (*core module*) - * [`Net::SSLeay`](https://metacpan.org/pod/Net::SSLeay) ≥1.83 + * [`Net::SSLeay`](https://metacpan.org/pod/Net::SSLeay) ≥1.86_06 * [`POSIX`](https://perldoc.perl.org/POSIX.html) (*core module*) * [`Socket`](https://perldoc.perl.org/Socket.html) (*core module*) * [`Time::HiRes`](https://perldoc.perl.org/Time/HiRes.html) (*core module*) — if `logfile` is set diff --git a/lib/Net/IMAP/InterIMAP.pm b/lib/Net/IMAP/InterIMAP.pm index 0c4fc89..b6cbf04 100644 --- a/lib/Net/IMAP/InterIMAP.pm +++ b/lib/Net/IMAP/InterIMAP.pm @@ -24,7 +24,7 @@ use strict; use Compress::Raw::Zlib qw/Z_OK Z_STREAM_END Z_FULL_FLUSH Z_SYNC_FLUSH MAX_WBITS/; use Config::Tiny (); use Errno qw/EEXIST EINTR/; -use Net::SSLeay 1.83 (); +use Net::SSLeay 1.86_06 (); use List::Util qw/all first/; use POSIX ':signal_h'; use Socket qw/SOCK_STREAM SOCK_RAW SOCK_CLOEXEC IPPROTO_TCP SHUT_RDWR |