summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Requirements.pm
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2012-07-04 00:45:19 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-07-04 00:45:19 +0200
commit1b0d24407e618c4cc0ad1c6e176f5aca3803f7c9 (patch)
treee8cce604e6f1f435f5ca1aeefb4ca46f9669a4da /Bugzilla/Install/Requirements.pm
parent08f32ca19c69416cfaa596a2ba1d72ce8fce1008 (diff)
downloadbugzilla-1b0d24407e618c4cc0ad1c6e176f5aca3803f7c9.tar.gz
bugzilla-1b0d24407e618c4cc0ad1c6e176f5aca3803f7c9.tar.xz
Bug 760562: Integrate TypeSniffer into core codebase (auto-detect attachment MIME type)
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Install/Requirements.pm')
-rw-r--r--Bugzilla/Install/Requirements.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 265b04d66..c5abf1986 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -360,6 +360,20 @@ sub OPTIONAL_MODULES {
version => '0.96',
feature => ['mod_perl'],
},
+
+ # typesniffer
+ {
+ package => 'File-MimeInfo',
+ module => 'File::MimeInfo::Magic',
+ version => '0',
+ feature => ['typesniffer'],
+ },
+ {
+ package => 'IO-stringy',
+ module => 'IO::Scalar',
+ version => '0',
+ feature => ['typesniffer'],
+ },
);
my $extra_modules = _get_extension_requirements('OPTIONAL_MODULES');