From 5c6c34a0152efad51dfed624e7ae70365f698658 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 20 Jul 2006 02:38:34 +0000 Subject: Bug 344617: Move data about optional requirements into Bugzilla::Install::Requirements Patch By Max Kanat-Alexander r=colin, r=wicked, a=justdave --- Bugzilla/Install/Requirements.pm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'Bugzilla/Install/Requirements.pm') 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 -- cgit v1.2.3-24-g4f1b