From: jocuri%softhome.net <> Date: Mon, 25 Oct 2004 06:54:55 +0000 (+0000) Subject: Documentation patch for bug 143490: Update documentation regarding code changes neede... X-Git-Tag: bugzilla-2.18rc3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c80a54de2e761cd4df53ca14c8803933cf807188;p=thirdparty%2Fbugzilla.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 , r=vladd. --- diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 9c2cfad3f9..cc6a5abe93 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.