From owner-freebsd-ports@FreeBSD.ORG Sun Jul 3 15:59:05 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 1C6A01065672; Sun, 3 Jul 2011 15:59:05 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A0898FC1A; Sun, 3 Jul 2011 15:59:04 +0000 (UTC) Received: by vws18 with SMTP id 18so4430279vws.13 for ; Sun, 03 Jul 2011 08:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7NQ3Xjv9pevaYm5LIX3R0hC4iHygzGrjwGZz491X9Vk=; b=YhwOVJ6t5mz8Oq5j2okhCa3ig23Et/MDPja1bCr7XwsqvleDy3VYRdbwyvG6yQDaKn IciE5KSZciQMorpj4D82U9IaDU2vRAvbkUHyxHSGzNNRqQ6wjccAbts89CuqX8N3dbFX OIb9ZYbSOJ0Gqo3HwY7pergapi1sp6znFiVC4= Received: by 10.52.177.105 with SMTP id cp9mr3403694vdc.52.1309707046330; Sun, 03 Jul 2011 08:30:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.166.66 with HTTP; Sun, 3 Jul 2011 08:30:16 -0700 (PDT) In-Reply-To: <4E0C5B7A.5060102@FreeBSD.org> References: <4E0C5B7A.5060102@FreeBSD.org> From: Eitan Adler Date: Sun, 3 Jul 2011 15:30:16 +0000 Message-ID: To: Julien Laffaye Content-Type: text/plain; charset=UTF-8 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 15:59:05 -0000 > Yes, right now, pkgng uses the .pkgconf suffix to know that it is a > configuration file. But now, we have a new format for the package > manifest so _maybe_ (it has to be discussed with bapt) we can add an > attribute to a file entry saying "I am a sample of a conf file". The > hardest part for that would be to detect in the ports tree if we are > using pkgng or the legacy pkg_install, and, depending on that, to > generate the appropriate entry in the manifest / plist. (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. -- Eitan Adler