Mailing List Archive

cvs commit: modperl INSTALL Makefile.PL mod_perl.pod
dougm 98/06/13 11:48:06

Modified: . INSTALL Makefile.PL mod_perl.pod
Log:
s/1\.3b\d/1.3.0/g
disable USE_APACI if version < 1.3.0

Revision Changes Path
1.8 +1 -1 modperl/INSTALL

Index: INSTALL
===================================================================
RCS file: /export/home/cvs/modperl/INSTALL,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- INSTALL 1998/05/22 17:37:57 1.7
+++ INSTALL 1998/06/13 18:48:02 1.8
@@ -10,7 +10,7 @@

=over 3

-Apache version 1.2.0+ or 1.3b3+
+Apache version 1.2.6+ or 1.3.0+

Perl version 5.004 or higher (5.004_04 or higher recommended)




1.48 +8 -3 modperl/Makefile.PL

Index: Makefile.PL
===================================================================
RCS file: /export/home/cvs/modperl/Makefile.PL,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- Makefile.PL 1998/06/12 18:29:07 1.47
+++ Makefile.PL 1998/06/13 18:48:03 1.48
@@ -348,6 +348,11 @@
last unless(-e $conf || -e "$conf.tmpl"); #building from 'make offsite-tar'
}
#++$NO_HTTPD if $USE_APACI;
+ my $mmn = magic_number($APACHE_SRC);
+ if(($mmn < 19980527) and $USE_APACI) { #1.3.0
+ print "Sorry, need 1.3.0+ for USE_APACI\n";
+ $USE_APACI = $USE_DSO = 0;
+ }
unless ($DO_HTTPD or $NO_HTTPD) {
$ans = _prompt("Shall I build httpd in $adir for you?", "y");
++$NO_HTTPD unless $ans =~ /^y$/i;
@@ -503,7 +508,7 @@
else {
$callback_hooks{PERL_CHILD_INIT} = 0;
$cant_hook{PERL_CHILD_INIT} =
- "(need 1.3b2 or higher)";
+ "(need 1.3.0 or higher)";
}

if($mmn >= 19970728) {
@@ -513,13 +518,13 @@
else {
$callback_hooks{PERL_CHILD_EXIT} = 0;
$cant_hook{PERL_CHILD_EXIT} =
- "(need 1.3b2 or higher)";
+ "(need 1.3.0 or higher)";
}

unless($mmn >= 19970825) {
$callback_hooks{PERL_POST_READ_REQUEST} = 0;
$cant_hook{PERL_POST_READ_REQUEST} =
- "(need 1.3b2 or higher)";
+ "(need 1.3.0 or higher)";
}

# if($Config{extensions} =~ /Thread/) {



1.8 +6 -6 modperl/mod_perl.pod

Index: mod_perl.pod
===================================================================
RCS file: /export/home/cvs/modperl/mod_perl.pod,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mod_perl.pod 1998/06/11 08:32:57 1.7
+++ mod_perl.pod 1998/06/13 18:48:03 1.8
@@ -106,8 +106,8 @@
of the subroutine to call. If the value is not a subroutine name, mod_perl
assumes it is a package name which implements a 'handler' subroutine.

- PerlChildInitHandler (requires apache_1.3b3 or higher)
- PerlPostReadRequestHandler (requires apache_1.3b3 or higher)
+ PerlChildInitHandler (requires apache_1.3.0 or higher)
+ PerlPostReadRequestHandler (requires apache_1.3.0 or higher)
PerlInitHandler
PerlTransHandler
PerlHeaderParserHandler
@@ -119,7 +119,7 @@
PerlHandler
PerlLogHandler
PerlCleanupHandler
- PerlChildExitHandler (requires apache_1.3b3 or higher)
+ PerlChildExitHandler (requires apache_1.3.0 or higher)

Only ChildInit, ChildExit, PostReadRequest and Trans handlers are not
allowed in .htaccess files.
@@ -216,7 +216,7 @@
C<perl_run()> once, during server startup. Any C<END> blocks
encountered during main server startup, i.e. those pulled in by the
B<PerlRequire> or by any B<PerlModule> are suspended and run at server
-shutdown, aka C<child_exit> (requires apache 1.3b3+). Any C<END>
+shutdown, aka C<child_exit> (requires apache 1.3.0+). Any C<END>
blocks that are encountered during compilation of Apache::Registry
scripts are called after the script done is running, including
subsequent invocations when the script is cached in memory.
@@ -768,7 +768,7 @@

It is possible to profile code run under mod_perl with the
B<Devel::DProf> module available on CPAN. However, you must have
-apache version 1.3b3 or higher and the C<PerlChildExitHandler>
+apache version 1.3.0 or higher and the C<PerlChildExitHandler>
enabled. When the server is started, B<Devel::DProf> installs an
C<END> block to write the I<tmon.out> file, which will be run when the
server is shutdown. Here's how to start and stop a server with the
@@ -807,7 +807,7 @@

=head1 REVISION

-$Id: mod_perl.pod,v 1.7 1998/06/11 08:32:57 rse Exp $
+$Id: mod_perl.pod,v 1.8 1998/06/13 18:48:03 dougm Exp $

=head1 AUTHOR