Date: Tue, 01 Sep 2015 16:11:01 -0500 From: Larry Rosenman <ler@lerctr.org> To: d@delphij.net Cc: FreeBSD ports <freebsd-ports@freebsd.org>, Ports Management Team <portmgr@freebsd.org>, owner-freebsd-ports@freebsd.org Subject: Re: package version scheme Message-ID: <8b542cea6ccd128e1d75cd97afd25df4@thebighonker.lerctr.org> In-Reply-To: <55E613B9.6000008@delphij.net> References: <55E613B9.6000008@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b542cea6ccd128e1d75cd97afd25df4>