From 4feab8a987a345e38c44077d1042bf05ec03f0eb Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 17 Jan 2016 12:25:15 -0800 Subject: Standardize Perl module versions The versions of all of the wallet Perl modules now match the overall package version except for Wallet::Schema, which is used to version the database schema. Import the test from rra-c-util 5.10 and exclude Wallet::Schema from the tests. Go through all Perl modules and standardize the syntax for setting the version and indicating the required version of Perl. Fix a few other syntax issues while I'm in there. --- perl/Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl/Build.PL') diff --git a/perl/Build.PL b/perl/Build.PL index 968ae37..05111dd 100644 --- a/perl/Build.PL +++ b/perl/Build.PL @@ -19,7 +19,7 @@ my $build = Module::Build->new( dist_abstract => 'Secure credential management system', dist_author => 'Russ Allbery ', dist_name => 'Wallet', - dist_version => '1.01', + dist_version => '1.03', license => 'mit', module_name => 'Wallet::Server', recursive_test_files => 1, -- cgit v1.2.3 From 1118818e82a104b0d5533a6bd3df66a31a8c99d6 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 17 Jan 2016 16:56:59 -0800 Subject: Fix version source and prerequisites in Build.PL Flesh out recommends for more accurate dependencies for the Perl modules. Pull the version from one of the Perl modules, now that we have another test that ensures that those versions are all consistent. --- perl/Build.PL | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'perl/Build.PL') diff --git a/perl/Build.PL b/perl/Build.PL index 05111dd..c50e569 100644 --- a/perl/Build.PL +++ b/perl/Build.PL @@ -3,6 +3,7 @@ # Build script for the wallet distribution. # # Written by Russ Allbery +# Copyright 2016 Russ Allbery # Copyright 2014 # The Board of Trustees of the Leland Stanford Junior University # @@ -19,7 +20,7 @@ my $build = Module::Build->new( dist_abstract => 'Secure credential management system', dist_author => 'Russ Allbery ', dist_name => 'Wallet', - dist_version => '1.03', + dist_version_from => 'lib/Wallet/Server.pm', license => 'mit', module_name => 'Wallet::Server', recursive_test_files => 1, @@ -36,12 +37,16 @@ my $build = Module::Build->new( perl => '5.008', }, recommends => { - 'Authen::SASL' => 0, - 'Heimdal::Kadm5' => 0, - 'Net::Duo' => 0, - 'Net::LDAP' => 0, - 'Net::Remctl' => 0, - WebAuth => 0, + 'Authen::SASL' => 0, + 'Crypt::GeneratePassword' => 0, + 'DateTime::Format::SQLite' => 0, + 'DBD::SQLite' => 0, + 'Heimdal::Kadm5' => 0, + 'IPC::Run' => 0, + 'Net::Duo' => 0, + 'Net::LDAP' => 0, + 'Net::Remctl' => 0, + WebAuth => 0, }, ); -- cgit v1.2.3