Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34312 - php should not depend on php-core, apache, and mod_php
Summary: php should not depend on php-core, apache, and mod_php
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-24 19:06 UTC by Jon Hood (RETIRED)
Modified: 2011-10-30 22:21 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 Jon Hood (RETIRED) gentoo-dev 2003-11-24 19:06:36 UTC
I use php for shell scripts, but I do not need mod_php and apache.  The ebuild
dependencies should check for apache use flags.
$ emerge php -upv
(snip)
[ebuild     U ] dev-php/php-4.3.4-r1 [4.3.4] +X +crypt -curl -firebird +flash
-freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap -mcal
-memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +snmp +spell
+ssl +tiff +truetype +xml2 +berkdb +readline 
[ebuild  N    ] net-www/apache-2.0.48-r1  +berkdb +gdbm +ldap 
[ebuild  N    ] dev-php/mod_php-4.3.4-r1  -apache2 +X +crypt -curl -firebird
+flash -freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap
-mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +snmp
+spell +ssl +tiff +truetype +xml2 +berkdb 
[ebuild  N    ] dev-php/php-core-4.3.4  +X +crypt -curl -firebird +flash
-freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap -mcal
-memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +snmp +spell
+ssl +tiff +truetype +xml2 +berkdb +readline

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. ACCEPT_KEYWORDS="~x86" emerge -u php

Actual Results:  
wants to install unnecessary dependencies

Expected Results:  
php upgraded without unwanted packages
Comment 1 Jon Hood (RETIRED) gentoo-dev 2003-11-24 19:11:24 UTC
cancel that- virtual file still had mod_php in it