libsml2 & libxslt config files location
Alexander Nedotsukov
bland at FreeBSD.org
Mon Dec 22 05:56:51 PST 2003
Dmitry Sivachenko wrote:
>On Mon, Dec 22, 2003 at 08:22:05PM +0900, Alexander Nedotsukov wrote:
>
>
>>Dmitry,
>>
>>Dmitry Sivachenko wrote:
>>
>>
>>
>>>Hello!
>>>
>>>Why libxml2 and libxslt ports install xml2Conf.sh and xsltConf.sh files in
>>>$PREFIX/etc? /etc directory is for files which user is supposed to edit
>>>to adjust program behaviour. These files does not contain anything to
>>>edit. Probably they should be install either in $PREFIX/bin or
>>>$PREFIX/share/... ?
>>>
>>>What do people think?
>>>
>>>
>>>
>>I think your current assumption of /etc directory purpose is wrong.
>>It's personal port preference to install these files info confexecdir. On
>>Linux this usually lib/ but on FreeBSD we have different policy and etc/
>>looks like apropriate place. In short I do not see any hier(7) violation
>>here.
>>
>>
>>
>
>Well, I do not talk about any hier(7) violation here.
>
>The situation is as follows: we have several chroot's sharing common
>/usr/, except /usr/local/etc, which holds custom config files. All these files
>satisfy the following statement:
>We can update corresponding packages without touching files in /usr/local/etc.
>
>
Okay. Probably I missed you point here but I would say in general case
you can not update package w/o updating its config file if any.
>These two files are the only exception: they cantain hardcoded version number of
>libxml2 and libxslt.
>
>It would be really nice to move them to some other place.
>Since their purpose matches gtk12-config closely, I propose /usr/local/bin for
>them.
>
>
We have {xml2,xslt}-config wich plays role similar to gtk12-config.
Those {xml2,xslt}Conf.sh files in qustion are *config* files. They
supposed to be included by various shell scripts. Yes they have .sh
suffix but look at their permissions, look at their content. I can count
on number of ports and most notable is portupgrade wich keep such
script-like config files under etc/ directory.
>_______________________________________________
>freebsd-gnome at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>
>
More information about the freebsd-gnome
mailing list