diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2017-07-01 20:23:28 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2017-07-01 20:25:30 +0200 |
commit | 13a0c9cf64543214282c6809cbbc43ef225df935 (patch) | |
tree | 0a653c1f9f6ba5c4953025178783ffb9ea0a409f | |
parent | abb09fac8787c3444f45cf8cc06386dd75719a01 (diff) |
lacme: Specify minimum required Socket version 1.95.
-rw-r--r-- | Changelog | 5 | ||||
-rwxr-xr-x | lacme | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -33,9 +33,8 @@ lacme (0.3) upstream; - When using open with mode "<&=" or ">&=", ensure the expression (fileno) is interpreted as an integer. (This failed in Perl v5.14.2 from Debian Jessie.) - - Specify minimum required Perl version: v5.14.2 for webserver, client - and lacme-accountd, and v5.16.2 for lacme (IPV6_V6ONLY was added to - Socket version 1.95). + - Specify minimum required Perl version (v5.14.2). Moreover lacme(1) + requires Socket 1.95 or later (for instance for IPPROTO_IPV6). -- Guilhem Moulin <guilhem@guilhem.org> Sun, 19 Feb 2017 13:08:41 +0100 @@ -18,7 +18,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. #---------------------------------------------------------------------- -use v5.16.2; +use v5.14.2; use strict; use warnings; @@ -31,9 +31,9 @@ use File::Temp (); use Getopt::Long qw/:config posix_default no_ignore_case gnu_getopt auto_version/; use List::Util 'first'; use POSIX (); -use Socket qw/AF_UNIX AF_INET AF_INET6 PF_UNIX PF_INET PF_INET6 PF_UNSPEC - INADDR_ANY IN6ADDR_ANY IPPROTO_IPV6 - SOCK_STREAM SOL_SOCKET SO_REUSEADDR SHUT_RDWR/; +use Socket 1.95 qw/AF_UNIX AF_INET AF_INET6 PF_UNIX PF_INET PF_INET6 PF_UNSPEC + INADDR_ANY IN6ADDR_ANY IPPROTO_IPV6 + SOCK_STREAM SOL_SOCKET SO_REUSEADDR SHUT_RDWR/; use Config::Tiny (); use Net::SSLeay (); |