Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2009 19:57:07 -0400
From:      "Joseph S. Atkinson" <jsatkinson@embarqmail.com>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Wesley Shields <wxs@freebsd.org>, cvs-all@freebsd.org, ports-committers@freebsd.org, Pav Lucistnik <pav@freebsd.org>, obrien@freebsd.org, cvs-ports@freebsd.org
Subject:   Re: cvs commit: ports/shells/bash Makefile pkg-plist
Message-ID:  <49CAC4D3.4020806@embarqmail.com>
In-Reply-To: <p06240800c5f05d3db740@[128.113.24.47]>
References:  <200903120954.n2C9s2ev063133@repoman.freebsd.org>	<20090313023956.GA49511@dragon.NUXI.org>	<49BA52D2.8090209@FreeBSD.org>	<20090323231412.GA94221@hub.freebsd.org>	<20090324012325.GB1292@atarininja.org>	<20090324043028.GA34952@dragon.NUXI.org> <p06240800c5f05d3db740@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
I've had this idea for a while now... feel free to shoot it down in flames.

PORTVERSION=	1.0
PORTREVISION=	1
CHASEVERSION=	1.0 # this is my idea

Sets a version number that if you are upgrading from a version lesser 
than this version, all dependent ports should be rebuilt as well. Minor 
bumps wouldn't change this so moving from 0.9.7 to 1.0_1 would trigger 
recursive depends since the current versions are built against less than 
CHASEVERSION version. But if we bump to 1.0_1 to fix a plist nit or 
other such, people who have already built 1.0 will just get the updated 
package and not recurse upwards. The port maintainer is responsible for 
noting if the change is significant enough to merit changes down the 
line. If he fails to do this properly, he could add it later when 
noticed, and the old @pkgdep line in installed port entries could then 
be compared and signify the need to be rebuilt.

And if for some reason, there is subtle breakage we discover later that 
requires a local fix that is significant enough to require recursive 
building... we just set CHASEVERSION=1.0_2 when we apply the update and 
set PORTREVISION=2.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CAC4D3.4020806>