svn commit: r1492090 - /perl/Apache-DBI/trunk/RELEASE

2013-06-12 Thread phred
Author: phred
Date: Wed Jun 12 07:30:17 2013
New Revision: 1492090

URL: http://svn.apache.org/r1492090
Log:
fix release args

Modified:
perl/Apache-DBI/trunk/RELEASE

Modified: perl/Apache-DBI/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/RELEASE?rev=1492090r1=1492089r2=1492090view=diff
==
--- perl/Apache-DBI/trunk/RELEASE (original)
+++ perl/Apache-DBI/trunk/RELEASE Wed Jun 12 07:30:17 2013
@@ -1,9 +1,9 @@
 1) find . -type f | egrep -v '.svn|RELEASE' | \
-   xargs perl -pi -e 's,1.11-dev,1.11,g'
+   xargs perl -pi -e 's,1.12-dev,1.12,g'
 
-   Update Changes - add the date for 1.11 entry
+   Update Changes - add the date for 1.12 entry
 
-   svn ci -m prep 1.11 release
+   svn ci -m prep 1.12 release
 
 2) make distclean
 
@@ -13,16 +13,16 @@
 
 5) make dist clean
 
-6) svn copy -m tag 1.11 \
+6) svn copy -m tag 1.12 \
https://svn.apache.org/repos/asf/perl/Apache-DBI/trunk \
-   https://svn.apache.org/repos/asf/perl/Apache-DBI/tags/rel_1_11
+   https://svn.apache.org/repos/asf/perl/Apache-DBI/tags/rel_1.12
 
 7) find . -type f | egrep -v '.svn|Changes|RELEASE' | \
-   xargs perl -pi -e 's,1.11,1.12-dev,g'
+   xargs perl -pi -e 's,1.12,1.13-dev,g'
 
-8) Add an entry to Changes for 1.12-dev
+8) Add an entry to Changes for 1.13-dev
 
-9) svn ci -m roll on to 1.12-dev
+9) svn ci -m roll on to 1.13-dev
 
 10) forward the PAUSE email with MD5 sum and Changes to 
 modp...@perl.apache.org.




svn commit: r1492091 - /perl/Apache-DBI/tags/rel_1.12/

2013-06-12 Thread phred
Author: phred
Date: Wed Jun 12 07:30:38 2013
New Revision: 1492091

URL: http://svn.apache.org/r1492091
Log:
tag 1.12

Added:
perl/Apache-DBI/tags/rel_1.12/
  - copied from r1492090, perl/Apache-DBI/trunk/



svn commit: r1492092 - in /perl/Apache-DBI/trunk: Changes README lib/Apache/AuthDBI.pm lib/Apache/DBI.pm

2013-06-12 Thread phred
Author: phred
Date: Wed Jun 12 07:31:09 2013
New Revision: 1492092

URL: http://svn.apache.org/r1492092
Log:
roll on to 1.13-dev

Modified:
perl/Apache-DBI/trunk/Changes
perl/Apache-DBI/trunk/README
perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
perl/Apache-DBI/trunk/lib/Apache/DBI.pm

Modified: perl/Apache-DBI/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/Changes?rev=1492092r1=1492091r2=1492092view=diff
==
--- perl/Apache-DBI/trunk/Changes (original)
+++ perl/Apache-DBI/trunk/Changes Wed Jun 12 07:31:09 2013
@@ -1,5 +1,7 @@
 Revision history for ApacheDBI.
 
+1.13-dev
+
 1.12 June 12, 2013
 
   - Fix detection of server startup in mod_perl 2, to avoid caching

Modified: perl/Apache-DBI/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/README?rev=1492092r1=1492091r2=1492092view=diff
==
--- perl/Apache-DBI/trunk/README (original)
+++ perl/Apache-DBI/trunk/README Wed Jun 12 07:31:09 2013
@@ -1,7 +1,7 @@
 DESCRIPTION:
 
 
-This is version 1.12 of Apache::AuthDBI and Apache::DBI.
+This is version 1.13-dev of Apache::AuthDBI and Apache::DBI.
 
 These modules are supposed to be used with the Apache server together with 
 an embedded perl interpreter like mod_perl. They provide support for basic 

Modified: perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm?rev=1492092r1=1492091r2=1492092view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm Wed Jun 12 07:31:09 2013
@@ -1,7 +1,7 @@
 # $Id$
 package Apache::AuthDBI;
 
-$Apache::AuthDBI::VERSION = '1.12';
+$Apache::AuthDBI::VERSION = '1.13-dev';
 
 # 1: report about cache miss
 # 2: full debug output

Modified: perl/Apache-DBI/trunk/lib/Apache/DBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/DBI.pm?rev=1492092r1=1492091r2=1492092view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/DBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/DBI.pm Wed Jun 12 07:31:09 2013
@@ -23,7 +23,7 @@ use Carp ();
 
 require_version DBI 1.00;
 
-$Apache::DBI::VERSION = '1.12';
+$Apache::DBI::VERSION = '1.13-dev';
 
 # 1: report about new connect
 # 2: full debug output




svn commit: r1470641 - /perl/modperl/trunk/RELEASE

2013-04-22 Thread phred
Author: phred
Date: Mon Apr 22 18:09:23 2013
New Revision: 1470641

URL: http://svn.apache.org/r1470641
Log:
Notes from 2.0.8 release

Modified:
perl/modperl/trunk/RELEASE

Modified: perl/modperl/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=1470641r1=1470640r2=1470641view=diff
==
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Mon Apr 22 18:09:23 2013
@@ -66,6 +66,7 @@ Instructions for mod_perl 2.0 Release Ma
   a. edit ./Changes:
  - remove -rc\d+
  - add release date
+ - edit META.yml to remove the -rc\d+ from the version key
 
   b. check ./README and ./Makefile.PL
  - make sure supported httpd versions (dso  static) are current




svn commit: r1469132 - /perl/modperl/branches/release/2_0_8/

2013-04-17 Thread phred
Author: phred
Date: Thu Apr 18 01:56:13 2013
New Revision: 1469132

URL: http://svn.apache.org/r1469132
Log:
2.0.8 release

Added:
perl/modperl/branches/release/2_0_8/
  - copied from r1469131, perl/modperl/trunk/



svn commit: r1469135 - in /perl/modperl/trunk: META.yml RELEASE

2013-04-17 Thread phred
Author: phred
Date: Thu Apr 18 01:59:45 2013
New Revision: 1469135

URL: http://svn.apache.org/r1469135
Log:
Releasing 2.0.8

Modified:
perl/modperl/trunk/META.yml
perl/modperl/trunk/RELEASE

Modified: perl/modperl/trunk/META.yml
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/META.yml?rev=1469135r1=1469134r2=1469135view=diff
==
--- perl/modperl/trunk/META.yml (original)
+++ perl/modperl/trunk/META.yml Thu Apr 18 01:59:45 2013
@@ -1,5 +1,6 @@
 name: mod_perl
 version_from: lib/mod_perl2.pm
+version: 2.0.8
 installdirs:  site
 distribution_type: module
 no_index:

Modified: perl/modperl/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=1469135r1=1469134r2=1469135view=diff
==
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Thu Apr 18 01:59:45 2013
@@ -37,6 +37,7 @@ Instructions for mod_perl 2.0 Release Ma
 
   a. edit ./Changes 
  - change -dev to -rc\d+  starting with -rc1
+ - edit META.yml to the rc\d version above in the version key
 
   b. nuke any preinstalled mod_perl libs and run 'make test'
 




svn commit: r1469140 - in /perl/modperl/trunk: Changes RELEASE STATUS lib/mod_perl2.pm

2013-04-17 Thread phred
Author: phred
Date: Thu Apr 18 02:21:34 2013
New Revision: 1469140

URL: http://svn.apache.org/r1469140
Log:
start 2.0.8-dev cycle

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/RELEASE
perl/modperl/trunk/STATUS
perl/modperl/trunk/lib/mod_perl2.pm

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1469140r1=1469139r2=1469140view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Thu Apr 18 02:21:34 2013
@@ -10,6 +10,9 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
+=item 2.0.9-dev
+
+
 =item 2.0.8 April 17, 2013
 
 Perl 5.16.3's fix for a rehash-based DoS makes it more difficult to invoke

Modified: perl/modperl/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=1469140r1=1469139r2=1469140view=diff
==
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Thu Apr 18 02:21:34 2013
@@ -30,7 +30,7 @@ Instructions for mod_perl 2.0 Release Ma
make sure you give the correct permissions to them.
 
 1. 'make mydist' - to make sure nothing is missing from the manifest,
-   etc. Now test this generated package mod_perl-2.0.8.tar.gz (not
+   etc. Now test this generated package mod_perl-2.0.9.tar.gz (not
the current build) with as many
configurations as possible on as many platforms as possible,
unpacking the package each time afresh.  
@@ -56,7 +56,7 @@ Instructions for mod_perl 2.0 Release Ma
to the modperl/dev list (may be longer to give most people a chance
to catch up). no need to tag this package
 
-   Subject: [RELEASE CANDIDATE]: mod_perl-2.0.8 RC\d+
+   Subject: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC\d+
 
 2a. if problems are detected during stage 2, repeat stages 1 and 2.
 
@@ -76,7 +76,7 @@ Instructions for mod_perl 2.0 Release Ma
  % make -n tag
 
   d. commit Changes README Makefile.PL
- % svn ci -m Releasing 2.0.8 Changes README Makefile.PL
+ % svn ci -m Releasing 2.0.9 Changes README Makefile.PL
 
   e. tag
  % make tag
@@ -85,54 +85,54 @@ Instructions for mod_perl 2.0 Release Ma
   : This needs to be fixed, and updated, developer beware its outdated and 
possibly wrong
   f. Update the svn:externals in the new tag
  (you can't propedit remotely yet in svn)
- % svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_8
- % svn propedit svn:externals 2_0_8
+ % svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_9
+ % svn propedit svn:externals 2_0_9
  Update the Apache-Test line to current revision
  % svn info https://svn.apache.org/repos/asf/perl/Apache-Test/trunk | grep 
Last Changed Rev
  Update the docs line to the current tag.
  It should look like:
- % svn propget svn:externals 2_0_8
+ % svn propget svn:externals 2_0_9
Apache-Test -r 608229 
https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
-   docs 
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/2_0_8/src/docs/2.0
+   docs 
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/2_0_9/src/docs/2.0
 
- % svn ci -m Releasing 2.0.8
+ % svn ci -m Releasing 2.0.9
 
   g. create the final package
  % make dist
 
   h. test the final package again at least once
 
-4. Release the package and update links (e.g. mod_perl-2.0.8.tar.gz)
+4. Release the package and update links (e.g. mod_perl-2.0.9.tar.gz)
 
   a. upload to people.apache.org:/www/perl.apache.org/dist/ - ask the PMC
  chair to give you the needed permissions if you do not have them.
 
-%  scp mod_perl-2.0.8.tar.gz people.apache.org:/www/perl.apache.org/dist/
+%  scp mod_perl-2.0.9.tar.gz people.apache.org:/www/perl.apache.org/dist/
 
   b. ssh to people.apache.org, unpack the package, update symlinks to the
  tar ball and unpacked distro:
 
 % ssh people.apache.org
 % cd /www/perl.apache.org/dist/
-% ln -sf mod_perl-2.0.8.tar.gz mod_perl-2.0-current.tar.gz
-% tar -xzvf mod_perl-2.0.8.tar.gz
+% ln -sf mod_perl-2.0.9.tar.gz mod_perl-2.0-current.tar.gz
+% tar -xzvf mod_perl-2.0.9.tar.gz
 % rm /www/perl.apache.org/dist/mod_perl-2.0-current
-% ln -sf  mod_perl-2.0.8 mod_perl-2.0-current
+% ln -sf  mod_perl-2.0.9 mod_perl-2.0-current
 
   c. archive older releases (keep current + one prior release)
 
-% mv /www/perl.apache.org/dist/mod_perl-2.0.6.tar.gz \
+% mv /www/perl.apache.org/dist/mod_perl-2.0.7.tar.gz \
  /www/perl.apache.org/dist/old
-% mv /www/perl.apache.org/dist/mod_perl-2.0.6.tar.gz.asc \
+% mv /www/perl.apache.org/dist/mod_perl-2.0.7.tar.gz.asc \
  /www/perl.apache.org/dist/old
-% rm -rf /www/perl.apache.org/dist/mod_perl-2.0.6
+% rm -rf /www/perl.apache.org/dist/mod_perl-2.0.7
 
   d. update the version and release date in the docs

svn commit: r1346712 - /perl/modperl/trunk/Changes

2012-06-05 Thread phred
Author: phred
Date: Wed Jun  6 02:19:11 2012
New Revision: 1346712

URL: http://svn.apache.org/viewvc?rev=1346712view=rev
Log:
Releasing 2.0.7

Modified:
perl/modperl/trunk/Changes

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1346712r1=1346711r2=1346712view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Wed Jun  6 02:19:11 2012
@@ -10,7 +10,7 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
-=item 2.0.7-dev
+=item 2.0.7 June 5, 2012
 
 Fix breakage caused by removal of PL_uid et al from perl 5.16.0. Patch from
 rt.cpan.org #77129. [Zefram]




svn commit: r1346715 - /perl/modperl/branches/release/2_0_7/

2012-06-05 Thread phred
Author: phred
Date: Wed Jun  6 02:23:39 2012
New Revision: 1346715

URL: http://svn.apache.org/viewvc?rev=1346715view=rev
Log:
2.0.7 release branch.

Added:
perl/modperl/branches/release/2_0_7/
  - copied from r1346714, perl/modperl/trunk/



svn commit: r1346720 - in /perl/modperl/trunk: Changes RELEASE STATUS lib/mod_perl2.pm

2012-06-05 Thread phred
Author: phred
Date: Wed Jun  6 02:44:23 2012
New Revision: 1346720

URL: http://svn.apache.org/viewvc?rev=1346720view=rev
Log:
start 2.0.8-dev cycle

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/RELEASE
perl/modperl/trunk/STATUS
perl/modperl/trunk/lib/mod_perl2.pm

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1346720r1=1346719r2=1346720view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Wed Jun  6 02:44:23 2012
@@ -10,6 +10,10 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
+=item 2.0.8-dev
+
+Add branch release tag to 'make tag' target. [Phred]
+
 =item 2.0.7 June 5, 2012
 
 Fix breakage caused by removal of PL_uid et al from perl 5.16.0. Patch from

Modified: perl/modperl/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=1346720r1=1346719r2=1346720view=diff
==
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Wed Jun  6 02:44:23 2012
@@ -30,7 +30,7 @@ Instructions for mod_perl 2.0 Release Ma
make sure you give the correct permissions to them.
 
 1. 'make mydist' - to make sure nothing is missing from the manifest,
-   etc. Now test this generated package mod_perl-2.0.7.tar.gz (not
+   etc. Now test this generated package mod_perl-2.0.8.tar.gz (not
the current build) with as many
configurations as possible on as many platforms as possible,
unpacking the package each time afresh.  
@@ -55,7 +55,7 @@ Instructions for mod_perl 2.0 Release Ma
to the modperl/dev list (may be longer to give most people a chance
to catch up). no need to tag this package
 
-   Subject: [RELEASE CANDIDATE]: mod_perl-2.0.7 RC\d+
+   Subject: [RELEASE CANDIDATE]: mod_perl-2.0.8 RC\d+
 
 2a. if problems are detected during stage 2, repeat stages 1 and 2.
 
@@ -75,7 +75,7 @@ Instructions for mod_perl 2.0 Release Ma
  % make -n tag
 
   d. commit Changes README Makefile.PL
- % svn ci -m Releasing 2.0.7 Changes README Makefile.PL
+ % svn ci -m Releasing 2.0.8 Changes README Makefile.PL
 
   e. tag
  % make tag
@@ -84,54 +84,54 @@ Instructions for mod_perl 2.0 Release Ma
   : This needs to be fixed, and updated, developer beware its outdated and 
possibly wrong
   f. Update the svn:externals in the new tag
  (you can't propedit remotely yet in svn)
- % svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_7
- % svn propedit svn:externals 2_0_7
+ % svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_8
+ % svn propedit svn:externals 2_0_8
  Update the Apache-Test line to current revision
  % svn info https://svn.apache.org/repos/asf/perl/Apache-Test/trunk | grep 
Last Changed Rev
  Update the docs line to the current tag.
  It should look like:
- % svn propget svn:externals 2_0_7
+ % svn propget svn:externals 2_0_8
Apache-Test -r 608229 
https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
-   docs 
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/2_0_7/src/docs/2.0
+   docs 
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/2_0_8/src/docs/2.0
 
- % svn ci -m Releasing 2.0.7
+ % svn ci -m Releasing 2.0.8
 
   g. create the final package
  % make dist
 
   h. test the final package again at least once
 
-4. Release the package and update links (e.g. mod_perl-2.0.7.tar.gz)
+4. Release the package and update links (e.g. mod_perl-2.0.8.tar.gz)
 
   a. upload to people.apache.org:/www/perl.apache.org/dist/ - ask the PMC
  chair to give you the needed permissions if you do not have them.
 
-%  scp mod_perl-2.0.7.tar.gz people.apache.org:/www/perl.apache.org/dist/
+%  scp mod_perl-2.0.8.tar.gz people.apache.org:/www/perl.apache.org/dist/
 
   b. ssh to people.apache.org, unpack the package, update symlinks to the
  tar ball and unpacked distro:
 
 % ssh people.apache.org
 % cd /www/perl.apache.org/dist/
-% ln -sf mod_perl-2.0.7.tar.gz mod_perl-2.0-current.tar.gz
-% tar -xzvf mod_perl-2.0.7.tar.gz
+% ln -sf mod_perl-2.0.8.tar.gz mod_perl-2.0-current.tar.gz
+% tar -xzvf mod_perl-2.0.8.tar.gz
 % rm /www/perl.apache.org/dist/mod_perl-2.0-current
-% ln -sf  mod_perl-2.0.7 mod_perl-2.0-current
+% ln -sf  mod_perl-2.0.8 mod_perl-2.0-current
 
   c. archive older releases (keep current + one prior release)
 
-% mv /www/perl.apache.org/dist/mod_perl-2.0.5.tar.gz \
+% mv /www/perl.apache.org/dist/mod_perl-2.0.6.tar.gz \
  /www/perl.apache.org/dist/old
-% mv /www/perl.apache.org/dist/mod_perl-2.0.5.tar.gz.asc \
+% mv /www/perl.apache.org/dist/mod_perl-2.0.6.tar.gz.asc \
  /www/perl.apache.org/dist/old
-% rm -rf /www/perl.apache.org/dist/mod_perl-2.0.5
+% rm -rf /www/perl.apache.org/dist

svn commit: r1330548 - in /perl/modperl/trunk: Changes RELEASE STATUS lib/mod_perl2.pm

2012-04-25 Thread phred
Author: phred
Date: Wed Apr 25 20:42:13 2012
New Revision: 1330548

URL: http://svn.apache.org/viewvc?rev=1330548view=rev
Log:
start 2.0.7-dev cycle

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/RELEASE
perl/modperl/trunk/STATUS
perl/modperl/trunk/lib/mod_perl2.pm

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1330548r1=1330547r2=1330548view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Wed Apr 25 20:42:13 2012
@@ -10,6 +10,8 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
+=item 2.0.7-dev
+
 =item 2.0.6 April 24, 2012
 
 Preserve 5.8 compatibility surrounding use of MUTABLE_CV [Adam Prime]

Modified: perl/modperl/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=1330548r1=1330547r2=1330548view=diff
==
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Wed Apr 25 20:42:13 2012
@@ -30,7 +30,7 @@ Instructions for mod_perl 2.0 Release Ma
make sure you give the correct permissions to them.
 
 1. 'make mydist' - to make sure nothing is missing from the manifest,
-   etc. Now test this generated package mod_perl-2.0.6.tar.gz (not
+   etc. Now test this generated package mod_perl-2.0.7.tar.gz (not
the current build) with as many
configurations as possible on as many platforms as possible,
unpacking the package each time afresh.  
@@ -55,7 +55,7 @@ Instructions for mod_perl 2.0 Release Ma
to the modperl/dev list (may be longer to give most people a chance
to catch up). no need to tag this package
 
-   Subject: [RELEASE CANDIDATE]: mod_perl-2.0.6 RC\d+
+   Subject: [RELEASE CANDIDATE]: mod_perl-2.0.7 RC\d+
 
 2a. if problems are detected during stage 2, repeat stages 1 and 2.
 
@@ -75,7 +75,7 @@ Instructions for mod_perl 2.0 Release Ma
  % make -n tag
 
   d. commit Changes README Makefile.PL
- % svn ci -m Releasing 2.0.6 Changes README Makefile.PL
+ % svn ci -m Releasing 2.0.7 Changes README Makefile.PL
 
   e. tag
  % make tag
@@ -84,54 +84,54 @@ Instructions for mod_perl 2.0 Release Ma
   : This needs to be fixed, and updated, developer beware its outdated and 
possibly wrong
   f. Update the svn:externals in the new tag
  (you can't propedit remotely yet in svn)
- % svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_6
- % svn propedit svn:externals 2_0_6
+ % svn co https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_7
+ % svn propedit svn:externals 2_0_7
  Update the Apache-Test line to current revision
  % svn info https://svn.apache.org/repos/asf/perl/Apache-Test/trunk | grep 
Last Changed Rev
  Update the docs line to the current tag.
  It should look like:
- % svn propget svn:externals 2_0_6
+ % svn propget svn:externals 2_0_7
Apache-Test -r 608229 
https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
-   docs 
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/2_0_6/src/docs/2.0
+   docs 
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/2_0_7/src/docs/2.0
 
- % svn ci -m Releasing 2.0.6
+ % svn ci -m Releasing 2.0.7
 
   g. create the final package
  % make dist
 
   h. test the final package again at least once
 
-4. Release the package and update links (e.g. mod_perl-2.0.6.tar.gz)
+4. Release the package and update links (e.g. mod_perl-2.0.7.tar.gz)
 
   a. upload to people.apache.org:/www/perl.apache.org/dist/ - ask the PMC
  chair to give you the needed permissions if you do not have them.
 
-%  scp mod_perl-2.0.6.tar.gz people.apache.org:/www/perl.apache.org/dist/
+%  scp mod_perl-2.0.7.tar.gz people.apache.org:/www/perl.apache.org/dist/
 
   b. ssh to people.apache.org, unpack the package, update symlinks to the
  tar ball and unpacked distro:
 
 % ssh people.apache.org
 % cd /www/perl.apache.org/dist/
-% ln -sf mod_perl-2.0.6.tar.gz mod_perl-2.0-current.tar.gz
-% tar -xzvf mod_perl-2.0.6.tar.gz
+% ln -sf mod_perl-2.0.7.tar.gz mod_perl-2.0-current.tar.gz
+% tar -xzvf mod_perl-2.0.7.tar.gz
 % rm /www/perl.apache.org/dist/mod_perl-2.0-current
-% ln -sf  mod_perl-2.0.6 mod_perl-2.0-current
+% ln -sf  mod_perl-2.0.7 mod_perl-2.0-current
 
   c. archive older releases (keep current + one prior release)
 
-% mv /www/perl.apache.org/dist/mod_perl-2.0.4.tar.gz \
+% mv /www/perl.apache.org/dist/mod_perl-2.0.5.tar.gz \
  /www/perl.apache.org/dist/old
-% mv /www/perl.apache.org/dist/mod_perl-2.0.4.tar.gz.asc \
+% mv /www/perl.apache.org/dist/mod_perl-2.0.5.tar.gz.asc \
  /www/perl.apache.org/dist/old
-% rm -rf /www/perl.apache.org/dist/mod_perl-2.0.4
+% rm -rf /www/perl.apache.org/dist/mod_perl-2.0.5
 
   d. update the version and release date

svn commit: r1330023 - in /perl/modperl/trunk: Changes README

2012-04-24 Thread phred
Author: phred
Date: Tue Apr 24 21:31:35 2012
New Revision: 1330023

URL: http://svn.apache.org/viewvc?rev=1330023view=rev
Log:
Releasing 2.0.6

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/README

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1330023r1=1330022r2=1330023view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Tue Apr 24 21:31:35 2012
@@ -10,7 +10,7 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
-=item 2.0.6-rc4
+=item 2.0.6 April 24, 2012
 
 Preserve 5.8 compatibility surrounding use of MUTABLE_CV [Adam Prime]
 

Modified: perl/modperl/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/README?rev=1330023r1=1330022r2=1330023view=diff
==
--- perl/modperl/trunk/README (original)
+++ perl/modperl/trunk/README Tue Apr 24 21:31:35 2012
@@ -3,8 +3,8 @@ This is mod_perl version 2.0
 *** Prerequisites ***
 
 Apache:
-  Dynamic mod_perl (DSO):Apache 2.0.47 - 2.2.8.
-  Static mod_perl:   Apache 2.0.51 - 2.2.8.
+  Dynamic mod_perl (DSO):Apache 2.0.47 - 2.2.22.
+  Static mod_perl:   Apache 2.0.51 - 2.2.22.
 
   Newer Apache versions may work with this version of mod_perl.  If
   not, the svn version likely will, which can be obtained from:




svn commit: r1330111 - /perl/modperl/tags/2_0_6/

2012-04-24 Thread phred
Author: phred
Date: Wed Apr 25 05:18:04 2012
New Revision: 1330111

URL: http://svn.apache.org/viewvc?rev=1330111view=rev
Log:
Tagging 2.0.6

Added:
perl/modperl/tags/2_0_6/
  - copied from r1330110, perl/modperl/trunk/



svn commit: r1330113 - /perl/modperl/branches/release/2_0_6/

2012-04-24 Thread phred
Author: phred
Date: Wed Apr 25 05:20:43 2012
New Revision: 1330113

URL: http://svn.apache.org/viewvc?rev=1330113view=rev
Log:
Our branching instructions need some work, but I believe this is correct.

Added:
perl/modperl/branches/release/2_0_6/
  - copied from r1330112, perl/modperl/trunk/



svn commit: r1325106 - /perl/Apache-SizeLimit/tags/0_97/trunk/

2012-04-11 Thread phred
Author: phred
Date: Thu Apr 12 02:35:17 2012
New Revision: 1325106

URL: http://svn.apache.org/viewvc?rev=1325106view=rev
Log:
Incorrect tagging command caused trunk to be copied to this 0.97 tag.

Removed:
perl/Apache-SizeLimit/tags/0_97/trunk/



svn commit: r1308665 - in /perl/Apache-SizeLimit/trunk: Changes lib/Apache/SizeLimit.pm lib/Apache/SizeLimit/Core.pm lib/Apache2/SizeLimit.pm

2012-04-02 Thread phred
Author: phred
Date: Tue Apr  3 03:48:43 2012
New Revision: 1308665

URL: http://svn.apache.org/viewvc?rev=1308665view=rev
Log:
release 0.97

Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1308665r1=1308664r2=1308665view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Tue Apr  3 03:48:43 2012
@@ -6,7 +6,7 @@ Changes - Apache::SizeLimit change logfi
 
 =over 6
 
-=item 0.97-dev
+=item 0.97 2012-04-02
 
 Set the -apxs argument correctly when building from mod_perl.
 [Steve Hay]

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=1308665r1=1308664r2=1308665view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Tue Apr  3 03:48:43 2012
@@ -26,7 +26,7 @@ use constant IS_WIN32 = $Config{'osname
 
 use vars qw($VERSION);
 
-$VERSION = '0.97-dev';
+$VERSION = '0.97';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=1308665r1=1308664r2=1308665view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Tue Apr  3 
03:48:43 2012
@@ -49,7 +49,7 @@ use vars qw(
 $START_TIME
);
 
-$VERSION = '0.97-dev';
+$VERSION = '0.97-rc1';
 
 $REQUEST_COUNT  = 1;
 

Modified: perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm?rev=1308665r1=1308664r2=1308665view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm Tue Apr  3 03:48:43 
2012
@@ -34,7 +34,7 @@ die Apache2::SizeLimit at the moment wo
 use constant IS_WIN32 = $Config{'osname'} eq 'MSWin32' ? 1 : 0;
 
 # 2.x requires 5.6.x+ so 'our' is okay
-our $VERSION = '0.97-dev';
+our $VERSION = '0.97';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE




svn commit: r1308666 - /perl/Apache-SizeLimit/tags/0_97/

2012-04-02 Thread phred
Author: phred
Date: Tue Apr  3 03:48:54 2012
New Revision: 1308666

URL: http://svn.apache.org/viewvc?rev=1308666view=rev
Log:
0.97

Added:
perl/Apache-SizeLimit/tags/0_97/
  - copied from r1308665, perl/Apache-SizeLimit/trunk/



svn commit: r1308668 - /perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm

2012-04-02 Thread phred
Author: phred
Date: Tue Apr  3 03:54:16 2012
New Revision: 1308668

URL: http://svn.apache.org/viewvc?rev=1308668view=rev
Log:
Fix version for 0.97 in core

Modified:
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=1308668r1=1308667r2=1308668view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Tue Apr  3 
03:54:16 2012
@@ -49,7 +49,7 @@ use vars qw(
 $START_TIME
);
 
-$VERSION = '0.97-rc1';
+$VERSION = '0.97';
 
 $REQUEST_COUNT  = 1;
 




svn commit: r1308669 - /perl/Apache-SizeLimit/tags/0_97/trunk/

2012-04-02 Thread phred
Author: phred
Date: Tue Apr  3 03:54:56 2012
New Revision: 1308669

URL: http://svn.apache.org/viewvc?rev=1308669view=rev
Log:
One more file for 0.97

Added:
perl/Apache-SizeLimit/tags/0_97/trunk/
  - copied from r1308668, perl/Apache-SizeLimit/trunk/



svn commit: r1308671 - /perl/Apache-SizeLimit/trunk/Changes

2012-04-02 Thread phred
Author: phred
Date: Tue Apr  3 04:00:11 2012
New Revision: 1308671

URL: http://svn.apache.org/viewvc?rev=1308671view=rev
Log:
start 0.98-dev cycle

Modified:
perl/Apache-SizeLimit/trunk/Changes

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1308671r1=1308670r2=1308671view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Tue Apr  3 04:00:11 2012
@@ -6,6 +6,8 @@ Changes - Apache::SizeLimit change logfi
 
 =over 6
 
+=item 0.98-dev
+
 =item 0.97 2012-04-02
 
 Set the -apxs argument correctly when building from mod_perl.




svn commit: r1307860 - /perl/Apache-Reload/trunk/Changes

2012-03-31 Thread phred
Author: phred
Date: Sat Mar 31 17:36:03 2012
New Revision: 1307860

URL: http://svn.apache.org/viewvc?rev=1307860view=rev
Log:
Ship 0.12

Modified:
perl/Apache-Reload/trunk/Changes

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=1307860r1=1307859r2=1307860view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Sat Mar 31 17:36:03 2012
@@ -6,7 +6,7 @@ Changes - Apache::Reload change logfile
 
 =over 1
 
-=item 0.12-dev
+=item 0.12 March 31, 2012
 
 Set the -apxs argument correctly when building from mod_perl.
 [Steve Hay]




svn commit: r1307861 - /perl/Apache-Reload/tags/0_12/

2012-03-31 Thread phred
Author: phred
Date: Sat Mar 31 17:37:10 2012
New Revision: 1307861

URL: http://svn.apache.org/viewvc?rev=1307861view=rev
Log:
Tagging 0.12

Added:
perl/Apache-Reload/tags/0_12/
  - copied from r1307860, perl/Apache-Reload/trunk/



svn commit: r1180208 - in /perl/Apache-DBI/trunk: Changes lib/Apache/AuthDBI.pm lib/Apache/DBI.pm

2011-10-07 Thread phred
Author: phred
Date: Fri Oct  7 20:35:34 2011
New Revision: 1180208

URL: http://svn.apache.org/viewvc?rev=1180208view=rev
Log:
Release 1.11 with perl 5.14 fix

Modified:
perl/Apache-DBI/trunk/Changes
perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
perl/Apache-DBI/trunk/lib/Apache/DBI.pm

Modified: perl/Apache-DBI/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/Changes?rev=1180208r1=1180207r2=1180208view=diff
==
--- perl/Apache-DBI/trunk/Changes (original)
+++ perl/Apache-DBI/trunk/Changes Fri Oct  7 20:35:34 2011
@@ -1,6 +1,6 @@
 Revision history for ApacheDBI.
 
-1.11-dev
+1.11 October 7, 2011
 
   - RT 69087, Perl 5.14 'Using qw(...) as parentheses' fix
 

Modified: perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm?rev=1180208r1=1180207r2=1180208view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm Fri Oct  7 20:35:34 2011
@@ -1,7 +1,7 @@
 # $Id$
 package Apache::AuthDBI;
 
-$Apache::AuthDBI::VERSION = '1.11-dev';
+$Apache::AuthDBI::VERSION = '1.11';
 
 # 1: report about cache miss
 # 2: full debug output

Modified: perl/Apache-DBI/trunk/lib/Apache/DBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/DBI.pm?rev=1180208r1=1180207r2=1180208view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/DBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/DBI.pm Fri Oct  7 20:35:34 2011
@@ -22,7 +22,7 @@ use Carp ();
 
 require_version DBI 1.00;
 
-$Apache::DBI::VERSION = '1.11-dev';
+$Apache::DBI::VERSION = '1.11';
 
 # 1: report about new connect
 # 2: full debug output




svn commit: r1157326 - in /perl/modperl/branches/1.x: Symbol/Symbol.xs src/modules/perl/mod_perl.h

2011-08-12 Thread phred
Author: phred
Date: Sat Aug 13 05:23:30 2011
New Revision: 1157326

URL: http://svn.apache.org/viewvc?rev=1157326view=rev
Log:
Change style to Salvador Garcia's patch since it makes more intuitive sense.
Add macro to Symbol.xs since it doesn't load mod_perl.h

Modified:
perl/modperl/branches/1.x/Symbol/Symbol.xs
perl/modperl/branches/1.x/src/modules/perl/mod_perl.h

Modified: perl/modperl/branches/1.x/Symbol/Symbol.xs
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Symbol/Symbol.xs?rev=1157326r1=1157325r2=1157326view=diff
==
--- perl/modperl/branches/1.x/Symbol/Symbol.xs (original)
+++ perl/modperl/branches/1.x/Symbol/Symbol.xs Sat Aug 13 05:23:30 2011
@@ -2,6 +2,10 @@
 #include perl.h
 #include XSUB.h
 
+#ifndef CvGV_set
+# define CvGV_set(cv, val) (CvGV(cv) = val)
+#endif
+
 #ifdef PERL_OBJECT
 #define sv_name(svp) svp
 #define undef(ref) 

Modified: perl/modperl/branches/1.x/src/modules/perl/mod_perl.h
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/mod_perl.h?rev=1157326r1=1157325r2=1157326view=diff
==
--- perl/modperl/branches/1.x/src/modules/perl/mod_perl.h (original)
+++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.h Sat Aug 13 05:23:30 
2011
@@ -1031,7 +1031,7 @@ else { \
 #endif
 
 #ifndef CvGV_set
-#define CvGV_set(gv, cv) (CvGV(gv) = (cv))
+#define CvGV_set(cv, gv) (CvGV(cv) = (gv))
 #endif
 
 typedef struct {




svn commit: r1152636 - /perl/Apache-SizeLimit/trunk/Changes

2011-07-31 Thread phred
Author: phred
Date: Sun Jul 31 21:08:21 2011
New Revision: 1152636

URL: http://svn.apache.org/viewvc?rev=1152636view=rev
Log:
whoops, we are on rc2 now

Modified:
perl/Apache-SizeLimit/trunk/Changes

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1152636r1=1152635r2=1152636view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Sun Jul 31 21:08:21 2011
@@ -6,7 +6,7 @@ Changes - Apache::SizeLimit change logfi
 
 =over 6
 
-=item 0.96-rc1
+=item 0.96-rc2
 
 eval Linux::Smaps-new call when checking for /proc/self/smaps
 [Christian Ruppert id...@qasi.de]




svn commit: r1152547 - in /perl/modperl/branches/1.x: Changes src/modules/perl/mod_perl.h

2011-07-30 Thread phred
Author: phred
Date: Sun Jul 31 05:23:57 2011
New Revision: 1152547

URL: http://svn.apache.org/viewvc?rev=1152547view=rev
Log:
Typo fix, thanks to Salvador Garcia for the fix.

Reviewed by: Fred Moyer
Tested by: Fred Moyer

Modified:
perl/modperl/branches/1.x/Changes
perl/modperl/branches/1.x/src/modules/perl/mod_perl.h

Modified: perl/modperl/branches/1.x/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Changes?rev=1152547r1=1152546r2=1152547view=diff
==
--- perl/modperl/branches/1.x/Changes (original)
+++ perl/modperl/branches/1.x/Changes Sun Jul 31 05:23:57 2011
@@ -10,6 +10,9 @@ all changes without author attribution a
 
 =item 1.32-dev
 
+Post RT 64999 typo spot in CvGV macro
+[Salvador Ortiz Garcia s...@msg.com.mx]
+
 RT 64999, perl 5.14 compatibility, GvCV and GvGP lvalue changes in perl core
 [Todd Wade sendw...@hotmail.com]
 

Modified: perl/modperl/branches/1.x/src/modules/perl/mod_perl.h
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/mod_perl.h?rev=1152547r1=1152546r2=1152547view=diff
==
--- perl/modperl/branches/1.x/src/modules/perl/mod_perl.h (original)
+++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.h Sun Jul 31 05:23:57 
2011
@@ -1030,8 +1030,8 @@ else { \
 #define GvCV_set(gv, cv) (GvCV(gv) = (cv))
 #endif
 
-#ifndef GvCV_set
-#define CvGV_set(gv, cv) (CvVG(gv) = (cv))
+#ifndef CvGV_set
+#define CvGV_set(gv, cv) (CvGV(gv) = (cv))
 #endif
 
 typedef struct {




svn commit: r1151596 - in /perl/modperl/branches/1.x: Changes Symbol/Symbol.xs src/modules/perl/Constants.xs src/modules/perl/Log.xs src/modules/perl/mod_perl.c src/modules/perl/mod_perl.h src/modules

2011-07-27 Thread phred
Author: phred
Date: Wed Jul 27 19:15:01 2011
New Revision: 1151596

URL: http://svn.apache.org/viewvc?rev=1151596view=rev
Log:
RT 64999
perl 5.14 compatibility, GvCV and GvGP lvalue changes in perl core

Reported by: Dave Mitchell
Fixed by: sendw...@hotmail.com
Tested by: Perrin Harkins, Fred Moyer

Modified:
perl/modperl/branches/1.x/Changes
perl/modperl/branches/1.x/Symbol/Symbol.xs
perl/modperl/branches/1.x/src/modules/perl/Constants.xs
perl/modperl/branches/1.x/src/modules/perl/Log.xs
perl/modperl/branches/1.x/src/modules/perl/mod_perl.c
perl/modperl/branches/1.x/src/modules/perl/mod_perl.h
perl/modperl/branches/1.x/src/modules/perl/perl_config.c

Modified: perl/modperl/branches/1.x/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Changes?rev=1151596r1=1151595r2=1151596view=diff
==
--- perl/modperl/branches/1.x/Changes (original)
+++ perl/modperl/branches/1.x/Changes Wed Jul 27 19:15:01 2011
@@ -10,8 +10,11 @@ all changes without author attribution a
 
 =item 1.32-dev
 
+RT 64999, perl 5.14 compatibility, GvCV and GvGP lvalue changes in perl core
+[sendw...@hotmail.com]
+
 RT 40918, fix issue with sigils in perl binary path
-[Slave Rezic sre...@cpan.org]
+[Slaven Rezic sre...@cpan.org]
 
 Work around a gcc optimization specific bug which
 cuased seg faults on FreeBSD 7.x during mod_perl startup.

Modified: perl/modperl/branches/1.x/Symbol/Symbol.xs
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Symbol/Symbol.xs?rev=1151596r1=1151595r2=1151596view=diff
==
--- perl/modperl/branches/1.x/Symbol/Symbol.xs (original)
+++ perl/modperl/branches/1.x/Symbol/Symbol.xs Wed Jul 27 19:15:01 2011
@@ -30,7 +30,7 @@ static void undef(SV *ref)
has_proto = TRUE;
 
cv_undef(cv);
-   CvGV(cv) = gv;   /* let user-undef'd sub keep its identity */
+CvGV_set(cv, gv); /* let user-undef'd sub keep its identity */
 if(has_proto) 
 SvPOK_on(cv); /* otherwise we get `Prototype mismatch:' */
 

Modified: perl/modperl/branches/1.x/src/modules/perl/Constants.xs
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/Constants.xs?rev=1151596r1=1151595r2=1151596view=diff
==
--- perl/modperl/branches/1.x/src/modules/perl/Constants.xs (original)
+++ perl/modperl/branches/1.x/src/modules/perl/Constants.xs Wed Jul 27 19:15:01 
2011
@@ -20,7 +20,7 @@ static void export_cv(SV *pclass, SV *ca
SvPVX(caller), sub, SvPVX(pclass), sub);
 #endif
 gv = gv_fetchpv(form(%_::%s, caller, sub), TRUE, SVt_PVCV);
-GvCV(gv) = perl_get_cv(form(%_::%s, pclass, sub), TRUE);
+GvCV_set(gv, perl_get_cv(form(%_::%s, pclass, sub), TRUE));
 GvIMPORTED_CV_on(gv);
 }
 

Modified: perl/modperl/branches/1.x/src/modules/perl/Log.xs
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/Log.xs?rev=1151596r1=1151595r2=1151596view=diff
==
--- perl/modperl/branches/1.x/src/modules/perl/Log.xs (original)
+++ perl/modperl/branches/1.x/src/modules/perl/Log.xs Wed Jul 27 19:15:01 2011
@@ -10,7 +10,7 @@
 static void perl_cv_alias(char *to, char *from)
 {
 GV *gp = gv_fetchpv(to, TRUE, SVt_PVCV);
-GvCV(gp) = perl_get_cv(from, TRUE);
+GvCV_set(gp, perl_get_cv(from, TRUE));
 }
 
 static void ApacheLog(int level, SV *sv, SV *msg)

Modified: perl/modperl/branches/1.x/src/modules/perl/mod_perl.c
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/mod_perl.c?rev=1151596r1=1151595r2=1151596view=diff
==
--- perl/modperl/branches/1.x/src/modules/perl/mod_perl.c (original)
+++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.c Wed Jul 27 19:15:01 
2011
@@ -791,8 +791,8 @@ void perl_startup (server_rec *s, pool *
 /* *CORE::GLOBAL::exit = \Apache::exit */
 if(gv_stashpv(CORE::GLOBAL, FALSE)) {
GV *exitgp = gv_fetchpv(CORE::GLOBAL::exit, TRUE, SVt_PVCV);
-   GvCV(exitgp) = perl_get_cv(Apache::exit, TRUE);
-   GvIMPORTED_CV_on(exitgp);
+   GvCV_set(exitgp, perl_get_cv(Apache::exit, TRUE));
+   GvIMPORTED_CV_on(exitgp);
 }
 
 ENTER_SAFE(s,p);

Modified: perl/modperl/branches/1.x/src/modules/perl/mod_perl.h
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/mod_perl.h?rev=1151596r1=1151595r2=1151596view=diff
==
--- perl/modperl/branches/1.x/src/modules/perl/mod_perl.h (original)
+++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.h Wed Jul 27 19:15:01 
2011
@@ -1026,6 +1026,14 @@ else { \
 #define PERL_HEADER_PARSER_CREATE(s)
 #endif
 
+#ifndef GvCV_set

svn commit: r1151597 - /perl/modperl/branches/1.x/Changes

2011-07-27 Thread phred
Author: phred
Date: Wed Jul 27 19:15:55 2011
New Revision: 1151597

URL: http://svn.apache.org/viewvc?rev=1151597view=rev
Log:
Add submitter name.

Modified:
perl/modperl/branches/1.x/Changes

Modified: perl/modperl/branches/1.x/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Changes?rev=1151597r1=1151596r2=1151597view=diff
==
--- perl/modperl/branches/1.x/Changes (original)
+++ perl/modperl/branches/1.x/Changes Wed Jul 27 19:15:55 2011
@@ -11,7 +11,7 @@ all changes without author attribution a
 =item 1.32-dev
 
 RT 64999, perl 5.14 compatibility, GvCV and GvGP lvalue changes in perl core
-[sendw...@hotmail.com]
+[Todd Wade sendw...@hotmail.com]
 
 RT 40918, fix issue with sigils in perl binary path
 [Slaven Rezic sre...@cpan.org]




svn commit: r1150979 - in /perl/modperl/branches/1.x: Changes Makefile.PL

2011-07-25 Thread phred
Author: phred
Date: Tue Jul 26 03:29:19 2011
New Revision: 1150979

URL: http://svn.apache.org/viewvc?rev=1150979view=rev
Log:
Fix error with sigils in perl binary path.
RT.cpan.org 40918

Modified:
perl/modperl/branches/1.x/Changes
perl/modperl/branches/1.x/Makefile.PL

Modified: perl/modperl/branches/1.x/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Changes?rev=1150979r1=1150978r2=1150979view=diff
==
--- perl/modperl/branches/1.x/Changes (original)
+++ perl/modperl/branches/1.x/Changes Tue Jul 26 03:29:19 2011
@@ -10,6 +10,9 @@ all changes without author attribution a
 
 =item 1.32-dev
 
+RT 40918, fix issue with sigils in perl binary path
+[Slave Rezic sre...@cpan.org]
+
 Work around a gcc optimization specific bug which
 cuased seg faults on FreeBSD 7.x during mod_perl startup.
 [Tim Zingelman zingel...@fnal.gov]

Modified: perl/modperl/branches/1.x/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Makefile.PL?rev=1150979r1=1150978r2=1150979view=diff
==
--- perl/modperl/branches/1.x/Makefile.PL (original)
+++ perl/modperl/branches/1.x/Makefile.PL Tue Jul 26 03:29:19 2011
@@ -786,7 +786,7 @@ if ($APACHE_SRC or $USE_APXS) {
 setup_for_static() unless $USE_APXS;
 
 iedit $APACHE_SRC/modules/perl/Makefile,
-s!^PERL\\s*=.*!PERL=$Config{'perlpath'}! unless $USE_APACI or 
$USE_APXS;
+BEGIN { require Config; Config-import } 
s!^PERL\\s*=.*!PERL=\$Config{'perlpath'}! unless $USE_APACI or $USE_APXS;
 
 for (@callback_hooks) {
 ($k,$v) = ($_,$callback_hooks{$_});




svn commit: r1149225 - /perl/Apache-Reload/trunk/lib/Apache2/Reload.pm

2011-07-21 Thread phred
Author: phred
Date: Thu Jul 21 15:34:31 2011
New Revision: 1149225

URL: http://svn.apache.org/viewvc?rev=1149225view=rev
Log:
[rt.cpan.org #69643] [PATCH] Spelling fix

Modified:
perl/Apache-Reload/trunk/lib/Apache2/Reload.pm

Modified: perl/Apache-Reload/trunk/lib/Apache2/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache2/Reload.pm?rev=1149225r1=1149224r2=1149225view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache2/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache2/Reload.pm Thu Jul 21 15:34:31 2011
@@ -358,7 +358,7 @@ mode described before.
 
 =head2 Unregistering a module
 
-In some cases, it might be necessary to explicitely stop reloading
+In some cases, it might be necessary to explicitly stop reloading
 a module.
 
   Apache2::Reload-unregister_module('Some::Module');




svn commit: r1149233 - /perl/Apache-Reload/trunk/Changes

2011-07-21 Thread phred
Author: phred
Date: Thu Jul 21 15:41:54 2011
New Revision: 1149233

URL: http://svn.apache.org/viewvc?rev=1149233view=rev
Log:
69643

Modified:
perl/Apache-Reload/trunk/Changes

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=1149233r1=1149232r2=1149233view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Thu Jul 21 15:41:54 2011
@@ -8,6 +8,8 @@ Changes - Apache::Reload change logfile
 
 =item 0.12-dev
 
+Doc spelling fix
+[Nicholas Bamber]
 
 =item 0.11 August 21, 2010
 




svn commit: r1140245 - in /perl/Apache-DBI/trunk: Changes README RELEASE lib/Apache/AuthDBI.pm lib/Apache/DBI.pm

2011-06-27 Thread phred
Author: phred
Date: Mon Jun 27 17:25:53 2011
New Revision: 1140245

URL: http://svn.apache.org/viewvc?rev=1140245view=rev
Log:
RT 69087, Perl 5.14 'Using qw(...) as parentheses' fix

Modified:
perl/Apache-DBI/trunk/Changes
perl/Apache-DBI/trunk/README
perl/Apache-DBI/trunk/RELEASE
perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
perl/Apache-DBI/trunk/lib/Apache/DBI.pm

Modified: perl/Apache-DBI/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/Changes?rev=1140245r1=1140244r2=1140245view=diff
==
--- perl/Apache-DBI/trunk/Changes (original)
+++ perl/Apache-DBI/trunk/Changes Mon Jun 27 17:25:53 2011
@@ -1,5 +1,9 @@
 Revision history for ApacheDBI.
 
+1.11-dev
+
+  - RT 69087, Perl 5.14 'Using qw(...) as parentheses' fix
+
 1.10 February 2, 2011
   - Add Apache2::RequestUtil for mp2 instances.
 Issue reported by wanr...@gmail.com

Modified: perl/Apache-DBI/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/README?rev=1140245r1=1140244r2=1140245view=diff
==
--- perl/Apache-DBI/trunk/README (original)
+++ perl/Apache-DBI/trunk/README Mon Jun 27 17:25:53 2011
@@ -1,7 +1,7 @@
 DESCRIPTION:
 
 
-This is version 1.10-dev of Apache::AuthDBI and Apache::DBI.
+This is version 1.11-dev of Apache::AuthDBI and Apache::DBI.
 
 These modules are supposed to be used with the Apache server together with 
 an embedded perl interpreter like mod_perl. They provide support for basic 

Modified: perl/Apache-DBI/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/RELEASE?rev=1140245r1=1140244r2=1140245view=diff
==
--- perl/Apache-DBI/trunk/RELEASE (original)
+++ perl/Apache-DBI/trunk/RELEASE Mon Jun 27 17:25:53 2011
@@ -14,8 +14,8 @@
 5) make dist clean
 
 6) svn copy -m tag 1.10 \
-   https://svn.perl.org/modules/Apache-DBI/trunk \
-   https://svn.perl.org/modules/Apache-DBI/tags/rel_1.10
+   https://svn.apache.org/repos/asf/perl/Apache-DBI/trunk \
+   https://svn.apache.org/repos/asf/perl/Apache-DBI/tags/rel_1_10
 
 7) find . -type f | egrep -v '.svn|Changes|RELEASE' | \
xargs perl -pi -e 's,1.10,1.11-dev,g'

Modified: perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm?rev=1140245r1=1140244r2=1140245view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm Mon Jun 27 17:25:53 2011
@@ -1,7 +1,7 @@
 # $Id$
 package Apache::AuthDBI;
 
-$Apache::AuthDBI::VERSION = '1.10';
+$Apache::AuthDBI::VERSION = '1.11-dev';
 
 # 1: report about cache miss
 # 2: full debug output

Modified: perl/Apache-DBI/trunk/lib/Apache/DBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/DBI.pm?rev=1140245r1=1140244r2=1140245view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/DBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/DBI.pm Mon Jun 27 17:25:53 2011
@@ -22,7 +22,7 @@ use Carp ();
 
 require_version DBI 1.00;
 
-$Apache::DBI::VERSION = '1.10';
+$Apache::DBI::VERSION = '1.11-dev';
 
 # 1: report about new connect
 # 2: full debug output
@@ -297,7 +297,7 @@ sub set_startup_state {
 }
 
 if ($TaintInOut) {
-foreach my $key qw{ TaintIn TaintOut } {
+foreach my $key ( qw{ TaintIn TaintOut } ) {
 $Connected{$Idx}-{private_Apache_DBI}{$key} = 
 $Connected{$Idx}-{$key};
 }
@@ -321,7 +321,7 @@ sub reset_startup_state {
 }
 
 if ($TaintInOut) {
-foreach my $key qw{ TaintIn TaintOut } {
+foreach my $key ( qw{ TaintIn TaintOut } ) {
 $Connected{$Idx}-{$key} =
 $Connected{$Idx}-{private_Apache_DBI}{$key};
 }




svn commit: r1073931 - in /perl/modperl/trunk: Changes t/conf/extra.conf.in

2011-02-23 Thread phred
Author: phred
Date: Wed Feb 23 20:33:48 2011
New Revision: 1073931

URL: http://svn.apache.org/viewvc?rev=1073931view=rev
Log:
Pass LD_LIBRARY_PATH if mod_env is loaded.  Should prevent build failures
on some platforms.  Idea stolen from rt.cpan.org #66085

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/t/conf/extra.conf.in

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1073931r1=1073930r2=1073931view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Wed Feb 23 20:33:48 2011
@@ -12,6 +12,11 @@ Also refer to the Apache::Test changes l
 
 =item 2.0.6-dev
 
+Take a lesson from rt.cpan.org #66085 and pass LD_LIBRARY_PATH if mod_env
+is present.  Should prevent test failures on some platforms.
+[Fred Moyer]
+
+
 =item 2.0.5 February 7, 2011
 
 The mod_perl PMC dedicates this release of mod_perl to Randy Kobes, who

Modified: perl/modperl/trunk/t/conf/extra.conf.in
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/t/conf/extra.conf.in?rev=1073931r1=1073930r2=1073931view=diff
==
--- perl/modperl/trunk/t/conf/extra.conf.in (original)
+++ perl/modperl/trunk/t/conf/extra.conf.in Wed Feb 23 20:33:48 2011
@@ -73,6 +73,10 @@ PerlModule TestExit::FromPerlModule
 /IfModule
 IfModule mod_env.c
 SetEnv TMPDIR @t_logs@
+
+# pass ld_library_path for non standard lib locations
+# [rt.cpan.org #66085]
+PassEnv LD_LIBRARY_PATH
 /IfModule
 # /sandbox-friendly
 




svn commit: r1068062 - in /perl/modperl/branches/release/2.0.5: Changes README

2011-02-07 Thread phred
Author: phred
Date: Mon Feb  7 19:22:13 2011
New Revision: 1068062

URL: http://svn.apache.org/viewvc?rev=1068062view=rev
Log:
Releasing 2.0.5

Modified:
perl/modperl/branches/release/2.0.5/Changes
perl/modperl/branches/release/2.0.5/README

Modified: perl/modperl/branches/release/2.0.5/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/release/2.0.5/Changes?rev=1068062r1=1068061r2=1068062view=diff
==
--- perl/modperl/branches/release/2.0.5/Changes (original)
+++ perl/modperl/branches/release/2.0.5/Changes Mon Feb  7 19:22:13 2011
@@ -10,7 +10,7 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
-=item 2.0.5-rc1
+=item 2.0.5 February 7, 2011
 
 Perpare modperl for the upcoming perl 5.14 [Torsten Foertsch]
 

Modified: perl/modperl/branches/release/2.0.5/README
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/release/2.0.5/README?rev=1068062r1=1068061r2=1068062view=diff
==
--- perl/modperl/branches/release/2.0.5/README (original)
+++ perl/modperl/branches/release/2.0.5/README Mon Feb  7 19:22:13 2011
@@ -3,8 +3,8 @@ This is mod_perl version 2.0
 *** Prerequisites ***
 
 Apache:
-  Dynamic mod_perl (DSO):Apache 2.0.47 - 2.2.8.
-  Static mod_perl:   Apache 2.0.51 - 2.2.8.
+  Dynamic mod_perl (DSO):Apache 2.0.47 - 2.2.17.
+  Static mod_perl:   Apache 2.0.51 - 2.2.17.
 
   Newer Apache versions may work with this version of mod_perl.  If
   not, the svn version likely will, which can be obtained from:




svn commit: r1068064 - /perl/modperl/tags/2_0_5/

2011-02-07 Thread phred
Author: phred
Date: Mon Feb  7 19:24:34 2011
New Revision: 1068064

URL: http://svn.apache.org/viewvc?rev=1068064view=rev
Log:
Tagging 2.0.5

Added:
perl/modperl/tags/2_0_5/
  - copied from r1068063, perl/modperl/branches/release/2_0_5/



svn commit: r1068176 - in /perl/modperl/trunk: Changes Makefile.PL

2011-02-07 Thread phred
Author: phred
Date: Mon Feb  7 22:14:25 2011
New Revision: 1068176

URL: http://svn.apache.org/viewvc?rev=1068176view=rev
Log:
Merge changes from 2.0.5 release

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/Makefile.PL

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1068176r1=1068175r2=1068176view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Mon Feb  7 22:14:25 2011
@@ -10,9 +10,16 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
-=item 2.0.5-rc1
+=item 2.0.5 February 7, 2011
 
-Perpare modperl for the upcoming perl 5.14 [Torsten Foertsch]
+The mod_perl PMC dedicates this release of mod_perl to Randy Kobes, who
+passed away in September 2010.  Randy was a member of the mod_perl project 
+management committee and a co-author of the mod_perl Developer's Cookbook.
+His work helped many Windows mod_perl users. His work with ppm files, and
+Win32 perl users will be sorely missed. He was kind, bright, and always
+willing to lend a hand on the mod_perl user's list.
+
+Prepare modperl for the upcoming perl 5.14 [Torsten Foertsch]
 
 Add lib/ModPerl/MethodLookup.pm to MANIFEST via lib/ModPerl/Manifest.pm
 RT #48103 reported by mar...@cpan.org

Modified: perl/modperl/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=1068176r1=1068175r2=1068176view=diff
==
--- perl/modperl/trunk/Makefile.PL (original)
+++ perl/modperl/trunk/Makefile.PL Mon Feb  7 22:14:25 2011
@@ -828,7 +828,7 @@ Apache-Test/META.yml:
cd Apache-Test  make metafile
 
 tag :
-   svn copy  https://svn.apache.org/repos/asf/perl/modperl/trunk  
https://svn.apache.org/repos/asf/perl/modperl/tags/$(VERSION_SYM)
+   svn copy  
https://svn.apache.org/repos/asf/perl/modperl/branches/release/$(VERSION_SYM)  
https://svn.apache.org/repos/asf/perl/modperl/tags/$(VERSION_SYM)
svn copy  https://svn.apache.org/repos/asf/perl/modperl/docs/trunk 
https://svn.apache.org/repos/asf/perl/modperl/docs/tags/$(VERSION_SYM)
 EOF
 




svn commit: r1068186 - /perl/modperl/tags/2_0_5/Changes

2011-02-07 Thread phred
Author: phred
Date: Mon Feb  7 22:23:38 2011
New Revision: 1068186

URL: http://svn.apache.org/viewvc?rev=1068186view=rev
Log:
merge last minute change to tag

Modified:
perl/modperl/tags/2_0_5/Changes

Modified: perl/modperl/tags/2_0_5/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/tags/2_0_5/Changes?rev=1068186r1=1068185r2=1068186view=diff
==
--- perl/modperl/tags/2_0_5/Changes (original)
+++ perl/modperl/tags/2_0_5/Changes Mon Feb  7 22:23:38 2011
@@ -12,7 +12,14 @@ Also refer to the Apache::Test changes l
 
 =item 2.0.5 February 7, 2011
 
-Perpare modperl for the upcoming perl 5.14 [Torsten Foertsch]
+The mod_perl PMC dedicates this release of mod_perl to Randy Kobes, who
+passed away in September 2010.  Randy was a member of the mod_perl project 
+management committee and a co-author of the mod_perl Developer's Cookbook.
+His work helped many Windows mod_perl users. His work with ppm files, and
+Win32 perl users will be sorely missed. He was kind, bright, and always
+willing to lend a hand on the mod_perl user's list.
+
+Prepare modperl for the upcoming perl 5.14 [Torsten Foertsch]
 
 Add lib/ModPerl/MethodLookup.pm to MANIFEST via lib/ModPerl/Manifest.pm
 RT #48103 reported by mar...@cpan.org




svn commit: r1068242 - /perl/modperl/trunk/RELEASE

2011-02-07 Thread phred
Author: phred
Date: Tue Feb  8 01:05:17 2011
New Revision: 1068242

URL: http://svn.apache.org/viewvc?rev=1068242view=rev
Log:
Add another note from pgollucci

Modified:
perl/modperl/trunk/RELEASE

Modified: perl/modperl/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=1068242r1=1068241r2=1068242view=diff
==
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Tue Feb  8 01:05:17 2011
@@ -141,6 +141,8 @@ Instructions for mod_perl 2.0 Release Ma
 
 % /home/perlwww/apache.org/modperl-docs/bin/site_build
 
+ You may need to sudo -H -u perlwww to cleanup any svn locks.
+
 5. Upload the package to CPAN
 
 6. Tarball signing




svn commit: r1066560 - /perl/Apache-SizeLimit/trunk/Changes

2011-02-02 Thread phred
Author: phred
Date: Wed Feb  2 18:14:29 2011
New Revision: 1066560

URL: http://svn.apache.org/viewvc?rev=1066560view=rev
Log:
Add changelog entry.

Modified:
perl/Apache-SizeLimit/trunk/Changes

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1066560r1=1066559r2=1066560view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Wed Feb  2 18:14:29 2011
@@ -8,6 +8,10 @@ Changes - Apache::SizeLimit change logfi
 
 =item 0.96-dev
 
+Subtest 1 checks that Apache2::SizeLimit-_limits_are_exceeded() returns
+false without any limits. But if the test runs near the end of the test
+suite it may very well be that some other test has set a limit. [Torsten]
+
 =item 0.95 2011-01-19
 
 Fix erroneous version in Core.pm for 0.94 release. [fred]




svn commit: r1066609 - /perl/modperl/branches/release/2.0.5/

2011-02-02 Thread phred
Author: phred
Date: Wed Feb  2 20:22:05 2011
New Revision: 1066609

URL: http://svn.apache.org/viewvc?rev=1066609view=rev
Log:
2.0.5 release branch

Added:
perl/modperl/branches/release/2.0.5/
  - copied from r1066608, perl/modperl/trunk/



svn commit: r1066611 - /perl/modperl/branches/release/2.0.5/

2011-02-02 Thread phred
Author: phred
Date: Wed Feb  2 20:26:09 2011
New Revision: 1066611

URL: http://svn.apache.org/viewvc?rev=1066611view=rev
Log:
Set external tags for 2.0.5 release

Modified:
perl/modperl/branches/release/2.0.5/   (props changed)

Propchange: perl/modperl/branches/release/2.0.5/
--
--- svn:externals (original)
+++ svn:externals Wed Feb  2 20:26:09 2011
@@ -1,4 +1,4 @@
-Apache-Test https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
-Apache-Reload https://svn.apache.org/repos/asf/perl/Apache-Reload/trunk
-Apache-SizeLimit https://svn.apache.org/repos/asf/perl/Apache-SizeLimit/trunk
+Apache-Test https://svn.apache.org/repos/asf/perl/Apache-Test/tags/1_36
+Apache-Reload https://svn.apache.org/repos/asf/perl/Apache-Reload/tags/0_11
+Apache-SizeLimit 
https://svn.apache.org/repos/asf/perl/Apache-SizeLimit/tags/0_95
 docs
https://svn.apache.org/repos/asf/perl/modperl/docs/trunk/src/docs/2.0




svn commit: r1066612 - /perl/modperl/branches/release/2.0.5/

2011-02-02 Thread phred
Author: phred
Date: Wed Feb  2 20:27:06 2011
New Revision: 1066612

URL: http://svn.apache.org/viewvc?rev=1066612view=rev
Log:
Initialized merge tracking via svnmerge with revisions 1-1066608 from 
https://svn.apache.org/repos/asf/perl/modperl/trunk

Modified:
perl/modperl/branches/release/2.0.5/   (props changed)

Propchange: perl/modperl/branches/release/2.0.5/
--
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Feb  2 20:27:06 2011
@@ -1 +1 @@
-/perl/modperl/branches/threading:1-584361
+/perl/modperl/branches/threading:1-584361 /perl/modperl/trunk:1-1066608




svn commit: r1066644 - /perl/modperl/trunk/RELEASE

2011-02-02 Thread phred
Author: phred
Date: Wed Feb  2 21:52:32 2011
New Revision: 1066644

URL: http://svn.apache.org/viewvc?rev=1066644view=rev
Log:
Fix KEYS url

Modified:
perl/modperl/trunk/RELEASE

Modified: perl/modperl/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/RELEASE?rev=1066644r1=1066643r2=1066644view=diff
==
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Wed Feb  2 21:52:32 2011
@@ -14,7 +14,7 @@ Instructions for mod_perl 2.0 Release Ma
   http://people.apache.org/~geoff/gpghowto.html
 
 Copy the KEYS file into place:
-% scp KEYS www.apache.org:/www/www.apache.org/dist/perl/KEYS
+% scp KEYS people.apache.org:/www/www.apache.org/dist/perl/KEYS
 
 If this is your first release, ask someone with APML karma on PAUSE 
 to verify you have the appropriate permissions.  Likely someone on 
@@ -29,7 +29,7 @@ Instructions for mod_perl 2.0 Release Ma
 f. if you happen to know that packages were added this release,
make sure you give the correct permissions to them.
 
-1. 'make dist' - to make sure nothing is missing from the manifest,
+1. 'make mydist' - to make sure nothing is missing from the manifest,
etc. Now test this generated package mod_perl-2.0.5.tar.gz (not
the current build) with as many
configurations as possible on as many platforms as possible,




svn commit: r1062311 - in /perl/modperl/trunk: Changes lib/ModPerl/Manifest.pm

2011-01-22 Thread phred
Author: phred
Date: Sun Jan 23 02:22:25 2011
New Revision: 1062311

URL: http://svn.apache.org/viewvc?rev=1062311view=rev
Log:
RT #48103
https://rt.cpan.org/Ticket/Display.html?id=48103

Reported by:  mar...@cpan.org
Resolved by:  Fred Moyer
Tested by:Fred Moyer

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/lib/ModPerl/Manifest.pm   (contents, props changed)

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1062311r1=1062310r2=1062311view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Sun Jan 23 02:22:25 2011
@@ -10,7 +10,11 @@ Also refer to the Apache::Test changes l
 
 =over 3
 
-=item 2.0.5-dev
+=item 2.0.5-rc1
+
+Add lib/ModPerl/MethodLookup.pm to MANIFEST via lib/ModPerl/Manifest.pm
+RT #48103 reported by mar...@cpan.org
+[Fred Moyer]
 
 PerlIOApache_write() now throws an APR::Error object, rather than just a string
 error, if modperl_wbucket_write() fails.

Modified: perl/modperl/trunk/lib/ModPerl/Manifest.pm
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/lib/ModPerl/Manifest.pm?rev=1062311r1=1062310r2=1062311view=diff
==
--- perl/modperl/trunk/lib/ModPerl/Manifest.pm (original)
+++ perl/modperl/trunk/lib/ModPerl/Manifest.pm Sun Jan 23 02:22:25 2011
@@ -52,7 +52,7 @@ sub get_svn_files {
 }
 
 # files to add which aren't under svn
-push @files, qw(lib/ModPerl/DummyVersions.pm);
+push @files, qw(lib/ModPerl/DummyVersions.pm lib/ModPerl/MethodLookup.pm);
 
 return @files;
 }

Propchange: perl/modperl/trunk/lib/ModPerl/Manifest.pm
--
show = BuildMM.pm




svn commit: r1060979 - /perl/Apache-SizeLimit/tags/0_94/

2011-01-19 Thread phred
Author: phred
Date: Wed Jan 19 20:42:11 2011
New Revision: 1060979

URL: http://svn.apache.org/viewvc?rev=1060979view=rev
Log:
Tag 0.94

Added:
perl/Apache-SizeLimit/tags/0_94/
  - copied from r1060978, perl/Apache-SizeLimit/trunk/



svn commit: r1060983 - /perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm

2011-01-19 Thread phred
Author: phred
Date: Wed Jan 19 20:48:22 2011
New Revision: 1060983

URL: http://svn.apache.org/viewvc?rev=1060983view=rev
Log:
Missed one.

Modified:
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=1060983r1=1060982r2=1060983view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Wed Jan 19 
20:48:22 2011
@@ -49,7 +49,7 @@ use vars qw(
 $START_TIME
);
 
-$VERSION = '0.94-rc1';
+$VERSION = '0.94';
 
 $REQUEST_COUNT  = 1;
 




svn commit: r1060987 - /perl/Apache-SizeLimit/tags/0_95/

2011-01-19 Thread phred
Author: phred
Date: Wed Jan 19 20:58:26 2011
New Revision: 1060987

URL: http://svn.apache.org/viewvc?rev=1060987view=rev
Log:
Fix error in Core.pm for 0.94 release.y

Added:
perl/Apache-SizeLimit/tags/0_95/
  - copied from r1060986, perl/Apache-SizeLimit/trunk/



svn commit: r1060992 - /perl/Apache-Reload/trunk/Changes

2011-01-19 Thread phred
Author: phred
Date: Wed Jan 19 21:16:00 2011
New Revision: 1060992

URL: http://svn.apache.org/viewvc?rev=1060992view=rev
Log:
minor fix

Modified:
perl/Apache-Reload/trunk/Changes

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=1060992r1=1060991r2=1060992view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Wed Jan 19 21:16:00 2011
@@ -6,7 +6,7 @@ Changes - Apache::Reload change logfile
 
 =over 1
 
-=item 0.12+dev
+=item 0.12-dev
 
 
 =item 0.11 August 21, 2010




svn commit: r1034260 - in /perl/Apache-DBI/trunk: Changes README lib/Apache/AuthDBI.pm lib/Apache/DBI.pm

2010-11-11 Thread phred
Author: phred
Date: Fri Nov 12 03:17:42 2010
New Revision: 1034260

URL: http://svn.apache.org/viewvc?rev=1034260view=rev
Log:
prep 1.09 release

Modified:
perl/Apache-DBI/trunk/Changes
perl/Apache-DBI/trunk/README
perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
perl/Apache-DBI/trunk/lib/Apache/DBI.pm

Modified: perl/Apache-DBI/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/Changes?rev=1034260r1=1034259r2=1034260view=diff
==
--- perl/Apache-DBI/trunk/Changes (original)
+++ perl/Apache-DBI/trunk/Changes Fri Nov 12 03:17:42 2010
@@ -1,6 +1,6 @@
 Revision history for ApacheDBI.
 
-1.09
+1.09 November 11, 2010
   - Fix pod errors
 Submitted by: Damyan Ivanov d...@debian.org
 

Modified: perl/Apache-DBI/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/README?rev=1034260r1=1034259r2=1034260view=diff
==
--- perl/Apache-DBI/trunk/README (original)
+++ perl/Apache-DBI/trunk/README Fri Nov 12 03:17:42 2010
@@ -1,7 +1,7 @@
 DESCRIPTION:
 
 
-This is version 1.09-dev of Apache::AuthDBI and Apache::DBI.
+This is version 1.09 of Apache::AuthDBI and Apache::DBI.
 
 These modules are supposed to be used with the Apache server together with 
 an embedded perl interpreter like mod_perl. They provide support for basic 

Modified: perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm?rev=1034260r1=1034259r2=1034260view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm Fri Nov 12 03:17:42 2010
@@ -1,7 +1,7 @@
 # $Id$
 package Apache::AuthDBI;
 
-$Apache::AuthDBI::VERSION = '1.09-dev';
+$Apache::AuthDBI::VERSION = '1.09';
 
 # 1: report about cache miss
 # 2: full debug output

Modified: perl/Apache-DBI/trunk/lib/Apache/DBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/DBI.pm?rev=1034260r1=1034259r2=1034260view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/DBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/DBI.pm Fri Nov 12 03:17:42 2010
@@ -22,7 +22,7 @@ use Carp ();
 
 require_version DBI 1.00;
 
-$Apache::DBI::VERSION = '1.09-dev';
+$Apache::DBI::VERSION = '1.09';
 
 # 1: report about new connect
 # 2: full debug output




svn commit: r1034261 - in /perl/Apache-DBI/trunk: Changes README lib/Apache/AuthDBI.pm lib/Apache/DBI.pm

2010-11-11 Thread phred
Author: phred
Date: Fri Nov 12 03:23:10 2010
New Revision: 1034261

URL: http://svn.apache.org/viewvc?rev=1034261view=rev
Log:
roll on to 1.10-dev

Modified:
perl/Apache-DBI/trunk/Changes
perl/Apache-DBI/trunk/README
perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
perl/Apache-DBI/trunk/lib/Apache/DBI.pm

Modified: perl/Apache-DBI/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/Changes?rev=1034261r1=1034260r2=1034261view=diff
==
--- perl/Apache-DBI/trunk/Changes (original)
+++ perl/Apache-DBI/trunk/Changes Fri Nov 12 03:23:10 2010
@@ -1,5 +1,8 @@
 Revision history for ApacheDBI.
 
+1.10
+
+
 1.09 November 11, 2010
   - Fix pod errors
 Submitted by: Damyan Ivanov d...@debian.org

Modified: perl/Apache-DBI/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/README?rev=1034261r1=1034260r2=1034261view=diff
==
--- perl/Apache-DBI/trunk/README (original)
+++ perl/Apache-DBI/trunk/README Fri Nov 12 03:23:10 2010
@@ -1,7 +1,7 @@
 DESCRIPTION:
 
 
-This is version 1.09 of Apache::AuthDBI and Apache::DBI.
+This is version 1.10-dev of Apache::AuthDBI and Apache::DBI.
 
 These modules are supposed to be used with the Apache server together with 
 an embedded perl interpreter like mod_perl. They provide support for basic 

Modified: perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm?rev=1034261r1=1034260r2=1034261view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/AuthDBI.pm Fri Nov 12 03:23:10 2010
@@ -1,7 +1,7 @@
 # $Id$
 package Apache::AuthDBI;
 
-$Apache::AuthDBI::VERSION = '1.09';
+$Apache::AuthDBI::VERSION = '1.10-dev';
 
 # 1: report about cache miss
 # 2: full debug output

Modified: perl/Apache-DBI/trunk/lib/Apache/DBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/DBI.pm?rev=1034261r1=1034260r2=1034261view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/DBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/DBI.pm Fri Nov 12 03:23:10 2010
@@ -22,7 +22,7 @@ use Carp ();
 
 require_version DBI 1.00;
 
-$Apache::DBI::VERSION = '1.09';
+$Apache::DBI::VERSION = '1.10-dev';
 
 # 1: report about new connect
 # 2: full debug output




svn commit: r1029211 - in /perl/modperl/trunk: Changes lib/Apache2/Status.pm t/conf/extra.conf.in t/hooks/authen_basic.t t/hooks/authz.t

2010-10-30 Thread phred
Author: phred
Date: Sat Oct 30 21:59:46 2010
New Revision: 1029211

URL: http://svn.apache.org/viewvc?rev=1029211view=rev
Log:
Apply fixes for various issues with newer LWP and B::Concise
http://www.gossamer-threads.com/lists/modperl/modperl/102217

Submitted by:  Doug Schrag
Applied by:  Fred Moyer
Tested by:  Fred Moyer

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/lib/Apache2/Status.pm
perl/modperl/trunk/t/conf/extra.conf.in
perl/modperl/trunk/t/hooks/authen_basic.t
perl/modperl/trunk/t/hooks/authz.t

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1029211r1=1029210r2=1029211view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Sat Oct 30 21:59:46 2010
@@ -12,6 +12,12 @@ Also refer to the Apache::Test changes l
 
 =item 2.0.5-dev
 
+Authentication tests fail with LWP 5.815 and later
+[Doug Schrag]
+
+Concise test won't perform unless StatusTerse is set to ON
+[Doug Schrag]
+
 Look for a usable apxs in $ENV{PATH} if all other options fail, then prompt 
the user for one.
 [Phred]
 

Modified: perl/modperl/trunk/lib/Apache2/Status.pm
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/lib/Apache2/Status.pm?rev=1029211r1=1029210r2=1029211view=diff
==
--- perl/modperl/trunk/lib/Apache2/Status.pm (original)
+++ perl/modperl/trunk/lib/Apache2/Status.pm Sat Oct 30 21:59:46 2010
@@ -178,7 +178,8 @@ sub symdump {
 
 return install_hint(Devel::Symdump) unless has($r, symdump);
 
-my $meth = lc($r-dir_config(StatusRdump)) eq on
+# lc generates a (FATAL) warning if $r-dir_config is undef
+my $meth = lc($r-dir_config(StatusRdump) || '') eq on
 ? rnew : new;
 my $sob = Devel::Symdump-$meth($package);
 return $sob-Apache2::Status::as_HTML($package, $r);

Modified: perl/modperl/trunk/t/conf/extra.conf.in
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/t/conf/extra.conf.in?rev=1029211r1=1029210r2=1029211view=diff
==
--- perl/modperl/trunk/t/conf/extra.conf.in (original)
+++ perl/modperl/trunk/t/conf/extra.conf.in Sat Oct 30 21:59:46 2010
@@ -83,7 +83,7 @@ PerlModule TestExit::FromPerlModule
 #PerlSetVar StatusLexInfo On
 #PerlSetVar StatusDeparse On
 #PerlSetVar StatusDeparseOptions -p -sC
-#PerlSetVar StatusTerse On
+PerlSetVar StatusTerse On
 #PerlSetVar StatusTerseSize On
 #PerlSetVar StatusTerseSizeMainSummary On
 SetHandler modperl

Modified: perl/modperl/trunk/t/hooks/authen_basic.t
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/t/hooks/authen_basic.t?rev=1029211r1=1029210r2=1029211view=diff
==
--- perl/modperl/trunk/t/hooks/authen_basic.t (original)
+++ perl/modperl/trunk/t/hooks/authen_basic.t Sat Oct 30 21:59:46 2010
@@ -21,6 +21,10 @@ sok {
 GET_OK $location, username = 'dougm', password = 'foo';
 };
 
+# since LWP 5.815, the user agent retains credentials
+# tell Apache::TestRequest to reinitialize its global agent
+Apache::TestRequest::user_agent(reset = 1);
+
 sok {
 ! GET_OK $location, username = 'dougm', password = 'wrong';
 };

Modified: perl/modperl/trunk/t/hooks/authz.t
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/t/hooks/authz.t?rev=1029211r1=1029210r2=1029211view=diff
==
--- perl/modperl/trunk/t/hooks/authz.t (original)
+++ perl/modperl/trunk/t/hooks/authz.t Sat Oct 30 21:59:46 2010
@@ -16,6 +16,10 @@ ok $rc == 401;
 
 ok GET_OK $location, username = 'dougm', password = 'foo';
 
+# since LWP 5.815, the user agent retains credentials
+# tell Apache::TestRequest to reinitialize its global agent
+Apache::TestRequest::user_agent(reset = 1);
+
 ok ! GET_OK $location, username = 'jobbob', password = 'whatever';
 
 




svn commit: r1023549 - in /perl/Apache-SizeLimit/trunk: Changes Makefile.PL

2010-10-17 Thread phred
Author: phred
Date: Sun Oct 17 18:40:29 2010
New Revision: 1023549

URL: http://svn.apache.org/viewvc?rev=1023549view=rev
Log:
Install Apache::SizeLimit in the same location as mod_perl.

Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/Makefile.PL

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1023549r1=1023548r2=1023549view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Sun Oct 17 18:40:29 2010
@@ -8,6 +8,8 @@ Changes - Apache::SizeLimit change logfi
 
 0.94-dev
 
+Install Apache::SizeLimit in arch specific location, the same as mod_perl.  
This prevents problems when A-SL is built outside the mod_perl build tree.
+[Fred Moyer]
 
 =item 0.93 2010-10-02
 

Modified: perl/Apache-SizeLimit/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Makefile.PL?rev=1023549r1=1023548r2=1023549view=diff
==
--- perl/Apache-SizeLimit/trunk/Makefile.PL (original)
+++ perl/Apache-SizeLimit/trunk/Makefile.PL Sun Oct 17 18:40:29 2010
@@ -5,6 +5,7 @@ use Config;
 my %prereqs = ();
 my %mp2 = ( mod_perl2 = 1.99022 );
 my %mp1 = ( mod_perl  = 0 );
+my $at_min_ver = 1.34;
 
 my $mp_gen;
 if ($ENV{MOD_PERL_2_BUILD}) {
@@ -72,6 +73,11 @@ if ($ENV{MOD_PERL_2_BUILD}) {
 sub check_for_apache_test {
 return unless eval {
 require Apache::Test;
+ if ($Apache::Test::VERSION  $at_min_ver) {
+die Apache::Test version is  . $Apache::Test::VERSION . 
+, minimum version required is $at_min_ver . 
+, tests will be skipped\n;
+}
 require Apache::TestMM;
 require Apache::TestRunPerl;
 1;
@@ -81,13 +87,6 @@ sub check_for_apache_test {
 
 my %args = @Apache::TestMM::Argv;
 
-return 0
-unless (( Apache::TestConfig-can('custom_config_path')
-  and -f Apache::TestConfig-custom_config_path())
-or $args{apxs} or $args{httpd}
-or $ENV{APACHE_TEST_HTTPD} or $ENV{APACHE_TEST_APXS});
-
-
 Apache::TestRunPerl-generate_script();
 
 return 1;
@@ -145,6 +144,7 @@ sub satisfy_mp_generation {
 }
 
 sub require_mod_perl {
+
 eval { require mod_perl };
 eval { require mod_perl2 }  if ($@);
 die Can't find mod_perl installed\nThe error was: $@ if $@;
@@ -194,6 +194,15 @@ EOF
 eval { require mod_perl };
 if ($@) {
 # if we don't have mp1, check for mp2
+# see if we are in the mp2 build structure
+eval { require File::Spec };
+unless ($@) {
+my $mplib = File::Spec-catdir('..', 'lib');
+unshift @INC, $mplib if -e 
File::Spec-catfile($mplib,'mod_perl2.pm');
+my $atlib = File::Spec-catdir('../', 'Apache-Test', 'lib');
+unshift @INC, $atlib if -d $atlib;
+} 
+
 eval { require mod_perl2 } if ($@);
 unless ($@) {
 $wanted = 2;
@@ -243,3 +252,24 @@ sub clean {
 
 return $self-SUPER::clean(@_);
 }
+
+sub constants {
+my $self = shift;
+
+my $string = $self-MM::constants;
+
+# mp2 installs A-T into INSTALLSITEARCH, so in order to avoid
+# problems when users forget 'make install UNINST=1', trick MM into
+# installing pure perl modules to the sitearch location, when A-T is
+# not installed as a part of mp2 build
+if (!$ENV{MOD_PERL_2_BUILD}) {
+$string .= 'EOI';
+
+# install into the same location as mod_perl 2.0
+INSTALLSITELIB = $(INSTALLSITEARCH)
+DESTINSTALLSITELIB = $(DESTINSTALLSITEARCH)
+EOI
+}
+
+$string;
+}




svn commit: r1023551 - in /perl/Apache-Reload/trunk: Changes Makefile.PL lib/Apache2/Reload.pm

2010-10-17 Thread phred
Author: phred
Date: Sun Oct 17 18:41:46 2010
New Revision: 1023551

URL: http://svn.apache.org/viewvc?rev=1023551view=rev
Log:
Add Apache-Test 1.34 dependency, and install in the same directory as mod_perl 
to prevent conflicts with cpan module installs.


Modified:
perl/Apache-Reload/trunk/Changes
perl/Apache-Reload/trunk/Makefile.PL
perl/Apache-Reload/trunk/lib/Apache2/Reload.pm

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=1023551r1=1023550r2=1023551view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Sun Oct 17 18:41:46 2010
@@ -11,6 +11,9 @@ Changes - Apache::Reload change logfile
 
 =item 0.11 August 21, 2010
 
+Add Apache-Test 1.34 dependency.
+[Phred]
+
 Ignore require-hooks which exist in %INC
 [Ryan Gies r...@livesite.net]
 

Modified: perl/Apache-Reload/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Makefile.PL?rev=1023551r1=1023550r2=1023551view=diff
==
--- perl/Apache-Reload/trunk/Makefile.PL (original)
+++ perl/Apache-Reload/trunk/Makefile.PL Sun Oct 17 18:41:46 2010
@@ -5,7 +5,7 @@ use Config;
 my %prereqs = ();
 my %mp2 = ( mod_perl2 = 1.99022 );
 my %mp1 = ( mod_perl  = 0 );
-my $at_min_ver = 1.30;
+my $at_min_ver = 1.34;
 
 my $mp_gen;
 if ($ENV{MOD_PERL_2_BUILD}) {
@@ -45,6 +45,7 @@ else {
   );
 }
 
+# MOD_PERL_2_BUILD is set from building from mod_perl Makefile.PL
 if ($ENV{MOD_PERL_2_BUILD}) {
 pop @ARGV;
 }
@@ -53,10 +54,9 @@ sub check_for_apache_test {
 return unless eval {
 require Apache::Test;
 if ($Apache::Test::VERSION  $at_min_ver) {
-warn Apache::Test version is  . $Apache::Test::VERSION . 
+die Apache::Test version is  . $Apache::Test::VERSION . 
 , minimum version required is $at_min_ver . 
 , tests will be skipped\n;
-die;
 }
 require Apache::TestMM;
 require Apache::TestRunPerl;
@@ -67,13 +67,6 @@ sub check_for_apache_test {
 
 my %args = @Apache::TestMM::Argv;
 
-return 0
-unless (( Apache::TestConfig-can('custom_config_path')
-  and -f Apache::TestConfig-custom_config_path())
-or $args{apxs} or $args{httpd}
-or $ENV{APACHE_TEST_HTTPD} or $ENV{APACHE_TEST_APXS});
-
-
 Apache::TestRunPerl-generate_script();
 
 return 1;
@@ -180,6 +173,15 @@ EOF
 eval { require mod_perl };
 if ($@) {
 # if we don't have mp1, check for mp2
+# see if we are in the mp2 build structure
+eval { require File::Spec };
+unless ($@) {
+my $mplib = File::Spec-catdir('..', 'lib');
+unshift @INC, $mplib if -e 
File::Spec-catfile($mplib,'mod_perl2.pm');
+my $atlib = File::Spec-catdir('../', 'Apache-Test', 'lib');
+unshift @INC, $atlib if -d $atlib;
+} 
+
 eval { require mod_perl2 } if ($@);
 unless ($@) {
 $wanted = 2;
@@ -236,3 +238,24 @@ sub clean {
 
 return $self-SUPER::clean(@_);
 }
+
+sub constants {
+my $self = shift;
+
+my $string = $self-MM::constants;
+
+# mp2 installs this into INSTALLSITEARCH, so in order to avoid
+# problems when users forget 'make install UNINST=1', trick MM into
+# installing pure perl modules to the sitearch location, when this is
+# not installed as a part of mp2 build
+if (!$ENV{MOD_PERL_2_BUILD}) {
+$string .= 'EOI';
+
+# install into the same location as mod_perl 2.0
+INSTALLSITELIB = $(INSTALLSITEARCH)
+DESTINSTALLSITELIB = $(DESTINSTALLSITEARCH)
+EOI
+}
+
+$string;
+}

Modified: perl/Apache-Reload/trunk/lib/Apache2/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache2/Reload.pm?rev=1023551r1=1023550r2=1023551view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache2/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache2/Reload.pm Sun Oct 17 18:41:46 2010
@@ -18,8 +18,6 @@ package Apache2::Reload;
 use strict;
 use warnings FATAL = 'all';
 
-use mod_perl2;
-
 our $VERSION = '0.12';
 
 use Apache2::Const -compile = qw(OK);




svn commit: r1023553 - in /perl/modperl/trunk: Changes Makefile.PL lib/Apache2/Build.pm lib/ModPerl/BuildOptions.pm

2010-10-17 Thread phred
Author: phred
Date: Sun Oct 17 18:45:16 2010
New Revision: 1023553

URL: http://svn.apache.org/viewvc?rev=1023553view=rev
Log:
Look for a usable apxs in $ENV{PATH} if all other options fail, then prompt the 
user for one.

Work around bootstrap warnings when Apache2::BuildConfig has not been created 
yet.

Remove Apache::test compatibility (part of mod_perl 1.2.7), that code causes 
build issues and is 4 versions out of date.

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/Makefile.PL
perl/modperl/trunk/lib/Apache2/Build.pm
perl/modperl/trunk/lib/ModPerl/BuildOptions.pm

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1023553r1=1023552r2=1023553view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Sun Oct 17 18:45:16 2010
@@ -12,6 +12,15 @@ Also refer to the Apache::Test changes l
 
 =item 2.0.5-dev
 
+Look for a usable apxs in $ENV{PATH} if all other options fail, then prompt 
the user for one.
+[Phred]
+
+Work around bootstrap warnings when Apache2::BuildConfig has not been created 
yet.
+[Phred]
+
+Remove Apache::test compatibility (part of mod_perl 1.2.7), that code causes 
build issues and is 4 versions out of date.
+[Phred]
+
 Make sure perl is built either with multiplicity and ithreads or without
 both [Theory, Torsten]
 

Modified: perl/modperl/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=1023553r1=1023552r2=1023553view=diff
==
--- perl/modperl/trunk/Makefile.PL (original)
+++ perl/modperl/trunk/Makefile.PL Sun Oct 17 18:45:16 2010
@@ -21,6 +21,7 @@ BEGIN {
 $old_Apache2_pm = delete $INC{'Apache2.pm'};
 }
 };
+
 }
 
 use lib qw(lib Apache-Test/lib);
@@ -629,13 +630,6 @@ use Config;
 use constant WIN32 = $^O eq 'MSWin32';
 use constant BUILD_APREXT = Apache2::Build::BUILD_APREXT;
 
-my $apache_test_install;
-BEGIN {
-$apache_test_install = -e 'Apache-Test';
-use lib './Apache-Test';
-require 'install-pl' if $apache_test_install;
-}
-
 sub MY::top_targets {
 my $self = shift;
 my $string = $self-ModPerl::BuildMM::MY::top_targets;
@@ -729,9 +723,6 @@ modperl_banner:
 
 EOF
 
-$string .= Apache::Test::install::nuke_Apache__test_target()
-if $apache_test_install;
-
 $string;
 }
 
@@ -747,9 +738,6 @@ sub MY::install {
# ModPerl::MM::add_dep(\$string, pure${kind}_install = 
'aprext_install')
#if BUILD_APREXT;
 
-   ModPerl::MM::add_dep(\$string, pure${kind}_install = 
'nuke_Apache__test')
-   if $apache_test_install;
-
ModPerl::MM::add_dep_after(\$string, install$kind, 
doc${kind}_install, 'modperl_banner');
 
# glue_pods target must come first

Modified: perl/modperl/trunk/lib/Apache2/Build.pm
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/lib/Apache2/Build.pm?rev=1023553r1=1023552r2=1023553view=diff
==
--- perl/modperl/trunk/lib/Apache2/Build.pm (original)
+++ perl/modperl/trunk/lib/Apache2/Build.pm Sun Oct 17 18:45:16 2010
@@ -897,6 +897,10 @@ sub default_file {
 
 sub file_path {
 my $self = shift;
+
+# work around when Apache2::BuildConfig has not been created yet
+return unless $self  $self-{cwd};
+
 my @files = map { m:^/: ? $_ : join('/', $self-{cwd}, $_) } @_;
 return wantarray ? @files : $files[0];
 }

Modified: perl/modperl/trunk/lib/ModPerl/BuildOptions.pm
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/lib/ModPerl/BuildOptions.pm?rev=1023553r1=1023552r2=1023553view=diff
==
--- perl/modperl/trunk/lib/ModPerl/BuildOptions.pm (original)
+++ perl/modperl/trunk/lib/ModPerl/BuildOptions.pm Sun Oct 17 18:45:16 2010
@@ -66,6 +66,24 @@ sub init {
 $build-{MP_COMPAT_1X} = 1
 unless exists $build-{MP_COMPAT_1X}  !$build-{MP_COMPAT_1X};
 
+# make a last ditch effort to find apxs in $ENV{PATH}
+if (!$build-{MP_AP_PREFIX}  !$build-{MP_APXS}) {
+
+my @paths = split(/:/, $ENV{PATH});
+my $potential_apxs;
+while (!$potential_apxs) {
+
+last if scalar(@paths) == 0; # don't loop endlessly
+$potential_apxs = File::Spec-catfile(shift @paths, 'apxs');
+if (-e $potential_apxs  -x $potential_apxs) {
+
+$build-{MP_APXS} = $potential_apxs;
+print MP_APXS unspecified, using $potential_apxs\n\n;
+} else {
+undef $potential_apxs;
+}
+}
+}
 }
 
 sub parse {




svn commit: r1003866 - in /perl/Apache-SizeLimit/trunk: Changes README lib/Apache/SizeLimit.pm lib/Apache/SizeLimit/Core.pm lib/Apache2/SizeLimit.pm

2010-10-02 Thread phred
Author: phred
Date: Sat Oct  2 19:11:10 2010
New Revision: 1003866

URL: http://svn.apache.org/viewvc?rev=1003866view=rev
Log:
Release 0.93

Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/README
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1003866r1=1003865r2=1003866view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Sat Oct  2 19:11:10 2010
@@ -6,12 +6,15 @@ Changes - Apache::SizeLimit change logfi
 
 =over 6
 
-=item 0.93-rc1
+=item 0.93 2010-10-02
+
+Add PerlModule and PerlLoadModule doc directives.
+[Fred Moyer f...@redhotpenguin.com]
 
 Fix overlooked bug where handler expected to be called as a method handler,
 but was documented to be called like a normal Perl cleanup handler ala
 'PerlCleanupHandler Apache2::SizeLimit'
-[Fred Moyer f...@redhotpenguin.com
+[Fred Moyer f...@redhotpenguin.com]
 
 =item 0.92 2010-09-23
 

Modified: perl/Apache-SizeLimit/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/README?rev=1003866r1=1003865r2=1003866view=diff
==
--- perl/Apache-SizeLimit/trunk/README (original)
+++ perl/Apache-SizeLimit/trunk/README Sat Oct  2 19:11:10 2010
@@ -2,6 +2,8 @@ NAME
 Apache2::SizeLimit - Because size does matter.
 
 SYNOPSIS
+
+PerlLoadModule Apache2::SizeLimit
 Perl
  Apache2::SizeLimit-set_max_process_size(150_000);   # Max size in KB
  Apache2::SizeLimit-set_min_shared_size(10_000); # Min share in KB

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=1003866r1=1003865r2=1003866view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Sat Oct  2 19:11:10 2010
@@ -26,7 +26,7 @@ use constant IS_WIN32 = $Config{'osname
 
 use vars qw($VERSION);
 
-$VERSION = '0.93-rc1';
+$VERSION = '0.93';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE
@@ -159,6 +159,8 @@ Apache::SizeLimit - Because size does ma
 
 =head1 SYNOPSIS
 
+PerlModule Apache::SizeLimit
+
 Perl
  Apache::SizeLimit-set_max_process_size(150_000);   # Max size in KB
  Apache::SizeLimit-set_min_shared_size(10_000); # Min share in KB

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=1003866r1=1003865r2=1003866view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Sat Oct  2 
19:11:10 2010
@@ -49,7 +49,7 @@ use vars qw(
 $START_TIME
);
 
-$VERSION = '0.93-rc1';
+$VERSION = '0.93';
 
 $REQUEST_COUNT  = 1;
 

Modified: perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm?rev=1003866r1=1003865r2=1003866view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm Sat Oct  2 19:11:10 
2010
@@ -34,7 +34,7 @@ die Apache2::SizeLimit at the moment wo
 use constant IS_WIN32 = $Config{'osname'} eq 'MSWin32' ? 1 : 0;
 
 # 2.x requires 5.6.x+ so 'our' is okay
-our $VERSION = '0.93-rc1';
+our $VERSION = '0.93';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE
@@ -162,6 +162,8 @@ Apache2::SizeLimit - Because size does m
 
 =head1 SYNOPSIS
 
+PerlLoadModule Apache2::SizeLimit
+
 Perl
  Apache2::SizeLimit-set_max_process_size(150_000);   # Max size in KB
  Apache2::SizeLimit-set_min_shared_size(10_000); # Min share in KB




svn commit: r1003867 - /perl/Apache-SizeLimit/tags/0_93/

2010-10-02 Thread phred
Author: phred
Date: Sat Oct  2 19:11:35 2010
New Revision: 1003867

URL: http://svn.apache.org/viewvc?rev=1003867view=rev
Log:
Tag 0.93.

Added:
perl/Apache-SizeLimit/tags/0_93/
  - copied from r1003866, perl/Apache-SizeLimit/trunk/



svn commit: r1002458 - in /perl/Apache-SizeLimit/trunk: Changes lib/Apache/SizeLimit.pm lib/Apache/SizeLimit/Core.pm lib/Apache2/SizeLimit.pm

2010-09-28 Thread phred
Author: phred
Date: Wed Sep 29 03:50:07 2010
New Revision: 1002458

URL: http://svn.apache.org/viewvc?rev=1002458view=rev
Log:
Add warnings.

Fix a large uncaught bug with 0.92.

Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1002458r1=1002457r2=1002458view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Wed Sep 29 03:50:07 2010
@@ -6,9 +6,12 @@ Changes - Apache::SizeLimit change logfi
 
 =over 6
 
-=item 0.93-dev
-
+=item 0.93-rc1
 
+Fix overlooked bug where handler expected to be called as a method handler,
+but was documented to be called like a normal Perl cleanup handler ala
+'PerlCleanupHandler Apache2::SizeLimit'
+[Fred Moyer f...@redhotpenguin.com
 
 =item 0.92 2010-09-23
 

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=1002458r1=1002457r2=1002458view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Wed Sep 29 03:50:07 2010
@@ -16,6 +16,8 @@
 package Apache::SizeLimit;
 
 use strict;
+use warnings;
+
 use Config;
 
 use Apache::Constants ();
@@ -24,7 +26,7 @@ use constant IS_WIN32 = $Config{'osname
 
 use vars qw($VERSION);
 
-$VERSION = '0.93-dev';
+$VERSION = '0.93-rc1';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE
@@ -41,18 +43,17 @@ use vars qw(@ISA);
 
 __PACKAGE__-set_check_interval(1);
 
-sub handler ($$) {
-my $class = shift;
+sub handler {
 my $r = shift || Apache-request;
 
 return Apache::Constants::DECLINED() unless $r-is_main();
 
 # we want to operate in a cleanup handler
 if ($r-current_callback eq 'PerlCleanupHandler') {
-return $class-_exit_if_too_big($r);
+return __PACKAGE__-_exit_if_too_big($r);
 }
 else {
-$class-add_cleanup_handler($r);
+__PACKAGE__-add_cleanup_handler($r);
 }
 
 return Apache::Constants::DECLINED();

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=1002458r1=1002457r2=1002458view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Wed Sep 29 
03:50:07 2010
@@ -16,6 +16,7 @@
 package Apache::SizeLimit::Core;
 
 use strict;
+use warnings;
 
 use Config;
 use Exporter;
@@ -48,7 +49,7 @@ use vars qw(
 $START_TIME
);
 
-$VERSION = '0.93-dev';
+$VERSION = '0.93-rc1';
 
 $REQUEST_COUNT  = 1;
 

Modified: perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm?rev=1002458r1=1002457r2=1002458view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm Wed Sep 29 03:50:07 
2010
@@ -16,6 +16,8 @@
 package Apache2::SizeLimit;
 
 use strict;
+use warnings;
+
 use Config;
 
 use APR::Pool ();
@@ -32,7 +34,7 @@ die Apache2::SizeLimit at the moment wo
 use constant IS_WIN32 = $Config{'osname'} eq 'MSWin32' ? 1 : 0;
 
 # 2.x requires 5.6.x+ so 'our' is okay
-our $VERSION = '0.93-dev';
+our $VERSION = '0.93-rc1';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE
@@ -48,18 +50,17 @@ our @ISA = qw(Apache::SizeLimit::Core);
 
 __PACKAGE__-set_check_interval(1);
 
-sub handler ($$) {
-my $class = shift;
+sub handler {
 my $r = shift || Apache2::RequestUtil-request();
 
 return Apache2::Const::DECLINED unless $r-is_initial_req();
 
 # we want to operate in a cleanup handler
 if (ModPerl::Util::current_callback() eq 'PerlCleanupHandler') {
-return $class-_exit_if_too_big($r);
+return __PACKAGE__-_exit_if_too_big($r);
 }
 else {
-$class-add_cleanup_handler($r);
+__PACKAGE__-add_cleanup_handler($r);
 }
 
 return Apache2::Const::DECLINED;




svn commit: r1000552 - in /perl/Apache-SizeLimit/trunk: Changes RELEASE lib/Apache/SizeLimit.pm lib/Apache/SizeLimit/Core.pm lib/Apache2/SizeLimit.pm

2010-09-23 Thread phred
Author: phred
Date: Thu Sep 23 17:49:15 2010
New Revision: 1000552

URL: http://svn.apache.org/viewvc?rev=1000552view=rev
Log:
0.92 release

Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/RELEASE
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1000552r1=1000551r2=1000552view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Thu Sep 23 17:49:15 2010
@@ -6,7 +6,7 @@ Changes - Apache::SizeLimit change logfi
 
 =over 6
 
-=item 0.92-dev
+=item 0.92 2010-09-23
 
 Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit
 from Apache::SizeLimit::Core.

Modified: perl/Apache-SizeLimit/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/RELEASE?rev=1000552r1=1000551r2=1000552view=diff
==
--- perl/Apache-SizeLimit/trunk/RELEASE (original)
+++ perl/Apache-SizeLimit/trunk/RELEASE Thu Sep 23 17:49:15 2010
@@ -81,7 +81,7 @@ TODO:
package to be released
 
   a. edit ./Changes:
- - remove -rc\d+
+ - remove -rc\d+ (also remove this from modules)
  - add release date
 
   b. rerun:
@@ -89,8 +89,8 @@ TODO:
  make sure tag looks right
  % make -n tag
 
-  c. commit Changes
- % svn ci Changes
+  c. commit Changes and modules
+ % svn ci Changes lib/
 
   d. tag
  % make tag

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=1000552r1=1000551r2=1000552view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Thu Sep 23 17:49:15 2010
@@ -24,7 +24,7 @@ use constant IS_WIN32 = $Config{'osname
 
 use vars qw($VERSION);
 
-$VERSION = '0.91-dev';
+$VERSION = '0.92';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=1000552r1=1000551r2=1000552view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Thu Sep 23 
17:49:15 2010
@@ -48,7 +48,7 @@ use vars qw(
 $START_TIME
);
 
-$VERSION = '0.91-dev';
+$VERSION = '0.92';
 
 $REQUEST_COUNT  = 1;
 

Modified: perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm?rev=1000552r1=1000551r2=1000552view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm Thu Sep 23 17:49:15 
2010
@@ -32,7 +32,7 @@ die Apache2::SizeLimit at the moment wo
 use constant IS_WIN32 = $Config{'osname'} eq 'MSWin32' ? 1 : 0;
 
 # 2.x requires 5.6.x+ so 'our' is okay
-our $VERSION = '0.91-dev';
+our $VERSION = '0.92';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE




svn commit: r1000553 - /perl/Apache-SizeLimit/tags/0_92/

2010-09-23 Thread phred
Author: phred
Date: Thu Sep 23 17:49:33 2010
New Revision: 1000553

URL: http://svn.apache.org/viewvc?rev=1000553view=rev
Log:
Tagging 0.92

Added:
perl/Apache-SizeLimit/tags/0_92/
  - copied from r1000552, perl/Apache-SizeLimit/trunk/



svn commit: r1000554 - in /perl/Apache-SizeLimit/trunk: Changes RELEASE lib/Apache/SizeLimit.pm lib/Apache/SizeLimit/Core.pm lib/Apache2/SizeLimit.pm

2010-09-23 Thread phred
Author: phred
Date: Thu Sep 23 17:57:20 2010
New Revision: 1000554

URL: http://svn.apache.org/viewvc?rev=1000554view=rev
Log:
start 0.93-dev cycle

Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/RELEASE
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=1000554r1=1000553r2=1000554view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Thu Sep 23 17:57:20 2010
@@ -6,6 +6,10 @@ Changes - Apache::SizeLimit change logfi
 
 =over 6
 
+=item 0.93-dev
+
+
+
 =item 0.92 2010-09-23
 
 Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit

Modified: perl/Apache-SizeLimit/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/RELEASE?rev=1000554r1=1000553r2=1000554view=diff
==
--- perl/Apache-SizeLimit/trunk/RELEASE (original)
+++ perl/Apache-SizeLimit/trunk/RELEASE Thu Sep 23 17:57:20 2010
@@ -26,7 +26,7 @@ Instructions for Apache-SizeLimit Releas
 a. login into https://pause.perl.org
 b. menu click: Select Mailinglist/Action
 c. choose APML and share_perms and click go
-d. click 3.1 Make somebody else co-maintainer
+d. click 3.2 Make somebody else co-maintainer
 e. choose the modules to give the perms to
type the username of the new co-maintainer
 f. if you happen to know that packages were added this release,
@@ -47,7 +47,7 @@ TODO:
 
   a. edit ./Changes:
  - find lib -type f \( -name *.pm -o -name Changes \) | \
- xargs perl -pi -e 's,0.91-dev,0.92-rc1,g'
+ xargs perl -pi -e 's,0.92-dev,0.93-rc1,g'
 
  - don't commit these (see dev@ archives)
 
@@ -66,16 +66,16 @@ TODO:
  o dev/perl.apache.org
  o modperl/perl.apache.org
 
-  Subject: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC\d+
+  Subject: [RELEASE CANDIDATE] Apache-SizeLimit 0.93 RC\d+
 
(or maybe longer to give most people a chance to catch up). no need
to tag this package
 
   a. if problems are detected during stage 2, repeat stages 1 and 2.
 
-  $ md5 Apache-SizeLimit-0.92-rc1.tar.gz  Apache-SizeLimit-0.92-rc1.tar.gz.md5
-  $ sha256 Apache-SizeLimit-0.92-rc1.tar.gz  
Apache-SizeLimit-0.92-rc1.tar.gz.sha256
-  $ gpg --detach-sign --armor Apache-SizeLimit-0.92-rc1.tar.gz
+  $ md5 Apache-SizeLimit-0.93-rc1.tar.gz  Apache-SizeLimit-0.93-rc1.tar.gz.md5
+  $ sha256 Apache-SizeLimit-0.93-rc1.tar.gz  
Apache-SizeLimit-0.93-rc1.tar.gz.sha256
+  $ gpg --detach-sign --armor Apache-SizeLimit-0.93-rc1.tar.gz
 
 3. when the package has been reported to be good, prepare a new
package to be released
@@ -105,7 +105,7 @@ TODO:
 5. Announce the package
 
   a. post ... to the modperl, announce lists
-  Subject: [ANNOUNCE] Apache-SizeLimit 0.92
+  Subject: [ANNOUNCE] Apache-SizeLimit 0.93
  include 
   - MD5 sig (as it comes from CPAN upload announce).
   - the latest Changes
@@ -117,7 +117,7 @@ TODO:
   b. edit ./Changes:
  - start a new item with incremented version + '-dev'
 
-  =item 0.93-dev
+  =item 0.94-dev
 
   c. bump up version numbers in this file to make it easier to do the
  next release.
@@ -125,4 +125,4 @@ TODO:
  $ perl -pi -e 's/(\d+)\.(\d+)/join(., $1, $2+1)/eg' RELEASE
 
   d. commit Changes
- % svn ci -m start 0.93-dev cycle Changes RELEASE lib/Apache/SizeLimit.pm
+ % svn ci -m start 0.94-dev cycle Changes RELEASE 
lib/Apache/SizeLimit.pm lib/Apache2/SizeLimit.pm lib/Apache/SizeLimit/Core.pm

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=1000554r1=1000553r2=1000554view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Thu Sep 23 17:57:20 2010
@@ -24,7 +24,7 @@ use constant IS_WIN32 = $Config{'osname
 
 use vars qw($VERSION);
 
-$VERSION = '0.92';
+$VERSION = '0.93-dev';
 
 use Apache::SizeLimit::Core qw(
  $MAX_PROCESS_SIZE

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=1000554r1=1000553r2=1000554view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Thu Sep 23 
17:57:20 2010
@@ -48,7 +48,7 @@ use vars qw(
 $START_TIME
);
 
-$VERSION = '0.92

svn commit: r987816 - in /perl/Apache-Reload/trunk: Changes RELEASE lib/Apache/Reload.pm lib/Apache2/Reload.pm

2010-08-21 Thread phred
Author: phred
Date: Sat Aug 21 19:48:28 2010
New Revision: 987816

URL: http://svn.apache.org/viewvc?rev=987816view=rev
Log:
0.11 release version

Modified:
perl/Apache-Reload/trunk/Changes
perl/Apache-Reload/trunk/RELEASE
perl/Apache-Reload/trunk/lib/Apache/Reload.pm
perl/Apache-Reload/trunk/lib/Apache2/Reload.pm

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=987816r1=987815r2=987816view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Sat Aug 21 19:48:28 2010
@@ -6,7 +6,7 @@ Changes - Apache::Reload change logfile
 
 =over 1
 
-=item 0.11-dev
+=item 0.11 August 21, 2010
 
 Ignore require-hooks which exist in %INC
 [Ryan Gies r...@livesite.net]

Modified: perl/Apache-Reload/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/RELEASE?rev=987816r1=987815r2=987816view=diff
==
--- perl/Apache-Reload/trunk/RELEASE (original)
+++ perl/Apache-Reload/trunk/RELEASE Sat Aug 21 19:48:28 2010
@@ -71,8 +71,8 @@ Instructions for Apache-Reload Release M
 3. when the package has been reported to be good, prepare a new
package to be released
 
-  a. edit ./Changes:
- - remove -rc\d+
+  a. edit ./Changes
+ - remove -rc\d+ (from lib/Apache/Reload.pm and lib/Apache2/Reload.pm also)
  - add release date
 
   b. rerun:

Modified: perl/Apache-Reload/trunk/lib/Apache/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache/Reload.pm?rev=987816r1=987815r2=987816view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache/Reload.pm Sat Aug 21 19:48:28 2010
@@ -17,7 +17,7 @@ package Apache::Reload;
 
 use strict;
 
-$Apache::Reload::VERSION = '0.11-dev';
+$Apache::Reload::VERSION = '0.11';
 
 use vars qw(%INCS %Stat $TouchTime %UndefFields %Ignore);
 

Modified: perl/Apache-Reload/trunk/lib/Apache2/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache2/Reload.pm?rev=987816r1=987815r2=987816view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache2/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache2/Reload.pm Sat Aug 21 19:48:28 2010
@@ -20,7 +20,7 @@ use warnings FATAL = 'all';
 
 use mod_perl2;
 
-our $VERSION = '0.12';
+our $VERSION = '0.11';
 
 use Apache2::Const -compile = qw(OK);
 




svn commit: r984198 - /perl/Apache-Reload/trunk/lib/Apache/Reload.pm

2010-08-10 Thread phred
Author: phred
Date: Tue Aug 10 20:18:35 2010
New Revision: 984198

URL: http://svn.apache.org/viewvc?rev=984198view=rev
Log:
Add global %Ignore variable.  Thanks to Adam Prime for the spot.

Modified:
perl/Apache-Reload/trunk/lib/Apache/Reload.pm

Modified: perl/Apache-Reload/trunk/lib/Apache/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache/Reload.pm?rev=984198r1=984197r2=984198view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache/Reload.pm Tue Aug 10 20:18:35 2010
@@ -19,7 +19,7 @@ use strict;
 
 $Apache::Reload::VERSION = '0.11-dev';
 
-use vars qw(%INCS %Stat $TouchTime %UndefFields);
+use vars qw(%INCS %Stat $TouchTime %UndefFields %Ignore);
 
 %Stat = ($INC{Apache/Reload.pm} = time);
 




svn commit: r980971 - in /perl/Apache-Reload/trunk: Changes lib/Apache/Reload.pm lib/Apache2/Reload.pm

2010-07-30 Thread phred
Author: phred
Date: Fri Jul 30 21:32:17 2010
New Revision: 980971

URL: http://svn.apache.org/viewvc?rev=980971view=rev
Log:
Ignore require-hooks which exist in %INC
Reloads by file, not module name

Submitted by:  Ryan Gies
Reviewed by:  Gozer
Applied by:  Phred

Modified:
perl/Apache-Reload/trunk/Changes
perl/Apache-Reload/trunk/lib/Apache/Reload.pm
perl/Apache-Reload/trunk/lib/Apache2/Reload.pm

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=980971r1=980970r2=980971view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Fri Jul 30 21:32:17 2010
@@ -8,6 +8,12 @@ Changes - Apache::Reload change logfile
 
 =item 0.11-dev
 
+Ignore require-hooks which exist in %INC
+[Ryan Gies r...@livesite.net]
+
+Reloads by file, not module name
+[Ryan Gies r...@livesite.net]
+
 Add a no Apache::Reload directive which skips reloading for modules
 that have it included (useful for Moose compatibility).
 [Graham Barr, gb...@pobox.com]

Modified: perl/Apache-Reload/trunk/lib/Apache/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache/Reload.pm?rev=980971r1=980970r2=980971view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache/Reload.pm Fri Jul 30 21:32:17 2010
@@ -17,7 +17,7 @@ package Apache::Reload;
 
 use strict;
 
-$Apache::Reload::VERSION = '0.11';
+$Apache::Reload::VERSION = '0.11-dev';
 
 use vars qw(%INCS %Stat $TouchTime %UndefFields);
 

Modified: perl/Apache-Reload/trunk/lib/Apache2/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache2/Reload.pm?rev=980971r1=980970r2=980971view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache2/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache2/Reload.pm Fri Jul 30 21:32:17 2010
@@ -20,7 +20,7 @@ use warnings FATAL = 'all';
 
 use mod_perl2;
 
-our $VERSION = '0.11';
+our $VERSION = '0.12';
 
 use Apache2::Const -compile = qw(OK);
 
@@ -86,6 +86,8 @@ sub handler {
 
 my $DEBUG = ref($o)  (lc($o-dir_config(ReloadDebug) || '') eq 'on');
 
+my $ReloadByModuleName = ref($o)  
(lc($o-dir_config(ReloadByModuleName) || '') eq 'on');
+
 my $TouchFile = ref($o)  $o-dir_config(ReloadTouchFile);
 
 my $ConstantRedefineWarnings = ref($o)  
@@ -138,6 +140,7 @@ sub handler {
 my $file = $Apache2::Reload::INCS{$key};
 
 next unless defined $file;
+next if ref $file;
 next if @watch_dirs  !grep { $file =~ /^$_/ } @watch_dirs;
 warn Apache2::Reload: Checking mtime of $key\n if $DEBUG;
 
@@ -158,24 +161,29 @@ sub handler {
 }
 
 if ($mtime  $Stat{$file}) {
-push @changed, $key;
+push @changed, [$key, $file];
 }
 $Stat{$file} = $mtime;
 }
 
 #First, let's unload all changed modules
-foreach my $module (@changed) {
+foreach my $change (@changed) {
+my ($module, $file) = @$change;
 my $package = module_to_package($module);
 ModPerl::Util::unload_package($package);
 }
-
+
 #Then, let's reload them all, so that module dependencies can satisfy
 #themselves in the correct order.
-foreach my $module (@changed) {
-my $package = module_to_package($module);
-require $module;
-warn(Apache2::Reload: process $$ reloading $package from $module\n)
-if $DEBUG;
+foreach my $change (@changed) {
+my ($module, $file) = @$change;
+my $name = $ReloadByModuleName ? $module : $file;
+require $name;
+if ($DEBUG) {
+  my $package = module_to_package($module);
+  warn sprintf(Apache2::Reload: process %d reloading %s from %s\n,
+$$, $package, $name);
+}
 }
 
 return Apache2::Const::OK;
@@ -206,6 +214,7 @@ Apache2::Reload - Reload Perl Modules wh
   PerlSetVar ReloadAll Off
   PerlSetVar ReloadModules ModPerl::* Apache2::*
   #PerlSetVar ReloadDebug On
+  #PerlSetVar ReloadByModuleName On
   
   # Reload a single module from within itself:
   package My::Apache2::Module;
@@ -226,16 +235,28 @@ modules that have registered themselves 
 also do the check for modified modules, when a special touch-file has
 been modified.
 
-Note that CApache2::Reload operates on the current context of
-C@INC.  Which means, when called as a CPerl*Handler it will not
-see C@INC paths added or removed by CModPerl::Registry scripts, as
-the value of C@INC is saved on server startup and restored to that
-value after each request.  In other words, if you want
-CApache2::Reload to work with modules that live in custom C@INC
-paths, you should modify C@INC when the server is started.  Besides,
-C'use lib

svn commit: r966331 - /perl/modperl/trunk/META.yml

2010-07-21 Thread phred
Author: phred
Date: Wed Jul 21 17:49:31 2010
New Revision: 966331

URL: http://svn.apache.org/viewvc?rev=966331view=rev
Log:
Don't index bundled pure Perl modules

http://www.gossamer-threads.com/lists/modperl/dev/101734

Suggested by: Gozer
Implemented by: Phred

Modified:
perl/modperl/trunk/META.yml

Modified: perl/modperl/trunk/META.yml
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/META.yml?rev=966331r1=966330r2=966331view=diff
==
--- perl/modperl/trunk/META.yml (original)
+++ perl/modperl/trunk/META.yml Wed Jul 21 17:49:31 2010
@@ -4,8 +4,10 @@ installdirs:  site
 distribution_type: module
 no_index:
 directory:
-  # A-T has its own CPAN distro
+  # A-T and others have their own CPAN distros
 - Apache-Test
+- Apache-Reload
+- Apache-SizeLimit
 package:
   # Internally redefined module
 - C::Preprocessed




svn commit: r957309 - in /perl/modperl/trunk: Changes Makefile.PL

2010-06-23 Thread phred
Author: phred
Date: Wed Jun 23 19:06:12 2010
New Revision: 957309

URL: http://svn.apache.org/viewvc?rev=957309view=rev
Log:
Run tests on bundled pure perl modules.

Written by: Phred, Gozer
Reviewed by: Adam Prime, Gozer, Phred, Pgollucci
Tested by: Phred

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/Makefile.PL

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=957309r1=957308r2=957309view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Wed Jun 23 19:06:12 2010
@@ -12,6 +12,8 @@ Also refer to the Apache::Test changes l
 
 =item 2.0.5-dev
 
+Run tests on bundled pure perl Apache::* modules [Gozer, Phred]
+
 Implement a mini-preprocess language for map-files in xs/maps.
 [Torsten Foertsch]
 

Modified: perl/modperl/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=957309r1=957308r2=957309view=diff
==
--- perl/modperl/trunk/Makefile.PL (original)
+++ perl/modperl/trunk/Makefile.PL Wed Jun 23 19:06:12 2010
@@ -785,7 +785,16 @@ run_tests : test_clean
$(PASSENV) \
$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
t/TEST -bugreport -verbose=$(TEST_VERBOSE) $(TEST_FILES)
-   cd ModPerl-Registry  $(MAKE) test
+   $(MAKE) -k run_subtests
+
+run_subtests ::
+   $(MAKE) -C ModPerl-Registry test
+
+run_subtests ::
+   $(MAKE) -C Apache-Reload test
+
+run_subtests ::
+   $(MAKE) -C Apache-SizeLimit test
 
 test :: pure_all run_tests test_clean
 EOF




svn commit: r933373 - /perl/modperl/trunk/todo/2.0.5

2010-04-12 Thread phred
Author: phred
Date: Mon Apr 12 19:20:15 2010
New Revision: 933373

URL: http://svn.apache.org/viewvc?rev=933373view=rev
Log:
Mark one todo off the list.

Modified:
perl/modperl/trunk/todo/2.0.5

Modified: perl/modperl/trunk/todo/2.0.5
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/todo/2.0.5?rev=933373r1=933372r2=933373view=diff
==
--- perl/modperl/trunk/todo/2.0.5 (original)
+++ perl/modperl/trunk/todo/2.0.5 Mon Apr 12 19:20:15 2010
@@ -1,6 +1,5 @@
 SHOW STOPPERS
 
-- Ship Apache::Test 1.31 official [phred, ]
 - Windows Segfaults [needs windows developer owner, ]
 - MANIFEST verifications [needs detail, ]
 - rt.cpan.org PRs [pgollucci, phred, ]




svn commit: r908240 - in /perl/Apache-Reload/trunk: Changes lib/Apache/Reload.pm

2010-02-09 Thread phred
Author: phred
Date: Tue Feb  9 21:37:20 2010
New Revision: 908240

URL: http://svn.apache.org/viewvc?rev=908240view=rev
Log:
'no Apache::Reload' option to ignore reloading modules with that directive.

When Moose is being used, reloading a class will probably result in it being 
unusable.

Especially if the class uses roles or any of the method wrapping calls.

This adds no Apache::Reload to make sure that such modules are not attempted 
to be reloaded.

Submitted by:  Graham Barr gb...@pobox.com
Signed off by:  Fred Moyer ph...@apache.orgg

Modified:
perl/Apache-Reload/trunk/Changes
perl/Apache-Reload/trunk/lib/Apache/Reload.pm

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=908240r1=908239r2=908240view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Tue Feb  9 21:37:20 2010
@@ -8,6 +8,10 @@
 
 =item 0.11-dev
 
+Add a no Apache::Reload directive which skips reloading for modules
+that have it included (useful for Moose compatibility).
+[Graham Barr, gb...@pobox.com]
+
 Add Empty NOTICE file
 http://rt.cpan.org/Ticket/Display.html?id=34786
 [Niko Tyni (Debian Perl Group) nt...@debian.org]

Modified: perl/Apache-Reload/trunk/lib/Apache/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache/Reload.pm?rev=908240r1=908239r2=908240view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache/Reload.pm Tue Feb  9 21:37:20 2010
@@ -32,6 +32,13 @@
 $class-register_module($package, $file);
 }
 
+sub unimport {
+my $class = shift;
+my ($package,$file) = (caller)[0,1];
+
+$class-unregister_module($package, $file);
+}
+
 sub package_to_module {
 my $package = shift;
 $package =~ s/::/\//g;
@@ -58,6 +65,13 @@
 }
 }
 
+sub unregister_module {
+my ($class, $package, $file) = @_;
+my $module = package_to_module($package);
+
+$Ignore{$module} = 1;
+}
+
 sub handler {
 my $r = shift;
 
@@ -135,9 +149,14 @@
 }
# remove the modules
 if ($mtime  $Stat{$file}) {
-delete $INC{$key};
-push @changed, $key;
-   }
+if ($Ignore{$key}) {
+warn Apache::Reload: Not reloading $key\n;
+}
+else {
+delete $INC{$key};
+push @changed, $key;
+}
+}
 $Stat{$file} = $mtime;
 }
 
@@ -230,6 +249,15 @@
 Note that these are split on whitespace, but the module list Bmust
 be in quotes, otherwise Apache tries to parse the parameter list.
 
+=head2 Un-Register Modules Explicitly
+
+If ReloadAll is set to On, then you can explicity force a module not to be 
reloaded with
+
+  no Apache::Reload;
+
+A warning will appear in the error log that the file has changed, but will
+not be reloaded
+
 =head2 Special Touch File
 
 You can also set a file that you can touch() that causes the reloads to be




svn commit: r907947 - /perl/Apache-DBI/trunk/RELEASE

2010-02-08 Thread phred
Author: phred
Date: Tue Feb  9 07:16:34 2010
New Revision: 907947

URL: http://svn.apache.org/viewvc?rev=907947view=rev
Log:
Update the release file for 1.09

Modified:
perl/Apache-DBI/trunk/RELEASE

Modified: perl/Apache-DBI/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/RELEASE?rev=907947r1=907946r2=907947view=diff
==
--- perl/Apache-DBI/trunk/RELEASE (original)
+++ perl/Apache-DBI/trunk/RELEASE Tue Feb  9 07:16:34 2010
@@ -1,9 +1,9 @@
 1) find . -type f | egrep -v '.svn|RELEASE' | \
-   xargs perl -pi -e 's,1.07-dev,1.08,g'
+   xargs perl -pi -e 's,1.09-dev,1.09,g'
 
-   Update Changes - add the date for 1.08 entry
+   Update Changes - add the date for 1.09 entry
 
-   svn ci -m prep 1.08 release
+   svn ci -m prep 1.09 release
 
 2) make distclean
 
@@ -13,16 +13,16 @@
 
 5) make dist clean
 
-6) svn copy -m tag 1.08 \
+6) svn copy -m tag 1.09 \
https://svn.perl.org/modules/Apache-DBI/trunk \
-   https://svn.perl.org/modules/Apache-DBI/tags/rel_1_08
+   https://svn.perl.org/modules/Apache-DBI/tags/rel_1.09
 
 7) find . -type f | egrep -v '.svn|Changes|RELEASE' | \
-   xargs perl -pi -e 's,1.08,1.08-dev,g'
+   xargs perl -pi -e 's,1.09,1.10-dev,g'
 
-8) Add an entry to Changes for 1.08-dev
+8) Add an entry to Changes for 1.10-dev
 
-9) svn ci -m roll on to 1.08-dev
+9) svn ci -m roll on to 1.10-dev
 
 10) forward the PAUSE email with MD5 sum and Changes to 
 modp...@perl.apache.org.




svn commit: r907286 - /perl/Apache-DBI/trunk/lib/Apache/DBI.pm

2010-02-06 Thread phred
Author: phred
Date: Sat Feb  6 19:39:30 2010
New Revision: 907286

URL: http://svn.apache.org/viewvc?rev=907286view=rev
Log:
Typo

Modified:
perl/Apache-DBI/trunk/lib/Apache/DBI.pm

Modified: perl/Apache-DBI/trunk/lib/Apache/DBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/DBI.pm?rev=907286r1=907285r2=907286view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/DBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/DBI.pm Sat Feb  6 19:39:30 2010
@@ -39,6 +39,9 @@
 #   a negative value de-activates ping,
 #   default = 0
 my %LastPingTime;   # keeps track of last ping per data_source
+my $ChildExitHandlerInstalled;  # set to true on installation of
+# PerlChildExitHandler
+my $InChild;
 
 # Check to see if we need to reset TaintIn and TaintOut
 my $TaintInOut = ($DBI::VERSION = 1.31) ? 1 : 0;
@@ -218,6 +221,22 @@
 1;
 }
 
+# The PerlChildExitHandler disconnects all open connections
+sub childexit {
+
+my $prefix = $$ Apache::DBI;
+debug(2, $prefix PerlChildExitHandler);
+
+foreach my $dbh (values(%Connected)) {
+eval { DBI::db::disconnect($dbh) };
+if ($@) {
+debug(2, $prefix DBI::db::disconnect failed - $@);
+}
+}
+
+1;
+}
+
 # The PerlCleanupHandler is supposed to initiate a rollback after the script
 # has finished if AutoCommit is off.
 # Note: the PerlCleanupHandler runs after the response has been sent to
@@ -517,7 +536,7 @@
   PERL_CHILD_INIT=1 PERL_STACKED_HANDLERS=1
 
 Apache::DBI v0.94 was the last version before dual mod_perl 2.x support was 
begun.
-It still recommened that you use the latest version of Apache::DBI because 
Apache::DBI
+It still recommended that you use the latest version of Apache::DBI because 
Apache::DBI
 versions less than 1.00 are NO longer supported.
 
 =head1 DO YOU NEED THIS MODULE?




svn commit: r907292 - in /perl/Apache-DBI/trunk: Changes lib/Apache/DBI.pm

2010-02-06 Thread phred
Author: phred
Date: Sat Feb  6 20:24:30 2010
New Revision: 907292

URL: http://svn.apache.org/viewvc?rev=907292view=rev
Log:
Add childexithandler to prevent database connection warnings when the httpd
child exits.

Submitted by: Nick Wellnhoferwellnho...@aevum.de
Reviewed by: Fred Moyer
Tested by: Fred Moyer, Adam Prime

http://marc.info/?l=apache-modperl-devm=124824443220933w=2

Modified:
perl/Apache-DBI/trunk/Changes
perl/Apache-DBI/trunk/lib/Apache/DBI.pm

Modified: perl/Apache-DBI/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/Changes?rev=907292r1=907291r2=907292view=diff
==
--- perl/Apache-DBI/trunk/Changes (original)
+++ perl/Apache-DBI/trunk/Changes Sat Feb  6 20:24:30 2010
@@ -1,6 +1,8 @@
 Revision history for ApacheDBI.
 
 1.09
+  - Adds PerlChildExitHandler to disconnect existing connections
+Submitted by: Nick Wellnhoffer wellnho...@aevum.de
 
 1.08 February 3rd, 2010
   - Fix bug to allow DBI in startup.pl etc again

Modified: perl/Apache-DBI/trunk/lib/Apache/DBI.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-DBI/trunk/lib/Apache/DBI.pm?rev=907292r1=907291r2=907292view=diff
==
--- perl/Apache-DBI/trunk/lib/Apache/DBI.pm (original)
+++ perl/Apache-DBI/trunk/lib/Apache/DBI.pm Sat Feb  6 20:24:30 2010
@@ -39,6 +39,9 @@
 #   a negative value de-activates ping,
 #   default = 0
 my %LastPingTime;   # keeps track of last ping per data_source
+my $ChildExitHandlerInstalled;  # set to true on installation of
+# PerlChildExitHandler
+my $InChild;
 
 # Check to see if we need to reset TaintIn and TaintOut
 my $TaintInOut = ($DBI::VERSION = 1.31) ? 1 : 0;
@@ -134,6 +137,23 @@
 }
 }
 
+# this PerlChildExitHandler is supposed to disconnect all open
+# connections to the database
+if (!$ChildExitHandlerInstalled) {
+$ChildExitHandlerInstalled = 1;
+my $s;
+if (MP2) {
+$s = Apache2::ServerUtil-server;
+}
+elsif (Apache-can('push_handlers')) {
+$s = 'Apache';
+}
+if ($s) {
+debug(2, $prefix push PerlChildExitHandler);
+$s-push_handlers(PerlChildExitHandler = \childexit);
+}
+}
+
 # this PerlCleanupHandler is supposed to initiate a rollback after the
 # script has finished if AutoCommit is off.  however, cleanup can only
 # be determined at end of handle life as begin_work may have been called
@@ -218,6 +238,22 @@
 1;
 }
 
+# The PerlChildExitHandler disconnects all open connections
+sub childexit {
+
+my $prefix = $$ Apache::DBI;
+debug(2, $prefix PerlChildExitHandler);
+
+foreach my $dbh (values(%Connected)) {
+eval { DBI::db::disconnect($dbh) };
+if ($@) {
+debug(2, $prefix DBI::db::disconnect failed - $@);
+}
+}
+
+1;
+}
+
 # The PerlCleanupHandler is supposed to initiate a rollback after the script
 # has finished if AutoCommit is off.
 # Note: the PerlCleanupHandler runs after the response has been sent to




svn commit: r907306 - in /perl/Apache-Bootstrap/trunk: Changes Makefile.PL lib/Apache/Bootstrap.pm t/00-load.t

2010-02-06 Thread phred
Author: phred
Date: Sat Feb  6 20:51:07 2010
New Revision: 907306

URL: http://svn.apache.org/viewvc?rev=907306view=rev
Log:
Fixup some minor formatting nits in the Makefile
Add some reassuring text to the test
Update comments

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/Makefile.PL
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
perl/Apache-Bootstrap/trunk/t/00-load.t

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=907306r1=907305r2=907306view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Sat Feb  6 20:51:07 2010
@@ -1,6 +1,7 @@
 Revision history for Apache-Bootstrap
 
 0.08-dev
+- some minor formatting and test fixups
 
 0.07 Mon Jul 13 12:09:00 PST 2009
 - fix syntax error in params validation in new (mp2 param unchecked)

Modified: perl/Apache-Bootstrap/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Makefile.PL?rev=907306r1=907305r2=907306view=diff
==
--- perl/Apache-Bootstrap/trunk/Makefile.PL (original)
+++ perl/Apache-Bootstrap/trunk/Makefile.PL Sat Feb  6 20:51:07 2010
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+
 use ExtUtils::MakeMaker;
 
 WriteMakefile(
@@ -18,8 +19,8 @@
 my $self = shift;
 
 eval { require Test::More } or return EOF;
-test::
-...@echo sorry, cannot run tests without Test::More
+test :
+   \...@echo sorry, cannot run tests without Test::More
 EOF
 
 return $self-SUPER::test();
@@ -33,7 +34,7 @@
 $string .= 'EOF';
 tag :
svn copy https://svn.apache.org/repos/asf/perl/Apache-Bootstrap/trunk 
https://svn.apache.org/repos/asf/perl/Apache-Bootstrap/tags/$(VERSION_SYM)
-   @echo update lib/Apache/Bootstrap.pm VERSION now
+   \...@echo update lib/Apache/Bootstrap.pm VERSION now
 EOF
 
 return $string;

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=907306r1=907305r2=907306view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Sat Feb  6 20:51:07 2010
@@ -56,10 +56,8 @@
 
 Writing modules for mod_perl that work under both mod_perl and mod_perl2 is 
not fun.
 
-This module is here to make that endeavour less painful.  mod_perl2 is great, 
but
-a lot of users are still using mod_perl.  Migrating to mod_perl2 while 
maintaining
-mod_perl compatibility isn't easy, and this module is here to make that 
transition
-as painless as possible.
+This module is here to make that endeavour less painful.  mod_perl2 is great,
+but a lot of users are still using mod_perl.  Migrating to mod_perl2 while 
maintaining mod_perl compatibility isn't easy, and this module is here to make 
that transition as painless as possible.
 
 =head1 METHODS
 
@@ -87,7 +85,7 @@
 my %self;
 if ( defined $args-{mod_perl} ) {
 
-# delete mp2 from inc first, note that we don't delete mod_perl2.pm
+# delete from INC first
 delete $INC{'mod_perl.pm'};
 
 # look for mp1
@@ -114,6 +112,9 @@
 
if ( defined $args-{mod_perl2} ) {
 
+# delete from INC first
+delete $INC{'mod_perl2.pm'};
+
 # look for mp2
 eval { require mod_perl2 };
 

Modified: perl/Apache-Bootstrap/trunk/t/00-load.t
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/t/00-load.t?rev=907306r1=907305r2=907306view=diff
==
--- perl/Apache-Bootstrap/trunk/t/00-load.t (original)
+++ perl/Apache-Bootstrap/trunk/t/00-load.t Sat Feb  6 20:51:07 2010
@@ -64,6 +64,7 @@
 # need a bootstrap object
 my $bootstrap = $dual_bootstrap || $mp2_bootstrap || $mp1_bootstrap;
 
+diag(Look for a higher version of Apache::Test than is present);
 my $at_version = $bootstrap-check_for_apache_test(
 $Apache::Test::VERSION + 0.01);
 




svn commit: r793663 - /perl/Apache-Bootstrap/tags/0_07/

2009-07-13 Thread phred
Author: phred
Date: Mon Jul 13 19:11:30 2009
New Revision: 793663

URL: http://svn.apache.org/viewvc?rev=793663view=rev
Log:
0.07 tag

Added:
perl/Apache-Bootstrap/tags/0_07/   (props changed)
  - copied from r793662, perl/Apache-Bootstrap/trunk/

Propchange: perl/Apache-Bootstrap/tags/0_07/
--
svn:mergeinfo = 




svn commit: r793664 - in /perl/Apache-Bootstrap/trunk: Changes RELEASE lib/Apache/Bootstrap.pm

2009-07-13 Thread phred
Author: phred
Date: Mon Jul 13 19:11:41 2009
New Revision: 793664

URL: http://svn.apache.org/viewvc?rev=793664view=rev
Log:
Release 0.07

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/RELEASE
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=793664r1=793663r2=793664view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Mon Jul 13 19:11:41 2009
@@ -1,6 +1,6 @@
 Revision history for Apache-Bootstrap
 
-0.07-rc1 Thu Jul 9 15:10:00 PST 2009
+0.07 Mon Jul 13 12:09:00 PST 2009
 - fix syntax error in params validation in new (mp2 param unchecked)
 - warn instead of dying in new if a module is not present, and then
   decide if any modules are present to create a new bootstrap object

Modified: perl/Apache-Bootstrap/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/RELEASE?rev=793664r1=793663r2=793664view=diff
==
--- perl/Apache-Bootstrap/trunk/RELEASE (original)
+++ perl/Apache-Bootstrap/trunk/RELEASE Mon Jul 13 19:11:41 2009
@@ -108,7 +108,7 @@
   b. edit ./Changes:
  - start a new item with incremented version + '-dev'
 
-  =item 0.07-dev
+  =item 0.08-dev
 
   c. bump up version numbers in this file to make it easier to do the
  next release.
@@ -116,5 +116,5 @@
  $ perl -pi -e 's/(\d+)\.(\d+)/join(., $1, $2+1)/eg' RELEASE
 
   d. commit Changes
- % svn ci -m start 0.07-dev cycle Changes RELEASE \
+ % svn ci -m start 0.08-dev cycle Changes RELEASE \
lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=793664r1=793663r2=793664view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Mon Jul 13 19:11:41 2009
@@ -9,7 +9,7 @@
 
 =cut
 
-our $VERSION = '0.07-rc1';
+our $VERSION = '0.07';
 
 use constant MIN_MP2_VER = '1.99022';# mp2 renaming
 




svn commit: r792730 - in /perl/Apache-Bootstrap/trunk: Changes lib/Apache/Bootstrap.pm

2009-07-09 Thread phred
Author: phred
Date: Thu Jul  9 22:17:07 2009
New Revision: 792730

URL: http://svn.apache.org/viewvc?rev=792730view=rev
Log:
rc1 for 0.07

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=792730r1=792729r2=792730view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Thu Jul  9 22:17:07 2009
@@ -1,6 +1,6 @@
 Revision history for Apache-Bootstrap
 
-0.07-dev
+0.07-rc1 Thu Jul 9 15:10:00 PST 2009
 - fix syntax error in params validation in new (mp2 param unchecked)
 - warn instead of dying in new if a module is not present, and then
   decide if any modules are present to create a new bootstrap object

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=792730r1=792729r2=792730view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Thu Jul  9 22:17:07 2009
@@ -9,7 +9,7 @@
 
 =cut
 
-our $VERSION = '0.07-dev';
+our $VERSION = '0.07-rc1';
 
 use constant MIN_MP2_VER = '1.99022';# mp2 renaming
 
@@ -17,7 +17,7 @@
 
 In your Makefile.PL
 
- use Apache::Bootstrap 0.06;
+ use Apache::Bootstrap 0.07;
 
  my $bootstrap;
 




svn commit: r768668 - in /perl/Apache-Bootstrap/trunk: Changes README lib/Apache/Bootstrap.pm t/00-load.t

2009-04-26 Thread phred
Author: phred
Date: Sun Apr 26 07:02:16 2009
New Revision: 768668

URL: http://svn.apache.org/viewvc?rev=768668view=rev
Log:
Fix a bad error in params check for new (mod_perl2 param was unchecked).
Warn instead of dying on check for mp/mp2 versions.  This was spotted
while testing this version on a dual bootstrap system with only
mp1 installed.

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/README
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
perl/Apache-Bootstrap/trunk/t/00-load.t

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=768668r1=768667r2=768668view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Sun Apr 26 07:02:16 2009
@@ -1,8 +1,9 @@
 Revision history for Apache-Bootstrap
 
 0.07-dev
-- Prerequisites are now or instead of and, since we need to support
-  mp1 only installations
+- fix syntax error in params validation in new (mp2 param unchecked)
+- warn instead of dying in new if a module is not present, and then
+  decide if any modules are present to create a new bootstrap object
 
 0.06 Sat Apr 25 14:07:04 PST 2009
 - replace confusing instances of mod_perl1 and mp1 with simply mod_perl

Modified: perl/Apache-Bootstrap/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/README?rev=768668r1=768667r2=768668view=diff
==
--- perl/Apache-Bootstrap/trunk/README (original)
+++ perl/Apache-Bootstrap/trunk/README Sun Apr 26 07:02:16 2009
@@ -5,7 +5,7 @@
 SYNOPSIS
 In your Makefile.PL
 
- use Apache::Bootstrap 0.05;
+ use Apache::Bootstrap 0.06;
 
  my $bootstrap;
 
@@ -57,6 +57,9 @@
  mod_perl  = 0,   # any verison of mp1
  });
 
+These code checks to see if either mp1 or mp2 versions are present. One
+successful version check means that it returns a valid object.
+
   mp_prereqs()
  returns the prerequisites for mod_perl versions in a hash reference
 

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=768668r1=768667r2=768668view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Sun Apr 26 07:02:16 2009
@@ -71,6 +71,9 @@
  mod_perl  = 0,   # any verison of mp1
  });
 
+These code checks to see if either mp1 or mp2 versions are present.
+One successful version check means that it returns a valid object.
+
 =cut
 
 sub new {
@@ -79,7 +82,7 @@
 die 'perldoc Apache::Bootstrap'
   unless $args
ref $args eq 'HASH'
-   ( defined $args-{mod_perl} or defined $args-{mod_perl} );
+   ( defined $args-{mod_perl} or defined $args-{mod_perl2} );
 
 my %self;
 if ( defined $args-{mod_perl} ) {
@@ -90,16 +93,15 @@
 # look for mp1
 eval { require mod_perl };
 if ($@) {
-
-die 'mod_perl not present, cannot bootstrap mp1:  ' . $@ if $@;
+   warn(mod_perl not present, cannot bootstrap mp1);
 
 }
 elsif (( $mod_perl::VERSION  $args-{mod_perl} )
 or ( $mod_perl::VERSION = MIN_MP2_VER ) )
 {
 
-die sprintf( mod_perl version %s not found, we have %s,
-$args-{mod_perl}, $mod_perl::VERSION );
+warn(sprintf( 'mod_perl version %s not found, we have %s',
+$args-{mod_perl}, $mod_perl::VERSION ));
 
 }
 else {
@@ -108,19 +110,21 @@
 $self{mod_perl} = $mod_perl::VERSION;
 }
 
-} elsif ( defined $args-{mod_perl2} ) {
+}
+
+   if ( defined $args-{mod_perl2} ) {
 
 # look for mp2
 eval { require mod_perl2 };
 
 if ($@) {
-die 'mod_perl2 not present, cannot bootstrap mp2:  ' . $@ if $@;
+warn(mod_perl2 not present, cannot bootstrap mp2);
 
 }
 elsif ( $mod_perl2::VERSION  $args-{mod_perl2} ) {
 
-die sprintf( mod_perl2 version %s not found, we have %s,
-$args-{mod_perl2}, $mod_perl2::VERSION );
+warn(sprintf( mod_perl2 version %s not found, we have %s,
+$args-{mod_perl2}, $mod_perl2::VERSION ));
 
 }
 else {
@@ -240,7 +244,7 @@
 
 eval { require mod_perl };
 if ($@) {
-warn(could not satisfy mp1: $@);
+warn(require mod_perl failed);
 return;
 }
 
@@ -250,7 +254,7 @@
 
 eval { require mod_perl2 };
 if ($@) {
-warn(could not satisfy mp2: $@);
+warn(require mod_perl2 failed);
 return

svn commit: r768600 - /perl/Apache-Bootstrap/trunk/README

2009-04-25 Thread phred
Author: phred
Date: Sat Apr 25 21:02:09 2009
New Revision: 768600

URL: http://svn.apache.org/viewvc?rev=768600view=rev
Log:
perldoc -tT lib/Apache/Bootstrap.pm

Modified:
perl/Apache-Bootstrap/trunk/README

Modified: perl/Apache-Bootstrap/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/README?rev=768600r1=768599r2=768600view=diff
==
--- perl/Apache-Bootstrap/trunk/README (original)
+++ perl/Apache-Bootstrap/trunk/README Sat Apr 25 21:02:09 2009
@@ -10,18 +10,17 @@
  my $bootstrap;
 
  BEGIN {
-# make sure we have at least one minimum version required
-$bootstrap = Apache::Bootstrap-new({ mod_perl2 = '1.99022',
-  mod_perl  = 0, });
- }
+# check to make sure we have mod_perl 1 installed
+$bootstrap = Apache::Bootstrap-new({ mod_perl = 0 });
 
- # write the Makefile using a mod_perl version dependent build subsystem
- $bootstrap-WriteMakefile( %maker_options );
+# or check for mod_perl 2
+$bootstrap = Apache::Bootstrap-new({ mod_perl2 = '1.99022' });
+ }
 
  # check for Apache::Test, return the installed version if exists
  my $has_apache_test = $bootstrap-check_for_apache_test();
 
- # see if mod_perl2 is installed
+ # see if mod_perl2 is installed (useful when both mp1 and mp2 are 
installed)
  my $mp_generation = $bootstrap-satisfy_mp_generation( 2 );
 
  unless ($mp_generation) {
@@ -38,16 +37,28 @@
   warn( mod_perl generation $mp_generation was found );
  }
 
+ # write the Makefile using a mod_perl version dependent build subsystem
+ $bootstrap-WriteMakefile( %maker_options );
+
+DESCRIPTION
+Writing modules for mod_perl that work under both mod_perl and mod_perl2
+is not fun.
+
+This module is here to make that endeavour less painful. mod_perl2 is
+great, but a lot of users are still using mod_perl. Migrating to
+mod_perl2 while maintaining mod_perl compatibility isn't easy, and this
+module is here to make that transition as painless as possible.
+
 METHODS
   new()
  # try to find these versions of mod_perl, die if none are found
  $bootstrap = Apache::Bootstrap-new({
  mod_perl2 = 1.99022, # after mp2 renaming
- mod_perl  = 0,   # any version of mp1
+ mod_perl  = 0,   # any verison of mp1
  });
 
   mp_prereqs()
- # returns the prerequisites for mod_perl versions in a hash reference
+ returns the prerequisites for mod_perl versions in a hash reference
 
   check_for_apache_test()
  $apache_test_version = Apache::Bootstrap-check_for_apache_test;
@@ -57,41 +68,22 @@
 
   satisfy_mp_generation()
  # see if mod_perl2 is installed
- my $mp_generation = Apache::Bootstrap-satisfy_mp_generation( 2 );
+ my $mp_generation = $bootstrap-satisfy_mp_generation( 2 );
 
  unless ($mp_generation) {
 
  # no mod_perl2?  look for mod_perl 1
- $mp_generation = Apache::Bootstrap-satisfy_mp_generation( 1 );
+ $mp_generation = $bootstrap-satisfy_mp_generation( 1 );
  }
 
- # any mod_perl version will do
- $mp_generation = Apache::Bootstrap-satisfy_mp_generation();
+ # any mod_perl version will do, check for mp2 first
+ $mp_generation = $bootstrap-satisfy_mp_generation();
  unless ( $mp_generation ) {
  warn( 'No mod_perl installation was found' )
  } else {
  warn( mod_perl generation $mp_generation was found );
  }
 
-Currently the logic for determining the mod_perl generation is as
-follows.
-
- # If a specific generation was passed as an argument,
- # if satisfied
- # return the same generation
- # else
- # die
- # else @ARGV and %ENV will be checked for specific orders
- # if the specification will be found
- # if satisfied
- # return the specified generation
- # else
- # die
- # else if any mp generation is found
- #  return it
- #   else
- #  die
-
   apache_major_version()
  $apache_major_version = $bootstrap-apache_major_version;
 




svn commit: r768601 - in /perl/Apache-Bootstrap/trunk: Changes RELEASE lib/Apache/Bootstrap.pm

2009-04-25 Thread phred
Author: phred
Date: Sat Apr 25 21:12:16 2009
New Revision: 768601

URL: http://svn.apache.org/viewvc?rev=768601view=rev
Log:
0.06 release.  Need to standardize the RELEASE docs as much as possible
across Apache::* modules.

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/RELEASE
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=768601r1=768600r2=768601view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Sat Apr 25 21:12:16 2009
@@ -1,6 +1,6 @@
 Revision history for Apache-Bootstrap
 
-0.06-dev
+0.06 Sat Apr 25 14:07:04 PST 2009
 - replace confusing instances of mod_perl1 and mp1 with simply mod_perl
 
 0.05 Mon Mar 30 10:25:54 PST 2009

Modified: perl/Apache-Bootstrap/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/RELEASE?rev=768601r1=768600r2=768601view=diff
==
--- perl/Apache-Bootstrap/trunk/RELEASE (original)
+++ perl/Apache-Bootstrap/trunk/RELEASE Sat Apr 25 21:12:16 2009
@@ -41,8 +41,8 @@
 
   a. edit ./Changes:
  - find lib -type f -name *.pm | \
- xargs perl -pi -e 's,0.05-dev,0.05-rc1,g'
- - perl -pi -e 's,0.05-dev,0.05-rc1,g' Changes
+ xargs perl -pi -e 's,0.07-dev,0.07-rc1,g'
+ - perl -pi -e 's,0.07-dev,0.07-rc1,g' Changes
 
  - don't commit these (see dev@ archives)
 
@@ -61,7 +61,7 @@
  o dev/perl.apache.org
  o modperl/perl.apache.org
 
-  Subject: [RELEASE CANDIDATE] Apache-Bootstrap 0.05 RC\d+
+  Subject: [RELEASE CANDIDATE] Apache-Bootstrap 0.07 RC\d+
 
(or maybe longer to give most people a chance to catch up). no need
to tag this package
@@ -96,7 +96,7 @@
 5. Announce the package
 
   a. post ... to the modperl, announce lists
-  Subject: [ANNOUNCE] Apache-Bootstrap 0.05
+  Subject: [ANNOUNCE] Apache-Bootstrap 0.07
  include 
   - MD5 sig (as it comes from CPAN upload announce).
   - the latest Changes
@@ -108,7 +108,7 @@
   b. edit ./Changes:
  - start a new item with incremented version + '-dev'
 
-  =item 0.06-dev
+  =item 0.07-dev
 
   c. bump up version numbers in this file to make it easier to do the
  next release.
@@ -116,5 +116,5 @@
  $ perl -pi -e 's/(\d+)\.(\d+)/join(., $1, $2+1)/eg' RELEASE
 
   d. commit Changes
- % svn ci -m start 0.05-dev cycle Changes RELEASE \
+ % svn ci -m start 0.07-dev cycle Changes RELEASE \
lib/Apache/Bootstrap.pm lib/Apache2/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=768601r1=768600r2=768601view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Sat Apr 25 21:12:16 2009
@@ -9,7 +9,7 @@
 
 =cut
 
-our $VERSION = '0.06-dev';
+our $VERSION = '0.06';
 
 use constant MIN_MP2_VER = '1.99022';# mp2 renaming
 
@@ -17,7 +17,7 @@
 
 In your Makefile.PL
 
- use Apache::Bootstrap 0.05;
+ use Apache::Bootstrap 0.06;
 
  my $bootstrap;
 




svn commit: r768602 - in /perl/Apache-Bootstrap/trunk: Changes RELEASE lib/Apache/Bootstrap.pm

2009-04-25 Thread phred
Author: phred
Date: Sat Apr 25 21:16:01 2009
New Revision: 768602

URL: http://svn.apache.org/viewvc?rev=768602view=rev
Log:
Start 0.07 dev cycle

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/RELEASE
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=768602r1=768601r2=768602view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Sat Apr 25 21:16:01 2009
@@ -1,5 +1,7 @@
 Revision history for Apache-Bootstrap
 
+0.07-dev
+
 0.06 Sat Apr 25 14:07:04 PST 2009
 - replace confusing instances of mod_perl1 and mp1 with simply mod_perl
 

Modified: perl/Apache-Bootstrap/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/RELEASE?rev=768602r1=768601r2=768602view=diff
==
--- perl/Apache-Bootstrap/trunk/RELEASE (original)
+++ perl/Apache-Bootstrap/trunk/RELEASE Sat Apr 25 21:16:01 2009
@@ -117,4 +117,4 @@
 
   d. commit Changes
  % svn ci -m start 0.07-dev cycle Changes RELEASE \
-   lib/Apache/Bootstrap.pm lib/Apache2/Bootstrap.pm
+   lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=768602r1=768601r2=768602view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Sat Apr 25 21:16:01 2009
@@ -9,7 +9,7 @@
 
 =cut
 
-our $VERSION = '0.06';
+our $VERSION = '0.07-dev';
 
 use constant MIN_MP2_VER = '1.99022';# mp2 renaming
 




svn commit: r768604 - /perl/Apache-Bootstrap/trunk/Makefile.PL

2009-04-25 Thread phred
Author: phred
Date: Sat Apr 25 21:25:56 2009
New Revision: 768604

URL: http://svn.apache.org/viewvc?rev=768604view=rev
Log:
Add tag target to makefile.

Modified:
perl/Apache-Bootstrap/trunk/Makefile.PL

Modified: perl/Apache-Bootstrap/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Makefile.PL?rev=768604r1=768603r2=768604view=diff
==
--- perl/Apache-Bootstrap/trunk/Makefile.PL (original)
+++ perl/Apache-Bootstrap/trunk/Makefile.PL Sat Apr 25 21:25:56 2009
@@ -24,3 +24,17 @@
 
 return $self-SUPER::test();
 }
+
+sub MY::postamble {
+my $self = shift;
+
+my $string = $self-MM::postamble;
+
+$string .= 'EOF';
+tag :
+   svn copy https://svn.apache.org/repos/asf/perl/Apache-Bootstrap/trunk 
https://svn.apache.org/repos/asf/perl/Apache-Bootstrap/tags/$(VERSION_SYM)
+   @echo update lib/Apache/Bootstrap.pm VERSION now
+EOF
+
+return $string;
+}




svn commit: r768621 - in /perl/Apache-Bootstrap/trunk: Changes lib/Apache/Bootstrap.pm

2009-04-25 Thread phred
Author: phred
Date: Sat Apr 25 22:52:54 2009
New Revision: 768621

URL: http://svn.apache.org/viewvc?rev=768621view=rev
Log:
Change prereq logic from and to or, to allow only one version of
mod_perl to be present for A::B supported modules.


Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=768621r1=768620r2=768621view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Sat Apr 25 22:52:54 2009
@@ -1,6 +1,8 @@
 Revision history for Apache-Bootstrap
 
 0.07-dev
+- Prerequisites are now or instead of and, since we need to support
+  mp1 only installations
 
 0.06 Sat Apr 25 14:07:04 PST 2009
 - replace confusing instances of mod_perl1 and mp1 with simply mod_perl

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=768621r1=768620r2=768621view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Sat Apr 25 22:52:54 2009
@@ -108,9 +108,7 @@
 $self{mod_perl} = $mod_perl::VERSION;
 }
 
-}
-
-if ( defined $args-{mod_perl2} ) {
+} elsif ( defined $args-{mod_perl2} ) {
 
 # look for mp2
 eval { require mod_perl2 };




svn commit: r763100 - /perl/modperl/trunk/todo/2.0.5

2009-04-07 Thread phred
Author: phred
Date: Wed Apr  8 04:29:39 2009
New Revision: 763100

URL: http://svn.apache.org/viewvc?rev=763100view=rev
Log:
Apache::Bootstrap has hit CPAN.

Modified:
perl/modperl/trunk/todo/2.0.5

Modified: perl/modperl/trunk/todo/2.0.5
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/todo/2.0.5?rev=763100r1=763099r2=763100view=diff
==
--- perl/modperl/trunk/todo/2.0.5 (original)
+++ perl/modperl/trunk/todo/2.0.5 Wed Apr  8 04:29:39 2009
@@ -10,4 +10,3 @@
 =
 - Smolder, https://issues.apache.org/jira/browse/INFRA-1612 [pgollucci, ]
 
-




svn commit: r762204 - in /perl/Apache-Bootstrap/trunk: Changes README lib/Apache/Bootstrap.pm t/00-load.t

2009-04-05 Thread phred
Author: phred
Date: Mon Apr  6 04:27:14 2009
New Revision: 762204

URL: http://svn.apache.org/viewvc?rev=762204view=rev
Log:
Fix documentation errors, and find subtle bug where mp1 was looking
for mod_perl1.pm.  Simplify this by using distinct monikers mod_perl 
and mod_perl2 instead of trying to use mod_perl1.

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/README
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
perl/Apache-Bootstrap/trunk/t/00-load.t

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=762204r1=762203r2=762204view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Mon Apr  6 04:27:14 2009
@@ -1,5 +1,8 @@
 Revision history for Apache-Bootstrap
 
+0.06-dev
+- replace confusing instances of mod_perl1 and mp1 with simply mod_perl
+
 0.05 Mon Mar 30 10:25:54 PST 2009
 - change apache test check for wrong version instead of valid a:t config
 

Modified: perl/Apache-Bootstrap/trunk/README
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/README?rev=762204r1=762203r2=762204view=diff
==
--- perl/Apache-Bootstrap/trunk/README (original)
+++ perl/Apache-Bootstrap/trunk/README Mon Apr  6 04:27:14 2009
@@ -1,5 +1,5 @@
 NAME
-Apache::Bootstrap - Bootstraps dual life mod_perl1 and mod_perl2 Apache
+Apache::Bootstrap - Bootstraps dual life mod_perl and mod_perl2 Apache
 modules
 
 SYNOPSIS
@@ -11,7 +11,8 @@
 
  BEGIN {
 # make sure we have at least one minimum version required
-$bootstrap = Apache::Bootstrap-new({ mp2 = '1.99022', mp1 = 0, });
+$bootstrap = Apache::Bootstrap-new({ mod_perl2 = '1.99022',
+  mod_perl  = 0, });
  }
 
  # write the Makefile using a mod_perl version dependent build subsystem
@@ -42,7 +43,7 @@
  # try to find these versions of mod_perl, die if none are found
  $bootstrap = Apache::Bootstrap-new({
  mod_perl2 = 1.99022, # after mp2 renaming
- mod_perl1 = 0,   # any verison of mp1
+ mod_perl  = 0,   # any version of mp1
  });
 
   mp_prereqs()

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=762204r1=762203r2=762204view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Mon Apr  6 04:27:14 2009
@@ -5,11 +5,11 @@
 
 =head1 NAME
 
-Apache::Bootstrap - Bootstraps dual life mod_perl1 and mod_perl2 Apache modules
+Apache::Bootstrap - Bootstraps dual life mod_perl and mod_perl2 Apache modules
 
 =cut
 
-our $VERSION = '0.05';
+our $VERSION = '0.06-dev';
 
 use constant MIN_MP2_VER = '1.99022';# mp2 renaming
 
@@ -23,10 +23,10 @@
 
  BEGIN {
 # check to make sure we have mod_perl 1 installed
-$bootstrap = Apache::Bootstrap-new({ mp1 = 0 });
+$bootstrap = Apache::Bootstrap-new({ mod_perl = 0 });
 
 # or check for mod_perl 2
-$bootstrap = Apache::Bootstrap-new({ mp2 = '1.99022' });
+$bootstrap = Apache::Bootstrap-new({ mod_perl2 = '1.99022' });
  }
 
  # check for Apache::Test, return the installed version if exists
@@ -54,11 +54,11 @@
 
 =head1 DESCRIPTION
 
-Writing modules for mod_perl that work under both mod_perl1 and mod_perl2 is 
not fun.
+Writing modules for mod_perl that work under both mod_perl and mod_perl2 is 
not fun.
 
 This module is here to make that endeavour less painful.  mod_perl2 is great, 
but
-a lot of users are still using mod_perl1.  Migrating to mod_perl2 while 
maintaining
-mod_perl1 compatibility isn't easy, and this module is here to make that 
transition
+a lot of users are still using mod_perl.  Migrating to mod_perl2 while 
maintaining
+mod_perl compatibility isn't easy, and this module is here to make that 
transition
 as painless as possible.
 
 =head1 METHODS
@@ -68,7 +68,7 @@
  # try to find these versions of mod_perl, die if none are found
  $bootstrap = Apache::Bootstrap-new({
  mod_perl2 = 1.99022, # after mp2 renaming
- mod_perl1 = 0,   # any verison of mp1
+ mod_perl  = 0,   # any verison of mp1
  });
 
 =cut
@@ -79,10 +79,10 @@
 die 'perldoc Apache::Bootstrap'
   unless $args
ref $args eq 'HASH'
-   ( defined $args-{mod_perl1} or defined $args-{mod_perl2} );
+   ( defined $args-{mod_perl} or defined $args-{mod_perl} );
 
 my %self;
-if ( defined $args-{mod_perl1} ) {
+if ( defined $args-{mod_perl} ) {
 
 # delete mp2 from inc first, note that we don't delete mod_perl2.pm
 delete $INC{'mod_perl.pm'};
@@ -91,21 +91,21

svn commit: r761081 - in /perl/modperl/branches/1.x: Changes lib/Apache/Status.pm

2009-04-01 Thread phred
Author: phred
Date: Wed Apr  1 21:57:52 2009
New Revision: 761081

URL: http://svn.apache.org/viewvc?rev=761081view=rev
Log:
Fix XSS vulnerability in Apache::Status reported by 
Richard J. Brain, CVE-2009-0796

Modified:
perl/modperl/branches/1.x/Changes
perl/modperl/branches/1.x/lib/Apache/Status.pm

Modified: perl/modperl/branches/1.x/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Changes?rev=761081r1=761080r2=761081view=diff
==
--- perl/modperl/branches/1.x/Changes (original)
+++ perl/modperl/branches/1.x/Changes Wed Apr  1 21:57:52 2009
@@ -10,6 +10,10 @@
 
 =item 1.31-dev
 
+Fix XSS vulnerability in Apache::Status reported by 
+Richard J. Brain, CVE-2009-0796
+[Fred Moyer]
+
 On Win32, mod_perl.h needs to include malloc.h before the perl
 headers, at least when built with USE_ITHREADS
 [Steve Hay]

Modified: perl/modperl/branches/1.x/lib/Apache/Status.pm
URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/lib/Apache/Status.pm?rev=761081r1=761080r2=761081view=diff
==
--- perl/modperl/branches/1.x/lib/Apache/Status.pm (original)
+++ perl/modperl/branches/1.x/lib/Apache/Status.pm Wed Apr  1 21:57:52 2009
@@ -72,7 +72,7 @@
$r-print(symdump($r, $newQ-($r), $qs));
 }
 else {
-   my $uri = $r-uri;
+   my $uri = $r-location;
$r-print(
map { qq[a href=$uri?$_$status{$_}/abr\n] } keys %status
 );
@@ -140,7 +140,7 @@
 sub status_inc {
 my($r,$q) = @_;
 my(@retval, $module, $v, $file);
-my $uri = $r-uri;
+my $uri = $r-location;
 push @retval, table border=1;
 push @retval, 
 tr, 
@@ -198,7 +198,7 @@
 my($r,$q) = @_;
 my(@retval);
 local $_;
-my $uri = $r-uri;
+my $uri = $r-location;
 my $cache = __PACKAGE__-registry_cache;
 push @retval, bClick on package name to see its symbol table/bp\n;
 foreach (sort keys %$cache) {




svn commit: r760074 - in /perl/Apache-Bootstrap/trunk: Changes lib/Apache/Bootstrap.pm t/00-load.t

2009-03-30 Thread phred
Author: phred
Date: Mon Mar 30 18:03:27 2009
New Revision: 760074

URL: http://svn.apache.org/viewvc?rev=760074view=rev
Log:
0.05 to CPAN.

Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
perl/Apache-Bootstrap/trunk/t/00-load.t

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=760074r1=760073r2=760074view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Mon Mar 30 18:03:27 2009
@@ -1,6 +1,9 @@
 Revision history for Apache-Bootstrap
 
-0.05-rc1
+0.05 Mon Mar 30 10:25:54 PST 2009
+- change apache test check for wrong version instead of valid a:t config
+
+0.05-rc1 Mon Jan 21 14:34:83 PST 2009
 - code imported to ASF repository, thanks to pgollucci
 
 0.04_02  Sat Nov 08 17:07:56 PST 2008

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm?rev=760074r1=760073r2=760074view=diff
==
--- perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm (original)
+++ perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm Mon Mar 30 18:03:27 2009
@@ -9,7 +9,7 @@
 
 =cut
 
-our $VERSION = '0.05-rc1';
+our $VERSION = '0.05';
 
 use constant MIN_MP2_VER = '1.99022';# mp2 renaming
 

Modified: perl/Apache-Bootstrap/trunk/t/00-load.t
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/t/00-load.t?rev=760074r1=760073r2=760074view=diff
==
--- perl/Apache-Bootstrap/trunk/t/00-load.t (original)
+++ perl/Apache-Bootstrap/trunk/t/00-load.t Mon Mar 30 18:03:27 2009
@@ -62,13 +62,12 @@
 # need a bootstrap object
 my $bootstrap = $dual_bootstrap || $mp2_bootstrap || $mp1_bootstrap;
 
-my $at_version = $bootstrap-check_for_apache_test;
+my $at_version = $bootstrap-check_for_apache_test(
+$Apache::Test::VERSION + 0.01);
 
-cmp_ok( $at_version, '==', $Apache::Test::VERSION, 'check a:t version' );
+ok(!$at_version, 'check for non existing a:t version (+0.01)');
 }
 
-# TODO - figure out how to test absence of apache::test
-
 # delete mod_perl from INC
 delete $INC{'mod_perl.pm'};
 




svn commit: r736182 - in /perl/Apache-Bootstrap/trunk: Changes RELEASE lib/Apache/Bootstrap.pm

2009-01-20 Thread phred
Author: phred
Date: Tue Jan 20 17:10:10 2009
New Revision: 736182

URL: http://svn.apache.org/viewvc?rev=736182view=rev
Log:
Add borrowed RELEASE file from A::R, prepare rc1

Added:
perl/Apache-Bootstrap/trunk/RELEASE
Modified:
perl/Apache-Bootstrap/trunk/Changes
perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Changes?rev=736182r1=736181r2=736182view=diff
==
--- perl/Apache-Bootstrap/trunk/Changes (original)
+++ perl/Apache-Bootstrap/trunk/Changes Tue Jan 20 17:10:10 2009
@@ -1,6 +1,6 @@
 Revision history for Apache-Bootstrap
 
-0.05
+0.05-rc1
 - code imported to ASF repository, thanks to pgollucci
 
 0.04_02  Sat Nov 08 17:07:56 PST 2008

Added: perl/Apache-Bootstrap/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/RELEASE?rev=736182view=auto
==
--- perl/Apache-Bootstrap/trunk/RELEASE (added)
+++ perl/Apache-Bootstrap/trunk/RELEASE Tue Jan 20 17:10:10 2009
@@ -0,0 +1,120 @@
+Instructions for Apache-Bootstrap Release Manager
+
+0.  Ask the PMC to verify that you have the appropriate CPAN permissions
+on d...@perl.
+
+make sure your public key is in the KEYS file in the mod_perl docs.
+you should only need to do this if this is your first time playing
+Release Manager
+
+ $ cd mod_perl-docs
+ $ grep $USER src/dist/KEYS
+
+note that the KEYS file itself contains all the instructions you
+need on how to add your key.  if you need further help on gpg
+(like how to create a key in the first place) you can look here
+
+  http://people.apache.org/~geoff/gpghowto.html
+
+Copy the KEYS file into place:
+% scp KEYS www.apache.org:/www/www.apache.org/dist/perl/KEYS
+
+If this is your first release, ask someone with APML karma on PAUSE
+to verify you have the appropriate permissions.  Likely someone on
+the PMC can do this.
+
+a. login into https://pause.perl.org
+b. menu click: Select Mailinglist/Action
+c. choose APML and share_perms and click go
+d. click 3.2 Make somebody else co-maintainer
+e. choose the modules to give the perms to
+   type the username of the new co-maintainer
+f. if you happen to know that packages were added this release,
+   make sure you give the correct permissions to them.
+
+ MAINTAINER_BUILDING_RELEASE=1 perl Makefile.PL
+
+1. 'make disttest' - to make sure nothing is missing from the manifest.
+   Now 'make dist', and test this generated package (not svn)
+   with as many configurations as possible on as many platforms
+   as possible.
+
+  a. edit ./Changes:
+ - find lib -type f -name *.pm | \
+ xargs perl -pi -e 's,0.05-dev,0.05-rc1,g'
+ - perl -pi -e 's,0.05-dev,0.05-rc1,g' Changes
+
+ - don't commit these (see dev@ archives)
+
+  b. nuke any preinstalled Apache-Bootstrap libs and run 'make test'
+
+  c. test that you can 'make install' and then run 'make test' again
+
+  d. test whether we still 100% OK on systems with no LWP:
+
+ % APACHE_TEST_PRETEND_NO_LWP=1 make test
+
+2. once confident that the package is good, upload a release candidate
+   to people.apache.org/~username and post 24 hour-ish candidate alert
+   to the various lists
+
+ o dev/perl.apache.org
+ o modperl/perl.apache.org
+
+  Subject: [RELEASE CANDIDATE] Apache-Bootstrap 0.05 RC\d+
+
+   (or maybe longer to give most people a chance to catch up). no need
+   to tag this package
+
+  a. if problems are detected during stage 2, repeat stages 1 and 2.
+
+3. when the package has been reported to be good, prepare a new
+   package to be released
+
+  a. edit ./Changes:
+ - remove -rc\d+
+ - add release date
+
+  b. rerun:
+ % perl Makefile.PL
+ make sure tag looks right
+ % make -n tag
+
+  c. commit Changes
+ % svn ci Changes
+
+  d. tag
+ % make tag
+
+  e. create the final package
+ % make dist
+
+  f. test the final package again at least once
+
+4. Upload the package to CPAN
+
+5. Announce the package
+
+  a. post ... to the modperl, announce lists
+  Subject: [ANNOUNCE] Apache-Bootstrap 0.05
+ include 
+  - MD5 sig (as it comes from CPAN upload announce).
+  - the latest Changes
+
+6. Prepare for the next cycle
+
+  a. increment version in lib/Apache/Bootstrap.pm
+
+  b. edit ./Changes:
+ - start a new item with incremented version + '-dev'
+
+  =item 0.06-dev
+
+  c. bump up version numbers in this file to make it easier to do the
+ next release.
+
+ $ perl -pi -e 's/(\d+)\.(\d+)/join(., $1, $2+1)/eg' RELEASE
+
+  d. commit Changes
+ % svn ci -m start 0.05-dev cycle Changes RELEASE \
+   lib/Apache/Bootstrap.pm lib/Apache2/Bootstrap.pm

Modified: perl/Apache-Bootstrap/trunk/lib/Apache/Bootstrap.pm
URL: 
http

svn commit: r632247 - /perl/modperl/trunk/

2008-02-28 Thread phred
Author: phred
Date: Thu Feb 28 23:20:31 2008
New Revision: 632247

URL: http://svn.apache.org/viewvc?rev=632247view=rev
Log:
Revert earlier commit r630678, more needs to be done before the other
modules can be added to external.
Thought I committed this yesterday but it appears to have not gone through.

Modified:
perl/modperl/trunk/   (props changed)

Propchange: perl/modperl/trunk/
--
--- svn:externals (original)
+++ svn:externals Thu Feb 28 23:20:31 2008
@@ -1,4 +1,2 @@
-Apache-SizeLimit https://svn.apache.org/repos/asf/perl/Apache-SizeLimit/trunk
-Apache-Reload https://svn.apache.org/repos/asf/perl/Apache-Reload/trunk
 Apache-Test https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
 docs
https://svn.apache.org/repos/asf/perl/modperl/docs/trunk/src/docs/2.0




svn commit: r631338 - in /perl/Apache-Reload/trunk: Changes RELEASE lib/Apache/Reload.pm lib/Apache2/Reload.pm

2008-02-26 Thread phred
Author: phred
Date: Tue Feb 26 11:06:00 2008
New Revision: 631338

URL: http://svn.apache.org/viewvc?rev=631338view=rev
Log:
start 0.11-dev cycle

Modified:
perl/Apache-Reload/trunk/Changes
perl/Apache-Reload/trunk/RELEASE
perl/Apache-Reload/trunk/lib/Apache/Reload.pm
perl/Apache-Reload/trunk/lib/Apache2/Reload.pm

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=631338r1=631337r2=631338view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Tue Feb 26 11:06:00 2008
@@ -6,6 +6,9 @@
 
 =over 1
 
+=item 0.11-dev
+
+
 =item 0.10 February 25, 2008
 
 Add make disttest procedure to RELEASE document - fred

Modified: perl/Apache-Reload/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/RELEASE?rev=631338r1=631337r2=631338view=diff
==
--- perl/Apache-Reload/trunk/RELEASE (original)
+++ perl/Apache-Reload/trunk/RELEASE Tue Feb 26 11:06:00 2008
@@ -26,7 +26,7 @@
 a. login into https://pause.perl.org
 b. menu click: Select Mailinglist/Action
 c. choose APML and share_perms and click go
-d. click 3.1 Make somebody else co-maintainer
+d. click 3.2 Make somebody else co-maintainer
 e. choose the modules to give the perms to
type the username of the new co-maintainer
 f. if you happen to know that packages were added this release,
@@ -41,8 +41,8 @@
 
   a. edit ./Changes:
  - find lib -type f -name *.pm | \
- xargs perl -pi -e 's,0.10-dev,0.10-rc1,g'
- - perl -pi -e 's,0.10-dev,0.10-rc1,g' Changes
+ xargs perl -pi -e 's,0.11-dev,0.11-rc1,g'
+ - perl -pi -e 's,0.11-dev,0.11-rc1,g' Changes
 
  - don't commit these (see dev@ archives)
 
@@ -61,7 +61,7 @@
  o dev/perl.apache.org
  o modperl/perl.apache.org
 
-  Subject: [RELEASE CANDIDATE] Apache-Reload 0.10 RC\d+
+  Subject: [RELEASE CANDIDATE] Apache-Reload 0.11 RC\d+
 
(or maybe longer to give most people a chance to catch up). no need
to tag this package
@@ -96,7 +96,7 @@
 5. Announce the package
 
   a. post ... to the modperl, announce lists
-  Subject: [ANNOUNCE] Apache-Reload 0.10
+  Subject: [ANNOUNCE] Apache-Reload 0.11
  include 
   - MD5 sig (as it comes from CPAN upload announce).
   - the latest Changes
@@ -108,7 +108,7 @@
   b. edit ./Changes:
  - start a new item with incremented version + '-dev'
 
-  =item 0.11-dev
+  =item 0.12-dev
 
   c. bump up version numbers in this file to make it easier to do the
  next release.
@@ -116,4 +116,5 @@
  $ perl -pi -e 's/(\d+)\.(\d+)/join(., $1, $2+1)/eg' RELEASE
 
   d. commit Changes
- % svn ci -m start 0.11-dev cycle Changes RELEASE lib/Apache/Reload.pm
+ % svn ci -m start 0.11-dev cycle Changes RELEASE \
+   lib/Apache/Reload.pm lib/Apache2/Reload.pm

Modified: perl/Apache-Reload/trunk/lib/Apache/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache/Reload.pm?rev=631338r1=631337r2=631338view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache/Reload.pm Tue Feb 26 11:06:00 2008
@@ -17,7 +17,7 @@
 
 use strict;
 
-$Apache::Reload::VERSION = '0.10';
+$Apache::Reload::VERSION = '0.11';
 
 use vars qw(%INCS %Stat $TouchTime %UndefFields);
 

Modified: perl/Apache-Reload/trunk/lib/Apache2/Reload.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/lib/Apache2/Reload.pm?rev=631338r1=631337r2=631338view=diff
==
--- perl/Apache-Reload/trunk/lib/Apache2/Reload.pm (original)
+++ perl/Apache-Reload/trunk/lib/Apache2/Reload.pm Tue Feb 26 11:06:00 2008
@@ -20,7 +20,7 @@
 
 use mod_perl2;
 
-our $VERSION = '0.10';
+our $VERSION = '0.11';
 
 use Apache2::Const -compile = qw(OK);
 




svn commit: r631082 - /perl/Apache-Reload/trunk/Changes

2008-02-25 Thread phred
Author: phred
Date: Mon Feb 25 20:51:04 2008
New Revision: 631082

URL: http://svn.apache.org/viewvc?rev=631082view=rev
Log:
0.10 release

Modified:
perl/Apache-Reload/trunk/Changes

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=631082r1=631081r2=631082view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Mon Feb 25 20:51:04 2008
@@ -6,7 +6,7 @@
 
 =over 1
 
-=item 0.10-RC5
+=item 0.10 February 25, 2008
 
 Add make disttest procedure to RELEASE document - fred
 




svn commit: r631084 - /perl/Apache-Reload/tags/0_10/

2008-02-25 Thread phred
Author: phred
Date: Mon Feb 25 20:52:18 2008
New Revision: 631084

URL: http://svn.apache.org/viewvc?rev=631084view=rev
Log:
Tag 0_10

Added:
perl/Apache-Reload/tags/0_10/
  - copied from r631083, perl/Apache-Reload/trunk/



svn commit: r630668 - in /perl/Apache-SizeLimit/trunk: Changes lib/Apache/SizeLimit.pm lib/Apache/SizeLimit/Core.pm lib/Apache2/SizeLimit.pm t/response/TestApache/basic.pm t/response/TestApache2/basic

2008-02-24 Thread phred
Author: phred
Date: Sun Feb 24 12:20:07 2008
New Revision: 630668

URL: http://svn.apache.org/viewvc?rev=630668view=rev
Log:
Fix a bug where _platform_check_size was being called without a class
reference when USE_SMAPS=0.  Export Apache::SizeLimit::Core package
variables to Apache::SizeLimit and Apache2::SizeLimit namespace.

Reviewed-By:  phred, geoff
Submitted-By: Jeremy Goodridge [EMAIL PROTECTED]
Modified-By:  Fred Moyer [EMAIL PROTECTED]
Message-ID:   47BD8407.8020802 () modperlcookbook ! org


Modified:
perl/Apache-SizeLimit/trunk/Changes
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm
perl/Apache-SizeLimit/trunk/t/response/TestApache/basic.pm
perl/Apache-SizeLimit/trunk/t/response/TestApache2/basic.pm

Modified: perl/Apache-SizeLimit/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?rev=630668r1=630667r2=630668view=diff
==
--- perl/Apache-SizeLimit/trunk/Changes (original)
+++ perl/Apache-SizeLimit/trunk/Changes Sun Feb 24 12:20:07 2008
@@ -8,6 +8,13 @@
 
 =item 0.92-dev
 
+Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit
+from Apache::SizeLimit::Core.
+Call _platform_check_size as a class method to prevent error when
+USE_SMAPS=0, RT #33303
+Reported by: [EMAIL PROTECTED]
+[Fred Moyer [EMAIL PROTECTED]]
+
   *** HEADS UP - SHARED CODE BASE - HEADS UP  ***
   Apache-SizeLimit has been hybridized.
   It has been split into 3 packages.  

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=630668r1=630667r2=630668view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Sun Feb 24 12:20:07 2008
@@ -32,6 +32,9 @@
  $MIN_SHARE_SIZE
  $CHECK_EVERY_N_REQUESTS
  $START_TIME
+ $USE_SMAPS
+ $VERSION
+ $REQUEST_COUNT
 );
 use vars qw(@ISA);
 @ISA = qw(Apache::SizeLimit::Core);

Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm?rev=630668r1=630667r2=630668view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit/Core.pm Sun Feb 24 
12:20:07 2008
@@ -38,6 +38,9 @@
 @ISA = qw(Exporter);
 
 @EXPORT_OK = qw(
+$VERSION
+$REQUEST_COUNT
+$USE_SMAPS
 $MAX_PROCESS_SIZE
 $MAX_UNSHARED_SIZE
 $MIN_SHARE_SIZE
@@ -111,7 +114,9 @@
 }
 
 sub _check_size {
-my ($size, $share) = _platform_check_size();
+my $class = shift;
+
+my ($size, $share) = $class-_platform_check_size();
 
 return ($size, $share, $size - $share);
 }

Modified: perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm?rev=630668r1=630667r2=630668view=diff
==
--- perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm (original)
+++ perl/Apache-SizeLimit/trunk/lib/Apache2/SizeLimit.pm Sun Feb 24 12:20:07 
2008
@@ -40,6 +40,9 @@
  $MIN_SHARE_SIZE
  $CHECK_EVERY_N_REQUESTS
  $START_TIME
+ $USE_SMAPS
+ $VERSION
+ $REQUEST_COUNT
 );
 our @ISA = qw(Apache::SizeLimit::Core);
 

Modified: perl/Apache-SizeLimit/trunk/t/response/TestApache/basic.pm
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/response/TestApache/basic.pm?rev=630668r1=630667r2=630668view=diff
==
--- perl/Apache-SizeLimit/trunk/t/response/TestApache/basic.pm (original)
+++ perl/Apache-SizeLimit/trunk/t/response/TestApache/basic.pm Sun Feb 24 
12:20:07 2008
@@ -15,7 +15,7 @@
 sub handler {
 my $r = shift;
 
-plan $r, tests = 12;
+plan $r, tests = 13;
 
 ok( ! Apache::SizeLimit-_limits_are_exceeded(),
 'check that _limits_are_exceeded() returns false without any limits 
set' );
@@ -23,6 +23,15 @@
 {
 my ( $size, $shared ) = Apache::SizeLimit-_check_size();
 cmp_ok( $size, '', 0, 'proc size is reported  0

svn commit: r630678 - /perl/modperl/trunk/

2008-02-24 Thread phred
Author: phred
Date: Sun Feb 24 12:49:58 2008
New Revision: 630678

URL: http://svn.apache.org/viewvc?rev=630678view=rev
Log:
Update svn:external list to include Apache::Reload and Apache::SizeLimit

Modified:
perl/modperl/trunk/   (props changed)

Propchange: perl/modperl/trunk/
--
--- svn:externals (original)
+++ svn:externals Sun Feb 24 12:49:58 2008
@@ -1,2 +1,4 @@
+Apache-SizeLimit https://svn.apache.org/repos/asf/perl/Apache-SizeLimit/trunk
+Apache-Reload https://svn.apache.org/repos/asf/perl/Apache-Reload/trunk
 Apache-Test https://svn.apache.org/repos/asf/perl/Apache-Test/trunk
 docs
https://svn.apache.org/repos/asf/perl/modperl/docs/trunk/src/docs/2.0




svn commit: r630679 - /perl/modperl/trunk/Changes

2008-02-24 Thread phred
Author: phred
Date: Sun Feb 24 12:57:23 2008
New Revision: 630679

URL: http://svn.apache.org/viewvc?rev=630679view=rev
Log:
fix spelling error

Modified:
perl/modperl/trunk/Changes

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=630679r1=630678r2=630679view=diff
==
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Sun Feb 24 12:57:23 2008
@@ -38,7 +38,7 @@
 instead of $r-pool itself, ensuring they run _before_ any other
 $r-pool cleanups [Torsten Foertsch]
 
-Fix a bug that would prevent pnotes from being cleaned up proprely
+Fix a bug that would prevent pnotes from being cleaned up properly
 at the end of the request [Torsten Foertsch]
 
 On Win32, embed the manifest file, if present, in mod_perl.so,




svn commit: r628250 - /perl/Apache-Reload/trunk/Makefile.PL

2008-02-16 Thread phred
Author: phred
Date: Sat Feb 16 00:03:37 2008
New Revision: 628250

URL: http://svn.apache.org/viewvc?rev=628250view=rev
Log:
Fix a small spelling error found while testing.

Modified:
perl/Apache-Reload/trunk/Makefile.PL

Modified: perl/Apache-Reload/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Makefile.PL?rev=628250r1=628249r2=628250view=diff
==
--- perl/Apache-Reload/trunk/Makefile.PL (original)
+++ perl/Apache-Reload/trunk/Makefile.PL Sat Feb 16 00:03:37 2008
@@ -224,7 +224,7 @@
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] sorry, cannot run tests without a properly
 [EMAIL PROTECTED] configured Apache-Test environment, mininum
[EMAIL PROTECTED] Apache::Test version needes is $at_min_ver
[EMAIL PROTECTED] Apache::Test version needed is $at_min_ver
 [EMAIL PROTECTED]
 EOF
 }




svn commit: r627753 - /perl/Apache-Reload/trunk/MANIFEST

2008-02-14 Thread phred
Author: phred
Date: Thu Feb 14 06:13:58 2008
New Revision: 627753

URL: http://svn.apache.org/viewvc?rev=627753view=rev
Log:
Forgot to include all.t in the MANIFEST - perhaps I should follow my
own additions to RELEASE :) Thanks to Steve Hay for the spot.


Modified:
perl/Apache-Reload/trunk/MANIFEST

Modified: perl/Apache-Reload/trunk/MANIFEST
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/MANIFEST?rev=627753r1=627752r2=627753view=diff
==
--- perl/Apache-Reload/trunk/MANIFEST (original)
+++ perl/Apache-Reload/trunk/MANIFEST Thu Feb 14 06:13:58 2008
@@ -5,6 +5,7 @@
 lib/Apache/Reload.pm
 lib/Apache2/Reload.pm
 t/conf/extra.last.conf.in
+t/all.t
 t/reload.t
 t/lib/Apache/TestReload.pm
 t/lib/Apache2/TestReload.pm




svn commit: r627550 - in /perl/Apache-Reload/trunk: Changes t/conf/extra.last.conf.in

2008-02-13 Thread phred
Author: phred
Date: Wed Feb 13 10:10:02 2008
New Revision: 627550

URL: http://svn.apache.org/viewvc?rev=627550view=rev
Log:
If PERL is defined, load mod_perl manually, thanks to Steve Hay for the spot.

Modified:
perl/Apache-Reload/trunk/Changes
perl/Apache-Reload/trunk/t/conf/extra.last.conf.in

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=627550r1=627549r2=627550view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Wed Feb 13 10:10:02 2008
@@ -8,6 +8,9 @@
 
 =item 0.10-RC3
 
+Load mod_perl manually if PERL is defined, thanks to Steve Hay for the
+spot - fred
+
 Add make disttest procedure to RELEASE document - fred
 
 Check for Apache::Test version 1.30, needed to run tests - fred

Modified: perl/Apache-Reload/trunk/t/conf/extra.last.conf.in
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/t/conf/extra.last.conf.in?rev=627550r1=627549r2=627550view=diff
==
--- perl/Apache-Reload/trunk/t/conf/extra.last.conf.in (original)
+++ perl/Apache-Reload/trunk/t/conf/extra.last.conf.in Wed Feb 13 10:10:02 2008
@@ -1,3 +1,9 @@
+IfDefine PERL
+ LoadModule perl_module modules/mod_perl.so
+/IfDefine
+IfDefine PERL
+ AddModule mod_perl.c
+/IfDefine
 IfModule mod_perl.c
 IfDefine APACHE2
 PerlModule Apache2::Reload




svn commit: r620695 - /perl/Apache-Reload/trunk/t/all.t

2008-02-11 Thread phred
Author: phred
Date: Mon Feb 11 19:35:02 2008
New Revision: 620695

URL: http://svn.apache.org/viewvc?rev=620695view=rev
Log:
Skip all tests if mod_perl.c is not present, irregardless of the operating
system.  Win32 test compatibility will be handled (hopefully) via IfDefine
PERL pragma.

Added:
perl/Apache-Reload/trunk/t/all.t

Added: perl/Apache-Reload/trunk/t/all.t
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/t/all.t?rev=620695view=auto
==
--- perl/Apache-Reload/trunk/t/all.t (added)
+++ perl/Apache-Reload/trunk/t/all.t Mon Feb 11 19:35:02 2008
@@ -0,0 +1,7 @@
+use strict;
+use warnings FATAL = 'all';
+
+use Apache::Test;
+plan tests = 1, need_module('mod_perl.c');
+
+ok(1);
\ No newline at end of file




svn commit: r611479 - /perl/Apache-Reload/trunk/Changes

2008-01-12 Thread phred
Author: phred
Date: Sat Jan 12 13:00:32 2008
New Revision: 611479

URL: http://svn.apache.org/viewvc?rev=611479view=rev
Log:
note change to release procedure, check for a:t 1.3

Modified:
perl/Apache-Reload/trunk/Changes

Modified: perl/Apache-Reload/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Changes?rev=611479r1=611478r2=611479view=diff
==
--- perl/Apache-Reload/trunk/Changes (original)
+++ perl/Apache-Reload/trunk/Changes Sat Jan 12 13:00:32 2008
@@ -6,7 +6,11 @@
 
 =over 1
 
-=item 0.10-dev
+=item 0.10-RC3
+
+Add make disttest procedure to RELEASE document - fred
+
+Check for Apache::Test version 1.30, needed to run tests - fred
 
 Apache::Reload and Apache2::Reload bundled for CPAN release
 This release incorporates unreleased changes in 0.08 and 0.09




svn commit: r611104 - /perl/Apache-Reload/trunk/MANIFEST

2008-01-11 Thread phred
Author: phred
Date: Fri Jan 11 00:35:13 2008
New Revision: 611104

URL: http://svn.apache.org/viewvc?rev=611104view=rev
Log:
Add extra.last.conf.in to the MANIFEST.  I managed to get through two
release candidates before being informed it was broken ;)

Modified:
perl/Apache-Reload/trunk/MANIFEST

Modified: perl/Apache-Reload/trunk/MANIFEST
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/MANIFEST?rev=611104r1=611103r2=611104view=diff
==
--- perl/Apache-Reload/trunk/MANIFEST (original)
+++ perl/Apache-Reload/trunk/MANIFEST Fri Jan 11 00:35:13 2008
@@ -4,6 +4,7 @@
 LICENSE
 lib/Apache/Reload.pm
 lib/Apache2/Reload.pm
+t/conf/extra.last.conf.in
 t/reload.t
 t/lib/Apache/TestReload.pm
 t/lib/Apache2/TestReload.pm




svn commit: r611105 - /perl/Apache-Reload/trunk/RELEASE

2008-01-11 Thread phred
Author: phred
Date: Fri Jan 11 00:42:28 2008
New Revision: 611105

URL: http://svn.apache.org/viewvc?rev=611105view=rev
Log:
add make disttest to identify any files missing from the manifest

Modified:
perl/Apache-Reload/trunk/RELEASE

Modified: perl/Apache-Reload/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/RELEASE?rev=611105r1=611104r2=611105view=diff
==
--- perl/Apache-Reload/trunk/RELEASE (original)
+++ perl/Apache-Reload/trunk/RELEASE Fri Jan 11 00:42:28 2008
@@ -34,9 +34,10 @@
 
  MAINTAINER_BUILDING_RELEASE=1 perl Makefile.PL
 
-1. 'make dist' - to make sure nothing is missing from the manifest,
-   etc. Now test this generated package (not svn) with as many
-   configurations as possible on as many platforms as possible.
+1. 'make disttest' - to make sure nothing is missing from the manifest.
+   Now 'make dist', and test this generated package (not svn)
+   with as many configurations as possible on as many platforms
+   as possible.
 
   a. edit ./Changes:
  - find lib -type f -name *.pm | \




svn commit: r608149 - /perl/Apache-Reload/trunk/Makefile.PL

2008-01-02 Thread phred
Author: phred
Date: Wed Jan  2 09:14:25 2008
New Revision: 608149

URL: http://svn.apache.org/viewvc?rev=608149view=rev
Log:
Check for Apache::Test v1.30, needed to run the tests (t_write_test_lib).
Don't run any tests if Apache::Test isn't installed.

Modified:
perl/Apache-Reload/trunk/Makefile.PL

Modified: perl/Apache-Reload/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Makefile.PL?rev=608149r1=608148r2=608149view=diff
==
--- perl/Apache-Reload/trunk/Makefile.PL (original)
+++ perl/Apache-Reload/trunk/Makefile.PL Wed Jan  2 09:14:25 2008
@@ -5,6 +5,7 @@
 my %prereqs = ();
 my %mp2 = ( mod_perl2 = 1.99022 );
 my %mp1 = ( mod_perl  = 0 );
+my $at_min_ver = 1.30;
 
 my $mp_gen;
 if ($ENV{MOD_PERL_2_BUILD}) {
@@ -51,6 +52,12 @@
 sub check_for_apache_test {
 return unless eval {
 require Apache::Test;
+if ($Apache::Test::VERSION  $at_min_ver) {
+warn Apache::Test version is  . $Apache::Test::VERSION . 
+, minimum version required is $at_min_ver . 
+, tests will be skipped\n;
+die;
+}
 require Apache::TestMM;
 require Apache::TestRunPerl;
 1;
@@ -212,7 +219,14 @@
 
 return $self-Apache::TestMM::test(@_) if $HAS_APACHE_TEST;
 
-return $self-SUPER::test(@_);
+return EOF
+test::
[EMAIL PROTECTED]
[EMAIL PROTECTED] sorry, cannot run tests without a properly
[EMAIL PROTECTED] configured Apache-Test environment, mininum
[EMAIL PROTECTED] Apache::Test version needes is $at_min_ver
[EMAIL PROTECTED]
+EOF
 }
 
 sub clean {




  1   2   >