Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90289 - mod_php should PROVIDE "virtual/php" instead of "virtual/httpd-php-${PV}"
Summary: mod_php should PROVIDE "virtual/php" instead of "virtual/httpd-php-${PV}"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 14:14 UTC by Gabriel Jackson (Jax)
Modified: 2005-04-24 18:47 UTC (History)
0 users

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 Gabriel Jackson (Jax) 2005-04-24 14:14:37 UTC
It seems that mod_php no longer requires php to run/compile. at least according to my emerge output:
# emerge -p mod_php
[ebuild   R   ] dev-php/mod_php-5.0.3-r2

# emerge -p php
[ebuild  N    ] dev-php/php-5.0.3-r1

The problem is following:
when i try to emerge squirrelmail for instance, I get:
[ebuild  N    ] dev-php/php-5.0.3-r1
[ebuild  N    ] dev-php/PEAR-DB-1.6.8
[ebuild   R   ] mail-client/squirrelmail-1.4.4

I.e the system doesn't recognize mod_php as providing php. this is because 
mod_php-5.0.3-r2.ebuild contains PROVIDE="virtual/httpd-php-${PV}"
Should this not contain PROVIDE="virtual/php" now ?




Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
mod_php should provide virtual/php
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-24 18:37:51 UTC
no, this output is entirely correct!
Installing PEAR classes requires the /usr/bin/php binary (this is what the virtual/php means). If you picked a webapp that doesn't need any PEAR classes, you could install it without having dev-php/php.
Comment 2 Gabriel Jackson (Jax) 2005-04-24 18:40:34 UTC
hi Robbat2,

yeah i noticed that after posting,.. most likely the packages that only run in a web environment (like squirrelmail) should have their RDEPEND or DEPEND changes to mod_php's PROVIDE.. right?

Greets
Gabe
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-24 18:47:19 UTC
perhaps (to virtual/httpd-php), but that's a longer-term project that is only planned for future (other things need to get done first).