Front page | perl.modperl.modules.svn |
Postings from August 2006
[svn:modperl-modules] r269 - in Apache-VMonitor-2.0/trunk: . lib/Apache
From:
MJH
Date:
August 4, 2006 11:34
Subject:
[svn:modperl-modules] r269 - in Apache-VMonitor-2.0/trunk: . lib/Apache
Message ID:
20060804141228.6BF7BCBA4F@x12.develooper.com
Author: MJH
Date: Fri Aug 4 07:12:24 2006
New Revision: 269
Modified:
Apache-VMonitor-2.0/trunk/Changes
Apache-VMonitor-2.0/trunk/Makefile.PL
Apache-VMonitor-2.0/trunk/TODO
Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm
Log:
updated requirements to match mod_perl2.0 release. added documentation about scoreboard breakages with newer versions of apache
Modified: Apache-VMonitor-2.0/trunk/Changes
==============================================================================
--- Apache-VMonitor-2.0/trunk/Changes (original)
+++ Apache-VMonitor-2.0/trunk/Changes Fri Aug 4 07:12:24 2006
@@ -2,11 +2,14 @@
=over
-=item 2.04 - dev
+=item 2.06 - Fri Aug 4 2006
-Update to match the API changes in MP2 RC5 and above
+mod_perl2 API change support
+documentation improvements
+=item 2.05
+mod_perl2 API change support
=item 2.03 - Fri Mar 18 15:26:11 EST 2005
Modified: Apache-VMonitor-2.0/trunk/Makefile.PL
==============================================================================
--- Apache-VMonitor-2.0/trunk/Makefile.PL (original)
+++ Apache-VMonitor-2.0/trunk/Makefile.PL Fri Aug 4 07:12:24 2006
@@ -25,7 +25,7 @@
my %require_mp2 = (
"GTop" => "0.12",
- "mod_perl" => "1.9915",
+ "mod_perl2" => "2.0",
"Apache::Scoreboard" => "2.08",
);
@@ -154,7 +154,7 @@
elsif ($wanted == 2) {
#warn "Looking for mod_perl 2.0";
require_mod_perl();
- if ($mod_perl::VERSION < 1.99) {
+ if ($mod_perl::VERSION < 2.0) {
die "You don't seem to have mod_perl 2.0 installed";
}
$selected = 2;
Modified: Apache-VMonitor-2.0/trunk/TODO
==============================================================================
--- Apache-VMonitor-2.0/trunk/TODO (original)
+++ Apache-VMonitor-2.0/trunk/TODO Fri Aug 4 07:12:24 2006
@@ -1,6 +1,3 @@
-- once 1.99_15 is released, release a new version after syncing the API
-(Apache::exists_config_define) and require mp1.99_15
-
- Need better tests
- seems like GTop can't show more than one CPU on SMP machines, or may
Modified: Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm
==============================================================================
--- Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm (original)
+++ Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm Fri Aug 4 07:12:24 2006
@@ -1,6 +1,6 @@
package Apache::VMonitor;
-$Apache::VMonitor::VERSION = '2.05';
+$Apache::VMonitor::VERSION = '2.06';
require 5.006;
@@ -11,7 +11,7 @@
use GTop ();
BEGIN {
- use constant MP2 => eval { require mod_perl2; $mod_perl2::VERSION > 1.99 };
+ use constant MP2 => eval { require mod_perl2; $mod_perl2::VERSION >= 2.0 };
eval {require mod_perl} unless MP2;
die "mod_perl is required to run this module: $@" if $@;
@@ -20,6 +20,7 @@
require Apache2::RequestRec;
require Apache2::RequestIO;
require APR::Table;
+ require APR::Pool;
require Apache2::Const;
Apache2::Const->import('OK');
} else {
@@ -2114,7 +2115,12 @@
You can control the behavior of this module by configuring the
following variables in the startup file or inside the
-C<E<lt>PerlE<gt>> section.
+C<E<lt>PerlE<gt>> section.
+
+B<NOTE> For Apache versions 2.0.54, 2.0.55,
+2.0.58, and possibly later C<E<lt>PerlE<gt>> sections and PostConfigRequire
+files do not work due to when Apache initialises the scoreboard object.
+
Module loading:
-
[svn:modperl-modules] r269 - in Apache-VMonitor-2.0/trunk: . lib/Apache
by MJH