1 |
On Thu, 2021-09-02 at 08:50 -0400, Michael Orlitzky wrote: |
2 |
> On Thu, 2021-09-02 at 12:46 +0200, Michał Górny wrote: |
3 |
> > Signed-off-by: Michał Górny <mgorny@g.o> |
4 |
> > --- |
5 |
> > eclass/apache-module.eclass | 1 + |
6 |
> > 1 file changed, 1 insertion(+) |
7 |
> > ... |
8 |
> > # @SUPPORTED_EAPIS: 5 6 7 |
9 |
> > +# @PROVIDES: depend.apache |
10 |
> |
11 |
> I'm not sure about this one. The depend.apache eclass is junk and we |
12 |
> should be encouraging people to move away from it (bug 616612): |
13 |
> |
14 |
> * If you want to depend on apache, depend on apache. |
15 |
> |
16 |
> * If you need paths like APACHE_MODULESDIR, the "apxs" tool is now |
17 |
> in PATH so you can get it from $(apxs -q libexecdir) |
18 |
> |
19 |
> * If you need paths like APACHE_MODULES_CONFDIR, the eclass doesn't |
20 |
> work anyway. You can hard-code those paths yourself (relative to |
21 |
> apxs -q sysconfdir), or if anyone feels up to the task, they could |
22 |
> write a greatly simplified apache-paths.eclass that provides these |
23 |
> paths via functions that are to be called outside of global scope. |
24 |
> |
25 |
> If people are using anything in depend.apache, I think a warning is |
26 |
> appropriate. Making a promise that apache-module (which is not junk) |
27 |
> provides depend.apache will moreover make it harder to disentangle them |
28 |
> in the future if anyone decides to fix things. |
29 |
> |
30 |
|
31 |
Apparently, need_apache* is the problem. Most of the ebuilds in www- |
32 |
apache/* are calling it: |
33 |
|
34 |
libapreq2/libapreq2-2.15-r1.ebuild:need_apache2 |
35 |
libapreq2/libapreq2-2.16.ebuild:need_apache2 |
36 |
mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild:need_apache2 |
37 |
mod_auth_radius/mod_auth_radius-1.5.8.ebuild:need_apache2 |
38 |
mod_auth_tkt/mod_auth_tkt-2.1.0-r1.ebuild:need_apache2 |
39 |
mod_authnz_external/mod_authnz_external-3.3.2.ebuild:need_apache2_4 |
40 |
... |
41 |
|
42 |
Ofc, I'm fine with leaving it as-is, i.e. assuming they all need to |
43 |
inherit depend.apache explicitly. |
44 |
|
45 |
-- |
46 |
Best regards, |
47 |
Michał Górny |