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

Bug 94022

Summary: bugzilla ebuild(bugzilla-2.18.1.ebuild) should not ask information.
Product: Gentoo Linux Reporter: Masatomo Nakano (RETIRED) <nakano>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Masatomo Nakano (RETIRED) gentoo-dev 2005-05-25 17:51:50 UTC
When I emerged bugzilla, I was asked like below.
If our policy wasn't changed, ebuild should not ask user in emerge process..
Can you move it to pkg_config() etc?

mysql bugs db name [bugs]:
mysql bugs db host [localhost]:
mysql bugs dbuser name [bugs]:
mysql bugs dbuser password:
Error: no dbuser password

(hmm, it's in webapp.eclass, so maybe it's allowed now?)
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2005-06-22 06:48:38 UTC
Please see bug #53345:

On 2004-08-29, stuart@gentoo.org said:

Adding a pkg_config() goes against our vhost support.  Users use the
webapp-config script to install multiple copies of an app - not Portage.  It's
webapp-config that runs the hook script.  That's how it's designed to work.

You can add the vhosts USE flag, which will prevent webapp-config from running
automatically.