From owner-freebsd-pkgbase@freebsd.org Thu Aug 2 00:30:12 2018 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77F1D106DC7D; Thu, 2 Aug 2018 00:30:12 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29AA38F0C1; Thu, 2 Aug 2018 00:30:12 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B7FAB2144B; Wed, 1 Aug 2018 20:30:11 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute5.internal (MEProxy); Wed, 01 Aug 2018 20:30:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=lLcZN+ FKa89nd861D2uVM/odRyc4tPX3hLfY5eg+CRE=; b=YqyXHlsyWrMANZLH0V2xsn 00Qq+xw22VC62Js4qezH41VULCWDFymThHmXc29yAmTxU8Cz05xI6Hye+P/U3+ZU lQWGZdDPrqW7MXyY1mdK/Fm33f390SYtOJwctOZJPQDqdigqo1H+q0tawrFPljQW 4E6vq+jKKRYMJnJ69yg4gg5Q1CAAlFnqveoiaJ9fyIQsMWYZv74ABXdBndSZto59 4p52748nm6sEv4eldrMi7saZ/Wn7Z/XOceeyze2PeH4q74SLe4QFFrpBjcNhOjAd 6PZXLgy6fHFO5yMRNddcQfV9IPEAtMNO0GRQZpo/SQxN5mOSPmLIobkOquOv1pHA == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 41AD9BA4CF; Wed, 1 Aug 2018 20:30:11 -0400 (EDT) Message-Id: <1533169811.2574803.1460590864.5015724C@webmail.messagingengine.com> From: Brad Davis To: "Simon J. Gerraty" Cc: freebsd-arch@FreeBSD.org, freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-2be8cd1b In-Reply-To: <61952.1533168671@kaos.jnpr.net> Date: Wed, 01 Aug 2018 18:30:11 -0600 References: <1533167650.2567721.1460524472.3AC8CC35@webmail.messagingengine.com> <61952.1533168671@kaos.jnpr.net> Subject: Re: pkgbase: Move of head/etc/ files X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 00:30:12 -0000 On Wed, Aug 1, 2018, at 6:11 PM, Simon J. Gerraty wrote: > Brad Davis wrote: > > > I am trying to move all config files out of head/etc/ and place them > > with the source files for the particular use. For example, some of > > these are obvious moves like moving say portsnap.conf to > > usr.sbin/portsnap/portsnap.conf. The review for this move shows > > In the case of foo.conf for foo, this is a reasonable approach. > > There are however many files in etc/ that do not fit that model. > > IMO one of the nice things about the BSD src tree, is that the location > of a file in the src tree can generally be inferred from its installed > location on the system. > This property should not be lost without substantial countervailing > benefit. Hi Simon, I generally agree with you, but I think where to draw that line is different based on who is looking at it at the moment. Lots, not all, but lots, of our config files have the $FreeBSD$ line that shows the path of where the file came from in the source tree, so that helps some. Using /etc/shells as an example, the first line is: # $FreeBSD: head/lib/libc/gen/shells 336840 2018-07-28 20:21:23Z brd $ Regards, Brad Davis