Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188949 - webapp.eclass documentation needs a couple of tweaks
Summary: webapp.eclass documentation needs a couple of tweaks
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Project-specific documentation (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL: http://www.gentoo.org/proj/en/webapps...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 08:06 UTC by Jakub Moc (RETIRED)
Modified: 2007-12-04 00:36 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 Jakub Moc (RETIRED) gentoo-dev 2007-08-15 08:06:51 UTC
1/ Code Listing 2.8 - make the ebuild die just once at most, not over and over again. E.g., like this:

<snip>
webapp_pkg_setup
local flags
use mysql && flags="${flags} mysql"
use postgres && flags="${flags} postgres"
require_php_with_use ${flags}
</snip>

2/ Emphasize that webapp ebuilds should NOT depend on dev-db/ and/or dev-db/postgresql when USE="mysql postgresql" is set; the server can be remote, forcing such stuff on users doesn't make sense. 

The needed features are either to be checked for as shown in Code Listing 2.8, above, or the ebuild can depend on appropriate language bindings, such as dev-perl/DBD-mysql, dev-perl/DBD-Pg or whatever, but not on the DBs themselves.

3/ Code Listing 2.7 Note:

net-www/apache -> www-servers/apache
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2007-12-04 00:36:52 UTC
all set