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

Bug 308227

Summary: gnome-extra/gnome-user-share does not use depend.apache.eclass
Product: Gentoo Linux Reporter: Benedikt Böhm (RETIRED) <hollow>
Component: New packagesAssignee: Gilles Dartiguelongue (RETIRED) <eva>
Status: RESOLVED WONTFIX    
Severity: normal CC: apache-bugs, gnome
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 208033    

Description Benedikt Böhm (RETIRED) gentoo-dev 2010-03-07 13:32:45 UTC
Please use depend.apache.eclass to depend on apache, and please install a sane default config in /etc/apache2/modules.d/
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-07 14:55:01 UTC
Please development your argument at bit, I currently see no point in using this eclass.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2010-03-07 16:12:04 UTC
ebuild depending on apache must use depend.apache.eclass to make it maintainable for future changes.

when installing an apache module (which this ebuild appearantly does) you must install a configuration snippet to load the module and provide a default config if applicable.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-09 00:11:04 UTC
erf, my reply didn't make it it seems.

This package doesn't install a module and it's configuration is interpreted by variables that only the user owned process knows about. Is there some other reason we should use the eclass for ?
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2010-03-09 08:30:29 UTC
i didn't install it because of depdency hell, but why does configure use the apache module dir?

i would still prefer if you just call need_apache2 like every other ebuild. if you don't feel like it, just close the bug then
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-09 09:16:46 UTC
(In reply to comment #4)
> i didn't install it because of depdency hell, but why does configure use the
> apache module dir?

it is needed to known where modules are so that the custom configuration file can load them.

> i would still prefer if you just call need_apache2 like every other ebuild. if
> you don't feel like it, just close the bug then

I'll add this. However it will not spare me the need to add the dependency by hand to check for apache USE flags. Is there a nice way to solve this use case ?
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2010-03-09 09:24:33 UTC
(In reply to comment #5)
> I'll add this. However it will not spare me the need to add the dependency by
> hand to check for apache USE flags. Is there a nice way to solve this use case
> ?

the eclass has been written before USE deps were supported. just leave it as-is for now, maybe i will convert the eclass to EAPI 2+ some day