RFC: Web packages and Prefix:

Aredridel aredridel at nbtsc.org
Wed Aug 20 23:47:45 CEST 2003


On Wed, 2003-08-20 at 15:28, Mariusz Mazur wrote:
> On Wednesday 20 of August 2003 23:23, Michal Moskal wrote:
> > Maybe you don't get the point, that this can already be done without any
> > hacking (beside Prefix: ... thing). No patches attached.
> 
> Beside Prefix thing? Prefix thing is the whole point :) Not to mention the 
> configs - they would have to get s/defaultpath/newprefix/ when installing 
> with --prefix. This would be either very hackish (%post or sth) or would 
> require a general framework.


In the case of squirrel mail, configs are not coded absolutely, but
relative to the source files -- so if you install in a different prefix,
configs continue to work.  It is one of the simplest cases (PHP does
make this easy, and scripts that use PHP best practice should be
compatible).

Other apps don't have it so easy -- paths are compiled in.

Also, an RPM change to substitute a path for %{prefix} as it installs
would be nice -- mark parts of %files as %changeprefix, or something
like that.

Ari
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : /mailman/pipermail/pld-devel-en/attachments/20040626/6d9f39bf/attachment-0002.bin


More information about the pld-devel-en mailing list