Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552836

Summary: [TRACKER] Ebuilds using deprecated depend.php eclass
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: Tracker
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 552420, 552838, 552840, 552842, 552844, 552846, 552848, 552850, 552852, 552854, 552856, 552858, 552862, 552864, 552866, 552868, 552870, 552872, 552874    
Bug Blocks:    

Description Brian Evans (RETIRED) gentoo-dev 2015-06-22 14:59:46 UTC
This bug is to track the remaining uses of need_php5, need_php_httpd, need_php,
has_php, require_php_with_use and require_php_cgi

At the time of writing this is the list and what should be done to resolve them:

need_php5 : Use {,R}DEPEND="=dev-lang/php-5*"
	www-apps/agendav
	www-apps/baikal
	www-apps/davical

need_php_httpd : Use {,R}DEPEND="virtual/httpd-php"
	app-emulation/phpvirtualbox
	dev-db/phpmyadmin
	net-analyzer/lilac
	net-nds/phpldapadmin
	www-apps/ampache
	www-apps/dokuwiki
	www-apps/dotproject
	www-apps/eyeos
	www-apps/gallery
	www-apps/joomla
	www-apps/phpmp
	www-apps/tt-rss
	www-apps/websvn
	www-misc/zoneminder

need_php : USE {,R}DEPEND="dev-lang/php"
	app-text/refbase

has_php : No longer has any value and is not sustainable.  Only bails
out when PHP is not installed, which deps should take care of, most
other variables set no longer exist
	www-apps/websvn

require_php_with_use : Use EAPI2 USE dependencies instead.  As USE
change, builds randomly fail and are not checked by repoman
	www-apps/ampache
	www-apps/phpmp
	www-apps/websvn
	www-misc/zoneminder

require_php_cgi : USE {,R}DEPEND="dev-lang/php[cgi]"
	www-servers/monkeyd
Comment 1 Brian Evans (RETIRED) gentoo-dev 2015-06-24 13:31:20 UTC
After further review, dodoc-php and dohtml-php only install to "/usr/share/doc/${CATEGORY}/${PF}/" and "/usr/share/doc/${CATEGORY}/${PF}/html" respectively.

While this may have made sense when there was dev-php4 and dev-php5 categories, very little uses it today.

Therefore, the entire depend.php.eclass is up for deprecation

dodoc-php : use dodoc instead
	www-apps/agendav
	www-apps/baikal
	www-apps/davical