From owner-freebsd-hackers@FreeBSD.ORG Mon May 14 06:34:34 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A72F16A400 for ; Mon, 14 May 2007 06:34:34 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5936B13C448 for ; Mon, 14 May 2007 06:34:34 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 8615720A7; Mon, 14 May 2007 08:34:30 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 6A73A20A6; Mon, 14 May 2007 08:34:30 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 3F9A75636; Mon, 14 May 2007 08:34:30 +0200 (CEST) From: des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=) To: Mike Meyer References: <200705102105.27271.blackdragon@highveldmail.co.za> <20070511051852.GA89359@xor.obsecurity.org> <17988.32573.910854.388638@bhuda.mired.org> <200705111011.52212.fcash@ocis.net> <17988.46905.9205.461424@bhuda.mired.org> <86zm48ziks.fsf@dwp.des.no> <17991.60332.227909.539504@bhuda.mired.org> Date: Mon, 14 May 2007 08:34:29 +0200 In-Reply-To: <17991.60332.227909.539504@bhuda.mired.org> (Mike Meyer's message of "Mon\, 14 May 2007 00\:55\:08 -0400") Message-ID: <861whjzzey.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org Subject: Re: New FreeBSD package system (a.k.a. Daemon Package System (dps)) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 06:34:34 -0000 Mike Meyer writes: > Dag-Erling Sm=C3=B8rgrav writes: > > Mike Meyer writes: > > > How would setting LOCALBASE=3D/usr break this? Of course, equally val= id > > > is the question "what will break if I set LOCALBASE=3D/usr"? Hmm. I > > > think I may found out.... > > For one, man pages for ports will end up in the wrong place (/usr/man > > instead of /usr/share/man). > Is this really "broken"? If so, are you sure it's not ports installing > in ${LOCALBASE}/man instead of ${LOCALBASE}/share/man that's broken? It doesn't really matter which is right and which is wrong, it's the inconsistency that is the problem. > A number of ports seem to depend on the directory tree in ${LOCALBASE} > existing - ${LOCALBASE}/man/... and ${LOCALBASE}/etc, in > particular. They use the INSTALL macros to point single files at > directories, which macro will quite happily create a file with the > target name if it's not a directory. This creates a number of > interesting problems later on. They can correctly assume that the directories exist because we always run 'mtree -f /etc/mtree/BSD.local.dist -P ${PREFIX}' before installing a port. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no