summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-12-27 23:19:08 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-12-27 23:19:08 +0100
commit606e568c35a5752560ee31e1be7f4b64fefe31cd (patch)
treed381aeae510091f39a6459ed2cb47059484de342 /Bugzilla
parent9cfe048d1298e7be8db9b5c2a88abaae114b23a3 (diff)
downloadbugzilla-606e568c35a5752560ee31e1be7f4b64fefe31cd.tar.gz
bugzilla-606e568c35a5752560ee31e1be7f4b64fefe31cd.tar.xz
Bug 599539: Update the mod_perl code for Apache2::SizeLimit 0.92
r=glob, a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Requirements.pm18
1 files changed, 18 insertions, 0 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index ea2b313fd..f629abeeb 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -319,8 +319,26 @@ sub OPTIONAL_MODULES {
version => '1.999022',
feature => ['mod_perl'],
},
+ {
+ package => 'Apache-SizeLimit',
+ module => 'Apache2::SizeLimit',
+ # 0.93 fixes problems on Linux and Windows, and changes the
+ # syntax used by SizeLimit.
+ version => '0.93',
+ feature => ['mod_perl'],
+ },
);
+ if (ON_WINDOWS) {
+ # SizeLimit needs Win32::API to work on Windows.
+ push(@modules, {
+ package => 'Win32-API',
+ module => 'Win32::API',
+ version => 0,
+ feature => ['mod_perl'],
+ });
+ }
+
my $extra_modules = _get_extension_requirements('OPTIONAL_MODULES');
push(@modules, @$extra_modules);
return \@modules;