Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220909 - www-apache/mod_perl version bump to 2.0.4
Summary: www-apache/mod_perl version bump to 2.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
URL: http://apache.org/dist/perl/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 11:59 UTC by Sergiy Borodych
Modified: 2008-06-06 19:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergiy Borodych 2008-05-08 11:59:00 UTC
2.0.4 April 16, 2008

Fix $r->location corruption under certain conditions
[Gozer]

Fix a crash when spawning Perl threads under Perl 5.10
[Gozer]

Fix erratic behaviour when filters were used with Perl 5.10
[Gozer]

Fix problems with redefinitions of perl_free as free and perl_malloc
as malloc on Win32, as described at
 http://marc.info/?l=apache-modperl&m=119896407510526&w=2
[Tom Donovan]

Fix a crash when running a sub-request from within a filter where
mod_perl was not the content handler. [Gozer]

Refactor tests to use keepalives instead of same_interp [Gozer, Phred]

Apache2::Reload has been moved to an externally maintained
CPAN distribution [Fred Moyer <fred@redhotpenguin.com>]

PerlCleanupHandler are now registered with a subpool of $r->pool,
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 properly
at the end of the request [Torsten Foertsch]

On Win32, embed the manifest file, if present, in mod_perl.so,
so as to work with VC 8 [Steve Hay, Randy Kobes]

Expose apr_thread_rwlock_t with the APR::ThreadRWLock module
[Torsten Foertsch]

Don't waste an extra interpreter anymore under threaded MPMs when using a 
modperl handler [Torsten Foertsch] 

Fix a bug that could cause a crash when using $r->push_handlers() multiple
times for a phase that has no configured handlers [Torsten Foertsch]

Catch up with some httpd API changes
  2.2.4: 
   The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive. ap_get_server_version() is now
deprecated, and is replaced by ap_get_server_banner() and
ap_get_server_description(). [Jeff Trawick]

  2.3.0:
ap_get_server_version() has been removed. Third-party modules must
now use ap_get_server_banner() or ap_get_server_description().
[Gozer]

fixed Apache2::compat Apache2::ServerUtil::server_root() resolution
issues [Joshua Hoblitt]

*) SECURITY: CVE-2007-1349 (cve.mitre.org)
fix unescaped variable interprolation in regular expression
[Randal L. Schwartz <merlyn@stonehenge.com>, Fred Moyer <fred@redhotpenguin.com>]

Make $r->the_request() writeable
[Fred Moyer <fred@redhotpenguin.com>]

fix ModPerl::RegistryCooker::read_script to handle all possible
errors, previously there was a case where Apache2::Const::OK was
returned on an error.  [Eivind Eklund <eeklund@gmail.com>]

a minor compilation warning resolved in modperl_handler_new_from_sv
[Stas]

a minor compilation warning resolved in modperl_gtop_size_string
[Stas]

Prevent direct use of _deprecated_ Apache2::ReadConfig in
<Perl> sections with httpd Alias directives from 
incorrectly generating
'The Alias directive in xxxxx at line y will probably never match'
messages.
[Philip M. Gollucci <pgollucci@p6m78g.com>]

Prevent Apache2::PerSections::symdump() from returning invalid
httpd.conf snippets like 'Alias undef'
[Philip M. Gollucci <pgollucci@p6m78g.com>]

Require B-Size 0.9 for Apache2::Status which fixes
Can't call method "script_name" on an undefined value
[Philip M. Gollucci <pgollucci@p6m78g.com>]

-march=pentium4 or anything with an = in it in CCFLAGS or @ARGV
that gets passed to xs/APR/APR/Makefile.PL broke the @ARGV
parsing.  I.E. FreeBSD port builds when users had CPUTYPE
set in /etc/make.conf.
[Philip M. Gollucci <pgollucci@p6m7g8.com>]

Fixes to get bleed-ithread (5.9.5+) to comile again. 
[Philip M. Gollucci <pgollucci@p6m7g8.com>]
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2008-06-01 12:37:05 UTC
in cvs, thanks
Comment 2 Sergiy Borodych 2008-06-02 12:13:23 UTC
please fix problem with config files also


# emerge -vu www-apache/mod_perl
...
install: cannot stat `/usr/portage/www-apache/mod_perl/files/2.0.4/apache2-mod_perl-startup.pl': No such file or directory
...
<<<          obj /etc/apache2/modules.d/apache2-mod_perl-startup.pl
--- replaced obj /etc/apache2/modules.d/75_mod_perl.conf


# ll /usr/portage/www-apache/mod_perl/files/
total 8
drwxr-xr-x 2 root root  128 Jan 27 22:36 2.0.3
-rw-r--r-- 1 root root  337 Jul 25  2005 mod_perl-2.0.1-sneak-tmpdir.patch
-rw-r--r-- 1 root root 1226 Mar 31  2007 RegistryCooker.patch

 # ll /usr/portage/www-apache/mod_perl/files/2.0.3/
total 8
-rw-r--r-- 1 root root 1221 Jan 27 22:36 75_mod_perl.conf
-rw-r--r-- 1 root root  478 Jan 12  2007 apache2-mod_perl-startup.pl


I hope not need another new bug created...
Comment 3 Sergiy Borodych 2008-06-02 12:43:07 UTC
also IMHO need add some notes(ewarn?) about

Apache2::Reload has been moved to an externally maintained
CPAN distribution [Fred Moyer <fred@redhotpenguin.com>] 


example in my logs I see after update :) 
[Mon Jun 02 15:32:29 2008] [error] Can't locate Apache2/Reload.pm in @INC ...
Comment 4 A. Person 2008-06-06 19:43:35 UTC
I just got slammed by the apache2-mod_perl-startup.pl issue.  41 minutes downtime, could be worse.  I needed to move the file from:

/etc/apache2/conf/modules.d

to:

/etc/apache2/modules.d

and use a newer version of the file that didn't use 'use Apache2 ();' as well as a bunch of 'Apache::' stuff that should have been 'Apache2::'.  It's confusing because I remember that API change was a while ago and things have been running just fine with the 'Apache::' stuff in the file until now.