Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55573 - new ebuild needed for mod_perl 1.99_14
Summary: new ebuild needed for mod_perl 1.99_14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Perl team
URL: http://perl.apache.org/dist/mod_perl-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 08:19 UTC by Haroon Rafique
Modified: 2005-04-21 02:41 UTC (History)
3 users (show)

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


Attachments
patch/bump 1.99.11 ebuild to 1.99.14 (mod_perl-1.99.11_14.ebuild.diff,920 bytes, patch)
2004-07-10 11:07 UTC, Kalin KOZHUHAROV
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Haroon Rafique 2004-06-29 08:19:13 UTC
mod_perl 1.99_14 has been out since May 21, 2004. Need a new ebuild please.
http://perl.apache.org/dist/mod_perl-2.0-current/Changes

There are also outstanding bug reports for:

* new ebuild for 1.99_13 in bug 44136
* new ebuild for 1.99_12 in bug 38079
* and an unresolved enhancement in bug 44136 which in turn points to bug 33229 comment 4

Thanks for your attention
Comment 1 Kalin KOZHUHAROV 2004-07-10 11:07:53 UTC
Created attachment 35125 [details, diff]
patch/bump 1.99.11 ebuild to 1.99.14 

Well, I did it the easy way, because it was too anoying to have simulated error
on every page of Apache::Status (see
http://marc.theaimsgroup.com/?l=apache-modperl&m=107158062205894&w=2 ) and it
is fixed in 1.99.14 (along other important changes)

`make test` doesn't pass (problems with CGI, tried 3.00, 3.04 to no avail), so
it is commented out.

Added a small info at the end about actually using it (-D PERL). A
better/bigger note may be appropriate, as I spend a lot of time trying to
figure out the "Gentoo way".

Added DEPEND on dev-perl/Devel-Symdump, as Apache::Status uses it (might be
better a local useflag?)

It seems that MP_AP_PREFIX is no longer needed.
Comment 2 Haroon Rafique 2004-07-16 07:20:04 UTC
> `make test` doesn't pass (problems with CGI, tried 3.00, 3.04 to no avail), so
> it is commented out.
> 

I think commenting out the make test is the same as hiding all of your dust underneath the carpet. I have done some more work on the tests. For me one test fails in each of the following tests.

t/apache/subprocess.t
t/modules/cgi.t
t/modules/cgi2.t

I think all of these failures are related to portage sandboxing, since the tests run fine if run by a regular user (and not under portage). In the past, I had committed some fixes upstream http://cvs.apache.org/viewcvs.cgi/modperl-2.0/t/conf/extra.conf.in?r1=1.6&r2=1.7
which fixed some other sandbox related issues. I will do some more research to figure out if these new failures are related to the old ones or not.

> Added a small info at the end about actually using it (-D PERL). A
> better/bigger note may be appropriate, as I spend a lot of time trying to
> figure out the "Gentoo way".
> 

Good idea.

> Added DEPEND on dev-perl/Devel-Symdump, as Apache::Status uses it (might be
> better a local useflag?)
> 

don't know about that so I won't comment.

> It seems that MP_AP_PREFIX is no longer needed.

That is correct. MP_APXS=/usr/sbin/apxs2 is sufficient. Cannot specify both at the same time.
Comment 3 Haroon Rafique 2004-08-23 12:29:27 UTC
Of course, 1.99_16 was released on August 22nd.
Comment 4 Haroon Rafique 2004-08-23 12:33:37 UTC
Kalin,

From you patch:

+
+pkg_postrm() {
+	einfo "Edit /etc/conf.d/apache2 and add \"-D PERL\" to APACHE2_OPTS"
+}
+

This should be pkg_postinst()
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-04-21 02:41:56 UTC
Closing an old bug. mod_perl-1.19.17-r1 in portage now.

Also see Bug 77551.