From owner-freebsd-rc@FreeBSD.ORG Thu Dec 29 23:33:00 2005 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 427F816A41F; Thu, 29 Dec 2005 23:33:00 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9382443D55; Thu, 29 Dec 2005 23:32:59 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 4CAF8117E0; Fri, 30 Dec 2005 00:32:58 +0100 (CET) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72373-01; Fri, 30 Dec 2005 00:32:50 +0100 (CET) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id C9448114A7; Fri, 30 Dec 2005 00:32:49 +0100 (CET) From: Florent Thoumie To: freebsd-rc@freebsd.org Date: Fri, 30 Dec 2005 00:32:38 +0100 User-Agent: KMail/1.8.2 References: <1134927080.744.14.camel@cream.xbsd.org> <43B38626.3050106@FreeBSD.org> <200512291331.00183.flz@xbsd.org> In-Reply-To: <200512291331.00183.flz@xbsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1350620.7gvHN0hVI9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512300032.43923.flz@xbsd.org> X-Virus-Scanned: amavisd-new at xbsd.org Cc: Subject: Re: rc.d/ldconfig change X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 23:33:00 -0000 --nextPart1350620.7gvHN0hVI9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 29 December 2005 13:30, Florent Thoumie wrote: > On Thursday 29 December 2005 07:45, Doug Barton wrote: > > Florent Thoumie wrote: > > > Hum, I'm actually using paths stored in files located in ld.so.conf.= d/ > > > directories. > > > > > > For example, you could have : > > > > > > # cat /usr/local/libdata/ld.so.conf.d/compat4x > > > /usr/local/lib/compat > > > > Ok, I think I'll understand this better when I see a complete example > > implementation. Sorry for being so dense. :) > > No problem, here is the new patch. I'm working on the ports part right > now. > > You'll notice that I've turned my `ls ${i}` into `find ${i} -type f` whi= ch > does the right thing. Also, I've had a look at the scripts your > compatiblity ports are installing and since there's a special handling on > amd64, I've added some lines to rc.d/ldconfig. I haven't found a way to do > what I wanted without duplicating ldconfig_local_dirs and ld.so.conf.d > directories. Maybe you'll be more creative than I am. I think I forgot the most important thing, attaching the patch. I've put it here : http://people.freebsd.org/~flz/local/ldconfig.diff I've changed libdata/ld.so.conf.d/ to libdata/ldconfig. I guess it's ok no= w. =2D-=20 =46lorent Thoumie flz@FreeBSD.org =46reeBSD Committer --nextPart1350620.7gvHN0hVI9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDtHIbMxEkbVFH3PQRAssbAJ4n86gidpRUZCX6P2/CG0hzCq8rCgCeMb4M 456txOWUuP5ItU1jT2RM3n0= =bpyc -----END PGP SIGNATURE----- --nextPart1350620.7gvHN0hVI9--