From owner-svn-ports-head@FreeBSD.ORG Tue Oct 7 14:19:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 005B2F24; Tue, 7 Oct 2014 14:18:59 +0000 (UTC) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C85027E0; Tue, 7 Oct 2014 14:18:59 +0000 (UTC) Received: from [10.31.9.122] (unknown [213.225.137.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 5A81B43552; Tue, 7 Oct 2014 09:18:47 -0500 (CDT) Message-ID: <5433F63B.8000506@marino.st> Date: Tue, 07 Oct 2014 16:18:35 +0200 From: John Marino Reply-To: marino@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Mathieu Arnold , marino@freebsd.org, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r370242 - in head/emulators: . hyperv-is hyperv-is/files References: <201410062258.s96MwoqK063529@svn.freebsd.org> <5433E4F7.9030903@marino.st> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2014 14:19:00 -0000 On 10/7/2014 16:14, Mathieu Arnold wrote: > > > +--On 7 octobre 2014 15:04:55 +0200 John Marino > wrote: > | On 10/7/2014 11:59, Mathieu Arnold wrote: > |> +--On 6 octobre 2014 22:58:50 +0000 John Marino > |> wrote: > |> | +@cwd /boot/kernel > |> | +%%A%%hv_ata_pci_disengage.ko > |> | +%%A%%hv_netvsc.ko > |> > |> Please, do not use @cwd, it is confusing, and not needed since pkg_* has > |> gotten out. List files with their path like this : > |> %%A%%/boot/kernel/hv_ata_pci_disengage.ko > | > | In my defense: > | 1) It works (tested pretty thoroughly) > | 2) The alternative to @cwd is not documented in UPDATING so I had no > | idea what the alternative was. > | 3) cwd is documented here with no alternative: > | https://www.freebsd.org/doc/en/books/porters-handbook/plist-keywords.html > | > | So it's not really fair to bang on us for stuff that is undocumented. > | right? This theme is getting repetitive too. > > Well, it's a bit the other way around, @cwd was the alternative to listing > the full path to the filenames, so, I could document the alternative to the > alternative, but it feels a bit silly :-) It was my understanding that pkg-plist lists assigned a ${PREFIX} prefix and @cwd was the only way to list files outside of the prefix. This is why I was surprised that stuff like /var/db/mydir worked. I don't know when absolute paths got supported. for me, absolute path is something new, not a baseline. Why would @cwd even exist if it wasn't necessary in the past? John