diff options
author | jocuri%softhome.net <> | 2008-04-04 13:47:07 +0200 |
---|---|---|
committer | jocuri%softhome.net <> | 2008-04-04 13:47:07 +0200 |
commit | 295f94df4e3f4716a4253b7e35ab2182154dc274 (patch) | |
tree | 86ff83cfd091bff9507564613338685157760e23 /docs | |
parent | 88bfeab1f79e1a2ba4f7a0272a4e2588eaebb517 (diff) | |
download | bugzilla-295f94df4e3f4716a4253b7e35ab2182154dc274.tar.gz bugzilla-295f94df4e3f4716a4253b7e35ab2182154dc274.tar.xz |
Documentation patch for bug 143490: Update documentation regarding code changes needed when running Bugzilla under win32 (some are no longer required since checksetup.pl no longer calls unsupported functions when running on Windows); patch by GavinS <bugzilla@chimpychompy.org>, r=vladd.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/en/xml/installation.xml | 64 |
1 files changed, 15 insertions, 49 deletions
diff --git a/docs/en/xml/installation.xml b/docs/en/xml/installation.xml index 097b21e0b..3fc8a3171 100644 --- a/docs/en/xml/installation.xml +++ b/docs/en/xml/installation.xml @@ -1,5 +1,5 @@ <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> --> -<!-- $Id: installation.xml,v 1.76 2008/04/04 06:47:06 jocuri%softhome.net Exp $ --> +<!-- $Id: installation.xml,v 1.77 2008/04/04 06:47:07 jocuri%softhome.net Exp $ --> <chapter id="installing-bugzilla"> <title>Installing Bugzilla</title> @@ -1476,53 +1476,22 @@ C:\perl> <command>ppm install <module name></command> <section id="win32-code-changes"> <title>Code changes required to run on win32</title> - <para>As Bugzilla still doesn't run "out of the box" on - Windows, code has to be modified. This section lists the required - changes. - </para> - - <section id="win32-code-checksetup"> - <title>Changes to <filename>checksetup.pl</filename></title> - - <para>In <filename>checksetup.pl</filename>, the line reading:</para> - - <programlisting> -my $mysql_binaries = `which mysql`; - </programlisting> - <para>to</para> - <programlisting> -my $mysql_binaries = "D:\\mysql\\bin\\mysql"; - </programlisting> - - <para>And you'll also need to change:</para> - - <programlisting> -my $webservergid = getgrnam($my_webservergroup) - </programlisting> - <para>to</para> - <programlisting> -my $webservergid = '8' - </programlisting> - </section> - - <section id="win32-code-bugmail"> - <title>Changes to <filename>BugMail.pm</filename></title> + <para>Bugzilla on win32 is mostly supported out of the box; one remaining issue is + related to bug email. To make bug email work on Win32 (until + <ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=84876">bug + 84876</ulink> lands), the + simplest way is to have the Net::SMTP Perl module installed and + change this line in the file Bugzilla/Bugmail.pm:</para> - <para>To make bug email work on Win32 (until - <ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=84876">bug - 84876</ulink> lands), the - simplest way is to have the Net::SMTP Perl module installed and - change this:</para> - - <programlisting> + <programlisting> open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") || die "Can't open sendmail"; print SENDMAIL trim($msg) . "\n"; close SENDMAIL; - </programlisting> - <para>to</para> - <programlisting> + </programlisting> + <para>to</para> + <programlisting> use Net::SMTP; my $smtp_server = 'smtp.mycompany.com'; # change this @@ -1537,14 +1506,11 @@ $smtp->data(); $smtp->datasend($msg); $smtp->dataend(); $smtp->quit; - </programlisting> - - <para>Don't forget to change the name of your SMTP server and the - domain of the sending email address (after the '@') in the above - lines of code.</para> + </programlisting> - </section> - + <para>Don't forget to change the name of your SMTP server and the + domain of the sending email address (after the '@') in the above + lines of code.</para> </section> <section id="win32-http"> |