2004-09-05 18:32:23 +02:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
WriteMakefile(
|
2013-04-24 06:11:33 +02:00
|
|
|
NAME => 'qpsmtpd',
|
|
|
|
VERSION_FROM => 'lib/Qpsmtpd.pm',
|
|
|
|
PREREQ_PM => {
|
2014-09-16 09:54:47 +02:00
|
|
|
'CDB_File' => 0,
|
|
|
|
'Data::Dumper' => 0,
|
|
|
|
'Date::Parse' => 0,
|
|
|
|
'File::Temp' => 0,
|
|
|
|
'Mail::Header' => 0,
|
|
|
|
'MIME::Base64' => 0,
|
2014-11-06 03:02:58 +01:00
|
|
|
'Net::DNS' => 0.79,
|
|
|
|
'Net::IP' => 1.26,
|
2014-09-16 09:54:47 +02:00
|
|
|
'Time::HiRes' => 0,
|
2013-04-25 04:25:51 +02:00
|
|
|
'IO::Socket::SSL' => 0,
|
2014-09-16 19:56:32 +02:00
|
|
|
'ClamAV::Client' => 0, # virus/clamdscan
|
2014-09-11 01:53:28 +02:00
|
|
|
# Dev/Test modules
|
2014-09-16 19:56:32 +02:00
|
|
|
'Test::More' => 0,
|
|
|
|
'Test::Output' => 0,
|
2013-04-24 06:11:33 +02:00
|
|
|
# modules for specific features
|
2014-11-06 03:02:58 +01:00
|
|
|
'Mail::DKIM' => 0.40,
|
2013-04-26 07:01:17 +02:00
|
|
|
'File::Tail' => 0, # log/summarize, log/watch
|
|
|
|
'Time::TAI64' => 0, # log2sql
|
2013-04-26 03:39:31 +02:00
|
|
|
# 'DBI' => 0, # auth_vpopmail_sql and
|
|
|
|
# 'DBD::mysql' => 0, # log2sql
|
2013-04-26 07:01:17 +02:00
|
|
|
# 'DBIx::Simple' => 0, # log2sql
|
2013-04-25 04:25:51 +02:00
|
|
|
# modules that cause Travis build tests to fail
|
2013-04-25 04:22:29 +02:00
|
|
|
# 'Mail::SpamAssassin' => 0,
|
2014-11-05 09:23:31 +01:00
|
|
|
# 'GeoIP2' => 2,
|
|
|
|
# 'Geo::IP' => 1,
|
2014-11-10 21:49:29 +01:00
|
|
|
# 'Math::Complex' => 0, # geodesic distance in Geo::IP
|
|
|
|
# 'PerlIO::gzip' => 0, # gunzip GeoIP databases
|
2013-04-25 04:22:29 +02:00
|
|
|
# 'Mail::SPF' => 0,
|
2013-04-24 06:11:33 +02:00
|
|
|
},
|
|
|
|
ABSTRACT => 'Flexible smtpd daemon written in Perl',
|
|
|
|
AUTHOR => 'Ask Bjoern Hansen <ask@develooper.com>',
|
2014-09-17 20:38:40 +02:00
|
|
|
EXE_FILES => [qw(qpsmtpd qpsmtpd-forkserver qpsmtpd-prefork)],
|
2013-04-25 08:19:48 +02:00
|
|
|
clean => { FILES => [ '*.bak' ], },
|
2004-09-05 18:32:23 +02:00
|
|
|
);
|
2004-09-05 19:28:38 +02:00
|
|
|
|
|
|
|
sub MY::libscan {
|
|
|
|
my $path = $_[1];
|
|
|
|
return '' if $path =~ /\B\.svn\b/;
|
|
|
|
return $path;
|
|
|
|
}
|
|
|
|
|
2009-04-03 08:30:20 +02:00
|
|
|
sub MY::postamble {
|
2013-04-22 02:33:46 +02:00
|
|
|
qq[
|
2009-04-03 08:30:20 +02:00
|
|
|
testcover :
|
|
|
|
\t cover -delete && \\
|
2014-09-16 19:56:32 +02:00
|
|
|
HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\
|
|
|
|
cover
|
2009-04-03 08:30:20 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
}
|