From owner-freebsd-ports@freebsd.org Tue Sep 1 21:11:03 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00DED9C796C; Tue, 1 Sep 2015 21:11:03 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) by mx1.freebsd.org (Postfix) with ESMTP id 61B251B46; Tue, 1 Sep 2015 21:11:02 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=AL9bLNhbk8cexu+Wz8xxCE9Sq9Yi7M4XWJokDlvVyk4=; b=AXPcXXhDVQKCP2TowhIHIFoRFB mjtYf4xI+tqqKQPDC7YX1nU+eEByBfr9uT0kh1DBWRjpILqLqaLz06yBdH0+2zPFBXrW7x/2idWSo X1fV4sAmioNoX/RCxnRind/r8Mo8k+RkhplAAhv9KP+Xj/Exp9T0iqLTW5ft415Piz78=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:25838 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:ECDHE-RSA-AES128-SHA:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZWspZ-000MO3-AP; Tue, 01 Sep 2015 16:11:01 -0500 Received: from proxy.lucent.com ([135.245.49.13]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 01 Sep 2015 16:11:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Sep 2015 16:11:01 -0500 From: Larry Rosenman To: d@delphij.net Cc: FreeBSD ports , Ports Management Team , owner-freebsd-ports@freebsd.org Subject: Re: package version scheme In-Reply-To: <55E613B9.6000008@delphij.net> References: <55E613B9.6000008@delphij.net> Message-ID: <8b542cea6ccd128e1d75cd97afd25df4@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.2 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2015 21:11:03 -0000 On 2015-09-01 16:08, Xin Li wrote: > Hi, > > I hit a conflict between pkg behavior and the Porters' handbook, it > confused me. > > In this example: > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#idp59327440 > > The handbook suggested that the right PORTVERSION should be 0.7.1.d if > DISTVERSION is 0.7.1d. > > However, pkg version -t 0.7.1 0.7.1.d gives me >, suggesting that 0.7.1 > -> 0.7.1.d would be considered as a downgrade. > > I'm asking mainly because www/dokuwiki's upstream have a habit of using > a letter to denote patchlevel, for instance, 20150810a means first > service pack of 20150810, so it's expected to be greater. > > pkg version -t 20150810 20150810a gives me '<', which is pretty much > what I'm expecting, but this sounds wrong based on my previous > experience with package tools and the porters handbook. > > Could you please clarify what would be the correct approach? For now > I'm going to continue using PORTREVISION for this port as it's done > historically. > > Thanks in advance! > > Cheers, I, as sysutils/lsof maintainer, depend on the behavior you see (the >). Vic Abell uses the letters as "fixup" releases, until a full release, for example; 4.89A -> 4.89B -> 4.89C -> 4.89 -> 4.90A -> 4.90B -> 4.90 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961