From owner-freebsd-ports@FreeBSD.ORG Thu Jul 14 16:46:37 2011 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 AC33F1065675 for ; Thu, 14 Jul 2011 16:46:37 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from xiurhn.etoilebsd.net (xiurhn.etoilebsd.net [94.23.37.58]) by mx1.freebsd.org (Postfix) with ESMTP id 70E0D8FC13 for ; Thu, 14 Jul 2011 16:46:37 +0000 (UTC) Received: by xiurhn.etoilebsd.net (Postfix, from userid 80) id 936A97E881; Thu, 14 Jul 2011 18:46:36 +0200 (CEST) To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Jul 2011 16:46:36 +0000 From: Baptiste Daroussin In-Reply-To: References: <4E0C5B7A.5060102@FreeBSD.org> <4E109521.10209@FreeBSD.org> Message-ID: <64bc4d1f59e39f71f77ced1aed64e734@etoilebsd.net> X-Sender: bapt@FreeBSD.org User-Agent: Roundcube Webmail/0.5.3 Subject: Re: Call for testers -- CONF_FILES variable 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: Thu, 14 Jul 2011 16:46:37 -0000 On Sun, 3 Jul 2011 22:12:35 +0000, Eitan Adler wrote: >> The .pkgconf suffix tells pkgng that this file is a sample. But it >> could >> also be done via an attribute. > > I would much prefer an attribute instead of a suffix for the reasons > previously stated. > I hope this is not bikeshedding the issue. > The reason I choose pkgconf (we can change that name) is that it concerns only configuration files that the maintainers DO want. I want to make sure that maintainers are looking at the samples the proprose to provide a usable sample, not the default one from the distfile (the default one can still be provided as an example.) I wanted that pkgng and the ports in general can manage default usable configuration files, and to distinguish them from the samples. Thanks crees@ has done the job I wanted to do myself so that and he has done it right. the extension name can be change from pkgconf to a smarter name like pkgdefault or pkgexample (yes I want that users know it cames from the package not the upstream distfiles. I'm open to suggestion >> >> Doing stuff with @exec or scripts should be for special cases, not >> for >> common cases such as config files. > > Does something like @sample work? with current pkg_tools we have no choice than using @exec, the new tool we can avoid that to have a dedicated behaviour. pkgng doesn't even know about @exec and @unexec. regards, Bapt