2012-06-22 11:38:01 +02:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
WriteMakefile(
|
|
|
|
NAME => 'qpsmtpd',
|
|
|
|
VERSION_FROM => 'lib/Qpsmtpd.pm',
|
|
|
|
PREREQ_PM => {
|
2013-04-24 06:11:33 +02:00
|
|
|
'Data::Dumper' => 0,
|
|
|
|
'Date::Parse' => 0,
|
|
|
|
'File::Temp' => 0,
|
2012-06-22 11:38:01 +02:00
|
|
|
'Mail::Header' => 0,
|
|
|
|
'MIME::Base64' => 0,
|
|
|
|
'Net::DNS' => 0.39,
|
|
|
|
'Net::IP' => 0,
|
2013-04-24 06:11:33 +02:00
|
|
|
'Time::HiRes' => 0,
|
|
|
|
'IO::Socket::SSL'=>0,
|
|
|
|
# modules for specific features
|
|
|
|
'Geo::IP' => 0,
|
|
|
|
'Mail::DKIM' => 0,
|
|
|
|
'Mail::SpamAssassin' => 0,
|
2013-04-25 04:12:31 +02:00
|
|
|
'Mail::SPF' => 0,
|
2013-04-24 06:11:33 +02:00
|
|
|
'File::Tail' => 0,
|
2013-04-25 04:12:31 +02:00
|
|
|
# 'Time::TAI64' => 0,
|
2012-06-22 11:38:01 +02:00
|
|
|
},
|
|
|
|
ABSTRACT => 'Flexible smtpd daemon written in Perl',
|
|
|
|
AUTHOR => 'Ask Bjoern Hansen <ask@develooper.com>',
|
|
|
|
EXE_FILES => [qw(qpsmtpd qpsmtpd-forkserver qpsmtpd-prefork qpsmtpd-async)],
|
|
|
|
);
|
|
|
|
|
|
|
|
sub MY::libscan {
|
|
|
|
my $path = $_[1];
|
|
|
|
return '' if $path =~ /\B\.svn\b/;
|
|
|
|
return $path;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub MY::postamble {
|
2013-04-22 02:33:46 +02:00
|
|
|
qq[
|
2012-06-22 11:38:01 +02:00
|
|
|
testcover :
|
|
|
|
\t cover -delete && \\
|
2013-04-22 02:33:46 +02:00
|
|
|
HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\
|
|
|
|
cover
|
2012-06-22 11:38:01 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
}
|