Date: Fri, 15 Jul 2022 05:38:45 +0200 From: Robert Clausecker <fuz@fuz.su> To: Eugene Grosbein <eugen@grosbein.net> Cc: ports@freebsd.org Subject: Re: How does the pkg version syntax work? Message-ID: <YtDhRV2g3DOzXVuZ@fuz.su> In-Reply-To: <0db9120d-d787-665c-060b-7f6738021c76@grosbein.net> References: <YtBjjwyVZ8H1E7w/@fuz.su> <0db9120d-d787-665c-060b-7f6738021c76@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Eugene, That one does not actually really explain how the syntax works. It gives a bunch of examples but does not systematically explains how it works. Additionally, the explanation is incomplete (e.g. it's completely silent about how + works and the special cases for letters in version numbers) and seems in one place even wrong (according to pkg, a colon is interpreted like a period, but here it says that it's ignored; but maybe ports mangling of version numbers is different from how pkg does it). So really, I wouldn't quite call this documentation. Yours, Robert Clausecker Am Fri, Jul 15, 2022 at 10:18:17AM +0700 schrieb Eugene Grosbein: > 15.07.2022 1:42, Robert Clausecker wrote: > > > The ports collection generates a PKGVERSION from the DISTVERSION or > > PORTVERSION provided by the port. This PKGVERSION is then used to > > decide whether one package is newer or older than the other. > > > > However, it seems to be poorly documented. > > https://docs.freebsd.org/en/books/porters-handbook/makefiles/#makefile-naming > Look for subsection 5.2.2. Versions, DISTVERSION or PORTVERSION > > -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YtDhRV2g3DOzXVuZ>