From c875db3795cd97d8a93196fce25a4b85f6fe324c Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 22 Jul 2006 05:00:30 +0000 Subject: Bug 342736: checksetup should show mod_perl requirements Patch By Max Kanat-Alexander r=LpSolit, a=myk --- Bugzilla/Install/Requirements.pm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'Bugzilla/Install/Requirements.pm') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index d7031971c..f1cd26747 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -28,6 +28,7 @@ use base qw(Exporter); our @EXPORT = qw( REQUIRED_MODULES OPTIONAL_MODULES + MOD_PERL_MODULES vers_cmp have_vers @@ -130,6 +131,26 @@ use constant OPTIONAL_MODULES => [ }, ]; +# These are only required if you want to use Bugzilla with +# mod_perl. +use constant MOD_PERL_MODULES => [ + { + name => 'mod_perl2', + version => '1.999022' + }, + # Even very new releases of perl (5.8.5) don't come with this version, + # so I didn't want to make it a general requirement just for + # running under mod_cgi. + { + name => 'CGI', + version => '3.11' + }, + { + name => 'Apache::DBI', + version => '0.96' + }, +]; + # Remember that you only have to add modules to this hash if their # names are significantly different on ActiveState than on normal perl. # If it's just a difference between "::" and "-" in the name, don't worry -- cgit v1.2.3-24-g4f1b