RFC: Web packages and Prefix:

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


On Wed, 2003-08-20 at 15:11, Mariusz Mazur wrote:
> On Wednesday 20 of August 2003 22:35, Aredridel wrote:
> > I was wondering whether anyone else considered it of use to make web
> > packages relocatable.  I did some initial poking around, and see no
> > reason that SquirrelMail couldn't have
> >
> > 	Prefix: /home/services/httpd/html
> >
> > in the spec file. . . It would be of great utility to me to be able to
> >
> > 	rpm -i squirrelmail...rpm --prefix /home/sites/mail.nbtsc.org
> >
> > Comments?
> 
> I must say that this is a very interesting idea but it would either require an 
> ugly hack (some changes in rpm + some hackish stuff inside squirrelmail.spec) 
> or a higher level of abstraction inside rpm (eg. if I can install 
> squirrelmail with a prefix than maybe I could install one in this dir, and a 
> second one in that... but I would have real problems when trying to 
> uninstall/upgrade/whatever any of them).

Good point.  I should look and see how hard it would be to do inside of
RPM. . . perhaps represented with virtual package names --
Squirrelmail(prefix=/foo), squirrelmail(prefix=/bar)

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/4f84d440/attachment-0002.bin


More information about the pld-devel-en mailing list