From owner-freebsd-ports@FreeBSD.ORG Tue May 18 03:29:25 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 8BF3F106566C; Tue, 18 May 2010 03:29:25 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id DB0C78FC15; Tue, 18 May 2010 03:29:24 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so1358727fge.13 for ; Mon, 17 May 2010 20:29:23 -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:date :message-id:user-agent:mime-version:content-type; bh=wbRTWefTAFOjgtppaGlKQ/L1l48yRx0UsfpQUl8lrlo=; b=qQ8Jjrih3V72gCDuMC9roJdIdV/Y0cRLsCItwp7Sr/2DuiLadMo8Nb4dntx70OWM18 xKrs9mCPQRw2pn2w1/K0ZWnsvgJnGD0YUz1yegpGO3VnTe6XqnQUQIUHZDXy0lZudHUj 3dmm5+xGLZG53/ZycYM9gxtuwjZIhv0jNLgsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-type; b=vA0iLQ1H/yIWTbNTNBLZtKn3YMyuplpGY8uT9e/KsccJFONbYRx+xIuX5o7WjCp/By d4lYL+IqsHY4bN0ZWsGR2B/QNsjehKBZeXEA6o24CPHdq84p5YGkNACiLMgABg2U1X/E s6UT41IDh6SgMLWLevvEjQ+S3FvmA95Y5eYv8= Received: by 10.87.50.37 with SMTP id c37mr9836198fgk.68.1274153363774; Mon, 17 May 2010 20:29:23 -0700 (PDT) Received: from localhost (95-25-188-72.broadband.corbina.ru [95.25.188.72]) by mx.google.com with ESMTPS id 12sm8263589fks.50.2010.05.17.20.29.23 (version=SSLv3 cipher=RC4-MD5); Mon, 17 May 2010 20:29:23 -0700 (PDT) From: Anonymous To: freebsd-ports@freebsd.org Date: Tue, 18 May 2010 07:29:22 +0400 Message-ID: <86hbm5yjjh.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: Doug Barton Subject: 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 03:29:25 -0000 a little confusion arised from ports/146627. The Porter's Handbook defines PREFIX as the place where port should install its files including config files. However, it doesn't say where the port should try to read its config files that may not exist: LOCALBASE/etc or PREFIX/etc? Until recently I assumed such files as installed together with the port unless they belong to some other port. For example, many GNU_CONFIGURE ports look for config files under SYSCONFDIR that's usually under PREFIX/etc and some of them don't install config files nor samples. A few examples: xorg-server, subversion, git. Should such ports be modified to use LOCALBASE/etc? So, what's the policy here?