From 6045801e1251ffd78153e0bf4e3f08995ee76c68 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Mon, 25 Oct 2004 06:54:37 +0000 Subject: 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 , r=vladd. --- docs/xml/installation.xml | 64 +++++++++++------------------------------------ 1 file changed, 15 insertions(+), 49 deletions(-) (limited to 'docs/xml') diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 31aba3eab..449ff38cc 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -1476,53 +1476,22 @@ C:\perl> ppm install <module name>
Code changes required to run on win32 - As Bugzilla still doesn't run "out of the box" on - Windows, code has to be modified. This section lists the required - changes. - - -
- Changes to <filename>checksetup.pl</filename> - - In checksetup.pl, the line reading: - - -my $mysql_binaries = `which mysql`; - - to - -my $mysql_binaries = "D:\\mysql\\bin\\mysql"; - - - And you'll also need to change: - - -my $webservergid = getgrnam($my_webservergroup) - - to - -my $webservergid = '8' - -
- -
- Changes to <filename>BugMail.pm</filename> + 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 + bug + 84876 lands), the + simplest way is to have the Net::SMTP Perl module installed and + change this line in the file Bugzilla/Bugmail.pm: - To make bug email work on Win32 (until - bug - 84876 lands), the - simplest way is to have the Net::SMTP Perl module installed and - change this: - - + open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") || die "Can't open sendmail"; print SENDMAIL trim($msg) . "\n"; close SENDMAIL; - - to - + + to + use Net::SMTP; my $smtp_server = 'smtp.mycompany.com'; # change this @@ -1537,14 +1506,11 @@ $smtp->data(); $smtp->datasend($msg); $smtp->dataend(); $smtp->quit; - - - 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. + -
- + 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.
-- cgit v1.2.3-24-g4f1b