Re: How does the pkg version syntax work?
- In reply to: Eugene Grosbein : "Re: How does the pkg version syntax work?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Jul 2022 03:38:45 UTC
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