From: Guilhem Moulin Date: Sun, 20 Jan 2019 18:55:58 +0000 (+0100) Subject: Specify minimum Perl and Net::SSLeay versions. X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=452ae91f06bec4c21e7ba7b7bc4309b089f7afe3;p=interimap.git Specify minimum Perl and Net::SSLeay versions. --- diff --git a/Changelog b/Changelog index 7f033c8..c8a0d51 100644 --- a/Changelog +++ b/Changelog @@ -13,6 +13,7 @@ interimap (0.4) UNRELEASED the server to search old mail and EXPUNGE them. - Ensure the lower bound of UID ranges is at least 1. - Fix manpage generation with pandoc >=2.1. + - Specify minimum Perl and Net::SSLeay versions. -- Guilhem Moulin Tue, 06 Dec 2016 17:37:01 +0100 diff --git a/INSTALL b/INSTALL index 458b7c2..69afb26 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -InterIMAP depends on the following Perl modules: +InterIMAP depends on Perl >=5.20 and the following Perl modules: - Compress::Raw::Zlib (core module) - Config::Tiny @@ -8,7 +8,7 @@ InterIMAP depends on the following Perl modules: - Getopt::Long (core module) - MIME::Base64 (core module) if authentication is required - List::Util (core module) - - Net::SSLeay + - Net::SSLeay >=1.73 - POSIX (core module) - Socket (core module) - Time::HiRes (core module) if 'logfile' is set diff --git a/interimap b/interimap index 0f34bf9..41a0cb9 100755 --- a/interimap +++ b/interimap @@ -18,6 +18,7 @@ # along with this program. If not, see . #---------------------------------------------------------------------- +use v5.14.2; use strict; use warnings; diff --git a/lib/Net/IMAP/InterIMAP.pm b/lib/Net/IMAP/InterIMAP.pm index 7b0a2be..f783ea7 100644 --- a/lib/Net/IMAP/InterIMAP.pm +++ b/lib/Net/IMAP/InterIMAP.pm @@ -24,7 +24,7 @@ use Compress::Raw::Zlib qw/Z_OK Z_FULL_FLUSH Z_SYNC_FLUSH MAX_WBITS/; use Config::Tiny (); use Errno qw/EEXIST EINTR/; use Fcntl qw/F_GETFD F_SETFD FD_CLOEXEC/; -use Net::SSLeay (); +use Net::SSLeay 1.73 (); use List::Util qw/all first/; use POSIX ':signal_h'; use Socket qw/SOCK_STREAM IPPROTO_TCP AF_INET AF_INET6 SOCK_RAW :addrinfo/; diff --git a/pullimap b/pullimap index e666114..e044df5 100755 --- a/pullimap +++ b/pullimap @@ -21,6 +21,7 @@ use strict; use warnings; +use v5.20.2; our $VERSION = '0.3'; my $NAME = 'pullimap';