This document IS NOT intended to be a complete guide. It's rather a collection of notes.
Most of the modules bugzilla depends on are available as deb packages via Ubuntu repositories. Below are ubuntu packages that contain most of them.
libdatetime-perl libdbi-perl libemail-send-perl libemail-mime-perl liblist-moreutils-perl libmath-random-isaac-perl libtemplate-perl liburi-perl
DBMS | deb package |
---|---|
postgres | libdbd-pg-perl |
mysql | libdbd-mysql-perl |
deb package | perl module | feature |
---|---|---|
libauthen-sasl-perl | Authen::SASL | SMTP Authentication |
libtheschwartz-perl | TheSchwartz | Mail Queueing |
libdaemon-generic-perl | Daemon::Generic | |
libfile-slurp-perl | File::Slurp | |
libfile-mimeinfo-perl | File::MimeInfo::Magic | Sniff MIME type of attachments |
libio-stringy-perl | IO::Scalar | |
libencode-detect-perl | Encode::Detect | Automatic charset detection for text attachments |
libmime-tools-perl | MIME::Parser | Move Bugs Between Installations |
libxml-twig-perl | XML::Twig | Move Bugs Between Installations, Automatic Update Notifications |
libhtml-scrubber-perl | HTML::Scrubber | More HTML in Product/Group Descriptions |
libchart-perl | Chart::Lines | Graphical Reports, New Charts, Old Charts |
libgd-graph-perl | GD::Graph | |
libtemplate-plugin-gd-perl | Template::Plugin::GD::Image | |
libhtml-formattext-withlinks-perl | HTML::FormatText::WithLinks | Inbound Email |
libemail-reply-perl | Email::Reply | Inbound Email (by default available only on 14.10, but see these notes) |
The above list of optional packages does not cover modules providing custom authentication methods (LDAP, Radius) and custom access methods (XML-RPC, JSON-RPC). These modules may be available as deb packages, but I haven't checked it.
The list also does not cover PatchReader
module providing patch viewing feature, as it's not available as a deb package.
This deb package is available in Ubuntu 14.10 but not in 14.04.
However, on 14.04 you can install version from 14.10 without problems: it's architecture independent and does not have any dependencies specific to 14.10. Just download it from here and install with dpkg
.
You need module Email::Send::SMTP::TLS
. It's not available as a deb package so you need to install it by cpan
:
sudo cpan Email::Send::SMTP::TLSYou will also need to install
libnet-smtp-tls-butmaintained-perl
deb package that provides dependencies for the above module.diff -u bugzilla-4.4.6/Bugzilla/Mailer.pm bugzilla-4.4.6-tls/Bugzilla/Mailer.pm --- bugzilla-4.4.6/Bugzilla/Mailer.pm 2014-10-06 23:32:08.000000000 +0700 +++ bugzilla-4.4.6-tls/Bugzilla/Mailer.pm 2015-01-06 17:01:26.128503247 +0700 @@ -123,10 +123,12 @@ } } - if ($method eq "SMTP") { + if ($method eq "SMTP" || $method eq 'SMTP::TLS' ) { push @args, Host => Bugzilla->params->{"smtpserver"}, username => Bugzilla->params->{"smtp_username"}, password => Bugzilla->params->{"smtp_password"}, + User => Bugzilla->params->{"smtp_username"}, + Password => Bugzilla->params->{"smtp_password"}, Hello => $hostname, ssl => Bugzilla->params->{'smtp_ssl'}, Debug => Bugzilla->params->{'smtp_debug'};After that
SMTP::TLS
will be available as mail_delivery_method
in bugzilla email configuration. Note that smtp_ssl
should be set to Off
.
mod_perl is faster but uses more RAM. So the choice depends on what you are concerned more about.
mod_cgi and mod_cgid are a part of apache deb package, so all you need to do is this command:
sudo a2enmod cgiIt will even chose appropriate cgi or cgid for you based on your installed MPM :)
Apache2::SizeLimit
and Linux::Pid
. Apache2::SizeLimit
is bundled together with mod_perl in libapache2-mod-perl2
deb package.Linux::Pid
is available in liblinux-pid-perl
deb package. Unfortunately this package is not available on 14.04 and the one from 14.10 cannot be just installed on 14.04 as it depends on a newer version of perl. I haven't tried yet to port it to 14.04 so for now I've installed it via cpan
:
sudo cpan Linux::Pid
Copyright 2015 Piotr Morgwai KotarbiĆski
Licensed under the Apache License, Version 2.0