Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 14:07:39 -0700
From:      Ade Lovett <ade@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        ports@FreeBSD.org
Subject:   Re: My plan to fix the versioning for lang/gcc ports
Message-ID:  <E6DB38E4-C650-4DB7-9666-11D2AE6D8FDE@FreeBSD.org>
In-Reply-To: <alpine.LSU.1.99.0905190141510.24313@acrux.dbai.tuwien.ac.at>
References:  <alpine.LSU.1.99.0905190141510.24313@acrux.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 19, 2009, at 07:57 , Gerald Pfeifer wrote:

> Currently we have versions of the following
>
>  PORTVERSION=  4.3.4
>  PORTREVISION= 20090517
>
> in the lang/gcc ports, where 20090517 is the date of a snapshot
> of GCC 4.3.4.  This has some obvious problems when one needs a
> PORTREVISION bump, so I am planning to change the versioning to
>
>  PORTVERSION=  4.3.4.20090517

Rather than going that way, why not take a leaf out of "standard"  
practice for DNS SOA serial numbers, and go with:

	PORTVERSION=  4.3.4
	PORTREVISION= ${SNAPDATE}${SNAPREVISION}

	SNAPDATE=     20090517
	SNAPREVISION= 00

Probably a lot less work in the long run.

-aDe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E6DB38E4-C650-4DB7-9666-11D2AE6D8FDE>