зеркало из https://github.com/mozilla/gecko-dev.git
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.
This commit is contained in:
Родитель
bb1559d660
Коммит
ed4eadf795
|
@ -1,5 +1,5 @@
|
||||||
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
|
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
|
||||||
<!-- $Id: installation.xml,v 1.76 2004/10/09 20:49:42 jocuri%softhome.net Exp $ -->
|
<!-- $Id: installation.xml,v 1.77 2004/10/24 23:54:37 jocuri%softhome.net Exp $ -->
|
||||||
<chapter id="installing-bugzilla">
|
<chapter id="installing-bugzilla">
|
||||||
<title>Installing Bugzilla</title>
|
<title>Installing Bugzilla</title>
|
||||||
|
|
||||||
|
@ -1476,43 +1476,12 @@ C:\perl> <command>ppm install <module name></command>
|
||||||
<section id="win32-code-changes">
|
<section id="win32-code-changes">
|
||||||
<title>Code changes required to run on win32</title>
|
<title>Code changes required to run on win32</title>
|
||||||
|
|
||||||
<para>As Bugzilla still doesn't run "out of the box" on
|
<para>Bugzilla on win32 is mostly supported out of the box; one remaining issue is
|
||||||
Windows, code has to be modified. This section lists the required
|
related to bug email. To make bug email work on Win32 (until
|
||||||
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>To make bug email work on Win32 (until
|
|
||||||
<ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=84876">bug
|
<ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=84876">bug
|
||||||
84876</ulink> lands), the
|
84876</ulink> lands), the
|
||||||
simplest way is to have the Net::SMTP Perl module installed and
|
simplest way is to have the Net::SMTP Perl module installed and
|
||||||
change this:</para>
|
change this line in the file Bugzilla/Bugmail.pm:</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") ||
|
open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") ||
|
||||||
|
@ -1542,9 +1511,6 @@ $smtp->quit;
|
||||||
<para>Don't forget to change the name of your SMTP server and the
|
<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
|
domain of the sending email address (after the '@') in the above
|
||||||
lines of code.</para>
|
lines of code.</para>
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="win32-http">
|
<section id="win32-http">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче