From owner-cvs-src@FreeBSD.ORG Sat Oct 16 06:17:48 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A7BE16A4CE; Sat, 16 Oct 2004 06:17:48 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA31843D3F; Sat, 16 Oct 2004 06:17:47 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id i9G6HkbU077324; Fri, 15 Oct 2004 23:17:47 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id i9G6HkHY077323; Fri, 15 Oct 2004 23:17:46 -0700 (PDT) (envelope-from obrien) Date: Fri, 15 Oct 2004 23:17:45 -0700 From: "David O'Brien" To: Makoto Matsushita Message-ID: <20041016061745.GA77261@dragon.nuxi.com> References: <20041002044957.GA36384@dragon.nuxi.com> <20041003004611E.matusita@jp.FreeBSD.org> <20041013195615.GC90229@dragon.nuxi.com> <20041016113048M.matusita@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041016113048M.matusita@jp.FreeBSD.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/compat/compat4x.alpha libc.so.4.bz2.uu libc_r.so.4.bz2.uu libhistory.so.4.bz2.uu libm.so.2.bz2.uu libopie.so.2.bz2.uu libpcap.so.2.bz2.uu libperl.so.3.bz2.uu libreadline.so.4.bz2.uu X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 06:17:48 -0000 On Sat, Oct 16, 2004 at 11:30:48AM +0900, Makoto Matsushita wrote: > obrien> There is some debate about if compat libs should be placed in > obrien> /usr/lib/compat or /usr/local/lib/compat. I'm not sure what wa > obrien> I fall on this... but I'd love to know if we have consensus among > obrien> committers. > > IMHO it depends on where compat libraries come from. If it comes from > a part of distribution, /usr/lib/compat is good, and if it comes from > ports (or packages), ${LOCALDIR}/lib/compat would be better. > > Since 6-current have no /usr/src/lib/compat, ${LOCALDIR}/lib/compat is > enough for me. Since the compat libs from a port can also be installed on 5.x do we still want to not install them in /usr/lib/compat? Also what about machines that started out life as 5-CURRENT and are now 6-CURRENT? They will have compat libs in /usr/lib/compat that won't get cleaned up. Since that location is searched before /usr/local/lib/compat people could have a problem. > Speaking about 'compat libs,' how do we supply older libraries that is > in /lib? Make a directory /lib/compat (or whereever in /), or ...? I don't see why they should go in the / partition. If you built a new .so (say .so.1 -> .so.2), then you should also have all the /[s]bin consumers of the .so lib updated [to use .so.2] also. You could easily have /usr/local/bin old binaries that still need the .so.1 version, but they aren't part of boot on the / partition. So they can get the compat lib from /usr/lib/compat (or where ever compat libs are installed). -- -- David (obrien@FreeBSD.org)