svn commit: r469351 - head/textproc/dikt

Baptiste Daroussin bapt at FreeBSD.org
Wed May 9 04:58:36 UTC 2018


On Tue, May 08, 2018 at 08:21:47AM -0700, Yuri wrote:
> On 05/08/18 06:05, Mathieu Arnold wrote:
> > Using DISTVERSION here is just plain wrong. Please switch to PORTVERSION.
> 
> 
> If {digit}{letter}{digit} and semantic version formats are considered to be
> equally valid, and DISTVERSION should be used by default, how come it is
> wrong to use it here? There is something wrong with it being wrong.
> 

The recommandation on the handbook, ask to use DISTVERSION if there is no issues
with PORTVERSION. You have been explained already here why you should use
PORTVERSION in this case. on DISTVERSION there is some post processing to create
PORTVERSION if it doesn't exists. and it finds the s considers it as "snapshot"
and so modify it.

Run:
pkg version -t 2l3 2s1 and then pkg version 2l3 2.s1 to check yourself

2s1 as a DISTVERSION becomes 2.s1 which is the issue. It has been explained to
you already before.

Btw the version scheme supported by pkg predates the semantic version formats.
while fully supporting it. (It was from the original pkg_add tools in 1993).

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20180509/c7479390/attachment.sig>


More information about the svn-ports-all mailing list