Date: Tue, 2 May 2006 00:06:54 +0400 From: "Andrew Pantyukhin" <infofarmer@gmail.com> To: "Kirill Ponomarew" <krion@voodoo.bawue.com> Cc: FreeBSD Ports <ports@freebsd.org> Subject: Re: portversion and distversion - why not? Message-ID: <cb5206420605011306l6f16510dr7181e01f28499939@mail.gmail.com> In-Reply-To: <20060501193851.GA54315@voodoo.bawue.com> References: <cb5206420605011232j5cff24c4hea0e41e3a7493bef@mail.gmail.com> <20060501193851.GA54315@voodoo.bawue.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/1/06, Kirill Ponomarew <krion@voodoo.bawue.com> wrote: > On Mon, May 01, 2006 at 11:32:55PM +0400, Andrew Pantyukhin wrote: > > Portlint says: > > FATAL: Makefile: either PORTVERSION or DISTVERSION must be specified, n= ot > > both. > > > > Can somebody please explain why? It comes in handy > > to be able to define illegal distversion instead of redefining > > the whole distname. B.p.m was designed to handle two > > different variables in the first place. Should we really > > abstain from using this functionality? > > DISTVERSION is just conform conversion of PORTVERSION, I don't see a > reason to specify both. grrr To quote bpm: PORTVERSION - Version of software. Mandatory when no DISTVERSION is give= n. DISTVERSION - Vendor version of the distribution. Now what's so hard to understand here? Portversion is nice and legal, it tries to increase from version to version, it follows a number of guidelines imposed by FreeBSD. Now distversion - is something from vendor's imagination. It can contain a multitude of not very nice characters, long strings, bad syntax; it can stay the same across releases (e.g. when subdir is changing), it can go back and forth... Portversion is the version that users and the system see Distversion is actually _just_ for the purpose of downloading and building the software Conversions between them (both directions are defined in bpm) are only to ease our live, they do not happen if both *versions are defined. What's so fatal if we use both, huh?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420605011306l6f16510dr7181e01f28499939>