-
Notifications
You must be signed in to change notification settings - Fork 4
/
Build.PL
79 lines (72 loc) · 3.41 KB
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
use 5.016;
use strict;
use warnings FATAL => 'all';
use Module::Build;
my $builder = Module::Build->new(
module_name => 'Security::TLSCheck',
license => 'artistic_2',
dist_author => q{Alvar C.H. Freude <[email protected]>},
dist_version_from => 'lib/Security/TLSCheck.pm',
release_status => 'testing',
configure_requires => {
'Module::Build' => 0,
},
test_requires => {
'Test::More' => 0,
'Test::Exception' => 0.25,
'Test::MockObject' => 1.20140408,
'Test::LWP::UserAgent' => 0.025,
'Test::File' => 1.41,
'Test::Differences' => 0.62,
'Test::Deep' => 0.113,
'Test::Perl::Critic' => 1.03,
'Test::Pod::Coverage' => 1.08,
'Test::Pod' => 1.22,
'IPC::Run' => 0.90,
},
share_dir => {
module => {
'Net::SSL::CipherSuites' => [ 'files/CipherSuites', ],
'Security::TLSCheck::App::DomainFilter' => [ 'files/DomainFilter', ],
'Security::TLSCheck' => [ 'conf', 'bin/ext', ],
},
},
# TODO:
# Check minimal required versions!
# this versions are set to my installed versions at writing time ...
# usually it should work with older versions of this modules, but this
# is not tested.
requires => {
'Moose' => 2.1213,
'MooseX::Getopt' => 0.65,
'MooseX::SimpleConfig' => 0.10,
'Net::DNS' => 0.80,
'Log::Log4perl' => 1.44,
'Net::LibIDN' => 0.12, # Needed by Net::DNS
'Net::DNS::RR::DS' => 0.20,
'LWP::Protocol::https' => 6.06,
'Text::CSV_XS' => 1.11,
'IO::All' => 0.79,
'Config::General' => 2.56,
'Readonly' => 2,
'Mozilla::CA' => 20141217,
'Net::SMTP' => 3.04,
'IO::Socket::Timeout' => 0.29,
'File::ShareDir' => 1.102,
'IO::Socket::SSL' => 2.016,
'LWP::UserAgent' => 6.06,
'PerlIO::via::Timeout' => 0.30,
'Parallel::ForkManager' => 1.11, # make this OPTIONAL!
'File::HomeDir' => 1.0,
'Net::IDN::Encode' => 2.202, # maybe replace by Net::LibIDN
'autodie' => 2.23, # at least version from Perl 5.20, because of sleep bugs
'LWP::Protocol::https' => 6.0,
'IO::Socket::Timeout' => 0.32,
'Net::IDN::Encode' => 2.400,
'Config::General' => 2.47,
'Net::DNS' => 1.12,
},
add_to_cleanup => ['Security-TLSCheck-*'],
create_makefile_pl => 'traditional',
);
$builder->create_build_script();