summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-20 04:38:34 +0200
committermkanat%bugzilla.org <>2006-07-20 04:38:34 +0200
commit5c6c34a0152efad51dfed624e7ae70365f698658 (patch)
tree4b36dcf2a7e7caaff947f82eb4b16cb7bc7ccdfd /Bugzilla
parentf60ac86c688d01bb286eb47d8f473f1fb92386f0 (diff)
downloadbugzilla-5c6c34a0152efad51dfed624e7ae70365f698658.tar.gz
bugzilla-5c6c34a0152efad51dfed624e7ae70365f698658.tar.xz
Bug 344617: Move data about optional requirements into Bugzilla::Install::Requirements
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, r=wicked, a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Requirements.pm40
1 files changed, 40 insertions, 0 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 8a46204dc..d7031971c 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -27,6 +27,7 @@ use strict;
use base qw(Exporter);
our @EXPORT = qw(
REQUIRED_MODULES
+ OPTIONAL_MODULES
vers_cmp
have_vers
@@ -90,6 +91,45 @@ use constant REQUIRED_MODULES => [
},
];
+use constant OPTIONAL_MODULES => [
+ {
+ name => 'GD',
+ version => '1.20'
+ },
+ {
+ name => 'Chart::Base',
+ version => '1.0'
+ },
+ {
+ name => 'GD::Graph',
+ version => 0
+ },
+ {
+ name => 'GD::Text::Align',
+ version => 0
+ },
+ {
+ name => 'XML::Twig',
+ version => 0
+ },
+ {
+ name => 'LWP::UserAgent',
+ version => 0
+ },
+ {
+ name => 'PatchReader',
+ version => '0.9.4'
+ },
+ {
+ name => 'Image::Magick',
+ version => 0
+ },
+ {
+ name => 'Net::LDAP',
+ version => 0
+ },
+];
+
# 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