Subject: | [PATCH] allow install on 5.8.8+ |
Makefile and Perl modules declare 5.18.1 as their minimum requirement, but the module builds and tests pass back to 5.8.8, so here's a patch that adjusts the version declarations.
(actually, if you change the tests to use JSON instead of JSON::XS, the tests pass on 5.6.2 as well. I can send a trivial patch for that too, if you want, but seriously, 5.6!)
Cheers,
Rob N.
Subject: | 0001-Minimum-requirement-is-5.8.8.patch |
diff --git a/Makefile.PL b/Makefile.PL
index 77f02b2..71610c2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,4 @@
-use 5.018001;
+use 5.008008;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
diff --git a/lib/Crypt/U2F/Server.pm b/lib/Crypt/U2F/Server.pm
index 95c9a2c..f0863b8 100644
--- a/lib/Crypt/U2F/Server.pm
+++ b/lib/Crypt/U2F/Server.pm
@@ -1,6 +1,6 @@
package Crypt::U2F::Server;
-use 5.018001;
+use 5.008008;
use strict;
use warnings;
use Carp;
diff --git a/lib/Crypt/U2F/Server/Simple.pm b/lib/Crypt/U2F/Server/Simple.pm
index 8566cce..0d3882b 100644
--- a/lib/Crypt/U2F/Server/Simple.pm
+++ b/lib/Crypt/U2F/Server/Simple.pm
@@ -1,6 +1,6 @@
package Crypt::U2F::Server::Simple;
-use 5.018001;
+use 5.008008;
use strict;
use warnings;
use Carp;