X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Build.PL;h=0d8bdf7ff103360713d6701ead7276a4da07d0ea;hp=b3467352f8a160a7e6b080b8d21ce6486567ada0;hb=684d10edf63074f94667d437db01d30b8d13cefc;hpb=316bf0f004c0de103e628994a4384e6cf4b45377 diff --git a/Build.PL b/Build.PL index b346735..0d8bdf7 100644 --- a/Build.PL +++ b/Build.PL @@ -7,44 +7,78 @@ my $build = Module::Build->new( module_name => 'Catalyst', requires => { 'perl' => '5.8.1', - 'UNIVERSAL::require' => 0, - 'CGI' => 0, + 'UNIVERSAL::require' => "0.10", 'Class::Accessor::Fast' => 0, 'Class::Data::Inheritable' => 0, - 'File::Temp' => 0.14, - 'HTTP::Daemon' => 0, + 'Class::Inspector' => 0, + 'CGI::Cookie' => 0, + 'File::Modified' => 0, 'HTML::Entities' => 0, - 'HTTP::Headers' => 0, + 'HTTP::Body' => 0.4, + 'HTTP::Headers' => 1.59, 'HTTP::Request' => 0, 'HTTP::Response' => 0, 'LWP::UserAgent' => 0, - 'Module::Pluggable::Fast' => 0.15, - 'Path::Class' => 0, + 'MIME::Types' => 0, + 'Module::Pluggable::Fast' => 0.16, + 'NEXT' => 0, + 'Path::Class' => 0.09, + 'Scalar::Util' => 0, 'Template' => 0, - 'Text::ASCIITable' => 0, + 'Text::SimpleTable' => 0, + 'Test::MockObject' => 0, + 'Time::HiRes' => 0, 'Tree::Simple' => 0, 'Tree::Simple::Visitor::FindByPath' => 0, - 'URI' => 0, + 'URI' => 1.35, }, + recommends => + { 'Catalyst::Engine::Apache' => 0, FCGI => 0, 'FCGI::ProcManager' => 0 }, create_makefile_pl => 'passthrough', - script_files => [ glob('script/*') ], - test_files => [ - glob('t/*.t'), glob('t/*/*.t'), glob('t/*/*/*.t'), glob('t/*/*/*/*.t') + create_readme => 1, + script_files => [ glob('script/*') ], + test_files => [ + glob('t/*.t'), glob('t/*/*.t'), + glob('t/*/*/*.t'), glob('t/*/*/*/*.t'), + glob('t/*/*/*/*/*.t') ] ); $build->create_build_script; print( '*' x 80, "\n" ); -print( - (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ], - " is the greatest and gabb is ", - ( (localtime)[2] > 12 ? "drunk" : "hung over" ), - " again!\n" -); +my $banner = + (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ] + . " is the greatest and gabb is " + . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) + . " again!"; +print " $banner \n"; print( '*' x 80, "\n" ); -eval "use mod_perl; use Apache::Request"; -print qq/Install "mod_perl" and "Apache::Request" for Apache support.\n/ if $@; +print <<'EOF'; + + ____ _ _ _ + / ___|__ _| |_ __ _| |_ _ ___| |_ + | | / _` | __/ _` | | | | / __| __| + | |__| (_| | || (_| | | |_| \__ \ |_ + \____\__ _|\__\__ _|_|\__ |___/\__| + |___/ carpe diem! + +EOF eval "use FCGI"; -print qq/Install "FCGI" for FastCGI support.\n/ if $@; +if ($@) { + print qq/ Install "FCGI" for FastCGI support.\n/; +} +else { + eval "use FCGI::ProcManager"; + print +qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/ + if ($@); +} + +print <<"EOF"; + + Important: + The Apache engines have been moved to a separate package in Catalyst 5.5. + Please install Catalyst::Engine::Apache if you need Apache support. +EOF