From owner-freebsd-ports@FreeBSD.ORG Sun Jul 3 16:13:23 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 827E7106564A; Sun, 3 Jul 2011 16:13:23 +0000 (UTC) (envelope-from jlaffaye.freebsd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 86A028FC1C; Sun, 3 Jul 2011 16:13:22 +0000 (UTC) Received: by wwe6 with SMTP id 6so4335041wwe.31 for ; Sun, 03 Jul 2011 09:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=ngu44UtiqxSGXdKkdrCgUlsQnEzWl7//bY1JP9mP394=; b=CLDdQ5hljO2JPUipCcpvxIle/sIdFl1Aw3nC8+P74Nf74q7z9Zgff5y/APhBkdKR1t ZBOxki4hMHKSt6Ba+mJvXv3g+g5Y6xO3V2sa7sRTOrUoG795LthJDbK+R9V4ddWgL4eY Rtui0k4Kr8m7zZ9mDojyhtTpiVGixWaLV6rYA= Received: by 10.227.42.131 with SMTP id s3mr1889700wbe.104.1309709601496; Sun, 03 Jul 2011 09:13:21 -0700 (PDT) Received: from chulak.jlaffaye.net (cpc1-oxfd15-0-0-cust230.4-3.cable.virginmedia.com [82.24.248.231]) by mx.google.com with ESMTPS id fi5sm3791189wbb.56.2011.07.03.09.13.20 (version=SSLv3 cipher=OTHER); Sun, 03 Jul 2011 09:13:21 -0700 (PDT) Sender: Julien Laffaye Message-ID: <4E109521.10209@FreeBSD.org> Date: Sun, 03 Jul 2011 17:13:21 +0100 From: Julien Laffaye User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110625 Thunderbird/3.1.11 MIME-Version: 1.0 To: Eitan Adler References: <4E0C5B7A.5060102@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Chris Rees , Jeremy Messenger , ports@freebsd.org, ohauer@freebsd.org 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: Sun, 03 Jul 2011 16:13:23 -0000 On 07/03/2011 16:30, Eitan Adler wrote: > (I hope this isn't bikeshedding) > > I would much prefer this method over choosing an unusual suffix. There > is much documentation on the internet that assumes certain things > about packaging. Many times INSTALL files will tell the user to > looking for a .sample file or .conf file. It would be odd and annoying > to have the sample configuration file on certain versions of FreeBSD > be different than everyone else. Also, as others have stated, pkgconf > sounds like something FreeBSD specific - not a application specific > suffix. > > As a general note: why does pkgng care about the file suffix at all? > The pkg program should just be "dumb" about it and follow whatever the > pkg-plist says to do. The .pkgconf suffix tells pkgng that this file is a sample. But it could also be done via an attribute. Doing stuff with @exec or scripts should be for special cases, not for common cases such as config files.