Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319623 - virtual/php removal
Summary: virtual/php removal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard: [messy]
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 21:52 UTC by Matti Bickel (RETIRED)
Modified: 2010-10-08 16:29 UTC (History)
2 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 Matti Bickel (RETIRED) gentoo-dev 2010-05-13 21:52:34 UTC
The virtuals can painlessly substituted with dev-lang/php[cli] or dev-lang/php[apache2], which provides the added benefit that you get what you want without crossing fingers (we PROVIDE everything, regardless of whether the SAPI got built or not)


So the following ebuilds should change to DEPEND dev-lang/php:
dev-lang/swig-1.3.31:php
dev-lang/swig-1.3.33:php
dev-lang/swig-1.3.34:php
dev-lang/swig-1.3.35:php
dev-lang/swig-1.3.36:php
dev-libs/redland-bindings-1.0.10.1-r1:php
media-video/mplayer-resume-1.3
media-video/mplayer-resume-1.5
media-video/mplayer-resume-1.6
media-video/mplayer-resume-2.0
net-analyzer/jffnms-0.8.3-r2
net-analyzer/zabbix-frontend-1.1_alpha7
net-fs/ncpfs-2.2.6:php
net-fs/ncpfs-2.2.6-r1:php
www-apps/freeradius-dialupadmin-1.70.3
www-apps/freeradius-dialupadmin-1.80
www-apps/horde-3.3.6
www-apps/horde-groupware-1.2.4
www-apps/horde-webmail-1.2.4
www-apps/openwebstats-1.1
www-apps/sitebar-3.3.9-r1

app-admin/phpsyslogng-2.8
app-admin/phpsyslogng-2.8-r1
app-admin/phpsyslogng-2.9.8f
app-admin/phpsyslogng-2.9.8m
app-admin/phpsyslogng-2.9.8m-r1
dev-db/phpmyadmin-2.11.9.5
dev-db/phpmyadmin-2.11.9.6
dev-db/phpmyadmin-3.2.2.1
dev-db/phpmyadmin-3.3.2
dev-php5/PHPonTrax-0.14.0
mail-client/roundcube-0.2.2
mail-client/roundcube-0.3
mail-client/roundcube-0.3.1
net-analyzer/lilac-1.0.2
net-analyzer/midas-nms-2.2f-r1
net-analyzer/nagtrap-0.1.3
net-analyzer/nagvis-1.4.4
net-analyzer/syweb-0.59
net-analyzer/zabbix-frontend-1.1
net-analyzer/zabbix-frontend-1.1.6
net-analyzer/zabbix-frontend-1.1.7
net-fs/ncpfs-2.2.6:php
net-fs/ncpfs-2.2.6-r1:php
net-nds/phpldapadmin-1.2.0.4
net-proxy/vulture-1.97
sys-cluster/ganglia-3.1.2:!minimal
www-apps/ampache-3.4.3
www-apps/ampache-3.4.4
www-apps/ampache-3.5.3
www-apps/b2evolution-1.10.2
www-apps/b2evolution-1.10.3
www-apps/b2evolution-2.4.0_rc2
www-apps/coppermine-1.4.26
www-apps/dokuwiki-20070626b
www-apps/dokuwiki-20090214b
www-apps/dokuwiki-20091225b
www-apps/dokuwiki-20091225c
www-apps/dotproject-2.1.2-r1
www-apps/dragonflycms-9.2.1
www-apps/drupal-5.22
www-apps/drupal-6.16
www-apps/egroupware-1.4.004
www-apps/egroupware-1.6.001
www-apps/eyeos-1.8.7.0
www-apps/eyeos-1.8.7.1
www-apps/eyeos-1.9.0.0
www-apps/eyeos-1.9.0.1
www-apps/gallery-1.5.10
www-apps/gallery-2.3
www-apps/gallery-2.3-r1
www-apps/gnopaste-0.5.5
www-apps/mantisbt-1.1.8
www-apps/mantisbt-1.2.1
www-apps/mediawiki-1.11.2
www-apps/mediawiki-1.12.3
www-apps/mediawiki-1.13.3
www-apps/mediawiki-1.13.5
www-apps/mediawiki-1.14.0
www-apps/mediawiki-1.14.1
www-apps/mediawiki-1.15.1
www-apps/mediawiki-1.15.2
www-apps/mythweb-0.22_p22763
www-apps/mythweb-0.22_p22763-r1
www-apps/online-bookmarks-0.6.28
www-apps/phpBB-3.0.4
www-apps/phpgroupware-0.9.16.012
www-apps/phpgroupware-0.9.16.012-r1
www-apps/phpmp-0.11.0
www-apps/phpsysinfo-2.5.4
www-apps/phpwebsite-0.10.2
www-apps/postfixadmin-2.2.1.1
www-apps/postfixadmin-2.3
www-apps/tikiwiki-2.2
www-apps/tikiwiki-2.4
www-apps/websvn-2.2.1
www-apps/websvn-2.3.0
www-apps/wordpress-2.9.2
www-apps/zina-1.0_rc4
www-misc/zoneminder-1.23.3
www-misc/zoneminder-1.24.2
www-servers/lighttpd-1.4.23:php
www-servers/lighttpd-1.4.25:php
www-servers/lighttpd-1.4.25-r1:php
www-servers/lighttpd-1.4.26:php
www-servers/lighttpd-1.4.26-r1:php
www-servers/monkeyd-0.9.1:php
www-servers/monkeyd-0.9.2:php
www-servers/monkeyd-0.9.2-r1:php
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-07-05 13:52:57 UTC
I agreed with Ole Markus that with the advent of fpm, the number of ways to use php with some web SAPI has grown quite a bit and it would be handy to have a virtual to say "I want a way to display web pages with PHP, but don't care which SAPI does it". Currently, you'd do:

RDEPEND="|| ( dev-lang/php[cgi] dev-lang/php[apache2] )"

which is not that bad, but with fpm to come in 5.3.3 you'd have to do:

RDEPEND="|| ( dev-lang/php[cgi] dev-lang/php[apache2] dev-lang/php[fpm] )"

and so on for every SAPI upstream adds in the future, with no benefit for you.

Enter virtual/httpd-php, which will just give you "a php with a webserver". If no objections arise, I'll introduce this new style virtual shortly.

virtual/php I'm still thinking about. That can probably be replaced with dev-lang/php[cli]. I'll add maintainers when it's time to switch.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2010-07-05 17:26:42 UTC
(In reply to comment #1)
> I agreed with Ole Markus that with the advent of fpm, the number of ways to > Enter virtual/httpd-php, which will just give you "a php with a webserver". If
> no objections arise, I'll introduce this new style virtual shortly.

This just broke every stable ebuild that depended on that virtual.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2010-07-05 17:53:22 UTC
I've made the keywords for the virtuals match those of the versions of PHP.  Please do take care next time when making such a large change, as it has huge impacts on the rest of the tree.
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2010-07-05 18:42:05 UTC
I'm sorry about that. My line of thinking was that php-5.2.13 was still providing virtual/httpd-php and would do so for the stable tree. I'll send future changes of such scale to the -dev ml for discussion.
Comment 5 Matti Bickel (RETIRED) gentoo-dev 2010-07-09 13:41:18 UTC
Hi,

as per the summary, the php team wants to remove the superfluous virtual/php package and switch over to virtual/httpd-php or direct deps on dev-lang/php.

Your package depends on virtual/php and probably has a fix waiting in our overlay (http://git.overlays.gentoo.org/gitweb/?p=proj/php.git;a=shortlog;h=refs/heads/fixvirtual). Thanks to Ole, who converted the ebuilds.
If you want to look into this yourself, here's a short guide:
(1) If you just want "something to display php powered webpages", depend on virtual/httpd-php
(2) If you utilize PHP libraries, depend on dev-lang/php and optionally use-depend on the SAPI you need (most probably cli or embed).

Please either speak up, do the changes yourself or cry to me after I applied the fixes myself in 14 days.

virtual/php will die one way or the other.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-07-09 14:06:31 UTC
Feel free to fix redland-bindings & mplayer-resume from that list, I assume sound@ got CC'd for that.
Comment 7 Matti Bickel (RETIRED) gentoo-dev 2010-07-09 18:15:13 UTC
Oh, sorry for that - the list of package that need fixing is provided in the initial comment, second paragraph. And only those directly depending on virtual/php are affected (for now, those using need_php_* calls will be dealt with later).
Comment 8 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-07-09 18:43:44 UTC
swig done. I'm going to remove all those ebuilds anyway after bug #307613 is resolved.

+  09 Jul 2010; Panagiotis Christopoulos <pchrist@gentoo.org>
+  swig-1.3.31.ebuild, swig-1.3.33.ebuild, swig-1.3.34.ebuild,
+  swig-1.3.35.ebuild, swig-1.3.36.ebuild, swig-1.3.38.ebuild:
+  Change virtual/php dep to dev-lang/php wrt bug #319623
+
Comment 9 Matti Bickel (RETIRED) gentoo-dev 2010-07-09 19:02:58 UTC
redland-bindings done. removing sound@
Comment 10 Matti Bickel (RETIRED) gentoo-dev 2010-09-11 16:05:09 UTC
I fixed some more packages. Remaining is net-fs/ncpfs (waiting on ack from net-fs herd for 7 more days)

I'll resync my list once the updates have hit the mirrors.
Comment 11 Matti Bickel (RETIRED) gentoo-dev 2010-10-08 16:29:34 UTC
Fixed ncpfs after timeout. I'll mop up the rest, but all packages should now have a version not using virtual/php anymore.