[pkg-horde] sed substitutions in debian/rules for Horde module packages

Lionel Elie Mamane lionel at mamane.lu
Fri Dec 16 07:55:35 UTC 2005


On Fri, Dec 16, 2005 at 01:30:53AM +0100, Gregory Colpart wrote:
> On Thu, Dec 15, 2005 at 02:45:51PM +0100, Lionel Elie Mamane wrote:

>>> I'm curious, what is the reason to do that ?

>> Horde is meant to be installed all in one directory (tree), but
>> this conflicts with the FHS, and thus the Debian policy. So the
>> Debian packages put things where the FHS mandates and put up
>> compatibility symlinks. The horde code, however, assumes that it
>> can take the name of the current file, go up a few levels (two in
>> the case you cite) and it will find the horde installation
>> directory (root of the tree). This assumption is broken by debian
>> (e.g. a file in /etc/horde/horde3 will think the horde root it
>> /etc/ in this fashion, while it is /usr/share/horde3). So we
>> hard-code the right root so that everything still works.

> OK, thanks. Have you an example of file that could think horde root is
> "/etc/" ? Because I don't see any *_BASE in config files.

/etc/horde/horde3/registry.php

-- 
Lionel



More information about the pkg-horde-hackers mailing list