Date: Mon, 22 Dec 2003 22:56:48 +0900 From: Alexander Nedotsukov <bland@FreeBSD.org> To: Dmitry Sivachenko <demon@FreeBSD.org> Cc: gnome@FreeBSD.org Subject: Re: libsml2 & libxslt config files location Message-ID: <3FE6F820.9030609@FreeBSD.org> In-Reply-To: <20031222114256.GA14823@fling-wing.demos.su> References: <20031222094622.GA99206@fling-wing.demos.su> <3FE6D3DD.6060209@FreeBSD.org> <20031222114256.GA14823@fling-wing.demos.su>
index | next in thread | previous in thread | raw e-mail
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>
>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FE6F820.9030609>
