From a50aaa37ec837b5d753ad31250db36282953c0c7 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 14 Dec 2006 05:45:12 +0000 Subject: Bug 360710: checksetup.pl needs to blacklist some non-working external modules Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- Bugzilla/Constants.pm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Constants.pm') diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 1b774c64c..9e37f9f5c 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -359,10 +359,21 @@ use constant INSTALLATION_MODE_NON_INTERACTIVE => 1; # Data about what we require for different databases. use constant DB_MODULE => { 'mysql' => {db => 'Bugzilla::DB::Mysql', db_version => '4.1.2', - dbd => 'DBD::mysql', dbd_version => '2.9003', + dbd => { + package => 'DBD-mysql', + module => 'DBD::mysql', + version => '2.9003', + # Certain versions are broken, development versions are + # always disallowed. + blacklist => ['^3\.000[3-6]', '_'], + }, name => 'MySQL'}, 'pg' => {db => 'Bugzilla::DB::Pg', db_version => '8.00.0000', - dbd => 'DBD::Pg', dbd_version => '1.45', + dbd => { + package => 'DBD-Pg', + module => 'DBD::Pg', + version => '1.45', + }, name => 'PostgreSQL'}, }; -- cgit v1.2.3-24-g4f1b