From owner-freebsd-ports@FreeBSD.ORG Tue May 18 21:57:30 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1414106566C; Tue, 18 May 2010 21:57:30 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB4D8FC12; Tue, 18 May 2010 21:57:28 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so2800913fgb.13 for ; Tue, 18 May 2010 14:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=f3o6rn2ONES3K6PUhwMoo6vXIkdHZpbDipGeaE2k0is=; b=RwCosguQk+LipEV2kgc3cngSLSVjPPzazvg0tWO0onv8Z06m31qihPiLglSAizmFVG rEzYbhG8qt8Nes5embCBxgWRaE1L/7G8d+LCtn0fbuiXu0CvVYESXIEDJJAMZh37n6pK q2h2hI7BP+HMIOwJvkAakJRws6LYjkAlnSCnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=m8sqnU7HGQEK9msDSrUJVerf2l6kQGUd4w8sF7QzENvoXSoe7DiUkpdCbpGWLKdzvI XkkChOeQoPUEBhnZ/7JRwF8JllShxVg3AiWhZCHGCXIVJ5dODCUJF/EHETqw7LpzDJzs tAoHR0LZVek5eL03PixwyoMUM3/mWyV9zPZHI= Received: by 10.87.70.21 with SMTP id x21mr11801574fgk.62.1274219847679; Tue, 18 May 2010 14:57:27 -0700 (PDT) Received: from localhost (95-25-188-72.broadband.corbina.ru [95.25.188.72]) by mx.google.com with ESMTPS id 12sm9859233fks.20.2010.05.18.14.57.26 (version=SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 14:57:27 -0700 (PDT) From: Anonymous To: Wesley Shields References: <86hbm5yjjh.fsf@gmail.com> <20100518115611.GA45921@atarininja.org> <4BF28470.2050903@infracaninophile.co.uk> <86hbm5vycg.fsf@gmail.com> <20100518195725.GB48168@atarininja.org> <4BF2F6AD.3020709@FreeBSD.org> <20100518203610.GA50328@atarininja.org> Date: Wed, 19 May 2010 01:57:25 +0400 In-Reply-To: <20100518203610.GA50328@atarininja.org> (Wesley Shields's message of "Tue, 18 May 2010 16:36:10 -0400") Message-ID: <86d3wsub3u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ion-Mihai Tetcu , Doug Barton , freebsd-ports@freebsd.org Subject: Re: preferred place for system-wide config files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 21:57:30 -0000 Wesley Shields writes: > On Tue, May 18, 2010 at 01:21:01PM -0700, Doug Barton wrote: >> In the world where PREFIX and LOCALBASE are different, PREFIX cannot be >> relied on to exist after the port is installed. Therefore regarding >> configuration files that are not installed by the port the thing >> installed (for example portmaster) should look for its configuration >> files in LOCALBASE. > > Yes, I agree with this. This is ambiguous. Why PREFIX persistence is relevant here when we're talking about one port and not about collaboration of several ports? I can't understand why we should consider PREFIX absence here. Because, if it is absent then there is *no* port installed, too. The issue becomes moot: should a non-installed port look for files in LOCALBASE/etc or not? Besides, in case of ports that don't have any dependencies (e.g. portmaster) LOCALBASE is same as PREFIX because it may not exist prior installation, too. So, they either both exist or both do not exist in such case.