-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Build.PL
130 lines (120 loc) · 3.01 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
use strict;
use warnings;
use Module::Build 0.3601;
my %module_build_args = (
"build_requires" => {
"Module::Build" => "0.3601"
},
"configure_requires" => {
"ExtUtils::MakeMaker" => 0,
"File::ShareDir::Install" => "0.06",
"Module::Build" => "0.3601"
},
"dist_abstract" => "Perl implementation of DMARC",
"dist_author" => [
"Matt Simerson <msimerson\@cpan.org>",
"Davide Migliavacca <shari\@cpan.org>",
"Marc Bradshaw <marc\@marcbradshaw.net>"
],
"dist_name" => "Mail-DMARC",
"dist_version" => "1.20191024",
"license" => "perl",
"module_name" => "Mail::DMARC",
"recommends" => {
"CGI" => 0,
"Email::Simple" => 0,
"IO::Compress::Gzip" => 0,
"IO::Compress::Zip" => 0,
"IO::Uncompress::Gunzip" => 0,
"IO::Uncompress::Unzip" => 0,
"Mail::DKIM" => 0,
# "MIME::Lite" => 0,
"Net::HTTP" => 0,
"Net::IMAP::Simple" => 0,
"Net::Server" => 2,
"XML::SAX::ParserFactory" => 0,
"XML::Validator::Schema" => 0,
},
"recursive_test_files" => 1,
"requires" => {
"CGI" => 0,
"CPAN" => 0,
"Carp" => 0,
"Config::Tiny" => 0,
"DBD::SQLite" => "1.31",
"DBIx::Simple" => "1.35",
"Data::Dumper" => 0,
"Email::MIME" => 0,
"Email::Simple" => 0,
"Encode" => 0,
"English" => 0,
"File::ShareDir" => 0,
"Getopt::Long" => 0,
"HTTP::Request" => 0,
"HTTP::Tiny" => 0,
"IO::Compress::Gzip" => 0,
"IO::Compress::Zip" => 0,
"IO::File" => 0,
"IO::Socket::SSL" => 0,
"IO::Uncompress::Gunzip" => 0,
"IO::Uncompress::Unzip" => 0,
"JSON" => 0,
"LWP::UserAgent" => 0,
"Mail::DKIM::PrivateKey" => 0,
"Mail::DKIM::Signer" => 0,
"Mail::DKIM::TextWrap" => 0,
"Net::DNS::Resolver" => 0,
"Net::HTTP" => 0,
"Net::IDN::Encode" => 0,
"Net::IP" => 0,
"Net::SMTPS" => 0,
"Net::SSLeay" => 0,
"Net::Server::HTTP" => 0,
"POSIX" => 0,
"Pod::Usage" => 0,
"Regexp::Common" => "2013031301",
"Socket" => 0,
"Socket6" => "0.23",
"Sys::Hostname" => 0,
"Sys::Syslog" => 0,
"Test::File::ShareDir" => 0,
"URI" => 0,
"XML::LibXML" => 0,
"lib" => 0,
"parent" => 0,
"perl" => "5.008",
"strict" => 0,
"warnings" => 0
},
"script_files" => [
"bin/dmarc_update_public_suffix_list",
"bin/dmarc_send_reports",
"bin/dmarc_httpd",
"bin/dmarc_lookup",
"bin/dmarc_receive",
"bin/dmarc_http_client",
"bin/dmarc_view_reports"
],
"share_dir" => {
"dist" => "share"
},
"test_requires" => {
"Test::Exception" => 0,
"Test::File::ShareDir" => 0,
"Test::More" => 0,
"Test::Output" => 0
}
);
my %fallback_build_requires = (
"Module::Build" => "0.3601",
"Test::Exception" => 0,
"Test::File::ShareDir" => 0,
"Test::More" => 0,
"Test::Output" => 0
);
unless ( eval { Module::Build->VERSION(0.4004) } ) {
delete $module_build_args{test_requires};
$module_build_args{build_requires} = \%fallback_build_requires;
}
my $build = Module::Build->new(%module_build_args);
$build->create_build_script;