diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Constants.pm | 2 | ||||
-rw-r--r-- | Bugzilla/Install/Filesystem.pm | 1 | ||||
-rw-r--r-- | Bugzilla/Install/Requirements.pm | 33 |
3 files changed, 36 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 5f3b6bc75..b8171d1c1 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -113,6 +113,7 @@ use File::Basename; USAGE_MODE_BROWSER USAGE_MODE_CMDLINE USAGE_MODE_WEBSERVICE + USAGE_MODE_EMAIL ERROR_MODE_WEBPAGE ERROR_MODE_DIE @@ -317,6 +318,7 @@ use constant BUG_STATE_OPEN => ('NEW', 'REOPENED', 'ASSIGNED', use constant USAGE_MODE_BROWSER => 0; use constant USAGE_MODE_CMDLINE => 1; use constant USAGE_MODE_WEBSERVICE => 2; +use constant USAGE_MODE_EMAIL => 3; # Error modes. Default set by Bugzilla->usage_mode (so ERROR_MODE_WEBPAGE # usually). Use with Bugzilla->error_mode. diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm index c9c090bb0..3a0797754 100644 --- a/Bugzilla/Install/Filesystem.pm +++ b/Bugzilla/Install/Filesystem.pm @@ -108,6 +108,7 @@ sub FILESYSTEM { 'testserver.pl' => { perms => $ws_executable }, 'whine.pl' => { perms => $ws_executable }, 'customfield.pl' => { perms => $owner_executable }, + 'email_in.pl' => { perms => $owner_executable }, 'docs/makedocs.pl' => { perms => $owner_executable }, 'docs/rel_notes.txt' => { perms => $ws_readable }, diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 14efd15f4..6cf2c7a03 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -184,6 +184,39 @@ sub OPTIONAL_MODULES { version => 0, feature => 'More HTML in Product/Group Descriptions' }, + + # Inbound Email + { + # Attachment::Stripper requires this, but doesn't pull it in + # when you install it from CPAN. + package => 'MIME-Types', + module => 'MIME::Types', + version => 0, + feature => 'Inbound Email', + }, + { + # Email::MIME::Attachment::Stripper can throw an error with + # earlier versions. + # This also pulls in Email::MIME and Email::Address for us. + package => 'Email-MIME-Modifier', + module => 'Email::MIME::Modifier', + version => '1.43', + feature => 'Inbound Email' + }, + { + package => 'Email-MIME-Attachment-Stripper', + module => 'Email::MIME::Attachment::Stripper', + version => 0, + feature => 'Inbound Email' + }, + { + package => 'Email-Reply', + module => 'Email::Reply', + version => 0, + feature => 'Inbound Email' + }, + + # mod_perl { package => 'mod_perl', module => 'mod_perl2', |