From owner-freebsd-gnome@FreeBSD.ORG Mon Dec 22 05:56:51 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC1416A4CE; Mon, 22 Dec 2003 05:56:51 -0800 (PST) Received: from bbnest.net (m008231.ap.plala.or.jp [219.164.8.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id C37E143D48; Mon, 22 Dec 2003 05:56:49 -0800 (PST) (envelope-from bland@FreeBSD.org) Received: from FreeBSD.org (bland@localhost [127.0.0.1]) by bbnest.net (8.12.10/8.12.10) with ESMTP id hBMDumcB036054; Mon, 22 Dec 2003 22:56:48 +0900 (JST) (envelope-from bland@FreeBSD.org) Message-ID: <3FE6F820.9030609@FreeBSD.org> Date: Mon, 22 Dec 2003 22:56:48 +0900 From: Alexander Nedotsukov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dmitry Sivachenko References: <20031222094622.GA99206@fling-wing.demos.su> <3FE6D3DD.6060209@FreeBSD.org> <20031222114256.GA14823@fling-wing.demos.su> In-Reply-To: <20031222114256.GA14823@fling-wing.demos.su> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: gnome@FreeBSD.org Subject: Re: libsml2 & libxslt config files location X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2003 13:56:51 -0000 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" > >