On Mon, May 19, 2008 at 6:09 PM, Stefan Teleman <Stefan.Teleman at sun.com>
wrote:

> Adriaan de Groot wrote:
> > I just ran into a problem on dillon where fontconfig was expecting
> different
> > permissions and owners on some directories than dillon had. I conclude
> this
> > means that the packages installed before then were *not* setting
> explicitly
> > the owner and group and permissions on /opt/foss ($PREFIX) and other
> > directories.
> >
> > Some packaging systems have a "hier" package (for hierarchy) that creates
> a
> > bunch of directories with "known good" permissions in order to prevent
> > surprises like this one. Does that seem like a good idea here? It would
> > basically just contain a bunch of mkdir and chowns / chgrps in install.sh
> and
> > nothing else.
>
> It depends.
>
> If we are talking about dirs/files which are referred to by auto*stuff as
> ${localstatedir}, then the auto*stuff defaults are not allowed in Solaris,
> because:
>
> ${localstatedir} by default is defined by autoconf as ${prefix}/var. This
> is not
> allowed in Solaris as per PSARC rules, so it must be changed to /var -- you
> can't have /opt/foss/var or /usr/var. So, for example, if fontconfig needs
> ${localstatedir}/fontconfig/cache, that directory should be
> /var/fontconfig/cache, and it should be created by the package install with
> the
> right permissions, and fontconfig's ./configure should be told to do
> --localstatedir=/var.
>

fontconfig.pspc does !

install into /var/fontconfig/cache


L

-- 
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode


When dealing with people, let us remember we are not dealing with creatures
of logic. We are dealing with creatures of emotions, creatures bristling
with prejudices and motivated by pride and vanity. Dale Carnegie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20080519/dfa0d8a5/attachment.html>

Reply via email to